TDM Movers: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
New page: For The Dark Mod, we extended the existing idMover class by a set of classes specifically designed for creating maps in the medieval steampunk setting. Apart from elevators, most movers in... |
No edit summary |
||
(24 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
There are two base classes: '''BinaryFrobMover''' and '''MultiStateMover''', which both build on top of the vanilla Doom 3 '''idMover''' class and provides all the methods needed to make all kinds of two- or multistate movers. | There are two base classes: '''BinaryFrobMover''' and '''MultiStateMover''', which both build on top of the vanilla Doom 3 '''idMover''' class and provides all the methods needed to make all kinds of two- or multistate movers. | ||
Each following | Each following articles are dedicated to the various subclasses, listing information about spawnargs, script events as well as the C++ methods, where appropriate. | ||
* [[CBinaryFrobMover]] (atdm:mover_binarymover_base) | |||
** [[CFrobDoor]] (atdm:mover_door) | |||
** [[CFrobDoorHandle]] (atdm:mover_door_handle) | |||
** [[CFrobButton]] (atdm:mover_button) | |||
*** [[CMultiStateMoverButton]] (atdm:mover_elevator_button) | |||
** [[CFrobLever]] (atdm:mover_lever) | |||
* [[CMultiStateMover]] (atdm:mover_multistate / atdm:mover_elevator) | |||
* [[CMultiStateMoverPosition]] (atdm:mover_multistate_position) | |||
{{editing}} {{sdk}} | |||
Latest revision as of 07:41, 30 June 2008
For The Dark Mod, we extended the existing idMover class by a set of classes specifically designed for creating maps in the medieval steampunk setting. Apart from elevators, most movers in TDM are two-state movers, meaning that they can be either in "open" or "closed" state. The class hierarchy is depicted here (I use the internal C++ class names here):
There are two base classes: BinaryFrobMover and MultiStateMover, which both build on top of the vanilla Doom 3 idMover class and provides all the methods needed to make all kinds of two- or multistate movers.
Each following articles are dedicated to the various subclasses, listing information about spawnargs, script events as well as the C++ methods, where appropriate.
- CBinaryFrobMover (atdm:mover_binarymover_base)
- CFrobDoor (atdm:mover_door)
- CFrobDoorHandle (atdm:mover_door_handle)
- CFrobButton (atdm:mover_button)
- CMultiStateMoverButton (atdm:mover_elevator_button)
- CFrobLever (atdm:mover_lever)
- CMultiStateMover (atdm:mover_multistate / atdm:mover_elevator)
- CMultiStateMoverPosition (atdm:mover_multistate_position)