Author Topic: Explosion Effect LOD's?  (Read 1341 times)

0 Members and 1 Guest are viewing this topic.

Explosion Effect LOD's?
Earlier, I created a few new .eff files - essentially, recolorizations of existing FS2 open assets. This was done by opening 90+ individual files, each corresponding to a single frame of the explosion effect - and using a keystroke macro to alter the hue and save the file under a new filename. These work flawlessly in-game.

But I get this error when I run the debug:

Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace version: 3.6.12
Passed cmdline options:
  -spec_exp 8.2
  -spec_static 3.5
  -spec_point 8.6
  -spec_tube 1.0
  -ambient_factor 70
  -env
  -mipmap
  -missile_lighting
  -glow
  -nomotiondebris
  -spec
  -normal
  -post_process
  -cache_bitmaps
  -ballistic_gauge
  -dualscanlines
  -orbradar
  -rearm_timer
  -targetinfo
  -3dwarp
  -ship_choice_3d
  -weapon_choice_3d
  -warp_flash
  -no_ap_interrupt
  -snd_preload
  -mod Singularity,mediavps_3612
Building file index...
Found root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Advanced.vp' with a checksum of 0x4b8b0f5a
Found root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_AnimGlows.vp' with a checksum of 0x6a554026
Found root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Assets.vp' with a checksum of 0x529cc70f
Found root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Effects.vp' with a checksum of 0xb9a9a485
Found root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Music.vp' with a checksum of 0xb3e21469
Found root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Root.vp' with a checksum of 0x6ffd5c78
Found root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' with a checksum of 0x377695e0
Found root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' with a checksum of 0xd50e7442
Found root pack 'C:\Games\FreeSpace2\Root_fs2.vp' with a checksum of 0x747372cc
Found root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'C:\Games\FreeSpace2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack 'C:\Games\FreeSpace2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'C:\Games\FreeSpace2\Singularity\' ... 2401 files
Searching root 'C:\Games\FreeSpace2\mediavps_3612\' ... 24 files
Searching root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Advanced.vp' ... 1283 files
Searching root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_AnimGlows.vp' ... 1641 files
Searching root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Assets.vp' ... 1905 files
Searching root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Effects.vp' ... 1892 files
Searching root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Music.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\mediavps_3612\MV_Root.vp' ... 358 files
Searching root 'C:\Games\FreeSpace2\' ... 73 files
Searching root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' ... 110 files
Searching root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' ... 307 files
Searching root pack 'C:\Games\FreeSpace2\Root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\FreeSpace2\stu_fs2.vp' ... 2355 files
Searching root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\warble_fs2.vp' ... 52 files
Found 20 roots and 17021 files.
AutoLang: Language auto-detection successful...
Setting language to English
TBM  =>  Starting parse of 'mv_core-lcl.tbm' ...
Initializing OpenAL...
  Using 'Generic Software' as OpenAL sound device...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

