-
Notifications
You must be signed in to change notification settings - Fork 11
ObjMods
Water edited this page Aug 24, 2019
·
1 revision
The ObjMods are map-archive files that apply modifications to slk-defined objects or create copies of them with a new id that can also be modified.
- int: fileVersion
- ObjsChunk: origObjs
- ObjsChunk: customObjs
ObjsChunk:
- int: objsCount
- obj[objsCount]: objs:
- id: baseId
- id: newId (0 if orig obj)
- ModsChunk: modsChunk
ModsChunk:
- int: modsCount
- Mod[modsCount]:
- id: fieldId
- int: varType
- 0 = int
- 1 = real
- 2 = unreal
- 3 = string
- if extended:
- int: level/variation
- int: dataPt
- int/float/string: val
- id: endToken (0, baseId or newId)
obj type | map file | campaign file | extended | meta slk | primary obj slk |
---|---|---|---|---|---|
Ability | war3map.w3a | war3campaign.w3a | x | Units\AbilityMetaData.slk | Units\AbilityData.slk |
Destructable | war3map.w3b | war3campaign.w3b | Units\DestructableMetaData.slk | Units\DestructableData.slk | |
Doodad | war3map.w3d | war3campaign.w3d | x | Doodads\DoodadMetaData.slk | Doodads\Doodads.slk |
Buff | war3map.w3h | war3campaign.w3h | AbilityBuffMetaData.slk | Units\AbilityBuffData.slk | |
Upgrade | war3map.w3q | war3campaign.w3q | x | Units\UpgradeMetaData.slk | Units\UpgradeData.slk |
Item | war3map.w3t | war3campaign.w3t | Units\UnitMetaData.slk | Units\ItemData.slk | |
Unit | war3map.w3u | war3campaign.w3u | Units\UnitMetaData.slk | Units\UnitData.slk |
var | meta id | data type |
---|---|---|
ART_ANIMS | aani | List<String> |
ART_BUTTON_POS_X | abpx | int |
ART_BUTTON_POS_Y | abpy | int |
ART_BUTTON_OFF_POS_X | aubx | int |
ART_BUTTON_OFF_POS_Y | auby | int |
ART_BUTTON_RESEARCH_POS_X | arpx | int |
ART_BUTTON_RESEARCH_POS_Y | arpy | int |
ART_EFFECT | aeat | List<Model> |
ART_EFFECT_AREA | aaea | List<Model> |
ART_EFFECT_CASTER | acat | List<Model> |
ART_EFFECT_CASTER_ATTACH | acap | List<String> |
ART_EFFECT_CASTER_ATTACH1 | aca1 | List<String> |
ART_EFFECT_CASTER_ATTACH_COUNT | acac | int |
ART_EFFECT_SPECIAL | asat | List<Model> |
ART_EFFECT_SPECIAL_ATTACH | aspt | List<String> |
ART_EFFECT_TARGET | atat | List<Model> |
ART_EFFECT_TARGET_ATTACH0 | ata0 | List<String> |
ART_EFFECT_TARGET_ATTACH1 | ata1 | List<String> |
ART_EFFECT_TARGET_ATTACH2 | ata2 | List<String> |
ART_EFFECT_TARGET_ATTACH3 | ata3 | List<String> |
ART_EFFECT_TARGET_ATTACH4 | ata4 | List<String> |
ART_EFFECT_TARGET_ATTACH5 | ata5 | List<String> |
ART_EFFECT_TARGET_ATTACH_COUNT | atac | int |
ART_ICON | aart | Icon |
ART_ICON_OFF | auar | Icon |
ART_ICON_RESEARCH | arar | Icon |
ART_LIGHTNING | alig | List<LightningId> |
ART_MISSILE_ARC | amac | real |
ART_MISSILE_ART | amat | List<Model> |
ART_MISSILE_HOMING | amho | bool |
ART_MISSILE_SPEED | amsp | int |