About Traffic Drivers
This plugin revitalizes empty and abandoned Rust roads, now they will spawn bots on cars with companions who will protect them.
In configuration you can setup:
-
Vehicle presets
- Modules
- Add codelock, doorlock
- Engine parts tier
- Fuel amount (you can also enable infinite fuel)
- Maximum car speed
- Destroying car after driver death
- Destroying engine parts after driver death
- Loot in Storage Module
-
Driver presets
- Display name
- Bot skin
- Health
- Loot in bot inventory
- Behaviour when car was attacked
- Receive damage rate
- Clothes
-
Companion
- Enable companion to protect driver
- Companion display name
- Companion health
- Companion clothes
- Damage rates
-
Limit, spawn and interaction settings
- Maximum amount of cars
- Minimum road width
- After how many seconds destroy stuck car
- Delay between spawn next car
- Prevent bots from attacking drivers and companions
Video:
trafficdrivers.debug - showing all spawned traffic cars with them current positon
Default config:
{ "Vehicle presets": { "3-х модульный транспорт": { "Modules": [ "vehicle.1mod.engine", "vehicle.1mod.storage", "vehicle.1mod.cockpit.with.engine" ], "Add codelock?": false, "Add door lock?": false, "Engine parts tier (0-3, 0 to spawn without parts)": 3, "Fuel amount (-1 for max amount)": -1, "Water amount for fuel tank (not necessary, -1 for max amount)": 0, "Max speed": 10.0, "Enable infinite fuel": true, "Driver preset name (leave blank to spawn random driver)": "", "Destroy car after driver death?": false, "Block access to engine parts?": true, "Destroy engine parts after driver death?": true, "Loot in Storage Module": { "Add loot to Storage Module": true, "Loot": [ { "Item shortname": "wood", "Item skin": 0, "Item name (not necessary)": null, "Spawn chance": 100.0, "Item amount": { "Minimum": 1000.0, "Maximum": 10000.0 } }, { "Item shortname": "stones", "Item skin": 0, "Item name (not necessary)": null, "Spawn chance": 100.0, "Item amount": { "Minimum": 5000.0, "Maximum": 50000.0 } } ] } } }, "Driver presets": { "Водитель Ярик": { "Display driver name": "Водитель Ярик", "Bot skin (0 - random)": 0, "Bot health": { "Minimum": 100.0, "Maximum": 150.0 }, "Bot loot": [ { "Item name": null, "Item shortname": "rifle.ak", "Item skin": 0, "Spawn chance": 100.0, "Item amount": { "Minimum": 1.0, "Maximum": 1.0 }, "Target container (main, belt, wear)": "belt" }, { "Item name": null, "Item shortname": "hatchet", "Item skin": 0, "Spawn chance": 100.0, "Item amount": { "Minimum": 1.0, "Maximum": 1.0 }, "Target container (main, belt, wear)": "main" } ], "Driver will be moving with default speed (1) or will be increase max. speed for a while (2) when attacked?": 2, "Damage receive rate": 0.5, "Clothes": [ { "Item shortname": "hazmatsuit", "Item skin": 0 } ], "Companion": { "Spawn companion for driver? (he will shoot and protect him)": true, "Display companion name": "Компаньон-защитник", "Companion health": { "Minimum": 100.0, "Maximum": 150.0 }, "Clothes": [ { "Item shortname": "attire.banditguard", "Item skin": 0 } ], "Damage receive rate": 0.5, "Damage rate": 2.0 } } }, "Limits, spawn and interaction setup": { "Maximum amount of cars": { "Minimum": 1.0, "Maximum": 5.0 }, "Minimum road width": 100, "After how many seconds destroy stuck car?": 60.0, "Delay between spawn next car": 5, "Prevent bots from attacking drivers and companions?": true } }