Object Data: Difference between revisions
From Populous Wiki
IncaWarrior (talk | contribs) (→Buildings: added missing numbers) |
IncaWarrior (talk | contribs) |
||
Line 179: | Line 179: | ||
===Spell Cast=== | ===Spell Cast=== | ||
*01 - Burn | |||
*02 - [[Blast]] | *02 - [[Blast]] | ||
*03 - [[Lightning]] | *03 - [[Lightning]] |
Revision as of 04:00, 30 September 2009
When editing the object data in dat files each object has an ID and Category. See Dat Format for more information.
Categories
- 01 - Followers
- 02 - Buildings
- 03 - Creature
- 04 - Vehicle
- 05 - Scenery
- 06 - General
- 07 - Effect
- 11 - Spell
Followers
- 01 - Wildman
- 02 - Brave
- 03 - Warrior
- 04 - Preacher
- 05 - Spy
- 06 - Firewarrior
- 07 - Shaman
- 08 - Angel of Death
Buildings
- 01 - Small Hut
- 02 - Medium Hut
- 03 - Large Hut
- 04 - Guard Tower
- 05 - Temple
- 06 - Spy Training Hut
- 07 - Warrior Training Hut
- 08 - Firewarrior Training Hut
- 09 - Reconversion (unused)
- 10 - Wall Piece (unused)
- 11 - Gate (unused)
- 12 - Curr OE Slot (unused)
- 13 - Boat Hut
- 14 - Boat Hut 2
- 15 - Balloon Hut
- 16 - Balloon Hut 2
- 17 - Guard Post
- 18 - Vault of Knowledge
- 19 - Prison
Creature
- 01 - Eagle
Vehicle
Scenery
- 01 - Tree 1
- 02 - Tree 2
- 03 - Tree 3
- 04 - Tree 4
- 05 - Tree 5
- 06 - Tree 6
- 07 - Plant 1
- 08 - Plant 2
- 09 - Stone Head
- 10 - Fire
- 11 - Wood Pile
- 12 - Reincarnation Site Pillar
- 13 - Rock
- 14 - Portal
- 15 - Island
- 16 - Bridge
- 17 - Dormant Tree
- 18 - Top Level Scenery
- 19 - Sub Level Scenery
General
- 02 - Discovery
- 06 - Trigger
Effect
- 01 - Simple Blast
- 02 - Sprite Circles
- 03 - Smoke
- 04 - Lightning Elem
- 05 - Burn Cell Obstacles
- 06 - Flatten Land
- 07 - Move Rs Pillar
- 08 - Prepare Rs Land
- 09 - Sphere Explode
- 10 - Fireball
- 11 - Firecloud
- 12 - Ghost Army
- 13 - Invisibility
- 14 - Explode Bldg Partial
- 15 - Volcano
- 16 - Hypnotism
- 17 - Lightning Bolt
- 18 - Swamp
- 19 - Angel of Death
- 20 - Tornado
- 21 - Swarm
- 22 - Firestorm
- 23 - Erosion
- 24 - Landbridge (Requires addinional parameters]]
- 25 - Wrath of God
- 26 - Earthquake
- 27 - Fly Thingummy
- 28 - Sphere Explode And Fire
- 29 - Big Fire
- 30 - Lightning
- 31 - Flatten
- 32 - General
- 33 - Shape Sparkle
- 34 - Lava Flow
- 35 - Volcano Explosions
- 36 - Purify Land
- 37 - Unpurify Land
- 38 - Explosion 1
- 39 - Explosion 2
- 40 - Lava Square
- 41 - Ww Element
- 42 - Lightning Strand
- 43 - Ww Dust
- 44 - Raise Land
- 45 - Lower Land
- 46 - Hill
- 47 - Valley
- 48 - Place Tree
- 49 - Rise
- 50 - Dip
- 51 - Rein Rock Debris
- 52 - Clear Mapwho
- 53 - Place Shaman
- 54 - Place Wild
- 55 - Bldg Smoke
- 56 - Much Simpler Blast
- 57 - Tumbling Branch
- 58 - Conversion Flash
- 59 - Hypnosis Flash
- 60 - Sparkle
- 61 - Small Sparkle
- 62 - Explosion 3
- 63 - Rock Explosion
- 64 - Lava Gloop
- 65 - Splash 6
- 66 - Smoke Cloud
- 67 - Smoke Cloud Constant
- 68 - Fireball 2
- 69 - Ground Shockwave
- 70 - Orbiter
- 71 - Big Sparkle
- 72 - Meteor
- 73 - Convert Wild
- 74 - Bldg Smoke 2 Full
- 75 - Bldg Smoke 2 Partial
- 76 - Bldg Damaged Smoke
- 77 - Delete Rs Pillars
- 78 - Spell Blast
- 79 - Firestorm Smoke
- 80 - Player Dead
- 81 - Reveal Fog Area
- 82 - Shield
- 83 - Boat Hut Repair
- 84 - Reedy Grass
- 85 - Swamp Mist
- 86 - Armageddon
- 87 - Bloodlust
- 88 - Teleport
- 89 - Atlantis Set
- 90 - Atlantis Invoke
- 91 - Statue To Aod
- 92 - Fill One Shot
- 93 - Fire Roll Elem
Spell Cast
- 01 - Burn
- 02 - Blast
- 03 - Lightning
- 04 - Tornado
- 05 - Swarm
- 06 - Invisibility
- 07 - Hypnotise
- 08 - Firestorm
- 09 - Ghost Army
- 10 - Erode
- 11 - Swamp
- 12 - Landbridge
- 13 - Angel of Death
- 14 - Earthquake
- 15 - Flatten
- 16 - Volcano
- 17 - Convert
- 18 - Armageddon
- 19 - Magical Shield
- 20 - Bloodlust
- 21 - Teleport
Worship Items
Worship Item
The worship item is an object which has the general properties to it, for example the orintation and position. The worship item is eirther a Stone Head or a Vault of Knowledge.
Triggers
Every worship item uses a trigger. Triggers give the properties of a worship item and what happens when it is worshipped. Triggers are placed on the same position as the worship item.
The trigger holds this information about the worship item. After the general information about the object the trigger information continues.
Byte 01 - 6 (Trigger) Byte 02 - 6 (Category, General) Byte 03 - 0 (Blue must own the trigger) Byte 05 - X-Axis of worship item Byte 07 - Y-Axis of worship item Byte 08 - 0 (Head type - 0:Stone Head, 3:Obelisk, 5:Gargoyle) Byte 09 - 1 (Cell radius is normally 1) Byte 11 - 3 (Occurences) Byte 12 - 6 (Number of followers to worship it, it is 1 if it is an obelisk or gargoyle) Word 34 - 180 (Time to worship in Game Turns) Byte 38 - 1 (Inactive Time, again it is normally 1)
These are all the settings a trigger has. From the 14th byte to 33 are 10 words containing the effects or discoveries linked to it. A trigger can hold up to 10 effects, the word contains the idx of the effect.
The idx is the initial object count in the dat file. For example you might have 40 objects in the dat file and the 7th object was the effect, the idx would be 7. Then the effect occurs only when the worship object has been worshipped.
Discoveries
Triggers can be linked to almost anything from discoveries to followers. A discovery is a spell or building that is obtained.
The discovery holds the information about what it gives you.
Byte 01 - 2 (Discovery) Byte 02 - 6 (Category, General) Byte 03 - 255 (Owned by nobody) Byte 05 - X-Axis, can basically be anywhere normally is on the Byte 07 - Y-Axis, same spot as the worship item, especially for Vault of Knowledges. Byte 08 - 11 (Type - 2:Building, 11:Spell) Byte 09 - 4 (Spell/Building, uses the same ids as an object would use) Byte 10 - 3 (1:Permenant, 3:Single) Permenant is used for Vault of Knowledges, otherwise it is single. Byte 11 - 1
Effects can also be used, see a list of effects above. If no discovery is linked to a Stone Head it will appear as a Totem Pole in the game.
Rising Stone Heads
On some levels Stone Heads can rise when another Stone Head is worshipped. This is done by making another Stone Head with a trigger etc. and then linking the Worship Object and the Trigger to the Trigger that will making it rise.