Deinon
  • Deinon
  • 50.25% (Neutral)
  • Captain Topic Starter
9 years ago
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.

This tune  captures the mood of the mission.
Sponsor
AdrianeMapMaker
9 years ago
did you try this:
helpin.png

Click to View Image34 View(s)


A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Zatsupachi
9 years ago
^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.


Object /insertcivilianhere/
  Locomotor = SET_NORMAL FastHumanLocomotor
End

I used FastHumanLocomotor(the one from upgraded GLA Workers), so that it is much more reliable.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
klingondragon
9 years ago
Or see if you can find the civilian panic one.
Deinon
  • Deinon
  • 50.25% (Neutral)
  • Captain Topic Starter
9 years ago
Good suggestions. Hadn't tried swapping the locomotors out.