Author Topic: Separate compability slots  (Read 2545 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Separate compability slots
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?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
Separate compability slots
if I'm not mistaken that's already done.
SCREW CANON!

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Separate compability slots
By whom? If so where can I get it?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline LAW ENFORCER

  • Turret Fiend
  • 210
    • http://www.armouredstar.com
Separate compability slots
bob of course:) dont know where you get it....

have a nice day...
Conflict GRDLA:
Operation Return To Riker
www.ARMOUREDSTAR.com - the latest site is not finished yet!
[What we have here is the source to the Freespace ENGINE, not the Freespace GAME. By allowing the ENGINE to support all kinds of cool stuff, we're allowing the creation of all new GAMES] - TurboNed

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Separate compability slots
it was in everything past 3.5 and goober reimplemented it after me though I don't know how much was his code
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Separate compability slots
Starange...didn't see it in FS2_Open readme....I'll take another look!!!!!!
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
Separate compability slots
Quote
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. ;)
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Separate compability slots
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:
Code: [Select]
// a single list affects all banks
$Allowed PBanks: ( "ML-16" "Avenger" "Prometheus" "Banshee" )

Code: [Select]
// the first list affects bank 1; the second list affects bank 2
$Allowed PBanks: ( "ML-16" "Avenger" ) ( "Prometheus" "Banshee" )

 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
Separate compability slots
Quote
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:
Code: [Select]
// a single list affects all banks
$Allowed PBanks: ( "ML-16" "Avenger" "Prometheus" "Banshee" )

Code: [Select]
// 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.

Code: [Select]

$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
Code: [Select]
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?
« Last Edit: May 01, 2003, 03:58:50 pm by 516 »
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Separate compability slots
Quote
Originally posted by HotSnoJ
I see you (or bob) didn't go with the second(?) idea on how to do this.

Code: [Select]

$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.

Quote
Is the feature for both primary and secondary weapons?


Yes.

 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
Separate compability slots
Quote
Yes.

Oh goodie!

*Goes and starts to tbl edit some ships*
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things