Author Topic: hmmm  (Read 1215 times)

0 Members and 1 Guest are viewing this topic.

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
strange bug.

Warning: weapons.tbl(560):
Error: Required token = [#End] or [$Name:], found [$Pspew: ]
in weapon: Cannonball.

File:C:\Documents and Settings\ipw2\My Documents\fs2_open\code\Parse\PARSELO.CPP
Line: 450

Call stack:
------------------------------------------------------------------
    fred2_open_d.exe 00546ea7()
    fred2_open_d.exe 00552002()
    fred2_open_d.exe 00552771()
    fred2_open_d.exe 0044c093()
    fred2_open_d.exe 00444379()
    fred2_open_d.exe 00894b62()
    fred2_open_d.exe 008944c4()
    fred2_open_d.exe 00892069()
    fred2_open_d.exe 00892505()
    USER32.dll 77e12ca8()
    USER32.dll 77e14764()
    USER32.dll 77e26b37()
    ntdll.dll 77fa15ef()
    USER32.dll 77e27036()
    fred2_open_d.exe 00892e99()
------------------------------------------------------------------


actual table entry:

$Name:                                  Cannonball
$Model File:                    none ; laser1-1.pof
; The following fields (preceded by @) are only required for laser (the 3 ellipse
; thing) rendering, which requires that "Model File:" be none.
; These are the same values that used to be hard-coded:
@Laser Bitmap:                  kayser_bitmap
@Laser Glow:                           kayser_glow
@Laser Color:                           200, 200, 130
@Laser Color2:                           200, 200, 130
@Laser Length:                  40.0
@Laser Head Radius:             50.90
@Laser Tail Radius:             30.30
$Mass:                                  50.1
$Velocity:                              400.0                           ;; speed of the weapon (initially) -- may or may not change
$Fire Wait:                             30.0                             ;; in seconds
$Damage:                                2000
$Armor Factor:                  2.0
$Shield Factor:                 0.1
$Subsystem Factor:              1.0
$Lifetime:                              5.0                             ;;      How long this thing lives
$Energy Consumed:               0.30                            ;; Energy used when fired
$Cargo Size:                    0.0                             ;; Amount of space taken up in weapon cargo
$Homing:                                NO
$LaunchSnd:                             107                             ;; The sound it makes when fired
$ImpactSnd:                             85                                      ;; The sound it makes when it hits something
$Flags:                                 ( "big ship" )
$Icon:                                  icongun05
$Anim:                                  LoadGun07
$Impact Explosion:              ExpMissileHit1
$Impact Explosion Radius:       120.0
$Pspew:
+Count: 10
+Time: 28
+Vel: -0.08
+Radius: 2.0
+Life: 1.2
+Scale: 0.35  
+Bitmap: Akheton_Particle


another error with the problematic $pspew entry removed.

Assert: *Mp == '\"'
File: C:\Documents and Settings\ipw2\My Documents\fs2_open\code\Parse\PARSELO.CPP
Line: 1714

Call stack:
------------------------------------------------------------------
    fred2_open_d.exe 004f4e1e()
    fred2_open_d.exe 004f6d3c()
    fred2_open_d.exe 004f713e()
    fred2_open_d.exe 0044c09d()
    fred2_open_d.exe 00444379()
    fred2_open_d.exe 00894b62()
    fred2_open_d.exe 008944c4()
    fred2_open_d.exe 00892069()
    fred2_open_d.exe 00892505()
    USER32.dll 77e12ca8()
    USER32.dll 77e14764()
    USER32.dll 77e26b37()
    ntdll.dll 77fa15ef()
    USER32.dll 77e27036()
    fred2_open_d.exe 00892e99()
------------------------------------------------------------------

help...please? :/
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
After looking through Lightspeed's advanced weapons tables, I think I found your problem.  Use the table entry you listed, but include the flag "particle spew" next to "big ship".
The Trivial Psychic Strikes Again!

  

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
ok. thanks for the help :)
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(