Jump to content
Sign in to follow this  
adamstrange

Nod Air Drop?

Recommended Posts

I've been trying to get the NOD to have reinforcements just like the GDI but it's not working.


Added to Nod Hangar

<OCLSpecialPower

id="ModuleTag_CallSupportStyka"

SpecialPowerTemplate="SpecialPowerCallSupportStyka"

TriggerFX="FX_GDICallForTransportFlare"

OCL="OCL_CallSupportStyka"

CreateLocation="CREATE_AT_EDGE_NEAR_SOURCE"

/>

<AISpecialPowerUpdate

id="ModuleTag_CommandPostCallStykaAI"

CommandButtonName="Command_CommandPostCallStyka"

ReinforceDistance="300.0"

SpecialPowerRadius="300.0"

SpecialPowerAIType="SPECIAL_POWER_REINFORCEMENT"

/>


Added to ObjectCreation List

<ObjectCreationList

id="OCL_CallSupportStyka">

<CreateObject

Options="IGNORE_ALL_OBJECTS DONT_SET_PRODUCER ISSUE_MOVE_AFTER_CREATION MOVE_USES_EVACUATE_AND_EXIT MOVE_TARGET_USES_OFFSET"

Disposition="LIKE_EXISTING">

<Offset

x="42"

y="42"

z="100"></Offset>

<CreateObject>NODInfantryCarryall</CreateObject>

</CreateObject>


<CreateObject

Options="IGNORE_ALL_OBJECTS DONT_SET_PRODUCER ISSUE_MOVE_AFTER_CREATION MOVE_USES_EVACUATE_AND_EXIT MOVE_TARGET_USES_OFFSET"

Disposition="LIKE_EXISTING">

<Offset

x="42"

y="202"

z="-100"></Offset>

<CreateObject>NODVehicleCarryall</CreateObject>

</CreateObject>


</ObjectCreationList>

Added to Mod.XML

<Include type="all" source="DATA:Military/data/NOD/NODCarryall.xml" />

<Include type="all" source="DATA:Military/data/NOD/NODInfantryCarryall.xml" />

<Include type="all" source="DATA:Military/data/NOD/NODVehicleCarryall.xml" />


Added to Logic Command

<LogicCommand

Type="SPECIAL_POWER"

id="Command_CallSupportStyka">

<SpecialPower>SpecialPowerCallSupportStyka</SpecialPower>

</LogicCommand>


<LogicCommand

Options="NEED_TARGET_POS"

Type="SPECIAL_POWER"

id="Command_CommandPostCallStyka">

<SpecialPower>SpecialPowerCallSupportStyka</SpecialPower>

</LogicCommand>


Added to Logic Command Set

<LogicCommandSet

id="NODHangarCommandSet">

<Cmd>Command_ConstructNODVenom</Cmd>

<Cmd>Command_ConstructNODVertigo</Cmd>

<Cmd>Command_ConstructNODVertigoBombTa</Cmd>

<Cmd>Command_ConstructNODVertigoVenta</Cmd>

<Cmd>Command_CommandPostCallStyka</Cmd>

<Cmd>Command_NODRecallAllAircraft</Cmd>

<Cmd>Command_NODBurrowMines</Cmd>

<Cmd>Command_TogglePower</Cmd>

<Cmd>Command_SelfRepair</Cmd>

<Cmd>Command_Sell</Cmd>

<Cmd>Command_SetDefaultBuilding</Cmd>

<Cmd>Command_SetRallyPoint_Aircraft</Cmd>

</LogicCommandSet>


Added to SpecialPowerTemplates

<SpecialPowerTemplate

id="SpecialPowerCallSupportStyka"

Flags="NOT_CLIFF_CELL IS_PLAYER_POWER NO_FORBIDDEN_OBJECTS SHARED_SYNC"

ReloadTime="180s"

ForbiddenObjectRange="140"

RadiusCursorRadius="140"

TargetType="LOCATION"

EvaEventToPlayWhenSelectingTarget="SelectSpecialPowerTarget"

Money="-3000"

InitiateAtLocationSound="GDI_Ox_VoiceReinforcements">

<ForbiddenObjectFilter

Rule="ANY"

Include="STRUCTURE"

/>

<GameDependency>

<RequiredObject>NODHangar</RequiredObject>

</GameDependency>

</SpecialPowerTemplate>


Now when I build the Nod Hangar the button to call in Reinforcements is not there and niether the AI will build the new Reinforcements.


What am I missing or doing wrong ?

Edited by adamstrange

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×