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).]
|