first of all you need edit your
data\ini\PlayerTemplate.ini
add additional codes
PlayerTemplate FactionGDI
StartingUnit1 = GDIPowerStore
StartingUnit2 = ALIENPowerStore
PlayerTemplate FactionNOD
StartingUnit0 = NODPowerStore
==========================================================
<strong>here is example</strong>
==================================================
PlayerTemplate FactionGDI
Side = GDI
PlayableSide = Yes
StartMoney = 0
MaxLevelMP = 32
MaxLevelSP = 78 ;80
PreferredColor = R:253 G:118 B:2
PreferredCampaignRadarColor = R:0 G:0 B:255
StartingBuilding = GDIConstructionYard
StartingUnit0 = GDIPowerStore
StartingUnit1 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit2 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit3 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit4 = ALIENPowerStore
StartingUnit5 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit6 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit7 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit8 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit9 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit10 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit11 = UnitCrateMP_AlliedGrizzlyTank
StartingUnit12 = UnitCrateMP_AlliedGrizzlyTank
PurchaseScienceCommandSet = GoodSpellStoreCommandSet
PurchaseScienceCommandSetMP = MenSpellStoreCommandSet
DisplayName = INI:FactionGDI
DefaultPlayerAIType = MenSkirmishAI
BeaconName = MultiplayerBeacon
LoadScreenMusic = TEMP_RAM_Music360_LoadScreen ; If you change this, remember it must be a RAM-based (no-stream) piece of music
SkirmishMPVictoryMusic = CNC3_SUCCESS
SkirmishMPDefeatMusic = CNC3_FAILURE
IntelDBMusic = Music_BaseBuilding_Blue
InitialUpgrades = Upgrade_GDIFaction ; Any upgrades this player template is born with.
ResourceModifierObjectFilter = RESOURCE_MODIFIER_OBJECT_FILTER
ResourceModifierValues = 100 100 100 100 100 100 95 90 85 80 75 71 68 66
MoneyCapSP = 3000
MoneyCapMP = 3000
SpellBook = PlayerSpellBook
SpellBookMp = PlayerSpellBook
End
PlayerTemplate FactionNOD
Side = NOD
PlayableSide = Yes
StartMoney = 0
MaxLevelMP = 32
MaxLevelSP = 78 ;80
PreferredColor = R:213 G:0 B:0
PreferredCampaignRadarColor = R:255 G:0 B:0
; PreferredColor = R:43 G:43 B:179
StartingBuilding = NODConstructionYard
StartingUnit0 = NODPowerStore
StartingUnit1 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit2 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit3 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit4 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit5 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit6 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit7 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit8 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit9 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit10 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit11 = UnitCrateMP_SovietRhinoMkIITank
StartingUnit12 = UnitCrateMP_SovietRhinoMkIITank
PurchaseScienceCommandSet = GoodSpellStoreCommandSet
PurchaseScienceCommandSetMP = MenSpellStoreCommandSet
DisplayName = INI:FactionNOD
DefaultPlayerAIType = MenSkirmishAI
BeaconName = MultiplayerBeacon
LoadScreenMusic = TEMP_RAM_Music360_LoadScreen ; If you change this, remember it must be a RAM-based (no-stream) piece of music
SkirmishMPVictoryMusic = CNC3_SUCCESS_EVIL
SkirmishMPDefeatMusic = CNC3_FAILURE
IntelDBMusic = Music_BaseBuilding_Yellow
InitialUpgrades = Upgrade_NODFaction
ResourceModifierObjectFilter = RESOURCE_MODIFIER_OBJECT_FILTER
ResourceModifierValues = 100 100 100 100 100 100 95 90 85 80 75 71 68 66
MoneyCapSP = 3000
MoneyCapMP = 3000
SpellBook = PlayerSpellBook
SpellBookMp = PlayerSpellBook
End
to complete this you must make ability used only if you have build some Required buildings and here is edit for your mod file if you have source code
Command and Conquer 3 Tiberium Wars\MOD SDK\CnC3Xml\GlobalData\SpecialPowerTemplates.xml
if you dont have source code for redhistory mod you need to add this changing to your maps in overrides.xml
C:\Users\hussi\AppData\Roaming\Command & Conquer 3 Tiberium Wars\Maps\TESTMAPSUPPORTPOWER\overrides.xml
so if you dont have source codes you need edit all your overrides.xml maps files to before load your redhistory mod it cause you we dont have source code
<?xml version="1.0" encoding="UTF-8"?>
<AssetDeclaration
xmlns="uri:ea.com:eala:asset"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Tags/>
<Includes/>
<SpecialPowerTemplate
id="SpecialPowerLaunchCatalystMissile"
Flags="IS_PLAYER_POWER WATER_OK SHARED_SYNC"
RadiusCursorRadius="200"
ReloadTime="360s"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="-3500">
<!-- InitiateAtLocationSound="NOD_CatalystMissile_TargetCursor" no worky -->
<!-- InitiateSound="NOD_CatalystMissile_TargetCursor" works (but I think it localizes at the building) but still too much delay -->
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialAbilityHarvest"
TargetType="NONE" />
<SpecialPowerTemplate
id="SpecialPowerEMPControlCenter"
Flags="IS_PLAYER_POWER SHARED_SYNC"
ReloadTime="180s"
RadiusCursorRadius="200"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"/>
<!-- InitiateAtLocationSound="EMP_WeaponTarget" -->
<!-- InitiateSound="EMP_WeaponTarget this plays on the EMP burst not the target and localizes at the building -->
<SpecialPowerTemplate
id="SpecialPowerComputerCounterMeasures"
ReloadTime="30s"
TargetType="NONE"
InitiateSound="NOD_MasterComputerCountermeasures"
Flags="WATER_OK">
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerIronDecay_Start"
DisplayName="SPECIALPOWER:SpecialPowerIronDecay"
TargetType="LOCATION"
Flags="NEEDS_OBJECT_FILTER NO_FORBIDDEN_MODEL_STATES NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="180s"
InitiateSound=""
InitiateAtLocationSound="SOV_IronCurtain_Cast"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="100"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates="INVULNERABLE"
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectUnit"
RestrictionType="UNRESTRICTED"
Money="-1000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="ANY"
Relationship=""
Alignment="NONE"
Include="AIRCRAFT VEHICLE"
Exclude="" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPower_RiftGeneratorWeapon"
DisplayName="NAME:SuperweaponTimerRiftGenerator"
Description="DESC:SuperweaponTimerRiftGenerator"
Flags="HAS_PUBLIC_TIMER IS_PLAYER_POWER FOGGED_SHROUDED_CELLS_OK WATER_OK IGNORE_MAP_EXTENTS SHARED_SYNC"
ReloadTime="99999s"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="OwnRiftGeneratorActivated"
EvaEventToPlayOnInitiateAlly="AlliedRiftGeneratorActivated"
EvaEventToPlayOnInitiateEnemy="EnemyRiftGeneratorActivated"
RadiusCursorRadius="250"
RestrictionType="1"
TimerImage="Button_PlayerPowerRiftGenerator"/>
<SpecialPowerTemplate
id="SpecialPower_CrystalShield"
DisplayName="SPECIALPOWER:CrystalShield"
Flags="IS_PLAYER_POWER WATER_OK SHARED_SYNC"
ReloadTime="360s"
TargetType="LOCATION"
InitiateAtLocationSound="ALI_StasisShield_Start"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RadiusCursorRadius="150"
Money="-2000">
<GameDependency>
<RequiredObject>GDIIonCannonControl</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPower_WormHole"
DisplayName="SPECIALPOWER:WormHole"
Flags="IS_PLAYER_POWER NOT_CLIFF_CELL PATHABLE_ONLY SHARED_SYNC"
ReloadTime="240s"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectWormholeLocation"
RadiusCursorRadius="50"
Money="-2000"
>
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerDummyTriggered1"
TargetType="LOCATION"
/>
<SpecialPowerTemplate
id="SpecialPowerDummyTriggered2"
TargetType="LOCATION"
/>
<SpecialPowerTemplate
id="SpecialPowerDummyTriggered3"
TargetType="OBJECT"
/>
<SpecialPowerTemplate
id="SpecialPower_UseBlinkPack"
TargetType="LOCATION"
InitiateSound="ALI_ShockTrooper_Blink"
WaypointModeTerminal="false"
RadiusCursorRadius="16"
ForbiddenObjectRange="16"
Flags="PATHABLE_ONLY NOT_CLIFF_CELL NO_FORBIDDEN_OBJECTS"
ReloadTime="30s" >
<ForbiddenObjectFilter
Rule="ANY"
Include="STRUCTURE CRUSHABLE_OBSTACLE VEHICLE"/>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPower_Swarm"
TargetType="LOCATION"
InitiateAtLocationSound="ALI_BuzzerSwarm"
ReloadTime="350s"
Flags="IS_PLAYER_POWER NO_FORBIDDEN_OBJECTS NOT_CLIFF_CELL SHARED_SYNC"
Money="-1500"
RadiusCursorRadius="40"
ForbiddenObjectRange="30" >
<ForbiddenObjectFilter
Rule="ANY"
Include="INFANTRY VEHICLE STRUCTURE"
/>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerToxicDispersion"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="240s"
InitiateSound=""
InitiateAtLocationSound="AirRaid_Siren"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="250"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="AirstrikeInitiated"
RestrictionType="UNRESTRICTED"
Money="-3500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED"
Relationship=""
Alignment="NONE"
Include=""
Exclude="" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODSecretShrine</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerIonCannonControlIonCannon"
DisplayName="NAME:SuperweaponTimerWeatherMachine"
Description="DESC:SuperweaponTimerWeatherMachine"
TargetType="LOCATION"
Flags="WATER_OK FOGGED_SHROUDED_CELLS_OK SHARED_SYNC HAS_PUBLIC_TIMER IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="420s"
InitiateSound=""
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="300"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="EnemyWeatherMachineActivated"
EvaEventToPlayOnInitiateAlly="EnemyWeatherMachineActivated"
EvaEventToPlayOnInitiateEnemy="EnemyWeatherMachineActivated"
RestrictionType="1"
Money="-4000"
TimerImage="Button_WeatherMachineTimer"
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED"
Relationship=""
Alignment="NONE"
Include=""
Exclude="" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDIIonCannonControl</RequiredObject>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerHarbingerGunship"
TargetType="LOCATION"
Flags="NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="300s"
InitiateSound=""
InitiateAtLocationSound="Allied_Harbinger_VoiceReinforcements"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="75"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-5000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED"
Relationship=""
Alignment="NONE"
Include=""
Exclude="" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDIArmory</RequiredObject>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerBadgerBomber"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="280s"
InitiateAtLocationSound="AudioEvent:AirRaid_Siren"
RadiusCursorRadius="300"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="AirstrikeInitiated"
Money="-2000">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTempleOfNOD</RequiredObject>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerGDI_SpaceCommandShockwaveArtillery"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="420s"
InitiateAtLocationSound="GDI_ShockwaveArtillery_WeaponFire_Stereo"
RadiusCursorRadius="360"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="-3000">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDIIonCannonControl</RequiredObject>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerAirDispersion"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="490s"
InitiateAtLocationSound="AudioEvent:AirRaid_Siren"
RadiusCursorRadius="250"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="AirstrikeInitiated"
Money="-4000">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTempleOfNOD</RequiredObject>
<RequiredObject>NODSecretShrine</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerAlliedAirDispersion"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="420s"
InitiateSound="AudioEvent:ALL_CenturyBomber_VoiceAttack"
InitiateAtLocationSound="AudioEvent:AirRaid_Siren"
RadiusCursorRadius="200"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="-4000">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDIIonCannonControl</RequiredObject>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerAlliedParaDrop"
TargetType="LOCATION"
Flags="NO_FORBIDDEN_OBJECTS NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="160s"
InitiateSound="ALL_CenturyBomber_VoiceMove"
InitiateAtLocationSound="AirRaid_Siren"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="50"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000"
MinCastRange="0"
ForbiddenObjectRange="150"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-1000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED"
Relationship=""
Alignment="NONE"
Include=""
Exclude="" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerTechParabombs"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="360s"
InitiateSound="ALL_CenturyBomber_VoiceAttack"
InitiateAtLocationSound="AirRaid_Siren"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="200"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-4000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDIMedicalBay</RequiredObject>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerSpyPlane"
TargetType="LOCATION"
Flags="WATER_OK FOGGED_SHROUDED_CELLS_OK SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="120s"
InitiateSound=""
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="200"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODOperationsCenter</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerCallSupportBloodhound"
Flags="NOT_CLIFF_CELL IS_PLAYER_POWER NO_FORBIDDEN_OBJECTS SHARED_SYNC"
ReloadTime="30s"
ForbiddenObjectRange="140"
RadiusCursorRadius="140"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="-2000"
InitiateAtLocationSound="GDI_Ox_VoiceReinforcements">
<ForbiddenObjectFilter
Rule="ANY"
Include="STRUCTURE"
/>
<GameDependency>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerCallSupportHunterKillerTeam"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER"
ForbiddenObjectRange="130"
ReloadTime="240s"
RadiusCursorRadius="130"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="-3500"
InitiateAtLocationSound="GDI_Ox_VoiceReinforcements">
<ForbiddenObjectFilter
Rule="ANY"
Include="STRUCTURE"
/>
<GameDependency>
<RequiredObject>GDISpaceCommandUplink</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerBombingRun"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="180s"
InitiateSound=""
InitiateAtLocationSound="AirRaid_Siren"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="50"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="AirstrikeInitiated"
NameOfVoiceNameToUseAsInitiateIntendToDoVoice="9763CD58"
RestrictionType="UNRESTRICTED"
Money="-2000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDIArmory</RequiredObject>
<RequiredObject>GDICommandPost</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerP51Squad"
TargetType="LOCATION"
Flags="NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="30s"
InitiateSound=""
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="75"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-2500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>GDICommandPost</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerYAKSquad"
TargetType="LOCATION"
Flags="NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="30s"
InitiateSound=""
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="75"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-2500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODOperationsCenter</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPower_RedWindTimer"
TargetType="NONE"
Flags="SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="340s"
InitiateSound=""
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="0"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
RestrictionType="UNRESTRICTED"
Money="-1500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODSecretShrine</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerSovietTechParabombs"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="360s"
InitiateSound="SOV_Bullfrog_VoiceAttack"
InitiateAtLocationSound="AirRaid_Siren"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="200"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-3000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTempleOfNOD</RequiredObject>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerSovietParaDrop"
TargetType="LOCATION"
Flags="NO_FORBIDDEN_OBJECTS NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="100s"
InitiateSound="SOV_Bullfrog_VoiceMove"
InitiateAtLocationSound="AirRaid_Siren"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="150"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="150"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-1500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerSovietCommandEconomy"
TargetType="OBJECT_OR_LOCATION"
Flags="NEEDS_OBJECT_FILTER SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="360s"
InitiateSound=""
InitiateAtLocationSound="SOV_Mass_Production"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="50"
PreventConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="SovietCommandEconomyInitiated"
RestrictionType="UNRESTRICTED"
Money="-4500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="ANY"
Relationship=""
Alignment="NONE"
Include=""
Exclude="">
<IncludeThing>TiberiumField</IncludeThing>
<IncludeThing>TiberiumFieldBlue</IncludeThing>
<IncludeThing>TiberiumFieldRedZone</IncludeThing>
<IncludeThing>TiberiumSpike</IncludeThing>
</ObjectFilter>
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTiberiumLiquidationFacility</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerSingleUseNuclearMissile"
DisplayName="NAME:SuperweaponTimerTacticalNuclearMissile"
Description="DESC:SuperweaponTimerNuclearMissile"
TargetType="LOCATION"
Flags="WATER_OK FOGGED_SHROUDED_CELLS_OK SHARED_SYNC HAS_PUBLIC_TIMER IS_PLAYER_POWER IGNORE_MAP_EXTENTS"
ReloadTime="380s"
InitiateSound=""
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="200"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="OwnNuclearMissileLaunched"
EvaEventToPlayOnInitiateAlly="AlliedNuclearMissileLaunched"
EvaEventToPlayOnInitiateEnemy="EnemyNuclearMissileLaunched"
RestrictionType="1"
Money="-4000"
TimerImage="Button_AbilityDemoTruckDetonate"
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTempleOfNOD</RequiredObject>
<RequiredObject>NODSecretShrine</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerForceShield"
TargetType="LOCATION"
Flags="NEEDS_OBJECT_FILTER NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="300s"
InitiateSound=""
InitiateAtLocationSound="SOV_ForceShield_Cast"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="200"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="OwnForceShieldActivated"
RestrictionType="UNRESTRICTED"
Money="0"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTempleOfNOD</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPower_PsychicVibrationScan"
TargetType="NONE"
Flags="WATER_OK SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="340s"
InitiateSound="Soviet_PsychicScan"
InitiateAtLocationSound=""
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="0"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
RestrictionType="UNRESTRICTED"
Money="1500"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODDisruptionTower</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerCallAirDropDemoTruck"
TargetType="LOCATION"
Flags="NO_FORBIDDEN_OBJECTS NOT_CLIFF_CELL SHARED_SYNC IS_PLAYER_POWER"
ReloadTime="240s"
InitiateSound="Soviet_DemoTruck_VoiceReinforcement"
InitiateAtLocationSound="Soviet_DemoTruck_VoiceReinforcement"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="90"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="90"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
RestrictionType="UNRESTRICTED"
Money="-2000"
TimerImage=""
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODSecretShrine</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerRedShadowStrikeTeam"
Flags="NOT_CLIFF_CELL IS_PLAYER_POWER SHARED_SYNC"
ReloadTime="99999s"
RadiusCursorRadius="30"
TargetType="LOCATION"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="0"
InitiateAtLocationSound="NOD_Shadow_VoiceStrikeTeamCreate">
<GameDependency>
<RequiredObject>aaaa</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerSeedTiberium"
ReloadTime="200s"
TargetType="LOCATION"
Flags="LIMIT_DISTANCE IS_PLAYER_POWER WATER_OK SHARED_SYNC NOT_ON_BRIDGE NOT_BENEATH_BRIDGE"
RadiusCursorRadius="200"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
Money="0">
<GameDependency>
<RequiredObject>NODTiberiumLiquidationFacility</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerRadarJamMissile"
InitiateSound="NOD_RadarJam"
TargetType="NONE"
Flags="WATER_OK">
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPower_BurrowMines"
ReloadTime="180s"
RadiusCursorRadius="150"
TargetType="LOCATION"
InitiateAtLocationSound="NOD_BurrowMine_TargetCursorMS"
Flags="IS_PLAYER_POWER WATER_OK SHARED_SYNC"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
WaypointModeTerminal="false"
Money="-1500">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTechAssemblyPlant</RequiredObject>
<RequiredObject>NODSecretShrine</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerIronCurtain_Start"
DisplayName="NAME:SuperweaponTimerIronCurtain"
Description="DESC:SuperweaponTimerIronCurtain"
TargetType="LOCATION"
Flags="WATER_OK SHARED_SYNC HAS_PUBLIC_TIMER IS_PLAYER_POWER"
ReloadTime="240s"
InitiateSound=""
InitiateAtLocationSound="SOV_IronCurtain_Cast"
ViewObjectDuration="0s"
ViewObjectRange="0"
RadiusCursorRadius="100"
PreventConditions=""
RequiredConditions=""
DisallowedTargetModelStates=""
RequiredTargetObjectStatus=""
DisallowedTargetObjectStatus=""
MaxCastRange="1000000"
MinCastRange="0"
ForbiddenObjectRange="0"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateEnemy="EnemyIronCurtainActivated"
RestrictionType="UNRESTRICTED"
Money="0"
TimerImage="Button_IronCurtainTimer"
ReachableTargetsCircleDisplayRadius="0"
WaypointModeTerminal="True">
<ObjectFilter
Rule="UNPARSED" />
<ForbiddenObjectFilter Include="STRUCTURE" />
<GameDependency>
<RequiredObject>NODTempleOfNOD</RequiredObject>
</GameDependency>
</SpecialPowerTemplate>
<SpecialPowerTemplate
id="SpecialPowerNuclearMissile"
DisplayName="NAME:SuperweaponTimerNuclearMissile"
Description="DESC:SuperweaponTimerNuclearMissile"
Flags="HAS_PUBLIC_TIMER IS_PLAYER_POWER FOGGED_SHROUDED_CELLS_OK WATER_OK IGNORE_MAP_EXTENTS SHARED_SYNC"
ReloadTime="99999s"
TargetType="LOCATION"
RadiusCursorRadius="300"
RestrictionType="1"
EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"
EvaEventToPlayOnInitiateOwner="OwnNuclearMissileLaunched"
EvaEventToPlayOnInitiateAlly="AlliedNuclearMissileLaunched"
EvaEventToPlayOnInitiateEnemy="EnemyNuclearMissileLaunched"
TimerImage="Button_PlayerPowerNuclearMissile"/>
</AssetDeclaration>
please someone told me how to use lua scripts for change times for abilities
Edited by: nerozzero