Hi people, I'm using the King of dead people of Dunharrow as gondor's hero and I noticed that he can't walk throught walls and closed gates. Some goblin units use the code CAN_CLIMB_WALLS, I was querying if does exists a sort of "CAN_WALK_THROUGHT_WALLS"?
Walking throught walls
#1
Posted 23 December 2015 - 08:14 AM
#2
Posted 28 December 2015 - 02:24 AM
There are a few things you could try. Adding the kind of's:
PATH_THROUGH_EACH_OTHER
or
ARMY_OF_DEAD
sounds like an option to me. Alternatively, create a new Locomotor for him and make sure he can at least use/walk on the following surfaces:
GROUND RUBBLE IMPASSABLE
#3
Posted 28 December 2015 - 09:29 AM
Uhm, he has both PATH_THROUGH_EACH_OTHER and ARMY_OF_DEAD under Engine Parameters. Then I found that he uses ArmyOfTheDeadLocomotor as locomotor.
So I searched ArmyOfTheDeadLocomotor in locomotor.ini and I found this:
Locomotor ArmyOfTheDeadLocomotor
Surfaces = GROUND RUBBLE WATER IMPASSABLE
TurnTime = 500
TurnTimeDamaged = 500
FastTurnRadius = 10 ; Can turn in a 10 foot radius circle when moving.
SlowTurnRadius = 0 ; Turns in place from a standing start.
Acceleration = 510 ; .5 second to accelerate to full speed.
FormationPriority = MELEE1 ;MELEE2
Braking = 510 ; .51 second to brake from full speed.
MinTurnSpeed = 0%
ZAxisBehavior = FLOATING_Z
Appearance = TWO_LEGS
StickToGround = Yes ; walking guys aren't allowed to catch huge (or even small) air.
CanMoveBackwards = No ; Can move backwards when afraid.
End
Apparently it is all good, but in practice it is not working, when I right click on the other side of the wall he stops in front of the wall and he doesn't walk throught it.
#4
Posted 05 January 2016 - 12:41 AM
And you tested with the army of the dead and it also doesn't work?
Or does it work with them? If not then I don't suppose it would work for your unit now would it
Edited by Ridder Geel, 05 January 2016 - 12:41 AM.
#5
Posted 05 January 2016 - 08:59 AM
And you tested with the army of the dead and it also doesn't work?
Or does it work with them? If not then I don't suppose it would work for your unit now would it
It works with the summoned Oathbreakers. They walk throught walls, structures and closed gates.
Here is my kingofdead.ini
Attached Files
#6
Posted 05 January 2016 - 02:24 PM
Problem solved! There was a wrong locomotorset, the right one should be:
LocomotorSet
Locomotor = AODHordeLocomotor
Condition = SET_NORMAL
Speed = 65
End
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users