Author Topic: Beam Section Indexes  (Read 1562 times)

0 Members and 1 Guest are viewing this topic.

Beam Section Indexes
Upon running a debug build, I get the following error:

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\' ... 2404 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 17024 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' ...
TBM  =>  Starting parse of 'sgl-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.
BMPMAN: Found EFF (TerPlasExp.eff) with 92 frames at 40 fps.
BMPMAN: Found EFF (VasPlasExp.eff) with 92 frames at 40 fps.
BMPMAN: Found EFF (FutPlasExp.eff) with 92 frames at 22 fps.
WARNING: "Invalid +Index value of -1 specified for beam section on weapon 'SRed'; valid values at this point are 0 to -1." at weapons.cpp:2124
Freeing all existing models...

The entry in the weapons.tbl for the SRed is as follows:

Code: [Select]
$Name: SRed
+Tech Title: XSTR( "Shivan Light Plasma Beam", -1 )
    +Tech Anim: none
    +Tech Description: XSTR( "This is a cruiser-scale beam weapon of Shivan origin, capable of firing a continuous, charged beam of plasma. The technological superiority of the Shivans is best demonstrated in their beam weapon technology, and the lightest of the plasma beam variants is no exception. It is smaller and lighter than Terran and Vasudan beams, has a notably shorter rise time, and does significantly more damage. Lower power and heat sink demands allow these weapons to be used en-masse, where they can pose a significant threat to even destroyers. The firepower and efficiency of Shivan beam weapons seems largely attributable to the zero-point-microburst effect seen in various other Shivan weaponry. Attempts by the GTVA to reverse engineer this technology for large weapons have proven fruitless.

As with most Shivan targets, prioritization and elimination of plasma beam weapons is quite paramount.", -1 )
$end_multi_text
$Model File: none ; laser1-1.pof
@Laser Bitmap: laserglow01
@Laser Color: 250, 30, 30
@Laser Length: 0.0
@Laser Head Radius: 0.30
@Laser Tail Radius: 0.30
$Mass: 100.0
$Velocity: 1000.0 ;; speed of the weapon (initially) -- may or may not change
$Fire Wait: 8.0 ;; in seconds
$Damage: 500 ;; NOTE: for beam weapons this is kind of a "continuous" damage applied every few fractions of a second that the beam is on.
$Armor Factor: 1.0
$Shield Factor: 1.0
$Subsystem Factor: 1.0
$Lifetime: 20.0 ;; How long this thing lives
$Energy Consumed: 0.30 ;; Energy used when fired
$Homing: NO
$LaunchSnd: 125 ;; The sound it makes when fired
$ImpactSnd: 88 ;; The sound it makes when it hits something
+Weapon Range: 9500 ;; Limit to range at which weapon will actively target object
$Flags: ("Big Ship" "huge" "beam" "no pierce shields" "same turret cooldown" )
$Impact Explosion: Exp04
$Impact Explosion Radius: 20
$BeamInfo:
    +Type: 0 ;; 0 - 4 are valid #'s
    +Life: 1.15 ;; how long it lasts once the beam is actually firing
    +Warmup: 1000 ;; warmup time in ms
    +Warmdown: 2000 ;; warmdown time in ms
    +Radius: 45.0
    +PCount: 24
    +PRadius: 2.8
    +PAngle: 180.0 ;; angle of the random "cone" where the particles are generated
    +PAni: particle_red
    +Miss Factor: 2.5 1.875 1.25 0.875 0.5 ;; magic # - higher == miss more (only really applicable to type 0 and type 3 beams)
    +BeamSound: 179 ;; the looping beam-firing sound
    +WarmupSound: 182 ;; associated warmup sound
    +WarmdownSound: 189 ;; associated warmdown sound
    +Muzzleglow: SbeamAglow
    +Shots: 0 ;; only used for TYPE 3 beams
    +ShrinkFactor: 3 ;; what percentage of lifetime where beam starts shrinking (0.1 == 10% life left)
    +ShrinkPct: 0.5 ;; what percentage of max width we subtract per second
    +Range: 8000
    +Attenuation: 0.1
    +Beam Flash Effect: exp06
    +Beam Flash Radius: 25.0
    +Beam Piercing Effect: exp06
    +Beam Piercing Radius: 30.0
    +Beam Piercing Effect Velocity: 200
    +Beam Piercing Splash Effect Velocity: -10
    +Beam Piercing Effect Variance: 0.01
    $Section:
    +Width: 8.0
    +Texture: SbeamAA
    +RGBA Inner: 160 160 0 255
    +RGBA Outer: 60 60 0 10
    +Flicker: 0.3
    +Zadd: 1.0
    +Tile Factor: 90, 1
    +Translation: -2
    $Section:
    +Width: 4.0
    +Texture: SbeamAB
    +RGBA Inner: 255 255 255 255
    +RGBA Outer: 150 150 150 10
    +Flicker: 0.2
    +Zadd: 2.0
    $Section:
    +Width: 20
    +Texture: SbeamAC
    +RGBA Inner: 160 160 0 255
    +RGBA Outer: 60 60 0 10
    +Flicker: 0.001
    +Zadd: 1.0
    +Tile Factor: 10, 1
    +Translation: -2
    $Section:
    +Width: 40.0
    +Texture: SbeamAD
    +RGBA Inner: 255 0 0 255
    +RGBA Outer: 60 0 0 10
    +Flicker: 0.1
    +Zadd: 0.0
    $Section:
    +Width: 30.0
    +Texture: SbeamAE
    +RGBA Inner: 255 0 0 255
    +RGBA Outer: 60 0 0 10
    +Flicker: 0.2
    +Zadd: 0.0

Note that this is not the same as the default FS2 open SRed, and I have made more table edits to these beams than I can count.

(Part of my nightmarishly massive debug-a-thon - 553 errors remaining upon startup).
: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 z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Beam Section Indexes
what about these errors?

Code: [Select]
Wokka!  Error opening file (scripting.tbl)!
Wokka!  Error opening file (interface.tbl)!
Wokka!  Error opening file (armor.tbl)!

Those look like they're trying to access the original .tbl's, but instead find only .tbm's?

I have no idea why it's giving you that warning about the XSTR( "", -1), maybe try deleting all the padding spaces so it looks like this: XSTR("my string here",-1)
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

  

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Beam Section Indexes
Quote
Code: [Select]
Wokka!  Error opening file (scripting.tbl)!
Wokka!  Error opening file (interface.tbl)!
Wokka!  Error opening file (armor.tbl)!

I refer you to my quick guide on how to read logs here. These error messages should be disregarded; the files they refer to are SCP additions and not in any way necessary (and in the case of scripting.tbl and armor.tbl, mostly used in the form of -sct and -amr tbm files).
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns