You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I tried using partTones, but it had the same result.
When I change the conditionalDefaultParts bed to the winter variant, the problem goes away.
Explanation:
When the bed spawns, it first spawns as the Desert variant, setting the desert variable, THEN the bed switches to the appropriate color, but the spare tire does not. This is because the winter variable gets set, but the desert/forrest variable is ALSO true, so it spawns whichever comes first, which is the correct color.
Issue 2
A vehicle will spawn with this second axle present, even though it shouldn't:
The first entry is "!axle_double"="", so the part slot should be empty if axle_double is zero. Similar logic works with my standard wheels to prevent a hubcap from spawning on spare tires:
These errors are present in MTS V22.12.0
Note: Both of these issues are somewhat minor as I have made workarounds for both, so this is more of a 'it would be cleaner' sort of suggestions.
Issue 1
When I place a vehicle that spawns with a bed, which itself spawns with a spare wheel, that spare wheel spawns as the wrong color:
Here are the relevant json snippets:
UNU Mule (base vehicle)
Cargobed (part):
Note: I tried using partTones, but it had the same result.
When I change the conditionalDefaultParts bed to the winter variant, the problem goes away.
Explanation:
When the bed spawns, it first spawns as the Desert variant, setting the desert variable, THEN the bed switches to the appropriate color, but the spare tire does not. This is because the winter variable gets set, but the desert/forrest variable is ALSO true, so it spawns whichever comes first, which is the correct color.
Issue 2
A vehicle will spawn with this second axle present, even though it shouldn't:
Here are the relevent json snippets:
The first entry is
"!axle_double"=""
, so the part slot should be empty if axle_double is zero. Similar logic works with my standard wheels to prevent a hubcap from spawning on spare tires:My guess is that
!
is not recognized inconditionalDefaultParts
.The text was updated successfully, but these errors were encountered: