Difference between revisions of "JUMP"
(clarity) |
|||
Line 5: | Line 5: | ||
}} | }} | ||
− | Unique stunt jumps are stunts the player can | + | Unique stunt jumps are stunts the player can search and perform to complete the game, optionally in San Andreas. Usually they are created using [[SCM]] or [[SCO]], but just like the [[CARS]] section they can also be stored in plain text ipls in San Andreas and GTA IV since this is more easy to handle. Since unique stunt jumps are related to [[Saves_(GTA_SA)#Block_24:_Unique_Stunt_Jumps|savegames]], a new game must be started before changed or added entries are applied. In [[San Andreas]] it is possible to add new stunt jumps without starting a new game using [[CLEO]]. |
==Format== | ==Format== | ||
− | + | A unique stunt jump is defined by three parameters: A plane which the player needs to pass (in a car and with a specific speed), a plane a player needs to reach and the position of the camera. If the player passes the ''start plane'' then the game enables a slow motion and sets the camera to the ''camera position''. The camera follows the player during his flight. If the player reaches the ground without passing the ''target plane'' the stunt fails. If he has crossed it and reaches the ground (even if he falls of a bike or dies due a vehicle explosion or something else) the stunt jump has been successfully passed. If the player has triggered a stunt jump (no matter if it fails or not) it is marked as ''found'' for the game and the [[Saves (GTA SA)|savegame]]. If the player has successfully passed the target plane the stunt jump gets marked as ''done''. In San Andreas, it is not required to complete these stunts in order to complete the game but required in GTA IV. These stunts are recorded in the player's statistics{{ref|1}}{{ref|2}}. | |
=== San Andreas === | === San Andreas === | ||
− | The planes for target and start | + | The planes for target and start as described above are defined by six floating point values, where three of them always represent a point in [[unit|real world coordinates]]. |
<pre>StartLowerX, StartLowerY, StartLowerZ, StartUpperX, StartUpperY, StartUpperZ, TargetLowerX, TargetLowerY, TargetLowerZ, | <pre>StartLowerX, StartLowerY, StartLowerZ, StartUpperX, StartUpperY, StartUpperZ, TargetLowerX, TargetLowerY, TargetLowerZ, | ||
TargetUpperX, TargetUpperY, TargetUpperZ, CameraX, CameraY, CameraZ, Reward</pre> | TargetUpperX, TargetUpperY, TargetUpperZ, CameraX, CameraY, CameraZ, Reward</pre> | ||
− | ''The information above is divided into two lines since it does not fit into one. If you create a stunt jump then the data needs to be written | + | ''The information above is divided into two lines since it does not fit into one. If you create a stunt jump then the data needs to be written in '''1''' line (1 for each entry), just like the [[IPL]] specification sais.'' |
{|{{Prettytable}} width="100%" class="collapsible" | {|{{Prettytable}} width="100%" class="collapsible" | ||
Line 23: | Line 23: | ||
!Description | !Description | ||
|- | |- | ||
− | |<center>StartLowerX, StartLowerY, StartLowerZ</center>|| | + | |<center>StartLowerX, StartLowerY, StartLowerZ</center>||These values define a point in the world as floating point values. The point represents one of the lower edge points of the plane representing the start of the unique stunt jump. |
|- | |- | ||
− | |<center>StartUpperX, StartUpperY, StartUpperZ</center>|| | + | |<center>StartUpperX, StartUpperY, StartUpperZ</center>||These values are used in the same way as the first ones. They represent a point on the upper edge of the plane (diagonal opposite). |
|- | |- | ||
|<center>TargetLowerX, TargetLowerY, TargetLowerZ</center>||A point on the lower edge of the ''target plane''. | |<center>TargetLowerX, TargetLowerY, TargetLowerZ</center>||A point on the lower edge of the ''target plane''. |
Revision as of 08:09, 9 August 2009
Short description: | Creates a unique stunt jump | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Supported games: | GTA SA, GTA IV | |||||||||||||||||||||
IPL Sections:
|
Unique stunt jumps are stunts the player can search and perform to complete the game, optionally in San Andreas. Usually they are created using SCM or SCO, but just like the CARS section they can also be stored in plain text ipls in San Andreas and GTA IV since this is more easy to handle. Since unique stunt jumps are related to savegames, a new game must be started before changed or added entries are applied. In San Andreas it is possible to add new stunt jumps without starting a new game using CLEO.
Format
A unique stunt jump is defined by three parameters: A plane which the player needs to pass (in a car and with a specific speed), a plane a player needs to reach and the position of the camera. If the player passes the start plane then the game enables a slow motion and sets the camera to the camera position. The camera follows the player during his flight. If the player reaches the ground without passing the target plane the stunt fails. If he has crossed it and reaches the ground (even if he falls of a bike or dies due a vehicle explosion or something else) the stunt jump has been successfully passed. If the player has triggered a stunt jump (no matter if it fails or not) it is marked as found for the game and the savegame. If the player has successfully passed the target plane the stunt jump gets marked as done. In San Andreas, it is not required to complete these stunts in order to complete the game but required in GTA IV. These stunts are recorded in the player's statistics[1][2].
San Andreas
The planes for target and start as described above are defined by six floating point values, where three of them always represent a point in real world coordinates.
StartLowerX, StartLowerY, StartLowerZ, StartUpperX, StartUpperY, StartUpperZ, TargetLowerX, TargetLowerY, TargetLowerZ, TargetUpperX, TargetUpperY, TargetUpperZ, CameraX, CameraY, CameraZ, Reward
The information above is divided into two lines since it does not fit into one. If you create a stunt jump then the data needs to be written in 1 line (1 for each entry), just like the IPL specification sais.
Identifier | Description |
---|---|
These values define a point in the world as floating point values. The point represents one of the lower edge points of the plane representing the start of the unique stunt jump. | |
These values are used in the same way as the first ones. They represent a point on the upper edge of the plane (diagonal opposite). | |
A point on the lower edge of the target plane. | |
A point on the upper edge of the target plane (diagonal opposite). | |
The position of the camera (see above). | |
The amount of cash the player earns after he has finished this stunt successfully. |
GTA 4
Script representation
- 0814 – SCM opcode defining a unique stunt jump
- ADD_STUNT_JUMP – SCO native function defining a unique stunt jump
- ALLOW_STUNT_JUMPS_TO_TRIGGER – SCO native function to control a stunt jump's behaviour
See also
External Link
- GTAForums: Documentation of San Andreas IPL file format
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |