Welcome, Please Register or Login

Downloads \ Street Legal Racing: Redline \ Miscellanious Parts \ Adjustable engine scripts

Author / Submitted by: apendix

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:

ENGINE BLOCK:
- adjustable bore
- adjustable deck height

CRANKSHAFT:
- adjustable stroke that affects maxRPM

CYLINDER HEADS:
- adjustable intake valve diameter
- adjustable exhaust valve diameter

CAMSHAFTS:
- adjustable lift
- adjustable duration

SUPERCHARGER:
- 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;

to

def_bore = 92.3;
bore = def_bore;

The same goes for crank_center_to_cylinder_top and:

Crankshaft
stroke;
maxRPM;

- Cylinder_head
intake_valve_diam;
exhaust_valve_diam;

- Intake_camshaft
static_input_lift_in_open;
static_input_time_in_duration;

- Exhaust_camshaft
static_input_lift_out_open;
static_input_time_out_duration;

- Supercharger
pulley_diameter;
P_turbo_max;

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

Downloaded: 4985

report broken link

Avatar

34. Agar Pelusa

2016-12-05 20:33

Si esto sale en la grasa paso pack de mi tia :v


33. tomaukz

2014-09-01 14:42

I cant buy blocks anymore. Crashes going into the block section of the catalog, no error log :/


Avatar

32. Zarcelo

2014-05-07 23:27

hola gente, no he podido descargar y probar el mod. necesito algo de ayuda!


Avatar

31. Octan2014

2014-04-18 09:10

I can't download it


30. gsl77

2013-11-22 19:21

missing slider ball


Avatar

29. Alari645

2013-11-06 16:02

fucking nigga you broke my game :GTFO


Avatar

28. need4speed1989

2013-05-27 13:23

pizz put a new link


27. Zleksa

2013-05-09 12:09

Really guys, any1 knows how to fix missing slider ball?!


Avatar

26. flanders

2013-04-18 08:27


25. gsl77

2013-02-20 22:28

need new kink


Avatar

24. PaniPistero

2013-01-24 05:34

:ffuu me da :-!


Avatar

23. tolga1308061

2012-10-11 14:26

dsadas


22. Reaper275

2012-10-10 14:10

please fix link i want to build real engines from this


Avatar

21. borja55

2012-10-10 13:22

link off
please send it to me : [email protected]
tanks


Avatar

20. Sprang05

2012-10-02 15:57

link is dead
even when I have the java files I still need the block.java


123>>>

Total: 34, on page: 15

Only registered users can post new comments

Contact Info

Put your e-mail, skype, phone numbers or any other contact information here so that your visitors could easily get in touch with you.