Difference between revisions of "Native function"
m (→GTA IV)
|Line 2:||Line 2:|
== GTA IV ==
== GTA IV ==
There are something like [[List of native functions (GTA IV)|~3000 of natives in GTA IV]]. Their names are stored in the game's executable file until 184.108.40.206 patch, they was replaced
There are something like [[List of native functions (GTA IV)|~3000 of natives in GTA IV]]. Their names are stored in the game's executable file until 220.127.116.11 patch, they was replaced their hashes 18.104.22.168 patch.
== GTA V ==
== GTA V ==
Revision as of 09:22, 21 December 2014
A native function is a one of the functions exposed by the RAGE engine to be called from a script. Comparing to the SCM engine from previous GTA 3D series, which used thousands of opcodes assigned for commands both handling the scripts and performing the in-game tasks (such as manipulating peds, vehicles, displaying texts, etc), RAGE has less than 100 opcodes only to handle the scripts itself. To retrieve the data and make any change in the game's world, a SCO script invokes an appropriate native function using a special opcode.
There are something like ~3000 of natives in GTA IV. Their names are stored in the game's executable file until 22.214.171.124 patch, they was replaced with their hashes from 126.96.36.199 patch.
GTA V features ~4500 natives and almost all of these functions are in use in the original game scripts, this means that while building game's main executable only the natives required by the scripts are included (IV scripts were using only 2/3 of them). There is no original native name list in GTA V, name hashes were used instead.
|Grand Theft Auto V|
|File Formats||.awc • .dat • .gfx • .gxt2 • .ide • .meta/.ymt • .mrf • .patch • .rpf • .ybn/.ybd • .ycd • .ydd • .ydr • .yed • .yfd • .yft • .yld • .ymap • .ymf • .ynd • .ynv • .ypdb • .ysc • .ytd • .ytyp • .yvr|
|Documentation||Bink Video • Native functions • Weather types|
|Tools||OpenIV • GIMS Evo|
|Multiplayer||GTAForums: GTA Online|
|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 • Image listing • Map Listing • Native functions • Paths • 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||Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded|