Adjustable engine scripts
For modders with no less than little experience
!!!PLEASE READ THE FOLLOWING BEFORE INSTALLING AND/OR MAKING COMPLAINTS!!!
Adjustable engine scripts [see the pics]
Tested on v2.2.1 vanilla only because currently I don't have any other version of the game installed.
This mod is NOT recommended for you if you have absolutely no experience in java scripting or SLRR modding.
What you get is:
- adjustable bore
- adjustable deck height
- adjustable stroke that affects maxRPM
- adjustable intake valve diameter
- adjustable exhaust valve diameter
- adjustable lift
- adjustable duration
- adjustable pulley diameter that affects the pressure
For what cost?
You MUST have ALL of the javas for the parts you wish to make adjustable because my mod requires update to each adjustable parts' java otherwise the game will crash.
Since you know I am unable to provide updated javas for all the engine scripts out there, I will in stead show you what needs to be done.
Here's how it works.
Lets say it is the block you want to make adjustable. When you have copied the Block.java to it's directory, you have to open up each engine blocks' java and redefine this:
bore = 92.3;
def_bore = 92.3;
bore = def_bore;
The same goes for crank_center_to_cylinder_top and:
It's a whole lot of work so I've included a quick script in free pascal to ease this. Just place the adjustable_code_helper.exe along with all the javas that need to be modded and run it.
The reason why I explained what needs to be done is because I can not guarantee that the program will do everything on its own. It might mess up somewhere so you must know how to fix its' fault if you get a syntax error.
So here you go enjoy these and don't forget to start a new game and if you like to race ROC then you will have to remake all the cars, they will crash for sure.
And remember, I can not guarantee that these will work on other versions of SLRR (they should though) and since I do not have the javas for any other version than vanilla 2.2.1 I will most likely be unable to help you in case of a crash.
Bugs - "Reset to factory defaults" has no affect on idle and redline. Sory, that code was just too hard to crack.
Feel free to do whatever you want with these. Cheers! Apendix.
Tags: No tags
Download: Adjustable engine scripts
Filesize, kB: 0KB
Put your e-mail, skype, phone numbers or any other contact information here so that your visitors could easily get in touch with you.