Jump to content


Photo

another problem/question XD


  • Please log in to reply
8 replies to this topic

#1 firmus

firmus
  • Project Team
  • 134 posts

Posted 07 January 2006 - 07:34 PM

HI

I want mmy emperor to dominate the heroes from the enemy. Is It possible? If yes, how?

#2 Mathijs

Mathijs

    Post-modern Shaman

  • Network Leaders
  • 13,756 posts
  • Projects:Age of the Ring
  • Division:Revora
  • Job:Leader

Posted 07 January 2006 - 07:37 PM

Dominate in what way? Scare them?

No fuel left for the pilgrims


#3 N19HtmAr3

N19HtmAr3

    title available

  • Project Team
  • 553 posts
  • Location:Sweden
  • Projects:Kicking ass...
  •  "who's that guy, anyways?"

Posted 07 January 2006 - 07:44 PM

No, I guess he means:

You know Saruman's dominate-power, which makes enemy units change to your side for a short while... That power but for heroes...

#4 firmus

firmus
  • Project Team
  • 134 posts

Posted 07 January 2006 - 09:02 PM

yes I mean this.

#5 GothmogtheOrc

GothmogtheOrc

    Ruler of the Morgul Vale

  • Hosted
  • 2,263 posts
  • Location:USA
  • Projects:Kings of the West Mod
  •  T3A Chamber Member - Retired

Posted 08 January 2006 - 01:48 AM

I don't know if this will work but you can try it.

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

Nine%20rings.jpg
Click on my Sig to go to my BFME Modding site where you can download my mods.
KotW%20Morgul%20In-game.jpg
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 firmus

firmus
  • Project Team
  • 134 posts

Posted 08 January 2006 - 09:24 AM

i didn't work:

unknown field 'AcceptanceFilter' in block #Object'

Error parsing field' AcceptanceFilter' in block Object in file 'Data\INI\Object....etc.

#7 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 08 January 2006 - 09:31 AM

I've never seen the tag AcceptanceFilter anywhere before....
Posted Image
Posted Image

#8 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 08 January 2006 - 09:35 AM

I've never seen the tag AcceptanceFilter anywhere before....

It's used here:
Behavior = LevelGrantSpecialPower

I can understand Gothmog's suggestion, but I would however try:

ObjectFilter	= ANY +CAVALRY +INFANTRY +HERO  -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION
But that may not be working either...

Edited by Dark Lord of the Sith, 08 January 2006 - 09:36 AM.

revorapresident.jpg
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 firmus

firmus
  • Project Team
  • 134 posts

Posted 08 January 2006 - 02:32 PM

It doesn#t work :( :(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users