Forum
Questions, builds, help and the odd argument. The mods and guides are out front.
That would require much more coding:
The running gear must always be installed because the game cant handle if they are missing in the incorrect order (if there is a brake but no suspesion forexample) you wont be able to install new ones (I didn't bother to fix this as it would need much more work than the potential reward).
Lets make a bargain I will go as far as wheels, missing wheels will visually give you the beaten-up aesthetic but will still keep the game together.
I updated the files under the links from above with the code that can generate cars with missing wheels.
only non-engine parts (and wheels):
LINK
with engine parts (and wheels) missing:
LINK
I modified the Chassis.java at line 854 if you want to test what happens if there are more type of parts missing.
Cool! Now i have what I want!
Any plans to add new cars?)))
Sry not really possible would need to reimagine how the cars are handled, the catalogue takes advantage of the fact that each car is defined in a separate rpk (tests the dynamic typeID-s external part to show you the relevant parts in the body tab) so merging racer rpks is not really an option I would need to make even more lookups now deciding what the original rpk layout was honestly I had enough Slrr-modding for my lifetime I'm cool with patching and theorising but overhauling the game even more hmm probably not soon
Anyway I would think 220 car types is plenty enough 🙂
(to put this into perspective we have 220 chassis types (not taking into account the customisability of individual cars(bumper types, skirts..)) we have 2084 types of rims, 248 prebuilt engines, 203 types of mufflers (If a car will have no wing and all four rims are the same and we only count the prebuilt engines) this means 2202048248*203 = 22682992640 possible cars to make if you only take a one second look at each one you will be looking at different cars for more than 719 years nonstop)
(On the need of rpk merging🙁last few paragraphs) LINK)
I merged the idea of Orange2000 to the SlrrExhaustive patch (LINK) (the "non-engine parts and wheels can be missing" version)
I got around and added two more variables to the SlrrExhaustive Bits download (these modifications are also added to the patchlink above)
pre
I'd like to suggest a thing for SlrrExhaustive:
Set the front and rear wheels max steering angle in the chassis tuning menu, it is a bit useless but would be funny to have such thing
That's a great idea
This was surprisingly easy to do there is a variable in the WheelRef at a small enough offset that actually scales well (if you set it to negative it will invert the steering) this offset is wheelref.ptr+0xc8 and it is a float, I used the RawEdit.setF function to write to it.
(I'm on my laptop so the video is quite choppy but it serves its purpose as a demo)
I've added this to the SlrrExhaustive patch link
Nice 😃
Also, i think i'm having problems with the function/method GetCurrentTurboValue(), it always returns me a weird/non sense values.. is it right?
What do you classify as nonsense?
I know that for example the turbo on the stock Duhen returns from the exceptional cases either 999999 or -999999.
But other than that it should be some proper value.
I must point out though that the function relies on a valid DynoData named dynodata in the Chassis class but that can be easily hmm saved out to a member variable in the updatevariables() function. It creates it after the engine.updatevariables(); call.
Added 14 minutes later:
Yep verified it does work with the Chassis.java of the current SlrrExhaustive which defines this dynodata variable.
More insight though is that the default GUI scales from 0 to 1 if the turbo value is larger than 1 it still shows max if its smaller than 0 it shows no turbo activity.
I thought it returns a value proportional to the P_turbo_waste(which higher the pressure, higher the value that it returns(something similar to the IndexedData_NOSLevel)), but which lower the P_turbo_waste, higer the value (and if the P_turbo_waste is lower than 1.0, it returns a negative value).
I dont know if i'm doing something wrong or if there is something wrong with my game (or even if i misunderstood how does it works)
Well the formula is relatively complicated I would suggest you try writing out the value returned by the function on a track and testing it against the default meter but in my experience the default meter only displays values between 0-1 and it clamps others, but I did not test this extensively I might be wrong.
But here is a google sheet exemplifying the graph for the IshimaTurbo I enabled editing of the turbo params so you can try out other values.
Slrr_RPMvsTurbo
Whatever it returns (except the -99999 cases) is I'm fairly sure the same value the game uses.
Now i understand it, this sheet made things way more clear.
I was a bit confused because if the P_turbo_waste is lower than 1.0, the ResultActivity is negative.
I've also noticed that the v4 gives the exact value that i need..
It helped a lot, thank you 😃
I have a question is possible to add a 7th gear to SLRR?
Iirc someone made it to use up to 10th
Yes but the engine doesnt fully support it. I did an 8 gear shifter but there's something that fucks up so once you reach the 8th it still allows to shift forward, as if there were 9, but instead of getting a 9th gear it goes back to neutral and restarts the cycle.
If you reach the 8th gear and come back, it will also allow using the reversing.
If you reach the neutral the way i said above(after the 8th gear) and then shift down, it will still allow to use the reversing.
Probably he can do something to fix that though.
Let me search and link the files.
Added 10 minutes later:
hide
Added 22 seconds later:
# ALAN :
Iirc someone made it to use up to 10th
cough
always having the problem as above
