This is a recreation of the Infection game mode from Dirt 3 for BeamMP
- Download the newest version from the release page
- Open the zip and put what's in the Client folder into your server's "Resources/Client" folder and Server files into "Resources/Server"
- Then to start infection you can type /outbreak start or /infection start into the in game chat and hit enter
- A full list of commands can be found with /outbreak help or /infection help
/infection help
Displays List of available commands/infection start
Starts infection game/infection stop
Stops infection game/infection reset
Resets randomizer weights so everyone has an equal chance of getting infected again/infection game length set
Sets the length of the round in minutes/infection greenFadeDist set
Adjusts how close in meters an infected car needs to be for the screen to start going green/infection filterIntensity set
Sets how intense the vignetting effect is/infection ColorPulse toggle
Enabling this makes the infected cars pulse between green and the original color of the car/infection infector tint toggle
This toggles on or off the vignetting effect on infected players/infection ResetAtSpeedAllowed toggle
This toggles whether players can reset at speed/infection MaxResetSpeed set
Sets the highest speed where resets are allowed
- Stefan750 for some help with colors and for making the vignette shader
- Saile for help with the weighted randomizer
- And also thanks to the Neilogical/Camodo crew as well as the Failrace crew for feedback and testing.
this build may not be very suitable for public servers yet as it is very easy to cheat, but it's good for private servers where you might have some personalized rules haha
Also feel free to use this mod as reference if you want to make your own game modes, it's not the best documented and there's probably some wacky code haha, but maybe it's helpful for some