C&C Labs Forums
»
C&C Maps and Modding
»
RA3: Modding
»
Change engineer to capture buildings of an ally
Private Joined: 12/19/2012(UTC) Posts: 7 Location: Berlin Thanks: 1 times
|
Hello, is it possible to change the engineers to be able to captures building of an ally force ? Is found this in file LogicCommand.xml: Code:<LogicCommand
Type="GARRISON_BUILDING"
id="Command_CaptureBuilding"
Options="NEED_TARGET_ENEMY_OBJECT">
<SpecialPower>SpecialPowerCaptureControlPoint</SpecialPower>
<AISpecialPowerInfo Heuristic="CAPTURE" Manager="TACTIC">
<ObjectFilter Rule="ANY" Relationship="NEUTRAL ENEMIES" Include="HUSK STRUCTURE" Exclude="CIVILIAN_BUILDING"/>
</AISpecialPowerInfo>
</LogicCommand>
If copied this file to my mod folder, removed everything else from within this file and tried to set Options to "NEED_TARGET_ALLY_OBJECT", "NEED_TARGET_ENEMY_OBJECT NEED_TARGET_ALLY_OBJECT" and to "". I included edited file in my mod.xml but nothing changed. I could not command the unit to capture an ally building, the cursor does not change, even with ctrl key nothing happens. Is it the wrong file, do I have to edit it somewhere else too or is it not possible at all ?
|
|
|
|
Major Joined: 3/6/2011(UTC) Posts: 371 Location: The Netherlands
Thanks: 1 times Was thanked: 13 time(s) in 10 post(s)
|
Originally Posted by: scachi Hello, is it possible to change the engineers to be able to captures building of an ally force ? Is found this in file LogicCommand.xml: Code:<LogicCommand
Type="GARRISON_BUILDING"
id="Command_CaptureBuilding"
Options="NEED_TARGET_ENEMY_OBJECT">
<SpecialPower>SpecialPowerCaptureControlPoint</SpecialPower>
<AISpecialPowerInfo Heuristic="CAPTURE" Manager="TACTIC">
<ObjectFilter Rule="ANY" Relationship="NEUTRAL ENEMIES" Include="HUSK STRUCTURE" Exclude="CIVILIAN_BUILDING"/>
</AISpecialPowerInfo>
</LogicCommand>
If copied this file to my mod folder, removed everything else from within this file and tried to set Options to "NEED_TARGET_ALLY_OBJECT", "NEED_TARGET_ENEMY_OBJECT NEED_TARGET_ALLY_OBJECT" and to "". I included edited file in my mod.xml but nothing changed. I could not command the unit to capture an ally building, the cursor does not change, even with ctrl key nothing happens. Is it the wrong file, do I have to edit it somewhere else too or is it not possible at all ? I think that you need to add ALLIES in the Relationship attribute of the ObjectFilter |
TRA AI developer / hacker, TRA developer, TRA Music hacker, RA3 Trancending Mod creator |
|
|
|
Private Joined: 12/19/2012(UTC) Posts: 7 Location: Berlin Thanks: 1 times
|
Originally Posted by: ZeroMD Originally Posted by: scachi Hello, is it possible to change the engineers to be able to captures building of an ally force ? Is found this in file LogicCommand.xml: Code:<LogicCommand
Type="GARRISON_BUILDING"
id="Command_CaptureBuilding"
Options="NEED_TARGET_ENEMY_OBJECT">
<SpecialPower>SpecialPowerCaptureControlPoint</SpecialPower>
<AISpecialPowerInfo Heuristic="CAPTURE" Manager="TACTIC">
<ObjectFilter Rule="ANY" Relationship="NEUTRAL ENEMIES" Include="HUSK STRUCTURE" Exclude="CIVILIAN_BUILDING"/>
</AISpecialPowerInfo>
</LogicCommand>
If copied this file to my mod folder, removed everything else from within this file and tried to set Options to "NEED_TARGET_ALLY_OBJECT", "NEED_TARGET_ENEMY_OBJECT NEED_TARGET_ALLY_OBJECT" and to "". I included edited file in my mod.xml but nothing changed. I could not command the unit to capture an ally building, the cursor does not change, even with ctrl key nothing happens. Is it the wrong file, do I have to edit it somewhere else too or is it not possible at all ? I think that you need to add ALLIES in the Relationship attribute of the ObjectFilter I thought the AISpecialPowerInfo tag is used for AI only and it does not matter for human players. Adding ALLIES didn't change anything. Setting Relationship to ALLIES only seems to have no effect too. I still could capture neutral and enemy buildings. Maybe I am missing something as the changes don't seems to have any effect.
|
|
|
|
Private Joined: 3/1/2013(UTC) Posts: 9 Thanks: 1 times
|
That would have worked greatly in the operations to take Geneva in the Soviet Campaign(: |
The Pilot is having some, flashbacks, so to speak. |
|
|
|
Private Joined: 11/1/2013(UTC) Posts: 1
|
thank you for your help and patience.
|
|
|
|
|
Users browsing this topic |
Guest
|
C&C Labs Forums
»
C&C Maps and Modding
»
RA3: Modding
»
Change engineer to capture buildings of an ally
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.