Jump to content


Photo

2 Questions


  • Please log in to reply
4 replies to this topic

#1 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 02 January 2013 - 08:17 PM

i have 2 questions, how to make the balrog (when the ai control it) to use all its powers? example, scream, fly, or firebreath


Why the awesome maps made by the king19950 doesnt work on my pc??? all of them causes a crash! which could be the problem? is this a common problem?

Edited by vegetassj2345, 02 January 2013 - 08:22 PM.


#2 Gourbish

Gourbish
  • Members
  • 149 posts
  • Location:France

Posted 02 January 2013 - 09:34 PM

First question : THANK YOU !!!
I never noticed that but there are errors in the code, in the file "neutralunits.ini".
The AISpecialPowers of the Balrog aren't good ! The CommandButtonName are those of the ShadeWolf !
So, be careful to be in the blocks of the MordorBalrog code and replace that :
Behavior = AISpecialPowerUpdate IgniteAI
  CommandButtonName = Command_SpecialAbilityShadeChomp
  SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_BUFF
End
Behavior = AISpecialPowerUpdate ScreamAI
  CommandButtonName = Command_SpecialAbilityCallPack
  SpecialPowerRange = 100
  SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_DEBUFF
End
Behavior = AISpecialPowerUpdate BreathAI
  CommandButtonName = Command_SpecialAbilityDarkLordsLament
  SpecialPowerAIType = AI_SPECIAL_POWER_RANGED_AOE_ATTACK
End
by that :
Behavior = AISpecialPowerUpdate IgniteAI
  CommandButtonName = Command_SpecialAbilityIgnite
  SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_BUFF
End
Behavior = AISpecialPowerUpdate ScreamAI
  CommandButtonName = Command_SpecialAbilityBalrogScream
  SpecialPowerRange = 100
  SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_DEBUFF
End
Behavior = AISpecialPowerUpdate BreathAI
  CommandButtonName = Command_SpecialAbilityBalrogBreath
  SpecialPowerAIType = AI_SPECIAL_POWER_RANGED_AOE_ATTACK
End
And if you want, you can try to add that in order to give AI the possibility to use the whip power :
Behavior = AISpecialPowerUpdate FireWhipAI
  CommandButtonName = Command_SpecialAbilityFireWhip
  SpecialPowerAIType = AI_SPECIAL_POWER_ENEMY_TYPE_KILLER
End

In fact, I just replaced the wrong CommandButtonNames by those of the CommandSet of the Balrog.

Edited by Gourbish, 02 January 2013 - 09:36 PM.


#3 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 02 January 2013 - 09:55 PM

You are very helpful!, as always! Thank you to you! For the second question? no one can help me?



I'm wondering if the ai can use also the power of fly in a good way! For you?

Edited by vegetassj2345, 02 January 2013 - 09:57 PM.


#4 Gourbish

Gourbish
  • Members
  • 149 posts
  • Location:France

Posted 02 January 2013 - 10:05 PM

You're welcome. Happy to help..... when I can ! :p

For the fly I don't know. There is no SpecialPowerAIType for the teleport powers of Shelob, Karsh and created heroes. So I assume that EA didn't make AI for powers like that. Maybe somebody else knows a trick.

#5 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 03 January 2013 - 12:15 PM

ok, thank you!

For the second question: i have found a solution, i reduced the detail of the terrain from maximum to minimum and thats all now all the maps works!

Edited by vegetassj2345, 06 January 2013 - 08:47 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users