- Version
- Download 10
- File Size 794.02 KB
- File Count 1
- Create Date 2025.01.05.
- Last Updated 2025.01.06.
Street Legal Racing Redline (SL2) java source pack v1.1
Street Legal Racing Redline (SL2) java source pack v1.1
Compatibility:
SLRR v2.2.1: fully compatible
It is unsafe to use it with older versions of SLRR, though they might work somehow.
Classes compiled by different versions of the game are incompatible.
General Notes:
Unofficial, unsupported release. Please do not contact the developers/publishers
regarding this package, such attempts will be ignored.
You may find information about how to use this pack at the following places:
* www.buildersedge.net (english)
* slc.hsw.hu (magyar)
* www.gom-team.com (english)
* www.slr2.de.vu (deutsch)
* xi.dpx.nl (english)
How to use:
Copy the contents of the archive into your Redline directory tree. No files will be overwritten.
Once you edit a java file the changes will be automatically applied when (re)starting the game.
(The built-in compiler will compile a java file when there is a reference to it's class for the
first time, but the class file does not exists, or both the java and class files exists but with
different timestamps.)
This pack is provided to give modders full control over their creations for SLRR.
* Study the Baiern scripts if you want to add a car with usual kind parts.
* Study the javas in parts/, if you want to create new kind of parts, engines
* To add reporting capability on new kind of parts, edit sl/Carinfo.java
* To add more functionality to the test track, edit sl/TestTrack.java
Note: to add new parts and cars you'll also need an rpk builder/modifier, which is not
in this pack. Use the links above for more information on this.
Redline class structure:
cars role: actual car files
parts role: part class system (eg: general front left door) and the engines
sl role: gameplay files
system role: low-level system files
Redline java language:
The script engine in SLRR is built to be similar to the extensively used java language developed
by SUN. Comparing to SUN's specification, there are a few extensions, lots of simplification and
an unknown number of bugs in it. This also applies to the base class hierarchy (String, Vector, etc.)
As there's no specification to this language, consult SUN's documentation and study the original
java files in this pack, then experiment a lot to master Redline java.
History:
v1.1 (2005.07.13)
-all car javas included
v1.0 (2005.05.18)
-initial release
-contains cars/racers/baiern_data/*, parts/*, sl/Carinfo.java, sl/TestTrack.java