Posted by: Deinon - Thursday, May 12, 2016 3:14:27 PM
Does anyone know how to trigger panic movement in a civilian NPC, by scripting or INI modding? I'm putting together a mission where the player is in control of a single civilian NPC, trying to sneak them out of a city peppered with hostile checkpoints. I've got a handle on stealth mechanics using polygons and scripting, but the civilian walking speed is maddening. I want the player character to RUN. It would be awesome if I could have buttons switching between running and walking.
This is supposed to be someone trying to sneak out of Raqqa, under cover of night, and in the chaos of an air raid.
[url=http://m.youtube.com/watch?v=MkftRe3lt-k]This tune[/url] captures the mood of the mission.
Posted by: AdrianeMapMaker - Saturday, June 4, 2016 9:44:39 PM
did you try this:
[ATTACH]1883[/Attach]
Posted by: Zatsupachi - Sunday, June 5, 2016 8:22:22 AM
^I think he knows how to make a Civilian controllable.
His issue is CONTROLLING it, as in the movement of the unit.
You can try map.ini
But I don't know if it will work.
[code]
Object /insertcivilianhere/
Locomotor = SET_NORMAL FastHumanLocomotor
End
[/code]
I used FastHumanLocomotor(the one from upgraded GLA Workers), so that it is much more reliable.
Posted by: klingondragon - Sunday, June 5, 2016 8:28:46 AM
Or see if you can find the civilian panic one.
Posted by: Deinon - Saturday, June 11, 2016 5:08:12 PM
Good suggestions. Hadn't tried swapping the locomotors out.