... OpenAL successfully initialized!
Initializing OpenGL graphics device at 1920x1200 with 32-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  OpenGL Vendor     : ATI Technologies Inc.
  OpenGL Renderer   : AMD Radeon HD 6800 Series
  OpenGL Version    : 4.1.10907 Compatibility Profile Context

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Using extension "GL_ARB_texture_mirrored_repeat".
  Using extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Using extension "GL_ARB_pixel_buffer_object".
  Using extension "GL_SGIS_generate_mipmap".
  Using extension "GL_EXT_framebuffer_object".
  Using extension "GL_ARB_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Using extension "GL_ARB_point_sprite".
  Using extension "GL_ARB_shading_language_100".
  Using extension "GL_ARB_shader_objects".
  Using extension "GL_ARB_vertex_shader".
  Using extension "GL_ARB_fragment_shader".
  Using extension "GL_ARB_shader_texture_lod".
  Found special extension function "wglSwapIntervalEXT".

  Initializing Shaders Manager...
  Loading and compiling main shaders...
    Compiling main shader ->  main-v.sdr (null-v.sdr) / main-f.sdr (null-f.sdr) ...
    Compiling main shader ->  main-v.sdr (b-v.sdr) / main-f.sdr (b-f.sdr) ...
    Compiling main shader ->  main-v.sdr (b-v.sdr) / main-f.sdr (bg-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (lb-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (lbg-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (lbgs-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (lbs-f.sdr) ...
    Compiling main shader ->  main-v.sdr (le-v.sdr) / main-f.sdr (lbgse-f.sdr) ...
    Compiling main shader ->  main-v.sdr (le-v.sdr) / main-f.sdr (lbse-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lbgn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lbgsn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lbn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lbsn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lne-v.sdr) / main-f.sdr (lbgsne-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lne-v.sdr) / main-f.sdr (lbsne-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lf-v.sdr) / main-f.sdr (lfb-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lf-v.sdr) / main-f.sdr (lfbg-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lf-v.sdr) / main-f.sdr (lfbgs-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lf-v.sdr) / main-f.sdr (lfbs-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfe-v.sdr) / main-f.sdr (lfbgse-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfe-v.sdr) / main-f.sdr (lfbse-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfn-v.sdr) / main-f.sdr (lfbgn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfn-v.sdr) / main-f.sdr (lfbgsn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfn-v.sdr) / main-f.sdr (lfbn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfn-v.sdr) / main-f.sdr (lfbsn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfne-v.sdr) / main-f.sdr (lfbgsne-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lfne-v.sdr) / main-f.sdr (lfbsne-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (null-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (lg-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (lgs-f.sdr) ...
    Compiling main shader ->  main-v.sdr (l-v.sdr) / main-f.sdr (ls-f.sdr) ...
    Compiling main shader ->  main-v.sdr (le-v.sdr) / main-f.sdr (lgse-f.sdr) ...
    Compiling main shader ->  main-v.sdr (le-v.sdr) / main-f.sdr (lse-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lgn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lgsn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (ln-f.sdr) ...
    Compiling main shader ->  main-v.sdr (ln-v.sdr) / main-f.sdr (lsn-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lne-v.sdr) / main-f.sdr (lgsne-f.sdr) ...
    Compiling main shader ->  main-v.sdr (lne-v.sdr) / main-f.sdr (lsne-f.sdr) ...
  Shaders Manager initialized.

  Max texture units: 8 (16)
  Max elements vertices: 2147483647
  Max elements indices: 16777215
  Max texture size: 16384x16384
  Can use compressed textures: YES
  Texture compression available: YES
  Using trilinear texture filter.
  Using GLSL for model rendering.
  Shader Version: 4.10
... OpenGL init is complete!
Size of bitmap info = 760 KB
Size of bitmap extra info = 52 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Beginning ADE initialization
ADE: Initializing enumeration constants...
ADE: Assigning Lua session...
SCRIPTING: Beginning main hook parse sequence....
Wokka!  Error opening file (scripting.tbl)!
TABLES: Unable to parse 'scripting.tbl'!  Error code = 5.
TBM  =>  Starting parse of 'mv_flak-sct.tbm' ...
TBM  =>  Starting parse of 'mv_exp-sct.tbm' ...
TBM  =>  Starting parse of 'mv_dbrs-sct.tbm' ...
TBM  =>  Starting parse of 'bp-velindc-sct.tbm' ...
SCRIPTING: Inititialization complete.
SCRIPTING: Splash screen overrides checked
SCRIPTING: Splash hook has been run
SCRIPTING: Splash screen conditional hook has been run
Using high memory settings...
render_target: creating new 1920x1200 FBO
render_buffer: creating new 1920x1200 render buffer
texture_pool: creating new 1920x1200 texture
Wokka!  Error opening file (interface.tbl)!
WMCGUI: Unable to parse 'interface.tbl'!  Error code = 5.
TBM  =>  Starting parse of 'mv_effects-sdf.tbm' ...
ANI 2_radar1 with size 209x170 (33.6% wasted)
Windows reported 16 joysticks, we found 0
Current soundtrack set to -1 in event_music_reset_choices
TBM  =>  Starting parse of 'mv_music-mus.tbm' ...
TBM  =>  Starting parse of 'mv_effects-mfl.tbm' ...
Wokka!  Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'!  Error code = 5.
TBM  =>  Starting parse of 'mv_effects-amr.tbm' ...
TBM  =>  Starting parse of 'mv_effects-wxp.tbm' ...
BMPMAN: Found EFF (exp20.eff) with 75 frames at 20 fps.
BMPMAN: Found EFF (ExpMissileHit1.eff) with 92 frames at 20 fps.
BMPMAN: Found EFF (exp04.eff) with 49 frames at 22 fps.
BMPMAN: Found EFF (exp05.eff) with 93 frames at 20 fps.
BMPMAN: Found EFF (exp06.eff) with 92 frames at 22 fps.
BMPMAN: Found EFF (capflash.eff) with 40 frames at 10 fps.
BMPMAN: Found EFF (Maxim_Impact.eff) with 23 frames at 30 fps.
ANI Lamprey_Impact with size 80x80 (37.5% wasted)
BMPMAN: Found EFF (ShvPlasExp.eff) with 92 frames at 40 fps.
WARNING: "For 'ShvPlasExp', 3 of 4 LODs are missing!" at weapons.cpp:206
Freeing all existing models...

'ShvPlasExp' is one such .eff file. Do these intrinsically require 4 LOD's, or is it possible to tell FS2 to use a .eff file with only a single LOD?
:divedivedive: <--- This needs to be a smiley.
Developer of the Singularity campaign/mod (WIP)
I call dibs on developing a Capella Barbecue Theory campaign.

 

Offline --Steve-O--

  • 28
  • I might be the last man on earth to use TS3.2
Re: Explosion Effect LOD's?
i have to ask. did you add the effects to weapons_expl.tbl ? when i ran debug i had the same thing happen, so i just plug ed them into the tbl and that took care of it.
"And so they dwelled in filth, on worlds made of dirt and feces, and there they lay until they stumbled into the skies." --the Mad Prophet

 

Offline Nyctaeus

  • The Slavic Engineer
  • 212
  • Shipsmith Emeritus
    • Exile
Re: Explosion Effect LOD's?
Open the notpad and copy this.
Code: [Select]
#Start

$Name:  ShvPlasExp
$LOD: 1

#end
Save it as "<something>-wxp.tbm" [file must have .tbm extension] and than, place it in your tables directory.
Exile | Shadow Genesis | Inferno | Series Resurrecta  | DA Profile | P3D Profile

Proud owner of NyctiShipyards. Remember - Nyx will fix it!

All of my assets including models, textures, skyboxes, effects may be used under standard CC BY-NC 4.0 license.

  
Re: Explosion Effect LOD's?
Thanks, this fixed the issue perfectly! :yes:

I had a number of similar .eff files, so they're all in the sgl-wxp.tbm file. If I encounter any other issues with custom weapon effect LOD's, I'll put them in the tbm as well.
:divedivedive: <--- This needs to be a smiley.
Developer of the Singularity campaign/mod (WIP)
I call dibs on developing a Capella Barbecue Theory campaign.