Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: TrashMan on April 30, 2003, 02:47:54 pm
-
How about havin a fighter with ..let's say total 6 primary.
4 + 2
Is it possible to make it so that the first slot (4) can equip only lighter laser, while the second one (2) can even heavy ones...
The same for secondary?
-
if I'm not mistaken that's already done.
-
By whom? If so where can I get it?
-
bob of course:) dont know where you get it....
have a nice day...
-
it was in everything past 3.5 and goober reimplemented it after me though I don't know how much was his code
-
Starange...didn't see it in FS2_Open readme....I'll take another look!!!!!!
-
Originally posted by Venom
if I'm not mistaken that's already done.
You're right http://www.hard-light.net/forums/index.php/topic,11987.0.html
It was my idea. ;)
-
The readme is massively out of date. There are many things in the code that are not in the readme - this is one of them.
It's very straightforward - just add another list of weapons, and Freespace will treat each list as pertaining to a particular bank.
Example:
// a single list affects all banks
$Allowed PBanks: ( "ML-16" "Avenger" "Prometheus" "Banshee" )
// the first list affects bank 1; the second list affects bank 2
$Allowed PBanks: ( "ML-16" "Avenger" ) ( "Prometheus" "Banshee" )
-
Originally posted by Goober5000
The readme is massively out of date. There are many things in the code that are not in the readme - this is one of them.
It's very straightforward - just add another list of weapons, and Freespace will treat each list as pertaining to a particular bank.
Example:
// a single list affects all banks
$Allowed PBanks: ( "ML-16" "Avenger" "Prometheus" "Banshee" )
// the first list affects bank 1; the second list affects bank 2
$Allowed PBanks: ( "ML-16" "Avenger" ) ( "Prometheus" "Banshee" )
[/B]
I see you (or bob) didn't go with the second(?) idea on how to do this.
$Allowed SBanks: ( "MX-50" "D-Missile" "Fury" "Interceptor" "Hornet")
+SBank0: ("Fury" "MX50") ;;if not set (written) then unwritten bank can hold weapons flaged in "$Allowed SBanks"
+SBank2: ("Bigbomb")
$Default SBanks: ( "MX-50" "Hornet" "Fury")
+Sbank1: ("Interceptor")
$SBank Capacity: ( 40 ) ( 35 )
Just to give credit where creidt is due. I got the above idea from WMCoolmon
Secondary bank 1: ( "MX-50" "D-Missile" "Fury" )
Secondary bank 2: ("Interceptor" "Hornet")
Secondary bank 3: ( "MX-50" "D-Missile" "Fury" )
Secondary bank 4: ("Interceptor" "Hornet")
[/SIZE]
[EDIT] Is the feature for both primary and secondary weapons?
-
Originally posted by HotSnoJ
I see you (or bob) didn't go with the second(?) idea on how to do this.
$Allowed SBanks: ( "MX-50" "D-Missile" "Fury" "Interceptor" "Hornet" )
+SBank0: ("Fury" "MX50" ) ;;if not set (written) then unwritten bank can hold weapons flaged in $Allowed SBanks
+SBank2: ("Bigbomb" )
$Default SBanks: ( "MX-50" "Hornet" "Fury" )
+Sbank1: ("Interceptor" )
$SBank Capacity: ( 40 ) ( 35 )
[/b]
Heh - that was actually my proposal, and I realised when I was revising Bobboau's code that it would be more efficient to do it the first way.
Is the feature for both primary and secondary weapons?
Yes.
-
Yes.
Oh goodie!
*Goes and starts to tbl edit some ships*