Hi All I need a little help with some Python coding and it's all to do with Barbarians/Pirates. There is a file that contains some of the information i need to use which is CvFinalFrontierEvents.py. I Can see what i need to do to change what units appear but what i want to do requires a little more information than i have or can find. We need some new units for this to work. So for the moment assume we have the units as as shown below.
This would give a lot more B5 flavour especially especially once we get rid of the Battleships, Cruisers, Destroyers, etc that are currently used.
I've been told that the AI doesn't use Carriers very well/at all but again maybe a (small) change to Python will change that.
Is what i've proposed possible and if so what besides the change in order of Pirate ship appearances would i need to do?
Spoiler :
First Unit - Pirate Construction Ship - Has 0 movement and can only build a Pirate Base.
Second Unit - Pirate Base - Similar to a Starbase, costs 0 to build and consumes Construction Ship when built. Pirate Base builds a Pirate Fighter or Pirate Bomber every 6 turns. Base would be weaker than a Starbase and only be able to hold 3 or 4 units
Third Unit - Pirate Fighter - Slightly weaker than a Starfury or maybe less range but same strength?
Fourth Unit - Pirate Bomber - As above.
Fifth Unit - Pirate Carrier - Should be weaker than other carriers, but not by much, and able to carry less units, say 4 or 5.
Hopefully the AI would automatically use the Fighters/Bombers transfering them to Carriers to go out raiding.
Second Unit - Pirate Base - Similar to a Starbase, costs 0 to build and consumes Construction Ship when built. Pirate Base builds a Pirate Fighter or Pirate Bomber every 6 turns. Base would be weaker than a Starbase and only be able to hold 3 or 4 units
Third Unit - Pirate Fighter - Slightly weaker than a Starfury or maybe less range but same strength?
Fourth Unit - Pirate Bomber - As above.
Fifth Unit - Pirate Carrier - Should be weaker than other carriers, but not by much, and able to carry less units, say 4 or 5.
Hopefully the AI would automatically use the Fighters/Bombers transfering them to Carriers to go out raiding.
This would give a lot more B5 flavour especially especially once we get rid of the Battleships, Cruisers, Destroyers, etc that are currently used.
I've been told that the AI doesn't use Carriers very well/at all but again maybe a (small) change to Python will change that.
Is what i've proposed possible and if so what besides the change in order of Pirate ship appearances would i need to do?