Just looking thru fgd file and seems we still don't have an up to date list in it of all the new weapons. This is what is showing right now: weaponType8(choices) : "Weapon 8: Type" : -1 : "ID for the weapon type." = [ -1 : "No Weapon" 0 : "Standard MG" 1 : "Bio MG" 2 : ".50 Cal Medium MG" 3 : ".50 Cal Heavy MG" 4 : "Depleted Uranium MG" 5 : "Depleted Uranium HMG" 6 : "Chain Gun" 7 : "Medium Chain Gun" 8 : "Plasma MG" 9 : "High Explosive MG" 10 : "Standard Cannon" 11 : "Ranged Cannon" 12 : "High Explosive Cannon" 13 : "Plasma Cannon" 14 : "Rail Gun" 15 : "Small Artillery Cannon" 16 : "Medium Artillery Cannon" 17 : "High Explosive Artillery Cannon" 18 : "Ranged Artillery Cannon" 19 : "Standard ML" 20 : "Upgraded ML" 21 : "Biological Warhead" 22 : "HIT Missile" 23 : "Salvo ML" 24 : "Guided ML" 25 : "Upgraded Guided ML" 26 : "Homing ML" 27 : "Upgraded Homing ML" 28 : "Salvo Homing ML" 29 : "Grenade Launcher" 30 : "Upgraded Grenade Launcher"
I'd warn against vehicle spawners in maps because they break if they indexes get adjusted, but I believe you can just get the indexes from vehicles_weapons.txt in the script files. I believe there was work on loading information from files, but that fell through the cracks.
k, thanks...was hoping we had a list somewhere..can do it the manual way. If they break, we can always just release a revision. An easy fix for this is only add any new weapons to the end of the list. Treat it like a DB Table since that is essentially what's it being used as. *Updated these as of 03/01/15 to include recently added weapons* Here they are for anyone who needs them. And the regex if you want to do it yourself! Code: ^(\t"[^"\r\n]*"\r\n) Code: 0 : "Standard Machine Gun" 1 : "Bio Machine Gun" 2 : ".50 Caliber Medium Machine Gun" 3 : ".50 Caliber Heavy Machine Gun" 4 : "Anti-Tank Machine Gun" 5 : "Anti-Tank Heavy Machine Gun" 6 : "Chain Gun" 7 : "Medium Chain Gun" 8 : "Plasma Machine Gun" 9 : "HE MG" 10 : "Standard Cannon" 11 : "Ranged Cannon" 12 : "High Explosive Cannon" 13 : "Plasma Cannon" 14 : "Rail Gun" 15 : "smallArtilleryCannon" 16 : "DoubleArtilleryCannon" 17 : "High Explosive Artillery" 18 : "Ranged Artillery Cannon" 19 : "singleMissileLauncher" 20 : "Upgraded Missile Launcher" 21 : "Biological Warhead" 22 : "Nuclear Missile" 23 : "salvoMissileLauncher" 24 : "salvoguidedMissileLauncher" 25 : "homingMissileLauncher" 26 : "salvoHomingMissileLauncher" 27 : "grenadeLauncher" 28 : "Upgraded Grenade Launcher" 29 : "smallBombBay" 30 : "largeBombBay" 31 : "Improved Standard Cannon" 32 : "Biological Cannon" 33 : "FastMissileLauncher" 34 : "LightSalvoMissileLauncher" 35 : "DoubleMissileLauncher" 36 : "TripleMissileLauncher" 37 : "GuidedMissileLauncher" 38 : "PlasmaMissileLauncher" 39 : "Mk1AutoCannon"