Random Encounters Mod [with STAG,SWAT,old gangs and more]

Ok folks Version 1.2 has been released with a new feature and some optimization to the script code.

Read the OP for more details.

So from now on if you enter a tank,heli,vtol or plane during the survival then a 5 second countdown display will appear in the lower center of your HUD telling you to "Jump out".If you don't do so,the survival will be automatically canceled.No cash reward is given.

By "survival" here, do you mean the random assault, or the survival instance (Virus Injection) during which the assault triggers? If it's the latter, this could make some Virus Injections impossible to complete, since there is about a 100% chance that an assault will trigger during the instance. You'd have to make that less likely to occur during injections, or it just wouldn't be fair. If it's the former, then that's no problem. You can try to stick it out, or you can just let the assault lapse so you can finish the instance.
 
By "survival" here, do you mean the random assault, or the survival instance (Virus Injection) during which the assault triggers? If it's the latter, this could make some Virus Injections impossible to complete, since there is about a 100% chance that an assault will trigger during the instance. You'd have to make that less likely to occur during injections, or it just wouldn't be fair. If it's the former, then that's no problem. You can try to stick it out, or you can just let the assault lapse so you can finish the instance.

The random assault.No modifications done to the survivals unless there is a file sr3_city_survival.xtbl inside the mod archive.Edited the post to avoid further confusion.

Wait the encouters trigger during the virus injections?Didn't expect that.
 
The random assault.No modifications done to the survivals unless there is a file sr3_city_survival.xtbl inside the mod archive.Edited the post to avoid further confusion.

Wait the encouters trigger during the virus injections?Didn't expect that.

Yes, I just finished the game with Intensive Hardcore and Random Encounters, and an encounter triggered during every Virus Injection.
 
Yes, I just finished the game with Intensive Hardcore and Random Encounters, and an encounter triggered during every Virus Injection.

In the code I've wrote so that encounters don't trigger during missions.I thought that those virus injections counted as missions but they don't...I don't know if I will ever find a fix for that but I will do my best.
 
Good idea, but a littlebit too much, if i can't hack a shop without an assault. There should be a condition, that blocks the spawn when hacking.
And i prefere more Ronin, Brotherhood and Samedi, than toiletts and glitches.
 
I really love this mod with ONE exception, losing my super powers. Would it be possible to create an alternate version of this mod that is identical, except for the loss of powers?

Open up sr3_city.lua and comment out enc_player_superpowers_disable() under the encouters_main_thread() function.

Good idea, but a littlebit too much, if i can't hack a shop without an assault. There should be a condition, that blocks the spawn when hacking.
And i prefere more Ronin, Brotherhood and Samedi, than toiletts and glitches.

I don't think that it is possible to make the game check when you are hacking,but here is a solution:You can make it so as to be longer intervals between attacks.
Open up sr3_city.lua and search for these variables:
min_time_enc
max_time_enc
Modify them as you see fit (they are in seconds ).
 
Last edited:
I have replaced it yesterday and removed some spawn types with toilets, glitches and normal police :)
I'm looking at all lua files anyway, maybe i can find some usable variables, that are active, when i'm hacking or in a shop.
 
Ok guys a new update has just been released ! If you still play with this mod then this is a must download.No new features,but it fixes a lot of bugs such as the attacks never ending,making this a nearly bug free version.See the OP for more details.
 
I love this mod! Since I've finished the game, it's really nice to have something trying to kill you other than Zinyak's goons.
There was a relatively small bug that assaults still started while you were buying/customizing stuff, but you don't get any warning about it. But other than that, it's really good.

If I may make a small suggestion/request, would it be possible to have the occasional car filled with past gangs spawn and try to kill you outside of assaults?
 
I have a weird problem. Ambush works fine, along with the timer, but it keeps going into the -1 minute, -2 minute after it says that it is completed and it doesnt restore my powers. I tried walking into a tank but I'm just getting wierd sound when the timer runs out. I have no other mods installed so idk what could be the proble.
 
Back
Top