Posted by: scachi - Sunday, December 23, 2012 4:27:12 AM
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=xml]SpecialPowerCaptureControlPoint[/code]
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 ?
Posted by: ZeroMD - Sunday, December 23, 2012 7:19:29 AM
[quote=scachi;126633]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=xml]SpecialPowerCaptureControlPoint[/code]
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 ?
[/quote]
I think that you need to add ALLIES in the Relationship attribute of the ObjectFilter
Posted by: scachi - Sunday, December 23, 2012 11:52:20 AM
[quote=ZeroMD;126635][quote=scachi;126633]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=xml]SpecialPowerCaptureControlPoint[/code]
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 ?
[/quote]
I think that you need to add ALLIES in the Relationship attribute of the ObjectFilter
[/quote]
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.
Posted by: Stratofortress-B-7 - Sunday, March 3, 2013 11:17:32 PM
That would have worked greatly in the operations to take Geneva in the Soviet Campaign(:
Posted by: erum - Friday, November 1, 2013 5:20:13 AM