Compatibility patch for Sandbox+, RandomEcounter and SimulationClothingOnShip
This patch allows you to use the following three mods at the same time:
Sandbox+
https://www.saintsrowmods.com/forum/threads/sandbox-for-saints-row-iv.4651/
Wear Simulation Clothing on Ship
https://www.saintsrowmods.com/forum/threads/wear-simulation-clothing-while-on-ship.6891/
Random Encounter
https://www.saintsrowmods.com/forum...s-mod-with-stag-swat-old-gangs-and-more.4648/
Besides, I also optimized some code for RandomEncounter. Now it's easier to configure parameters. In the first lines of the code, you can see the following:
-- *** RANDOM ENCOUNTER VARIABLES ***
min_time_enc = 360 -- minimum seconds until the encounter
max_time_enc = 600 -- maximum seconds until the encounter
min_surv_time = 300 -- minimum time to survive
max_surv_time = 480 -- maximum time to survive
proba_disable_sp_movement = 50 -- percentage chance to disable sp movement
proba_disable_sp_attack = 100 -- percentage chance to disable sp attack
min_cash_per_kill = 25 -- Minimum cash per kill
max_cash_per_kill = 100 -- maximum cash per kill
min_delay_per_swap = 20 -- Minimum delay between two swaps
max_delay_per_swap = 80 -- Maximum delay between two swaps
Just change these variables as you want.
To install the patch, just put sr3_city.lua in the root and overwrite the original. But please note that you must have installed all these three mods above before using this patch.
This patch allows you to use the following three mods at the same time:
Sandbox+
https://www.saintsrowmods.com/forum/threads/sandbox-for-saints-row-iv.4651/
Wear Simulation Clothing on Ship
https://www.saintsrowmods.com/forum/threads/wear-simulation-clothing-while-on-ship.6891/
Random Encounter
https://www.saintsrowmods.com/forum...s-mod-with-stag-swat-old-gangs-and-more.4648/
Besides, I also optimized some code for RandomEncounter. Now it's easier to configure parameters. In the first lines of the code, you can see the following:
-- *** RANDOM ENCOUNTER VARIABLES ***
min_time_enc = 360 -- minimum seconds until the encounter
max_time_enc = 600 -- maximum seconds until the encounter
min_surv_time = 300 -- minimum time to survive
max_surv_time = 480 -- maximum time to survive
proba_disable_sp_movement = 50 -- percentage chance to disable sp movement
proba_disable_sp_attack = 100 -- percentage chance to disable sp attack
min_cash_per_kill = 25 -- Minimum cash per kill
max_cash_per_kill = 100 -- maximum cash per kill
min_delay_per_swap = 20 -- Minimum delay between two swaps
max_delay_per_swap = 80 -- Maximum delay between two swaps
Just change these variables as you want.
To install the patch, just put sr3_city.lua in the root and overwrite the original. But please note that you must have installed all these three mods above before using this patch.