archer
#1
Posted 08 January 2012 - 11:10 AM
i have a problem
in lotr2 the archer evil or good don't attack a structure automatic
just the elvenwarrior do why?
i change the weapon,the kind of but nothing work
you can help me please
friendly will
#2
Posted 08 January 2012 - 11:35 AM
I recon it will be something to do with this (or a piece of coding like this):
Behavior = AIUpdateInterface ModuleTag_03 AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS MoodAttackCheckRate = 500 CanAttackWhileContained = Yes ; HoldGroundCloseRangeDistance = 41 AILuaEventsList = RohanElvenWarriorFunctions BurningDeathTime = BURNINGDEATH_DURATION_INFANTRY EndThis code can be found in the unit's file.
It could also be somewhere in here. This code is in the unit's horde file.
Behavior = HordeAIUpdate ModuleTag_HordeAIUpdate AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS MoodAttackCheckRate = 500 MaxCowerTime = 5000 MinCowerTime = 3000 CanAttackWhileContained = Yes ; Can fire out of garrisoned building AILuaEventsList = InfantryFunctions AttackPriority = AttackPriority_Archer End
Also, it's very unlikely that the problem lies with the weapon or the KIND OF so you can change them back.
I hopt this points you in the right direction.
Edited by Titan Cronus, 08 January 2012 - 11:41 AM.
Battle of the Pelennor Fields
Made by 1 guy, has 13 Factions, 75+ Heroes, 150+ different units and 200+ Special abilities.
#3
Posted 08 January 2012 - 11:49 AM
i change this code like the elven warrior in units and horde
but don't work
i don't understand
I put the finger on a weird thing
try at home and see
nothing work
it is not impossible to find
the great modder like us
Edited by wr1000, 08 January 2012 - 12:20 PM.
#4
Posted 08 January 2012 - 02:40 PM
If the problem can't be solved with the code that I gave you, then the only way that I have found to solve it is to totally remake the unit and horde from scratch. I know its a massive jod just to solve what should be a little problem but sometimes that's just how it is. Also, if its a problem with one of the original units/hordes, then its quite a bit more annoying but totaly remaking them from scratch is probably the best solution that I know of.
Maybe someone else might know something I don't that might solve this for you. You'll just have to wait and see if anyone post anything.
Anyway, GL fella.
Battle of the Pelennor Fields
Made by 1 guy, has 13 Factions, 75+ Heroes, 150+ different units and 200+ Special abilities.
#5
Posted 08 January 2012 - 03:31 PM
you don't have found$
#6
Posted 09 January 2012 - 04:20 AM
I notice you get more 'Auto-targeting' out of them .
And that's what the stance button is supposed to do by its description
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users