Toggle-able Civilian Chaos mode

Doesn't really have to be toggle-able but somewhat like how they drove in the Stag Film mission.

Would be fairly entertaining ^-^
 
You can turn this behavior on/off with the following Lua script function.

// Set all ambient pedestrians into a panicked state
//
// flee: (bool) TRUE if all civilians should flee (both peds and ambient civilian vehicles), FALSE if they should stop fleeing
// kamikaze_helis: (bool, optional) TRUE [default] if arriving notoriety helis should sometimes kamikaze near player, FALSE otherwise
// flee_from_name: (string, optional) Name of the object the pedestrians should flee from (if not specified will flee from current position)
//
LUA_FUNCTION_BEGIN(set_civilians_flee)
 
I dont know if you would need a mod for this. In my vanilla version of the game there seemed to be a glitch where every car that spawned would immediately drive like a maniac towards me and try to crash into me or chase me, even into water. Perhaps there is a way just to make this glitch happen whenever you want or a mod that already exists. It was very entertaining whenever it happened.
EDIT: haha nvm my post the above one answered your question
 
So how would I apply this into my game and/or find the file to make it happen? I've never really modded the game myself so I have no experience other than a little something with the RC Gun
 
You can turn this behavior on/off with the following Lua script function.

// Set all ambient pedestrians into a panicked state
//
// flee: (bool) TRUE if all civilians should flee (both peds and ambient civilian vehicles), FALSE if they should stop fleeing
// kamikaze_helis: (bool, optional) TRUE [default] if arriving notoriety helis should sometimes kamikaze near player, FALSE otherwise
// flee_from_name: (string, optional) Name of the object the pedestrians should flee from (if not specified will flee from current position)
//
LUA_FUNCTION_BEGIN(set_civilians_flee)

Sounds like something fun to add for the next release of Sandbox+. :)
 
You would modify sr3_city.lua to call that function to turn civilian fleeing on/off. Do a search for "sr3_city.lua" on the forum - there are plenty of examples.

Specifically, IdolNinja's Sandbox+ mod would be a good place to look.
 
Back
Top