Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Andrew_Cluetain on August 02, 2009, 05:02:30 pm

Title: Is there a max # of wepons in the table in FSO, Or What did I messup and not see
Post by: Andrew_Cluetain on August 02, 2009, 05:02:30 pm
I've been bussy with adding LOTS of wepons to my wepon.tbl, so far I've not had problems.  Recently I found one of the wepons I had added no won't work right.  Since I don't think I changed anything in that entry, I started to wonder if there was an upper limit of the # of wepons in the tbl.  :confused: If there is no limit then I must have messed with something and can't find it. Here is the entry as it stands now:

$Name: Ion Missile
+Title:   XSTR("Ion Missile", -1)
+Description:
XSTR("Ion Missile
Special Issue", -1)
$end_multi_text
+Tech Title: XSTR("GTM-11 EM Pulse", -1)
+Tech Anim: LoadMissile11
+Tech Description:
XSTR("GTM - 11 EM Pulse
Upon impact, the EM Pulse temporarily disables the electronics systems of the target ship. This renders the target ship unable to track targets, manage communications, or gain aspect missile lock. This has numerous tactical applications. For example, a direct hit with an EM Pulse missile will prevent bombers from launching aspect-seeking warheads for several seconds. Once the EMP field has worn off, they must also take the time to reacquire missile lock, granting you valuable time.",-1)
$end_multi_text
$Model File: EMPulse.pof
$Mass:   15.0
$Velocity: 250.0
$Fire Wait: 2.0
$Damage: 83.3
$Blast Force:   20.0
$Inner Radius:   15
$Outer Radius:   50
$Shockwave Speed: 0
$Armor Factor:   0.0
$Shield Factor:   1.0
$Subsystem Factor: 1.2
$Lifetime: 5.0
$Energy Consumed: 0
$Cargo Size:   2.5
$Homing:   YES
   +Type:   ASPECT
   +Turn Time:   1.0
   +Min Lock Time:   2.0
   +Lock Pixels/Sec: 70
   +Catch-up Pixels/Sec: 100
   +Catch-up Penalty: 30
$LaunchSnd: 91
$ImpactSnd:   88
$FlyBySnd:   -1
$Rearm Rate:   2
$Flags:   ( "player allowed" "Bomb")
$Trail:
   +Start Width: 0.25
   +End Width:   0.75
   +Start Alpha:   1.0
   +End Alpha: 0.0
   +Max Life:   1.5
   +Bitmap: MissileTrail03
$Icon:   iconmissile11
$Anim:   cb_empulse
$Impact Explosion: Ion
$Impact Explosion Radius: 15.0

I know it will crash the tech read out but Currently it won't display right in Fred.  Any assistance is great!
Title: Re: Is there a max # of wepons in the table in FSO, Or What did I messup and not see
Post by: Spoon on August 02, 2009, 05:02:59 pm
http://www.hard-light.net/wiki/index.php/Engine_Limitations
Title: Re: Is there a max # of wepons in the table in FSO, Or What did I messup and not see
Post by: Wanderer on August 02, 2009, 05:07:12 pm
130 is the limit for the ship info (ie. class) objects.

http://www.hard-light.net/wiki/index.php/Engine_Limitations
Title: Re: Is there a max # of wepons in the table in FSO, Or What did I messup and not see
Post by: Andrew_Cluetain on August 02, 2009, 05:25:49 pm
Ah thanks, seems I need the INF build.