Objects, General Info for Mission Designers: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
No edit summary
Petike (talk | contribs)
m adding category tag
 
(5 intermediate revisions by 2 users not shown)
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 normally frob them though.
==Static Objects==
'''Static''' objects are models that won't move in game. Furniture, pillars, plants, ect... Just about anything that is a model can be a static object, and anything that the player is not going to interact with probably should be.  Be careful about placing static objects on top of moveable objects, however. If a static book is sitting on a moveable crate, and the crate gets moved away, the book will continue to float in the air.


==Entity Objects==
'''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.
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).
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).
Line 14: Line 16:
Entity types are:
Entity types are:


'''Moveables''' which are items the player can interact with. They can be frobbed, picked up, rotated, thrown.
===Moveable Objects===
They could also be a door knob (frobbable) or a rotating gear (non-frob). ''atdm:item_book_red1''
[[Image:Moveable pos.jpg|right]]'''Moveables''' which are items the player can interact with. They can usually (but not always) be frobbed, picked up, rotated, and/or 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===
'''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.
They could be a non-moving machine that is animated so it's pistons and gears move or they could be an ''AI''.
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.
===AI Objects===
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...
'''AI''' of course refers to characters in the game. Guards, maidens, servants, rats,... the list goes on.
Most human AI will not have a visible 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''...
Entities can have physics models (ragdolls) such as a bucket with a handle. These are under ''atdm:env_bucket''...
Line 28: Line 33:


[[Category:Editing]]
[[Category:Editing]]
[[Category:Mapping Tutorials]]

Latest revision as of 05:05, 22 November 2018

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

Static objects are models that won't move in game. Furniture, pillars, plants, ect... Just about anything that is a model can be a static object, and anything that the player is not going to interact with probably should be. Be careful about placing static objects on top of moveable objects, however. If a static book is sitting on a moveable crate, and the crate gets moved away, the book will continue to float in the air.

Entity Objects

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 Objects

Moveables which are items the player can interact with. They can usually (but not always) be frobbed, picked up, rotated, and/or 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

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 Objects

AI of course refers to characters in the game. Guards, maidens, servants, rats,... the list goes on. Most human AI will not have a visible 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...