#do all crashed ambulances have 100 quality?

1 messages · Page 1 of 1 (latest)

bronze mist
#

Not to be confused with condition.

I fixed it up since 100 condition means the car has a 1% chance of failing

99 condition has around 20%

I wonder if this is a bug or the devs added this to make it a high level mechanic goal. Only downside for fixing a wreck is that it has a permanent rust layer on it.

#

do all crashed ambulances have 100 condition?

mint kiln
#

No ?

flat owl
#

What?

#

It's just random chance you got lucky

bronze mist
#

@flat owl @mint kiln both crashed ambulances in my world have 100% quality. That's not luck

mint kiln
#

That is lucky yes

flat owl
#

It is unless you're using mods

#

Read the wiki if you're unsure

bronze mist
#

You can find other posts on Reddit with people seemingly consistently finding balances with 100 quality

flat owl
#

Engine condition is determined upon vehicle creation with a maximum of 100

#

Well it's actually quality

bronze mist
#

do all crashed ambulances have 100 quality?

#

Yep I meant quality

flat owl
#

Emergency vehicles will usually have higher engine quality than normal vehicles

bronze mist
#

Condition is a different value that determines chance to stall

flat owl
#

This ranging between 80-100

#

So it is more likely but still rare

bronze mist
#

Yes but I'm talking about ambulances specifically spawn in wrecks with 100

flat owl
#

And not guaranteed

bronze mist
#

Can you prove it in-game?

flat owl
#

Just read the wiki or go to debug mode and test it yourself if you doubt it

flat owl
bronze mist
#

Fyi I do a lot more than read the wiki

flat owl
#

What do these links prove again?

bronze mist
#

That ambulances spawn with 100 quality for some reason

flat owl
#

That other people have found perfect quality ambulances?

#

As I said it is still luck-based and more common for emergency vehicles like ambulances

#

It is about 1 in 20 for a 100 quality ambulance

#

If you really want go scour online clips and images for people checking ambulances

bronze mist
#

That's the spawn rate for ambulances in a parking stall

#

The traffic jams or other vehicle events are in java and they use the same spawn tables from lua with different mechanics

flat owl
#

If you can find that every ambulance spawning in jams has 100 quality it may have something to do with the spawning of vehicles inside jams being different from normal vehicle spawning but that may not be exclusive to ambulances

bronze mist
#

it's not

#

tire change event will always use one of the 6 vehicles from the "good" category.

#

the rates are the same but the part condition and is definitely not the same 1.2 baseVehicleQuality as a "good" parking spot

flat owl
#

If that is the case it still wouldn't guarantee perfect condition just make it more common

bronze mist
flat owl
#

And it wouldn't be exclusive to ambulances

bronze mist
#

that's my personal chart

#

btw Wiki is definitely doesn't contain all the info in the game

#

and neither does the lua scripts

bronze mist
# bronze mist the rates are the same but the part condition and is definitely not the same 1.2...

proof from RVSChangingTire.java

            case "vehicle1":
               var10 = this.addVehicle(var8, var2.position.x, var2.position.y, var7, var2.direction, "good", (String)null, (Integer)null, (String)null);
               if (var10 != null) {
                  var10.setGeneralPartCondition(0.7F, 40.0F);
                  var10.setRust(0.0F);
                  VehiclePart var13 = var10.getPartById(var9 ? "TireRearRight" : "TireRearLeft");
                  var10.setTireRemoved(var13.getWheelIndex(), true);
                  var13.setModelVisible("InflatedTirePlusWheel", false);
                  var13.setInventoryItem((InventoryItem)null);
                  this.addZombiesOnVehicle(2, (String)null, (Integer)null, var10);
                  var1.setParameter("vehicle1", var10);
#

I guess what I have to do is find what setGeneralPartCondition exactly does and see what it looks like in the trafficJam event

bronze mist
#

found an ambulance in the wild. NOT a vehicle event. 84 quality (within the 80-100 range)

#

crashed utility vehicle (84 quality)

bronze mist
#

found 2 police cars with 100 and 96 quality

#

finally an embulance. and its 100 quality

#

another ambulance in a parking stall. not 100

#

lucky parking lot. another one inthe same lot

#

ambulance wreck. not 100

#

something about these vehicles seems to have a higher chance of being a solid 100 rather than a truly random value between 80 - 100

kind juniper
#

Now

#

Most emergency vehicles do have very high engine quality

#

But condition is usually horrible

bronze mist
bronze mist
#

takes 3/4 high quality cars to fix it up to 80% ish

bronze mist
kind juniper
bronze mist
#

right, that's my point

#

it's shockingly common

#

more common than finding 90%

#

thing about 100% is that it ignores the startup chances which is usually balanced around a 20% failure

#

but 100 condition means it starts up with only a 1% failure

halcyon kraken
bronze mist
bronze mist
#

so according to Vehicles.lua, vehicles will NOT stray from the 100 engine quality if it is spawning without a "type" which is the zone of the car

#
    if type then
        local baseQuality = vehicle:getScript():getEngineQuality() * type:getBaseVehicleQuality();
        -- bit of randomize
        engineQuality = ZombRand(baseQuality - 10, baseQuality + 10);
    end
engineQuality = ZombRand(engineQuality - 5, engineQuality + 5);```
#

so that explains why the cars are more than often 100

#

95 - 105 quality but it is maximized at 100

bronze mist
#

closing thread.