Dromed - Dark Mod Differences: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
Fidcal (talk | contribs)
Line 26: Line 26:
Portalizing prevents unnecessary areas of the mission (that the player cannot currently see) being rendered - so improving performance.
Portalizing prevents unnecessary areas of the mission (that the player cannot currently see) being rendered - so improving performance.


Portalizing needs to be done manually. It does not need to be done every time the mission is dmapped but when you judge. It only needs doing once (if correct!) and is mostly done in increments for each main area. See [[Visportals]]
Portalizing needs to be set up manually. That does not need to be done every time the mission is dmapped but when you judge. It only needs doing once (if correct!) and is mostly done in increments for each main area. See [[Visportals]]


== Entities, Objects ==
== Entities, Objects ==

Revision as of 05:14, 1 October 2007

written by Fidcal

Introduction

If you come to Dark Mod from Dromed then here's a summary of essential differences to save some head-scratching

'Maps' v 'Missions'

Missions have been commonly called 'maps' in Doom circles though this is perhaps best used to refer to the mission file which is a .map file to avoid confusion with in-game maps. The use of the term 'Missions' is recommended!

Brushes: Solid versus Void

There are no air brushes in Dark Mod. Instead of scooping out air brushes in solid, in Dark Mod solid brushes must be built in a void and the game space must be fully enclosed within those solid brushes. Any gaps will cause leaks and prevent compiling.

Dark Mod brushes need not be static but can be assigned singly or in groups to entities as doors, elevators, etc.

Room brushes, Sound Propogation

There is no need for any special room brushes in Dark Mod; sound works immediately after the map is compiled.

Sound to the player is propogated in a direct straight line even through solid brushes if the area is not sealed. It is only stopped by areas completely sealed by Visportals.

Sound from the player to AI is routed through Visportals.

Portalizing

Portalizing prevents unnecessary areas of the mission (that the player cannot currently see) being rendered - so improving performance.

Portalizing needs to be set up manually. That does not need to be done every time the mission is dmapped but when you judge. It only needs doing once (if correct!) and is mostly done in increments for each main area. See Visportals

Entities, Objects

Tangible objects in Dark Mod can be models created externally or brushes. Generally more complex and/or small items are models while brushes cna be used to make simpler ones like tables or doors.

Models and brushes can be static, non-functioning or else assigned to entities.

Entities are effectively functions that have some operation such as a door or elevator entity. Some of these already have models assigned.

Properties, Metaproperties

Object properties are often referred to as 'entity keys' and 'key value pairs' by programmers. The 'key' is the property name and the 'value' can be numeric or text depending on the property.

There are no metaproperties in Dark Mod. There is some control of properties in-game but many properties are pre-defined and fixed.

Links

Links in Dark Mod are essentially properties of the 'sending' entity. A common link property is Target, used as a switch. Bind is used to attach eg, a flame to a candle for carrying purposes.