Difference between revisions of ".ymap"
Jump to navigation
Jump to search
(→YTYP Formats) |
m () |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
'''.ymap''' is compressed file format which is used as map system placement. Since GTA5, this format has XML structure. | '''.ymap''' is compressed file format which is used as map system placement. Since GTA5, this format has XML structure. | ||
− | |||
− | + | == CMapData == | |
+ | |||
+ | {{Research}} | ||
− | + | CMapData is a parent section. It includes file description, flags and entities | |
− | |||
− | |||
− | |||
− | + | <name> - File name definition | |
+ | <parent> - Subfiles (_strm, _long, etc.) links to the main ymap file. | ||
+ | <flags> - It's unknown what flags do. Some external formats uses value "2" and other - "0". | ||
+ | <hash_6A675035> - unknown. | ||
− | + | === <entities> === | |
− | + | This section enumerate objects and sections in ymap file. | |
− | + | ===<CEntityDef>=== | |
− | == | + | <archetypeName> - Model name |
+ | <flags value/> - Object flags | ||
+ | <guid value> | ||
+ | <position x="" y="" z=""> - object coordinates | ||
+ | <rotation x="" y="" z="" w=""> - object rotation | ||
+ | <scaleXY value=""/> | ||
+ | <scaleZ value="1"/> | ||
+ | <parentIndex value="" /> - Lod Index | ||
+ | <lodDist value="" /> - Lod Distance | ||
+ | <childLodDist value=""/> | ||
+ | <numChildren value="0"/> | ||
+ | <priorityLevel>PRI_REQUIRED</priorityLevel> | ||
+ | <extensions/> | ||
+ | <ambientOcclusionMultiplier value=""/> | ||
+ | <artificialAmbientOcclusion value=""/> | ||
+ | <tintValue value="0"/> | ||
− | |||
− | |||
− | |||
− | + | ====<extensions>==== | |
− | + | This subsection includes other additional sections. | |
− | === < | + | ====<CExtensionDefLightEffect>==== |
− | + | {{incomplete}} | |
− | + | ====<timeCycleModifiers>==== | |
− | |||
− | |||
− | === < | + | ====<carGenerators>==== |
− | + | ====<LODLightsSOA>==== | |
− | == < | + | ====<DistantLODLightsSOA>==== |
− | + | ==== <block> ==== | |
− | + | Ignored by the game | |
− | + | {{N|V}} | |
− | + | [[Category:File Formats]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 21:35, 17 July 2017
.ymap is compressed file format which is used as map system placement. Since GTA5, this format has XML structure.
Contents
CMapData
CMapData is a parent section. It includes file description, flags and entities
<name> - File name definition <parent> - Subfiles (_strm, _long, etc.) links to the main ymap file. <flags> - It's unknown what flags do. Some external formats uses value "2" and other - "0". <hash_6A675035> - unknown.
<entities>
This section enumerate objects and sections in ymap file.
<CEntityDef>
<archetypeName> - Model name <flags value/> - Object flags <guid value> <position x="" y="" z=""> - object coordinates <rotation x="" y="" z="" w=""> - object rotation <scaleXY value=""/> <scaleZ value="1"/> <parentIndex value="" /> - Lod Index <lodDist value="" /> - Lod Distance <childLodDist value=""/> <numChildren value="0"/> <priorityLevel>PRI_REQUIRED</priorityLevel> <extensions/> <ambientOcclusionMultiplier value=""/> <artificialAmbientOcclusion value=""/> <tintValue value="0"/>
<extensions>
This subsection includes other additional sections.
<CExtensionDefLightEffect>
This section is incomplete. You can help by fixing and expanding it.
<timeCycleModifiers>
<carGenerators>
<LODLightsSOA>
<DistantLODLightsSOA>
<block>
Ignored by the game
Grand Theft Auto V | |
---|---|
File Formats | .awc • .dat • .gfx • .gxt2 • .ide • .meta/.ymt/.xml • .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 • CodeWalker |
Multiplayer | GTAForums: GTA Online |
Useful links | Community portal • Discussion forums • GTA V Modding Forum • GTA5-Mods • Native Functions Database (alloc8or) |