Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: NucNuc on March 06, 2009, 03:23:51 pm

Title: split table entries for P- and S-Banks possible ?
Post by: NucNuc on March 06, 2009, 03:23:51 pm

Is it possible to specify in the ship table entries different selections of weapons for different primary or secondary weapon banks, to split the array of allowed weapons between different gunmounts ?

Like only fast firing, low energy weapons on the first PBanks of the Myrmidon (Subach, Mekhu, Avenger, Maxim etc.) and high energy weapons on the second PBank (Kayser, Lamprey, Circe).

I looked up the wiki but couldn't find anything regarding this
Title: Re: split table entries for P- and S-Banks possible ?
Post by: Mobius on March 06, 2009, 03:31:43 pm
Sure...if a spacecraft has two primary banks and you want the second one to carry heavy weaponry, you can, i.e. do this:

( "Subach HL-7" "Prometheus R" "Akheton SDG" ) ( "Maxim" "UD-8 Kayser" )

:)
Title: Re: split table entries for P- and S-Banks possible ?
Post by: NucNuc on March 06, 2009, 03:43:32 pm
Simple solution. Too simple for a noob like me to think of and try :warp:

I thought it must be something more tricky, hidden deep in the code.

Thanks a lot.  :)


But would it also work if one bank would be loaded with an ammo-based and capacity resticted weapon, the other with an energy-based ?
Title: Re: split table entries for P- and S-Banks possible ?
Post by: Droid803 on March 06, 2009, 04:00:50 pm
Yep.
No problem with that at all.