Flight
2013-09-27 21:39:59
Now please note that even though the include is up and running it's still in desperate need of an overhaul and truly should be re-written in proper Lape format; an OSR-equivalent of SRL-6 if you will. But until then you can use this include to run your scripts.
- This include is not official nor permanent
- If your script uses SMART functions/procedures (like drawing & reflection) then you will need to modify your script accordingly
- This requires Simba 1.0, all updated plugins/extensions (including SMART 8.3) and will only run in Lape
An example of drawing on SMART (before):
SMART_DrawBoxEx(True, False, b, clRed);
Now:
OS_SMART.__Graphics.DrawBox(b, false, clRed);
OS_SMART is defined as your current "TSmart" paired with your running script and __Graphics is the canvas associated to it, this is defined as "TGraphics" and all functions/procedures for TGraphics can be found in Graphics.simba (SRL-OSR/SRL/misc/Graphics.simba).
This include also uses Brandon's updated Smart.simba, Graphics.simba, and Internals.simba. These files are included automatically when you call "{$DEFINE SMART}"
http://uppit.com/oj9tyb60mixb/SPS-OSR.simba Place in Includes > SPS folder
Don't forget to turn your interpreters to Lape! (Script > Interpreter > Lape)
Edit:
- Player logging in fixed
- World-hopping fixed
- Updated to handle the newest bank changes
-Installing-
Step 1: Download the attached SRL-OSR.zip (attached to the bottom of this post)
Step 2: Extract SRL-OSR.zip in the "Includes" folder, as shown below:

Step 3: Load Simba and set your Interpreter to Lape as shown below:

Done!