another problem/question XD
#1
Posted 07 January 2006 - 07:34 PM
I want mmy emperor to dominate the heroes from the enemy. Is It possible? If yes, how?
#2
Posted 07 January 2006 - 07:37 PM
No fuel left for the pilgrims
#3
Posted 07 January 2006 - 07:44 PM
You know Saruman's dominate-power, which makes enemy units change to your side for a short while... That power but for heroes...
#4
Posted 07 January 2006 - 09:02 PM
#5
Posted 08 January 2006 - 01:48 AM
This is the dominate code that is in Saruman's code:
;;; DOMINATE SPECIAL POWER;;; Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DominateEnabler SpecialPowerTemplate = SpecialAbilityDominateEnemy TriggeredBy = Upgrade_SarumanDominate End Behavior = SpecialPowerModule ModuleTag_DominateEnemySpecialPowerModule SpecialPowerTemplate = SpecialAbilityDominateEnemy StartsPaused = Yes UpdateModuleStartsAttack = Yes InitiateSound = SarumanVoiceDominate End Behavior = DominateEnemySpecialPower ModuleTag_DominateEnemySpecialPower SpecialPowerTemplate = SpecialAbilityDominateEnemy UnpackingVariation = 1 StartAbilityRange = 200.0 DominateRadius = 60;100;150 DominatedFX = FX_SarumanDominateTargets TriggerFX = FX_SarumanDominateTrigger UnpackTime = 2000 PreparationTime = 1 FreezeAfterTriggerDuration = 2500; Hold AI for this long after we fire. End
Try adding this code to it:
AcceptanceFilter = ANY +CAVALRY +INFANTRY +HERO -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION
So then it will look like this:
;;; DOMINATE SPECIAL POWER;;; Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DominateEnabler SpecialPowerTemplate = SpecialAbilityDominateEnemy TriggeredBy = Upgrade_SarumanDominate End Behavior = SpecialPowerModule ModuleTag_DominateEnemySpecialPowerModule SpecialPowerTemplate = SpecialAbilityDominateEnemy StartsPaused = Yes UpdateModuleStartsAttack = Yes InitiateSound = SarumanVoiceDominate End Behavior = DominateEnemySpecialPower ModuleTag_DominateEnemySpecialPower SpecialPowerTemplate = SpecialAbilityDominateEnemy UnpackingVariation = 1 StartAbilityRange = 200.0 DominateRadius = 60;100;150 AcceptanceFilter = ANY +CAVALRY +INFANTRY +HERO -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION DominatedFX = FX_SarumanDominateTargets TriggerFX = FX_SarumanDominateTrigger UnpackTime = 2000 PreparationTime = 1 FreezeAfterTriggerDuration = 2500; Hold AI for this long after we fire. End
Try it out and see what happens... though I doubt it will work.
-GothmogtheOrc
Click on my Sig to go to my BFME Modding site where you can download my mods.
Kings of the West Mod Leader
*Retired. PM me if you need to get a hold of me as I'll get an email notification and should reply within a day or so*
#6
Posted 08 January 2006 - 09:24 AM
unknown field 'AcceptanceFilter' in block #Object'
Error parsing field' AcceptanceFilter' in block Object in file 'Data\INI\Object....etc.
#8
Posted 08 January 2006 - 09:35 AM
It's used here:I've never seen the tag AcceptanceFilter anywhere before....
Behavior = LevelGrantSpecialPower
I can understand Gothmog's suggestion, but I would however try:
ObjectFilter = ANY +CAVALRY +INFANTRY +HERO -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATIONBut that may not be working either...
Edited by Dark Lord of the Sith, 08 January 2006 - 09:36 AM.
My Political Compass
Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.
#9
Posted 08 January 2006 - 02:32 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users