WEAP
Jump to navigation
Jump to search
Supported games: | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Brief description: | Defines weapon objects | |||||||||||||||
IDE Sections:
|
WEAP is a section in the item definition file in Vice City, San Andreas, Liberty City Stories, and GTA IV. It is used to define weapon objects. In GTA III weapon objects are defined inside the OBJS section, so this section can be seen as an extension of that section. Additional weapon information are defined inside the weapon.dat file.
Format
Vice City – Liberty City Stories
weap Id, ModelName, TxdName, AnimationName, MeshCount, DrawDistance end
Identifier | Type | Description | |
---|---|---|---|
A | Id | integer | Unique object identifier. |
B | ModelName | string | Name of the model file without extension. |
C | TxdName | string | Name of the texture dictionary without extension. |
D | AnimationName | string | Name of the .ifp animation file without extension.
|
E | MeshCount | integer | Number of meshes, always 1. |
F | DrawDistance | float | Draw distance in units. |
The games' data files for this section have entries with an additional column G that doesn't seem to be read by the game.
GTA IV
weap ModelName, TxdName, AnimationName, ObjectCount, DrawDistance, Flag end
Identifier | Type | Description | |
---|---|---|---|
A | ModelName | string | Name of the .wdr model file without extension.
|
B | TxdName | string | Name of the .wtd texture dictionary without extension.
|
C | AnimationName | string | Name of the .wad animation file without extension.
|
D | ObjectCount | integer | Number of clumps? Apparently unused. |
E | DrawDistance | float | Draw distance in units. |
F | Flag | integer | Object flag (seems to be unused). |
Statistics
Total number of WEAP entries in:
- Vice City: 37 (max 37)
- San Andreas: 50
- GTA IV: 80
See also
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 |
Grand Theft Auto: Liberty City Stories | |
---|---|
File Formats | .cfg • .chk • .dat • .dtz • .gxt • .ide • .img • .ipl • .mdl • .pss • .scm • .vb |
Documentation | Leeds Engine • Opcodes • Radio Stations • Saves • Scrollbar • Vehicles |
Tools | Sanny Builder |
Useful Links | Community Portal • Discussion Forum • Modding Topic • Mobile Modding |