Objects, General Info for Mission Designers: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 14: Line 14:
Entity types are:
Entity types are:


'''Moveables''' which are items the player can interact with. They can be frobbed, picked up, rotated, thrown.
[[Image:Moveable pos.jpg|right]]'''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''
They could also be a door knob (frobbable) or a rotating gear (non-frob). ''atdm:item_book_red1'' It is important when placing these that their collision model does not clip into the surface they stand on (see image) else they will sink down if nudged in game (switch off collision model filtering in the editor to check.)


'''Animated''' objects have been animated in a 3d program such as Blender, Lightwave or 3dsMax.
'''Animated''' objects have been animated in a 3d program such as Blender, Lightwave or 3dsMax.

Revision as of 06:07, 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:

Moveable pos.jpg

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 It is important when placing these that their collision model does not clip into the surface they stand on (see image) else they will sink down if nudged in game (switch off collision model filtering in the editor to check.)

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...