polivilas / EmuTarkov

Other
105 stars 156 forks source link

Scav Randomizer V2 #12

Closed ghost closed 5 years ago

ghost commented 5 years ago

Randomized bots !

the server now generate randomized AI scavs, only based on RNG

What is randomized ?
randomization

Every bot randomized have these following chances of stuff :

Scav bosses ?

Killa and Reshala are vanillia, but reshala's guards stuff is randomized, their behavior are still the same. So be very carefull when hunting bosses

How it works ?

the server take care of all ! Nothing to configure, nothing to edit : )

PmcWar Mode

the randomizer provide a pmc war mode, it replace randomly every scav by a bear or a usec witch lead into some epic team fight with AI

therefore, this setting is hard on CPU usage and make the game sluttering .. there is one option to change in "bots/BotsSettings.json"

"EnablePmcWar":true,

(its false by default)


PS : I made those change you wanted, easy to tweak if needed I made a lot of changes but the idea is still the same

in server.JS the only change are two things : the "generateBots" function ( line103 ) and a case on "handleRequest" line 824...

InNoHurryToCode commented 5 years ago

Ran this version of the server for a couple of hours (~3-4) on various ingame AI settings without any issues. Didn't test the PMC war through.

polivilas commented 5 years ago

:+1:, no bad behavior on my side, thank you!