Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: headdie on September 12, 2009, 06:07:26 pm
-
its 00.07 local so if i don't make much sense that and the lack of sleep last night is to blame
what i am proposing is the ability to separately define weapon comparability per fighter primary and secondary banks so designer can simulate things like mounting size or otherwise specify limitations where weapons can be mounted
for example i am thinking about a fighter that mounts a particle/plasma cannon that draws spent particles directly from the ships fusion reactor in 1 of 2 primary banks but be able to mount standard weaponry in the other but because of design limitations the ship has to mount the particle cannon in bank 2 but not 1 and likewise standard weaponry cant be mounted in bank 2 so for example:
$Allowed PBank1: ( "Light machine gun1" "Laser1" )
$Allowed PBank2: ( "Fusion cannon1" )
$Allowed PBank3: ( )
$Allowed Dogfight PBank1: ( "Light machine gun1" "Laser1" )
$Allowed Dogfight PBank2: ( "Fusion cannon1" )
$Allowed Dogfight PBank3: ( )
$PBank Capacity: ( 500, 500 )
$Allowed SBank1: ( "Heat Seeker" "Rocket" )
$Allowed SBank2: ( "Heat Seeker" )
$Allowed SBank3: ( "Heat Seeker" "Radar Guided" )
$SBank Capacity: ( 6, 6, 8 )
-
$Allowed PBanks: ( "mace" "Avenger III" "Prometheus R" "UD-8 Kayser" "maxim" "Grenade Launcher" "Rapier" ) ( "UM-4 Tachyion" "Hail Storm" "FB-11a Sniper" "mace" "Avenger III" "vulcan" "UD-8 Kayser" "maxim" "Rapier" ) ( "Borijia" )
$Allowed Dogfight PBanks: ( "Lamprey" "Prometheus D" "MorningStar D" "Circe" )
$Default PBanks: ( "Mace" "Rapier" "Borijia" )
$Pbank Capacity: ( 120,120,120 )
$Show Primary Models: ( yes yes no )
$Allowed SBanks: ( "dirk" "frag" "grimler" "Storm fire" "pavewayXII" ) ( "dart" "Hellfire" "Hornet" "Tornado" "dirk" "frag" "Storm fire" "grimler" "pavewayXII" "Singularity Bomb" "Shrike") ( "dart" "Hellfire" "Hornet" "Tornado" "slammer" "Singularity Bomb" "dirk" "frag" "grimler" "Shrike" "Storm fire" "pavewayXII" )
$Allowed Dogfight SBanks: ( "Rockeye D" "Hornet D" "Harpoon D" )
$Default SBanks: ( "grimler" "dart" "Dirk" )
This is an enrty from Steve'o's fighter which can mount normal weaponary on first two banks and special cannon on 3rd one.
I hope that's what you meant.
Also: http://www.hard-light.net/wiki/index.php?title=Ships.tbl#Primary_Weapons
-
Yeah, I was about to say, a number of Steve-O's fighters seem to have specific acceptable loadouts on each bank, so I assume this is already feasible.
-
are you on about the "$Default PBanks:" line?
If so its not the default banks i am on about what i mean is to be able to set a "$Allowed PBanks:" for each bank so that 1 bank is limited to some weapons while another bank can only fit different weapons from a different list i suppose done properly my example would look more like like this
$Allowed PBank1: ( "Light machine gun1" "Light machine gun2" "Laser1" )
$Allowed PBank2: ( "Fusion cannon1" )
$Allowed PBank3: ( )
$Allowed Dogfight PBank1: ( "Light machine gun1" "Laser1" )
$Allowed Dogfight PBank2: ( "Fusion cannon1" )
$Allowed Dogfight PBank3: ( )
$Default PBanks: ( "Light machine gun1" "Fusion cannon1" )
$PBank Capacity: ( 500, 500 )
$Allowed SBank1: ( "Heat Seeker" "Rocket" )
$Allowed SBank2: ( "Heat Seeker" )
$Allowed SBank3: ( "Heat Seeker" "Radar Guided" )
$Default SBanks: ( "Heat Seeker" "Heat Seeker" "Radar Guided" )
$SBank Capacity: ( 6, 6, 8 )
Edit
my apologies i missed the additional brackets in the wiki examples