Remember Me
CarRec(plus ObjRec)
Record car movements for playback them later in your scripts.
Information Files
Author: NRShaggy
Works with: GTA Vice City 
Status: Complete
Started on: 23 Jun 2017
Last Updated: 27 Jun 2017
Views: 2809
Type: Created from scratch
Rating: 5 (3 votes)
Please log in to rate this mod

Have you ever noticed random GTA physics? You can make car to jump on certain ramp in a certain coords in script, but it will fall every time a little randomly.
To prevent that problem in SA, Rockstar* made ".rrr" files(in carrec.img), which contains recorded "paths" of vehicles movements. It allowed to create scenes like that.

Now it's possible in Vice City, but not car records only...
"CarRec" gives you ability to record car movements into ".cr" file for playback them later in your scripts or missions. Installation: Drop all files and "RECORDINGS" folder from "1. CarRec\CLEO\" into your Vice City's "CLEO" folder, if you has installed last version of CLEO library( How to use: Activation/deactivation(while in car): C + 1 Then you can: 1) To record your vehicle's movements press R. Press R again to stop recording. 2) To playback your last recording press P. Press O to pause playback. Hold I to rewind. Press P again to stop playback. You can also config "CarRec" in "CLEO\CarRec.ini": MEMLIMIT: Allocated memory limit for recording in bytes. Higher value - longer record. Too high values may cause slower working of script. CLRTRWREC: Clear traffic while recording: 1 - yes, 0 - no CLRTRWPLA: Clear traffic while playback: 1 - yes, 0 - no HIDEZCNAM: Hide zone/car names to prevent some bugs: 1 - yes, 0 - no SHOWALLST: Show all script's text: 1 - yes, 0 - no Every time you making a record, script creates "" file in "CLEO\RECORDINGS\" folder. If file already exists - "CarRec" will overwrite it. Then you can rename this file and use it in your scripts and missions(read "3. For Scripters\How to[ENG].txt"). You can also see some examples of using that recordings in "2. Examples" folder: 1)1CarScene: Scene with one recorded car. Activation/deactivation: C + 2 2)2CarsScene: Scene with two recorded cars. Activation/deactivation: C + 3 3)10CarsScene: Scene with ten recorded vehicles. Activation/deactivation: C + 4 4)360Scene: Scene with four recorded vehicles, one recorded object(detached infernus's wheel), effects and actors. Activation/deactivation: C + 5
You can also to record objects movements using SCM functions from "3. For Scripters\SCM FUNCTIONS" (read more in "3. For Scripters\How to[ENG].txt"). You can see an example of using that in "360Scene", when one detached infernus's wheel moves exactly into helicopter's rear rotor every time you playback this scene.
.CR/.OR files structure:
See in "3. For Scripters\How to[ENG].txt".
Some stuff:
You can free use, share and modify all files, included in archive. by Shagg_E Credits: DK - "Core" of the script (binary files operations), support xanser - Solving movement lags problem spaceeinstein - Solving vehicle's horn problem kenking - Solving wheel's detaching problem =SpitFire= - Help and support mfisto - Help
NRShaggy commented over 3 years ago:
Jwalin> Thanks :colgate:
Jwalin commented over 3 years ago:
Amazing! :inlove:
View All Comments | Add Comment
0 users viewing this mod (0 guests)
brick bit bit bit
bit bit bit bit