![]() |
Custom Ship types
How would I require a ship type to have a min of X point defense cannons? I have tried playing with the requirements area in the VehicleSize.txt file.
------------------ "To live is to serve." |
Re: Custom Ship types
I don't believe you can require a ship to have any more than one. To require just one component use the ability "must have special groupe" or something like that.
|
Re: Custom Ship types
Couldn't this be done by changing majority or secondary comp ability to equal point defense instead of weapon like on most attack/defense ships then specifying the spaces per one?
|
Re: Custom Ship types
If this is for a hull requiring X PDCs, just like a transport requiring 50% cargo, I know the game engine supports that type of thing, but it may be hardcoded to only be used with lifesupport, crew quarters, and cargo space...
|
Re: Custom Ship types
For my AI's in the past, I have just used the spaces per one value. If you choose your value carefully (I used 95 for point defence), you can pretty much ensure that each hull size gets one more component each level.
|
Re: Custom Ship types
As far as I've been able to tell, if you want to ensure that a ship has a specific number of items, such as Point Defense, you can do it using the Must Have feilds.
If you wanted to ensure that a attack ship would have three Point Defense cannons change the lines: Number Must Have: :=1 Must Have Ability 1: :=Weapon to Number Must Have: :=4 Must Have Ability 1: :=Weapon Must Have Ability 2: :=Point-Defense Must Have Ability 3: :=Point-Defense Must Have Ability 4: :=Point-Defense Then when the AI builds attack ships it would place the required bridge, crew, life support, minimum engines, one of the primary weapons, and three Point Defense cannons before it would place anything else on the ship. As a warning though, the must have components DO NOT count towards the components per tonage value, and if the AI cannot fit the bridge, crew, life support, min engines and ALL Must Have items, the ship will not be built. Suicide_Junkie - the Bridge, Life Support and Crew Quarters seem to be hard-codded, but from what I have been able to tell, the min and max percents should work when added on otherwise. [This message has been edited by Atraikius (edited 14 May 2001).] |
All times are GMT -4. The time now is 03:37 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.