Author Topic: FRED doens't like Rearm Rate or Muzzleflash...  (Read 4610 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
FRED doens't like Rearm Rate or Muzzleflash...
Using FRED 3.6.9. and it gives me a error whenever I have a $Rearm rate: entry for a ballistic weapon or $MuzzleFlash for the same...what gives???
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: FRED doens't like Rearm Rate or Muzzleflash...
how old is that fred 3.6.9? does it happen with the fred from my recent builds
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
Havn't tried any of hte more recent builds...IIRC they're not quite stable..
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FRED doens't like Rearm Rate or Muzzleflash...
They're not. But what's the point in asking a coder to fix a bug that's already fixed?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: FRED doens't like Rearm Rate or Muzzleflash...
i don't really have any stability problems with the fred builds i've been making
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FRED doens't like Rearm Rate or Muzzleflash...
If FRED will even put a name on the ships it's an improvement on the last builds I've made with it.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
LOL...allrighty...I'll try the latest stable build. :lol:
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: FRED doens't like Rearm Rate or Muzzleflash...
If FRED will even put a name on the ships it's an improvement on the last builds I've made with it.

i haven't been having text problems with latest builds
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
Hmm.... tried this build:

http://www.hard-light.net/forums/index.php/topic,47353.0.html

It's 2 weeks old but stil lteh same thing...
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: FRED doens't like Rearm Rate or Muzzleflash...
First.. Post the errors (the meaningful part of the error). Then post the weapon table entry.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
Error: weapons.tbl(line 737:
Error: Required token = [#End] or [$Name:], found [$Muzzleflash: viper_muzzle ]
in weapon: Vulcan.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


Error: weapons.tbl(line 828:
Error: Required token = [#End] or [$Name:], found [$Homing:                        ]
in weapon: Reaper.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


Error: weapons.tbl(line 829:
Error: Required token = [#End] or [$Name:], found [$LaunchSnd:                     ]
in weapon: Reaper.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


Error: weapons.tbl(line 830:
Error: Required token = [#End] or [$Name:], found [$ImpactSnd:                     ]
in weapon: Reaper.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

Error: weapons.tbl(line 831:
Error: Required token = [#End] or [$Name:], found [$Flags:                         ]
in weapon: Reaper.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

Error: weapons.tbl(line 832:
Error: Required token = [#End] or [$Name:], found [$Icon:                          ]
in weapon: Reaper.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


$Name:                                 Reaper
+Title:                                XSTR("GTW-66 Reaper Cannon", 3282)
+Description:
XSTR(
"HiVel Weapon
Level 10 Hull Damage
Level 1 Shield Damage", 3283)
$end_multi_text
+Tech Title:               XSTR("GTW-80 Reaper", 3284)
+Tech Anim:                  Tech_GTW-66_Maxim_Gun
+Tech Description:
XSTR(
"Basicly a oversized and overpowered version of the Maxim, the Reaper is a rapid-fire cannon designed to penetrate heavy armor. Used mainly on the Thunderbolt.", 3285)
$end_multi_text
$Model File:                           none
@Laser Bitmap:                        laser1
@Laser Glow:                        laser1_2_glow
@Laser Color:                        255, 110, 00
@Laser Color2:                        255, 180, 00
@Laser Length:                        4.7
@Laser Head Radius:                      1.3
@Laser Tail Radius:                      1.3
$Mass:                                 0.1
$Velocity:                             1500.0                           
$Fire Wait:                            0.1
$Damage:                               30
$Armor Factor:                           1.5
$Shield Factor:                        0.1
$Subsystem Factor:                     1.0
$Lifetime:                             1.0
$Energy Consumed:                        1.0                  
$Cargo Size:                           0.1
$Rearm Rate:            100               
$Homing:                               NO
$LaunchSnd:                            195                               
$ImpactSnd:                            196                               
$Flags:                                ( "player allowed" "shudder" "stream" "particle spew" "Huge" "ballistic" )
$Icon:                                 iconNewton
$Anim:                                 Newton
$Impact Explosion:                  Maxim_Impact
$Impact Explosion Radius:         4.0
$Pspew:
+Count: 1
+Time: 5000
+Vel: 1
+Radius: 0.75
+Life: 0.2
+Scale: 0.15 
+Bitmap: Maxim_Particle
$Muzzleflash: viper_muzzle
$FOF: 0.5




Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: FRED doens't like Rearm Rate or Muzzleflash...
As i do not have the entry for the Vulcan i cant really say what is wrong with that one...

However.. in this one (Reaper) you have simply placed the table entries in wrong order. See http://www.hard-light.net/wiki/index.php/Weapons.tbl
$Rearm rate: comes after the $Homing: field.

Also muzzleflash and pspew fields are misplaced.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
That seems to have fixed hte reaper...the Vulcan still gives me errors: (starting with $LaunchSnd )

$Name: Vulcan
+Title:                                XSTR("GTW GP-2 Vulcan", 3302)
+Description:
XSTR(
"High Energy Usage
High rate of fire
Medium Damage", 3303)
$end_multi_text
+Tech Title:               XSTR("GP-2 Vulcan ", 3304)
+Tech Anim:                  TECH_GP-2_V
+Tech Description:
XSTR(
"The Vulcan is similar to the Vindicator, but fires plasma bursts instead of mesons. It has a lower rate of fire but deals more punch with each shot. This variant is used on some warships as an anti-fighter weapon. It's damage per second ratio is lower than that of the GL-5, however it has greater range.", 3305)
$end_multi_text
$Model File:                           none
@Laser Bitmap:                           VulcanX
@Laser Glow:                           2_laserglow03
@Laser Color:                           20, 150, 20
@Laser Color2:                           20, 150, 20
@Laser Length:                           10.0
@Laser Head Radius:                     0.45
@Laser Tail Radius:                     0.45
$Mass:                                 0.5
$Velocity:                             1000.0                           
$Fire Wait:                            0.1                           
$Damage:                               20
$Armor Factor:                        1.1
$Shield Factor:                        0.7
$Subsystem Factor:                     0.9
$Lifetime:                             1.0
$Energy Consumed:                        1.0                           
$Cargo Size:                           0.0                             
$Homing:                               NO
$LaunchSnd:                            80                             
$ImpactSnd:                            85
$Flags:                                ( "player allowed" "shudder" )
$Icon:                                 IconGun09
$Anim:                   VulcanTECH
$Impact Explosion:                     ExpMissileHit1
$Impact Explosion Radius:               0.8
$Muzzleflash: viper_muzzle
$FOF: 1.0
« Last Edit: July 31, 2007, 01:26:49 pm by TrashMan »
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
Allmost forgot - this weapon spews out ewrros too:


$Name:                                 D-Missile
+Title:                                XSTR("GTM-55 Disruptor Missile", 3357)
+Description:
XSTR(
"Special Issue
Electronic Warfare", 3358)
$end_multi_text
+Tech Title:               XSTR("GTM-55 Disruptor Missile", 3359)
+Tech Anim:                  Tech_GTI_TAG_Missile_B
+Tech Description:
XSTR(
"Making a great comback is the venerable D-Missile. It's unique ability to completely shut-down a warship for several seconds has been improved making it a a valubale tactical element in modern warfare.", 3360)
$end_multi_text
$Model File:                     tagb.pof
$Mass:                           20.0
$Velocity:                        300.0
$Fire Wait:                        8.0
$Damage:                        10               
$Blast Force:                     10.0
$Inner Radius:                     10.0            
$Outer Radius:                     30.0            
$Shockwave Speed:                  0                   
$Armor Factor:                     0.1
$Shield Factor:                     0.1
$Subsystem Factor:                  0.1
$Lifetime:                        5.0
$Energy Consumed:                  0.0               
$Cargo Size:                     4.0               
$Homing:                        YES
   
   +Type:                        ASPECT            
   +Turn Time:                     1.4
   +Min Lock Time:                  3               
   +Lock Pixels/Sec:               60                 
   +Catch-up Pixels/Sec:            100               
   +Catch-up Penalty:               30               
$LaunchSnd:                        92                 
$ImpactSnd:                        88                 
$FlyBySnd:                        -1
$Rearm Rate:                     0.5            
$Flags:                           ( "player allowed" "electronics" )
$Electronics:
   +New Style:
   +Intensity:                     1.0
   +Lifetime:                     7000.0
   +Randomness Time:                  2000.0
$Trail:                                          
   +Start Width:                  0.25               
   +End Width:                     0.5                 
   +Start Alpha:                  1.0
   +End Alpha:                     0.0
   +Max Life:                          0.3                 
   +Bitmap:                     MissileTrail04      
$Icon:                           iconTagB
$Anim:                           tagB
$Impact Explosion:                  ExpMissileHit1
$Impact Explosion Radius:            9.0
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: FRED doens't like Rearm Rate or Muzzleflash...
Did you or did you not read the wikis' weapon.tbl? Especially the order of the entries?



In any case with D-Missile place the electronics after the rest of the stuff entry

With Vulcan i could use one or two of the actual error messages.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
Error mesgaes are basicly stuff like:

Error: weapons.tbl(line 829:
Error: Required token = [#End] or [$Name:], found [$LaunchSnd:                     ]
in weapon: Reaper.

File: parselo.cpp
Line: 665

Error: weapons.tbl(line 829:
Error: Required token = [#End] or [$Name:], found [$ImpactSnd:                     ]
in weapon: Reaper.

File: parselo.cpp


ETc...

B.t.w. - thanks for hte help  ;)
Line: 665



 
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: FRED doens't like Rearm Rate or Muzzleflash...
Could you just post the actual messages?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
Error: weapons.tbl(line 686:
Error: Required token = [#End] or [$Name:], found [$LaunchSnd:                     ]
in weapon: Vindicator II.

File: parselo.cpp
Line: 665


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


Error: weapons.tbl(line 687:
Error: Required token = [#End] or [$Name:], found [$ImpactSnd:                     ]
in weapon: Vindicator II.

File: parselo.cpp
Line: 665



Error: weapons.tbl(line 688:
Error: Required token = [#End] or [$Name:], found [$Flags:                         ]
in weapon: Vindicator II.

File: parselo.cpp
Line: 665



Error: weapons.tbl(line 689:
Error: Required token = [#End] or [$Name:], found [$Icon:                          ]
in weapon: Vindicator II.

File: parselo.cpp
Line: 665



Error: weapons.tbl(line 690:
Error: Required token = [#End] or [$Name:], found [$Anim:                          ]
in weapon: Vindicator II.

File: parselo.cpp
Line: 665

------------------

; Vindicator II
;
$Name:                                  Vindicator II
+Title:                                 XSTR("GTW GL-6 Vindicator II", 3298)
+Description:
XSTR(
"Special Issue
Balistic ammo dependant
Extreem rate of fire", 3299)
$end_multi_text
+Tech Title:               XSTR("GTW GL-6 Vindicator II", 3300)
+Tech Anim:                  TECH_GL-5_V
+Tech Description:
XSTR(
"The special Vindicator gattling laser, while an incredibly powerfull weapon, had an unsatiated energy drain which limited it's deployment. For that reason, a new version of the weapon was developed. The GTW GL-6 Vindicator 2 is a mass driver, fireing magneticly accelerated superheated projectiles. Overall, it deals somewhat higer damage against armor, and especially subsystems, but is less effective agasint shields. It's energy drain is far smaller than that of it's predecessor, but it is limited by available ammo.", 3301)
$end_multi_text
$Model File:                           none
@Laser Bitmap:                           Maxim_Bitmap
@Laser Glow:                           2_laserglow03
@Laser Color:                           250, 250, 120
@Laser Color2:                           230, 250, 220
@Laser Length:                           8.0
@Laser Head Radius:                     0.3
@Laser Tail Radius:                     0.3
$Mass:                                 0.3
$Velocity:                             1200.0                                    
$Fire Wait:                            0.05                                    
$Damage:                               13
$Armor Factor:                     1.1
$Shield Factor:                     0.75
$Subsystem Factor:                  1.0
$Lifetime:                                0.6
$Energy Consumed:               0.3                                    
$Cargo Size:                        0.01
$Homing:                               NO
$Rearm Rate:            250
$LaunchSnd:                            192                                   
$ImpactSnd:                            85
$Flags:                                ( "player allowed" "shudder" "ballistic" )
$Icon:                                 IconGun06
$Anim:                                 V-TECH2
$Impact Explosion:                     ExpMissileHit1
$Impact Explosion Radius:               0.5
$FOF: 1.0
$Shots: 1


It didn't even get to Vulcan...FRAK! What the hell is wrong now... The Vindicator II worked before!

 
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FRED doens't like Rearm Rate or Muzzleflash...
Let me guess. The weapon that didn't work before was something before the Vindicator?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: FRED doens't like Rearm Rate or Muzzleflash...
No...above it is Vindicator (1) and it works like a charm...then comes Vindicator II, THEN Vulcan and then the Reaper.
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!