Open SeanMirrsen opened 3 years ago
So it just completely scrambles all vehicles?
It doesn't touch vehicles already in the game. It just ensures that the player is always in a vehicle, and pulls random vehicles out of the air to do so. And rather than preventing the player from leaving (like "lock player in vehicle" does), it just keeps spawning new vehicles, while removing old ones for performance reasons.
Idea: When we detect that the player's vehicle is in water, switch to a boat automatically. When in the air at a certain height, switch to a plane. When on ground, switch to a car. And maybe make the vehicles invulnerable.
Idea: When we detect that the player's vehicle is in water, switch to a boat automatically. When in the air at a certain height, switch to a plane. When on ground, switch to a car. And maybe make the vehicles invulnerable.
Heh, neat idea, if you can make it work. Although it'd be a little too... useful, I guess? Would probably make a good separate effect (It's a boat! It's a plane!), while this one would be its own thing.
Alternate names: Do Not Leave Your Vehicle
Duration: Short, as it is likely to be annoying in a lot of situations. But also beneficial in others.
The effect checks whether the player is in a vehicle. If they are, at any time, not in a vehicle, the effect spawns a vehicle and places the player into it. If the player exits the vehicle they're in, they're put into another spawned one immediately. The effect keeps track of spawned vehicles, and removes any vehicles the player isn't in after a short delay. Once the effect ends, the tracking also ends, and any unremoved vehicles remain spawned from then on (at least until the mod is deactivated, presumably).
The pool of vehicles the effect can choose from should likely be fully random. So that the player can cycle through cars, bikes, boats, aircraft, and helicopters for the duration of the effect. It'll be an annoyance if the player wants to be on foot for a mission (or indoors), but can be used to gain a good vehicle if the player is in need of one.