You must be logged in to post messages.
Please login or register

Game Modifications
Moderated by alincarpetman

Hop to:    
Welcome! You are not logged in. Please Login or Register.No replies
Rise of Nations Heaven » Forums » Game Modifications » More than one type of fighter aircraft per airbase or carrier?
Bottom
Topic Subject:More than one type of fighter aircraft per airbase or carrier?
dp_bcit
Member
posted 04-01-17 10:31 PM EDT (US)         
I've been modding unitrules.xml to see if an airbase can carry two types of fighter aircraft simultaneously, with mixed results. The key lines are:

<NAME></NAME>
<GRAPH></GRAPH>
<WHERE></WHERE>
<FROM></FROM>
<GRAFT></GRAFT>
<TRIBE_MASK></TRIBE_MASK>
<GRID_X></GRID_X>
<TYPENAME></TYPENAME>

When I test my results:

1) I can build the second fighter type.
2) While it remains in the airbase, this new type's icon is that of the attack helicopter.
3) When I select the new type's icon, the bottom left panel is completely blank for orders.
4) When I select the new type's icon, the bottom right panel is completely blank for the number of aircraft in the airbase.
5) When I scramble all units out of the airbase, all units of the second fighter type do go out.
6) When I set a rally point before building the second fighter type, units of this type do go out to patrol the rally point.

Am I missing something? Should other xml files be edited, as well?

The unit that I have in mind uses existing BH3s and TGAs, and replaces the mis-labelled "Harrier Jet" in the unitrules.xml file:

<UNIT>
<NAME>Strike Fighter</NAME>
<GRAPH>MIRAGE</GRAPH>
<OBJ_MASK>X63TSB</OBJ_MASK>
<FLAGS>jw</FLAGS>
<WHERE>Airbase</WHERE>
<ATTACK>50</ATTACK>
<HITS>240</HITS>
<MOVES>115</MOVES>
<SUPPORT>2o/2g support</SUPPORT>
<COST>9g/9o</COST>
<JOB_TIME>170</JOB_TIME>
<PREQ0>Information Age</PREQ0>
<PREQ1>none</PREQ1>
<FROM>none</FROM>
<JUMP>disable</JUMP>
<GRAFT>none</GRAFT>
<RANGE>2-12rng</RANGE>
<LOS>16</LOS>
<SCIENCE_LOS>0</SCIENCE_LOS>
<FLY_HIGH>0</FLY_HIGH>
<FLY_LOW>5%</FLY_LOW>
<RECHARGE>20</RECHARGE>
<ARMOR>3</ARMOR>
<DOMAIN>Air</DOMAIN>
<TO_HIT>300</TO_HIT>
<ATTENUATE>-3</ATTENUATE>
<CAT>Air</CAT>
<PROGRESSION>0</PROGRESSION>
<SPLASH>1</SPLASH>
<SPLASH_PERCENT>100</SPLASH_PERCENT>
<AMMO_PER_ATT>2</AMMO_PER_ATT>
<TURN_SPEED>14</TURN_SPEED>
<PROJ_SPEED>150</PROJ_SPEED>
<CARRY_SIZE>4</CARRY_SIZE>
<POP>1</POP>
<RESEARCH_PREMIUM_TIME>4</RESEARCH_PREMIUM_TIME>
<RESEARCH_PREMIUM_COST>4</RESEARCH_PREMIUM_COST>
<JOB_EXTRA_TIME>1/10tsx</JOB_EXTRA_TIME>
<MANA>600</MANA>
<TRIBE_MASK>111111111111111111111111</TRIBE_MASK>
<CARRY>0</CARRY>
<GUY_SPACING>50</GUY_SPACING>
<X_SPACING>50</X_SPACING>
<Y_SPACING>50</Y_SPACING>
<CIRCLE_RADIUS>5</CIRCLE_RADIUS>
<BLOCK_RADIUS>5</BLOCK_RADIUS>
<TARGET_SIZE>8</TARGET_SIZE>
<UBER_SIZE>1</UBER_SIZE>
<CREW_SIZE>0</CREW_SIZE>
<GRID_X>3</GRID_X>
<GRID_Y>0</GRID_Y>
<UPGRADE></UPGRADE>
<PUSH_SIZE>5</PUSH_SIZE>
<PUSH_CIRCLES>1</PUSH_CIRCLES>
<TYPENAME>Strike Fighter</TYPENAME>
</UNIT>



P.S. - Also, I would like to know if an aircraft carrier can be modded to carry a second type of aircraft at the same time, such as carrying both the standard F/A-18 jets and the Native American Harrier jets.

[This message has been edited by dp_bcit (edited 04-01-2017 @ 10:55 PM).]

You must be logged in to post messages.
Please login or register

Hop to:    

Rise of Nations Heaven | HeavenGames