Random Events v1.2.0.0 (0.38.x)
0 488 187

This mod is under active development. There may be bumps, periodic problems with AI behavior, and events that do not yet work perfectly on every road or map. In future updates, there will be more events, smarter AI driving logic, and enhanced player interaction options. Please report any problems you find. Thanks!

Random Events turns any map into a living world. Drive in Free Roam mode, and the world around you will be filled with believable scenes - aggressive racers, road closures with concrete barriers, accidents with debris, police chases, drifters in parking lots, motorcades, ambulances and many others. Everything is determined and placed during the game based on the road network and parking data of the uploaded map, so the mod works on both official and custom maps without any manual configuration for each map.

Features
- 20 different world events that automatically appear and disappear depending on your position and the customizable chance of appearing per minute.
- Map-independent environment detection. The mod scans the road network and parking data of any uploaded map. It uses BeamNG's built-in parking spaces if they are on the map, and if they are not, it uses geometric scanning with raycast.
- Permanent scan cache. When the card is first started, the scan is performed once, and on subsequent downloads, the result is read from the disk for instant startup. If the card data changes, the cache is automatically reset using the card fingerprint.
- An in-game UI application. Add the Random Events app via the Apps menu. The compact view shows the system status - ON/OFF, active events, and scan progress. The reveal button opens a full settings panel with switches for each event, chance sliders, manual spawn buttons, and distance settings. The transparency switch allows you to make the panel less visible so that it does not interfere with the view while driving. When the cursor is hovered over, the panel immediately returns to full opacity.
- Mod-created cars are registered as traffic, so they don't clog up transport switching via Tab. Roadworks, passes, and barriers are also skipped when switching via Tab.
- Customizable event appearance and disappearance distance so you can choose how close the events will appear and how far they will stay before clearing.

37 events
Traffic and racing:
- Racers - aggressive AI cars drive on the road network with maximum aggression and ignore lane rules.
- Convoy - a convoy of 3-5 cars of traffic moves along with the general speed limit.
- Slow vehicle - a truck, bus, dump truck, or road roller moves slowly along the road and gathers a queue behind it.
- Ghost jam - a short queue of cars, where the leading car periodically slows down sharply. The braking wave passes back in turn, like a real phantom traffic jam.
- Street race - 3-4 riders line up on an offset starting grid and drive together along the generated route with maximum aggression.
- Drag race - two riders stand side by side on a long straight line and both press the accelerator to the floor.

Road works and blockages:
- Roadworks - random road closure with six sets of prop barriers: Jersey concrete barriers, plastic water filling barriers, oil barrels, crowd barriers, delineators and switchboards. Five placement schemes are also used: narrowing into one lane, full overlap, chicane, detour and light cones. Each spawn chooses a random combination of a set and a circuit for variety, and the traffic AI rebuilds the route around the overlap.

Police:
- Police chase - an escaping racer and one or two police cars in chase mode with flashing lights on.
- Police patrol - a single police car drives along a generated route at normal speed.
- Police checkpoint - concrete barriers block the road, leaving a narrow passage, there are warning cones in front, and two police cars with flashing lights are parked nearby.
- Motorcade - A VIP sedan accompanied by police cars is moving in formation along a common route.

Accidents and breakdowns:
- Crash - An accident scene with multiple cars, broken parts, flat tires, emergency alarms and warning cones. The traffic AI slows down and drives around the accident site.
- Stalled car - one broken-down car is parked on the side of the road with the alarm on.
- Delivery stop - the delivery van is parked on the side of the road with the alarm on and the engine off.
- Ambulance - the ambulance is moving fast along the generated route with the siren on.

Parking scenes:
- Drifters - one or two cars perform controlled donuts in the found parking lot, ESC and TC are disabled.
- Cars & Coffee - 8-12 cars are neatly parked in real parking spaces, engines are turned off. A static car meeting.
- Abandoned lot - 4-7 abandoned cars are scattered around the parking lot at sloppy angles, most of the cars are noticeably damaged.
- Street racers hangout - the cars of the audience stand in a ring around the perimeter of the parking lot, and in the center the car spins donuts.

Interaction with the player:
- Race challenge - an opponent appears behind you, catches up with flashing headlights, then abruptly overtakes you at full throttle, as if challenging you to a race.

Installation
AppData\Local\BeamNG\BeamNG.drive\current\mods\random_events.zip
Add the Random Events app via the Applications menu in Free ride mode and turn on the system.

Known limitations
- AI driving along routes works, but it can still get stuck on unusual geometries. Smarter route logic is one of the top priorities of the next update.
- Some passes may shift slightly on maps without pre-created parking data.
- Fewer events will appear on some custom maps with sparse road networks than on dense official maps.

In version 1.2.0.0:
New events added:
- Traffic stop - the patrol stopped the car on the side of the road, both cars are parked with emergency lights.
- VIP escort motorcade: police in front, expensive VIP sedan in the center, police in the back, driving in a convoy with flashing lights.
- Overturned truck - an overturned truck lies on its side and partially blocks the road, usually outside the city.
- Overturned car - an overturned passenger car.
- Flat tire - a car with a flat tire and emergency lights on, with a warning cone behind it.
- Truck overtake - a slow truck, and the second truck from behind goes to overtake.
- Car overtake - the car overtakes, returns to its lane and slows down.
- Burnout meet - several oil cars endlessly burn rubber on the spot.
- Supercar meet - the most expensive cars gathered in the parking lot.

Credits: Modslab

Photo


Download86.48 KB


TAGS:Random, v1.2.0.0, events, 0.38.x

SIMILAR MODIFICATIONS

COMMENTS
avatar