Log in

View Full Version : Modding Question: Requiring a specific component?


Artscrafter
September 30th, 2003, 11:56 PM
I'm going through the VehicleSize file, trying to create a ship type that requires certain specific components that aren't the usual cargo, fighterbays, etc. The paragraph in the instructions about requirements isn't very clear about the syntax I'm supposed to use.

How do I turn
"Requirement X Type:
Specific Component - Must have"
into a line where I can require the ship design to have, for example, exactly one Inverted Quantum Beam, or at least two Cobalt Warheads?

Phoenix-D
October 1st, 2003, 01:24 AM
The restrictions don't work except for the already used ones.

Suicide Junkie
October 1st, 2003, 01:36 AM
The "only X per vehicle" all work (x= 1 through 10)

Artscrafter
October 1st, 2003, 03:02 AM
The "only X per vehicle" all work (x= 1 through 10)<font size="2" face="sans-serif, arial, verdana">Hmm... That seems to be more of a limit than a minimum... Still, could you give me an example of what a line with that effect would look like if I were to try putting it into the text file?

Ed Kolis
October 1st, 2003, 03:16 AM
Restrictions := One Per Vehicle

Right out of the entry for the Emergency Resupply Pod http://forum.shrapnelgames.com/images/icons/icon7.gif

This is, as stated before, a maximum limit, not a minimum, though.

StarBaseSweeper
October 1st, 2003, 04:13 AM
Another way may be (as I found myself using this) to modify the use of bridge, life support, crew quarter and master computer as they only have minimum required per ship.

Bridge: one and only one, if no MC
Crew quarter and life support: at least X (in vehicle size) which can be changed to exactly X or between X and Y if combined with the restriction on maximum number described below.
MC: at least 1, if other condition not met.

Of course MC cancel this, and it seems that you can have several bridges if you have an MC, although I am not exactly sure of that. If you make MC bigger and more expensive then it may be ok.

[ October 01, 2003, 04:01: Message edited by: StarBaseSweeper ]

Artscrafter
October 1st, 2003, 02:24 PM
Hmm... That's not exactly what I'm looking for, since you could get past the requirements easily enough by putting in a real bridge/LS/CQ or MC...

I suppose in a pinch, I could adjust the component I want to count as a cargo bay or something and do it that way...