Objects, General Info for Mission Designers: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
New page: ''written by Baddcog'' To add an object right-click on any 2d window (preferably where you want the object to appear). '''Objects''' can be ''static'' or ''entity''. Select '''Create Mod...
 
Fidcal (talk | contribs)
No edit summary
Line 6: Line 6:
Sometimes a combination of static and entity objects can be an easy way to make an ''animated'' object.
Sometimes a combination of static and entity objects can be an easy way to make an ''animated'' object.


'''Static''' objects are models that won't move in game. Furniture, pillars, plants, ect... A candle stick could be a static and get knocked over. The player can't frob them though.
'''Static''' objects are models that won't move in game. Furniture, pillars, plants, ect... A candle stick could be a static and get knocked over. The player can't normally frob them though.


'''Entity''' objects are more complex. They use the same models as the statics but properties can be applied through a ''def'' file.
'''Entity''' objects are more complex. They use the same models as the statics but properties can be applied through a ''def'' file.

Revision as of 05:59, 4 May 2008

written by Baddcog

To add an object right-click on any 2d window (preferably where you want the object to appear). Objects can be static or entity. Select Create Model to create static objects or Create Entity for entity objects. Both types can be viewed in the model viewer (need link).

Sometimes a combination of static and entity objects can be an easy way to make an animated object.

Static objects are models that won't move in game. Furniture, pillars, plants, ect... A candle stick could be a static and get knocked over. The player can't normally frob them though.

Entity objects are more complex. They use the same models as the statics but properties can be applied through a def file. These properties can range from frobbing to animation and particle attachments. Loot has properties that make it unique so it will be found in the entity inspector (L) under atdm/loot/ atdm:loot_amulet (for example).


Entity types are:

Moveables which are items the player can interact with. They can be frobbed, picked up, rotated, thrown. They could also be a door knob (frobbable) or a rotating gear (non-frob). atdm:item_book_red1

Animated objects have been animated in a 3d program such as Blender, Lightwave or 3dsMax. They could be a non-moving machine that is animated so it's pistons and gears move or they could be an AI.

AI of course refers to characters in the game. Taffers, maidens, servants, rats,... the list goes on. Most human AI will not have a head in the editor, one is attached via def files and will be spawned when the game starts. This allows use of many heads on each body. darkmod/AI/Builder, ect...

Entities can have physics models (ragdolls) such as a bucket with a handle. These are under atdm:env_bucket... Ropes are here. AI's corpses have ragdolls so you can drag them by an arm or leg, ect...