TOBJ: Difference between revisions
m (Completing import, removed: {{N|4|SA}}) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{IdeSection | {{IdeSection | ||
| game = [[GTA III]], [[GTA VC]], [[GTA SA]], [[GTA IV]] | | game = [[Grand Theft Auto III|GTA III]], [[Grand Theft Auto: Vice City|GTA VC]], [[Grand Theft Auto: San Andreas|GTA SA]], [[Grand Theft Auto IV|GTA IV]] | ||
| description = Used to define timed map objects | | description = Used to define timed map objects | ||
}} | }} | ||
'''TOBJ''' is a section in the [[item definition]] file. It is used to define timed map objects. Objects will be visible at during specific time. They can be made to appear to change from one object to another on a specific time of day. | '''TOBJ''' is a section in the [[IDE|item definition]] file. It is used to define timed map objects. Objects will be visible at during specific time. They can be made to appear to change from one object to another on a specific time of day. | ||
==GTA III - San Andreas== | ==GTA III - San Andreas== | ||
Line 10: | Line 10: | ||
ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags, TimeOn, TimeOff | ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags, TimeOn, TimeOff | ||
All but the last two columns are the same as the [[OBJS]] section. | All but the last two columns are the same as the [[OBJS]] section. | ||
{| | {|class="prettytable" width="100%" | ||
!width="250px"|Identifier | !width="250px"|Identifier | ||
!Description | !Description | ||
Line 16: | Line 16: | ||
|<center>ID</center>||unique object ID (integer) | |<center>ID</center>||unique object ID (integer) | ||
|- | |- | ||
|<center>ModelName</center>||name of the .dff [[model file]], without extension (string) | |<center>ModelName</center>||name of the .dff [[DFF|model file]], without extension (string) | ||
|- | |- | ||
|<center>TextureName</center>||name of the .txd [[texture dictionary]], without extension (string) | |<center>TextureName</center>||name of the .txd [[TXD|texture dictionary]], without extension (string) | ||
|- | |- | ||
|<center>ObjectCount</center>||amount of sub objects, e.g. damaged parts, usually 1 (integer) - '''''optional for SA, default 1''''' | |<center>ObjectCount</center>||amount of sub objects, e.g. damaged parts, usually 1 (integer) - '''''optional for SA, default 1''''' | ||
Line 36: | Line 36: | ||
Note that GTA IV does not use any unique object ID numbers. All but the last column are the same as the [[OBJS]] section. | Note that GTA IV does not use any unique object ID numbers. All but the last column are the same as the [[OBJS]] section. | ||
{| | {|class="prettytable" width="100%" | ||
!width="250px"|Identifier | !width="250px"|Identifier | ||
!Description | !Description | ||
|- | |- | ||
|<center>ModelName</center>||name of the .wdr [[model file]], without extension (string) | |<center>ModelName</center>||name of the .wdr [[DFF|model file]], without extension (string) | ||
|- | |- | ||
|<center>TextureName</center>||name of the .wtd [[texture dictionary]], without extension (string) | |<center>TextureName</center>||name of the .wtd [[TXD|texture dictionary]], without extension (string) | ||
|- | |- | ||
|<center>DrawDistance</center>||[[draw distance]] in [[unit]]s, one for each sub object (float) | |<center>DrawDistance</center>||[[draw distance]] in [[unit]]s, one for each sub object (float) | ||
Line 61: | Line 61: | ||
|} | |} | ||
{{fdl}} | {{fdl}} | ||
{{modding}} | |||
[[Category:GTA III Modifications]] | |||
[[Category:GTA Vice City]] | |||
[[Category:Modifications]] | [[Category:Modifications]] |
Revision as of 23:00, 9 September 2010
Supported games: | GTA III, GTA VC, GTA SA, GTA IV | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Short description: | Used to define timed map objects | ||||||||||||||
IDE Sections:
|
TOBJ is a section in the item definition file. It is used to define timed map objects. Objects will be visible at during specific time. They can be made to appear to change from one object to another on a specific time of day.
GTA III - San Andreas
All TOBJ objects needs a daytime and a nighttime object at a point to show up at all times. If one object doesn't have the correct timing or is missing entirely, the game will keep using the existing TOBJ object. You will not see a hole in the ground.
Format
ID, ModelName, TextureName, ObjectCount, DrawDist, [DrawDist2, ...], Flags, TimeOn, TimeOff
All but the last two columns are the same as the OBJS section.
Identifier | Description |
---|---|
unique object ID (integer) | |
name of the .dff model file, without extension (string) | |
name of the .txd texture dictionary, without extension (string) | |
amount of sub objects, e.g. damaged parts, usually 1 (integer) - optional for SA, default 1 | |
draw distance in units, one for each sub object (float) | |
object flags, defining special behavior, default 0 (integer) | |
activation time in game hours (integer) | |
deactivation time in game hours (integer) |
GTA IV
ModelName, TextureName, DrawDist, Flag1, Flag2, (Bounds min)X,Y,Z, (Bounds max)X,Y,Z, (Bounds Sphere)X,Y,Z, Radius, WDD, NightFlag
Note that GTA IV does not use any unique object ID numbers. All but the last column are the same as the OBJS section.
Identifier | Description |
---|---|
name of the .wdr model file, without extension (string) | |
name of the .wtd texture dictionary, without extension (string) | |
draw distance in units, one for each sub object (float) | |
object flag, defining special behavior | |
object flag, defining special behavior, default 0 (integer) | |
Lower Left vertex local position of a model bounding box | |
Upper Right vertex local position of a model bounding box | |
Radius dimensions of the bounding Sphere | |
the model dictionary file that contains the LOD model for the defined Modelname | |
assumed to be hardcoded time flags |
This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.
The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. See Grand Theft Wiki:Copyright for more information. |
Technical | IMG | DFF | TXD | IDE | GXT | Handling | Carcols | Dynamic Object |
Mods | Hot Coffee Modification | Create a Mission |
Tools | GGMM |
Game Files | Animviewer.dat/GTAVC | Bink | Default.dat/GTAVC | Chassis Vlo | Fistfite.dat/GTAVC | Flight.dat | Gta vc.dat | Object.dat/GTAVC | OpenGTA2 |Particle.cfg/GTAVC | Particle (SA) | Paths | Ped.dat/GTAVC | Pedgrp.dat/GTAVC | Pedstats.dat/GTAVC | Scenarios.dat | Scripted Path | Surface.dat/GTAVC | Surfaud.dat | TimeCyc Definition | Timecyc.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train2.dat/GTAVC | WAD | WBD-WBN | WPFL | Water.dat | Water.dat/GTAVC | Weapon.dat/GTAVC Weaponinfo.xml |
Multiplayer | Multi Theft Auto, Vice City Multiplayer, San Andreas Multiplayer |