[Done] OBTAIN for Levels
Posted: Tue Apr 21, 2020 6:11 pm
A possibility to set an OBTAIN code for levels would bring whole new possibilities for creators of tracks or mods.
For cars OBTAIN will be used like this in the current version of RVGL:
For custom levels something similar could be added.
For example...
Example:
With this track configuration file, the track "Spa-Volt 1" will only be available, when people has finished the Platinium Cup:
For cars OBTAIN will be used like this in the current version of RVGL:
- -1 - Unlock with CARNIVAL cheat
- 0 - Unlocked at start
- 1 - Unlock when winning a Championship (in combination with the cars RATING)
- 3 - Unlock when finding all Practice mode stars (in combination with cars RATING)
- 4 - Unlock when winning all Singleplayer Races (in combination with cars RATING)
- 5 - Unlock when collecting all stars on the Stunt Arena mode (Added in RVGL Release 20.0210a - Thanks a lot for this Huki!)
For custom levels something similar could be added.
For example...
- -1 - Unlock with TRACKER cheat
- 0 - Standard (Unlocked at Start, or when a stock track, unlocked the same way as before)
- 1 - Unlock when winning a Championship (in combination with the tracks DIFFICULTY (*))
- 3 - Unlock when finding all Practice mode stars (in combination with tracks DIFFICULTY (*))
- 4 - Unlock when winning all Singleplayer Races (in combination with tracks DIFFICULTY (*))
- 5 - Unlock when collecting all stars on the Stunt Arena mode
Example:
With this track configuration file, the track "Spa-Volt 1" will only be available, when people has finished the Platinium Cup:
NAME 'Spa-Volt 1' OBTAIN 1 DIFFICULTY 4 CHALLENGE 0 47 000 CHALLENGEREV 0 47 000 STARTPOS 2500 0 2750 STARTPOSREV -1700 0 -1350 STARTROT 0.75 STARTROTREV 0.25 STARTGRID 4 STARTGRIDREV 1 FARCLIP 50000 FOGSTART 40000 FOGCOLOR 0 0 0 WORLDRGBPER 15 MODELRGBPER 50 INSTANCERGBPER15 SHADOWBOX -91 MUSIC 'levels\spavolt1\custom\music.ogg' ENVSTILL 'levels\spavolt1\custom\envstill.bmp' TEXTUREPROPS 0 1 0 0 TEXTUREPROPS 1 1 0 0 TEXTUREPROPS 2 1 0 1 TEXTUREPROPS 3 1 0 0 TEXTUREPROPS 4 1 0 1 TEXTUREPROPS 5 1 0 1 TEXTUREPROPS 6 1 0 0 TEXTUREPROPS 7 1 0 1 TEXTUREPROPS 8 1 0 0 TEXTUREPROPS 9 1 0 1