Separate names with a comma.
Discussion in 'Ideas and Suggestions' started by SuchSneak, Oct 8, 2019 at 6:32 PM.
Toggle under gameplay options for vehicles to spawn with their engine off.
I actually implemented this, but there are too many issues with AI and other subsystems to make it a worthwhile option.
No, that would be useless
No, I think this would be very nice indeed but I agree it should not be implemented as long as it conflicts
with other features.
Have Ai ignore engine off? I don't know. I would love to see it if you ever find a work around. I wanna make use of all those new vehicle starter sounds.
Yea and at that point things start to get hairy. Option here, exception there and you got yourself a nice recipe for really angry QA people and lots of hidden issues, sorry it's just not worth the trouble
Really ? I'm going to see if I can find something cause that would just be too bad
how about first vehicle spawning with the engine off and all subsequent ones with the engine on?
Too error prone, too much maintance down the road, it needs to be a simple "one size fits all" solution...
If vehicle is selected (camera focus on vehicle - you know the switching between cars with tab key) then engine off on reset, otherwise engine on constantly.
If exemptions for the start rpm are an issue, then it could be turned into a system which actually instead of spawning the car with engine off, turns the car off after respawn if player is using it.
See what you did there? I was looking for something without exceptions etc... I have this stuff implemented, but there's just no way to make it work without options and exceptions and whatnot. And unfortunately that means a lot of added complexity, much higher chance for things to go wrong in the future and, in some parts, doubled work for the QA team.
So sorry to say, but no...
I know of a work around. I think it works for controllers IIRC. If you have an H-shifter and you are practicing shifts while the game loads a level, your car will spawn in gear, with the engine off. Only works for manual trans, and I think mashing shift up/down on a controller will also have the same effect. I'm not sure if it works on spawning new cars.
Sorry if you think we are wasting your time diamondback, i dont wanna make it look like i know more than a dev but i just love brainstorming.
I guess having the AI automatically check if the engine is on if the engine is ICE, and if not, do a "press V" thing wouldn't work, right?
The AI has no trouble starting it's own engine. It'll do it by itself if it somehow stalls itself. The problem is probably a bunch of functions in the game assume cars will start with their engines on, and if they spawn with their engines off it could produce some nasty edge cases.
^ agree on this one
I'm roaming thru the code and indeed it seems quite of an issue to get things working. First thing that came up to me was something
like < "if playerSeated and ... " "kill the ouputAV1" >. If not this then maybe < "if playerSeated and ... " and "timer > .." then "give
the engine its fuel back". Looking into those two options wasn't fruitful after two hours but I'm not finished
--- Post updated ---
Alright I got working code ! Easypeasy as a fruite pie ! That is.. if it's flawless. I'm not a real user of traffic (so far) but at first sight
the traffic doesn't seems to suffer from my code. Maybe some volunteers for alpha/beta testing ? I'm offering my code to @Diamondback
this one with ctrl + r
Spoiler: H O L D O N
this one on resetting (with insert key)
Spoiler: on reset
--- Post updated ---
^ post got edited