Difference between revisions of "ANIM"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
=== San Andreas === | === San Andreas === | ||
− | + | {{Pre| | |
anim | anim | ||
Id, ModelName, TxdName, AnimationName, DrawDistance, Flags | Id, ModelName, TxdName, AnimationName, DrawDistance, Flags | ||
end | end | ||
− | + | }} | |
{|class="wikitable center-col-1 center-col-2" style="width: 100%;" | {|class="wikitable center-col-1 center-col-2" style="width: 100%;" | ||
Line 30: | Line 30: | ||
| E || DrawDistance || float || [[Draw distance]] in [[unit]]s. | | E || DrawDistance || float || [[Draw distance]] in [[unit]]s. | ||
|- | |- | ||
− | | F || Flags || integer || | + | | F || Flags || integer || [[Item Definition#IDE Flags|Object flags]] |
|} | |} | ||
Line 36: | Line 36: | ||
=== GTA IV === | === GTA IV === | ||
− | + | {{Pre| | |
anim | anim | ||
ModelName, TxdName, AnimationName, DrawDistance, Flag, unknown, MinX, MinY, MinZ, MaxX, MaxY, MaxZ, SphereX, SphereY, SphereZ, Radius, LODModel | ModelName, TxdName, AnimationName, DrawDistance, Flag, unknown, MinX, MinY, MinZ, MaxX, MaxY, MaxZ, SphereX, SphereY, SphereZ, Radius, LODModel | ||
end | end | ||
− | + | }} | |
{|class="wikitable center-col-1 center-col-2" style="width: 100%;" | {|class="wikitable center-col-1 center-col-2" style="width: 100%;" | ||
Line 56: | Line 56: | ||
| D || DrawDistance || float || Draw distance in units. | | D || DrawDistance || float || Draw distance in units. | ||
|- | |- | ||
− | | E || Flag || integer || | + | | E || Flag || integer || [[Item Definition#IDE Flags|Object flag]] |
|- | |- | ||
| F || ''unknown'' || float || Unknown integer (0 by default). | | F || ''unknown'' || float || Unknown integer (0 by default). | ||
Line 70: | Line 70: | ||
| Q || LODModel || string || Name of the <code>[[WDD|.wdd]]</code> file that contains the ''lod model'' for the defined modelname. | | Q || LODModel || string || Name of the <code>[[WDD|.wdd]]</code> file that contains the ''lod model'' for the defined modelname. | ||
|} | |} | ||
− | |||
− | |||
− | |||
== Statistics == | == Statistics == |
Latest revision as of 06:51, 31 May 2019
Supported games: | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Brief description: | Used to define animated map objects | |||||||||||||||
IDE Sections:
|
ANIM is a section in the item definition file in San Andreas and GTA IV. It is used to define standard map objects linked to an animation. Its format is almost exactly like standard map objects but with one additional parameter for the animation file. GTA IV added a section (TANM) that supports time controlled objects linked to animations.
Format
San Andreas
anim Id, ModelName, TxdName, AnimationName, DrawDistance, Flags end
Identifier | Type | Description | |
---|---|---|---|
A | Id | integer | Unique object ID. |
B | ModelName | string | Name of the .dff model file without extension.
|
C | TxdName | string | Name of the .txd texture dictionary without extension.
|
D | AnimationName | string | Name of the .ifp animation file without extension.
|
E | DrawDistance | float | Draw distance in units. |
F | Flags | integer | Object flags |
Note that animated models still have static collisions. This means that the collision do not animate with the model since it does not contain bone information for the animation. If you want to move objects, you can do this using the script. [1]
GTA IV
anim ModelName, TxdName, AnimationName, DrawDistance, Flag, unknown, MinX, MinY, MinZ, MaxX, MaxY, MaxZ, SphereX, SphereY, SphereZ, Radius, LODModel 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 | DrawDistance | float | Draw distance in units. |
E | Flag | integer | Object flag |
F | unknown | float | Unknown integer (0 by default). |
G,H,I | MinX, MinY, MinZ | float[3] | Lower left corner of the bounding box for the object. |
J,K,L | MaxX, MaxY, MaxZ | float[3] | Upper right corner of the bounding box for the object. |
M,N,O | SphereX, SphereY, SphereZ | float[3] | Center of the bounding sphere for the object. |
P | Radius | float | Radius of the bounding sphere into all dimensions. |
Q | LODModel | string | Name of the .wdd file that contains the lod model for the defined modelname.
|
Statistics
Total number of ANIM entries in:
- San Andreas: 54
- GTA IV: 158
References
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 |