Closed quadural closed 10 years ago
I'm pretty sure it's for the particle system / shader.
ok. I don't see any particle system / shader on my system. => i am playing in "low settings" I will give a try in "high" to see the difference.
ok, i found it. When we don't unfold the "arms", this slurry tanker can use the rear "canon". This is the goal of this spec.
So : new problem = when using the "rear canon", the spreading width is reduced to something like 12m, but the "liquidManure" consumption rate is the same... so, why would someone bother using the rear canon then ?
So, I suppose this means we need a script to adjust the consumption rate dynamically?
Rather a script to decrease the "base consumption rate" when the canon is used instead of the "arms".
lua code from Giants to get the "base consumption rate" =
local litersPerSecond = self.sprayLitersPerSecond[self.currentFillType];
if litersPerSecond == nil then
litersPerSecond = self.defaultSprayLitersPerSecond;
end
the consumption rate is already dynamic function of the speed with the "overrideSprayer.lua" from the "more realistic engine"
so, the best thing to do would be to add a new "spec" and set a different value for the "self.sprayLitersPerSecond[self.currentFillType]" when the canon is activated (or when the "arms" are folded)
Do we have an existing variable that states which "mode" it's in, or do I have to check the folding animation time?
i don't know if there is a variable in the "pdlc_titaniumAddon.kotteSlurryTank" or not. Otherwise, yes, we have to rely on the folding animation time to handle that.
Alright, I'll check it out. Can you also please push the mr_kotteSlurryTank_t
vehicle type?
Another thing: the Kotte has steering axles (front, 3rd and rear axles). Are you going to add them? If so, what parameters do you need?
vehicleType added the steering axles work without any modification. (since we don't delete the parameters of the genuine xml file)
Alright, concerning the slurry usage: I found two ways to handle this:
foldAnimTime
, which is checked in the setFoldState
function. It's a bit inaccurate, but works and has the advantage that we wouldn't constantly have to check the state in the updateTick()
.updateTick()
.I went for the second method, just because it's more accurate. Usage:
<workTool sprayUsageLitersPerSecondFolded="110" />
ok
does somebody know what is the "pdlc_titaniumAddon.kotteSlurryTank" specialization for ? when I use this slurry tank, I don't see anything "more" than a base game slurry tank...