Fulltext results:
- map_object_reference
- in fact, just about every time you create a new [[line_type|line]] or [[sector_type]] you will need to use at least one of them. Every time a [[line]] needs to perform an action on either itself, a [[sector]], another line or something else, a reference is needed. For exa
- activation_requirement
- ==== Activation requirements (XG) ====== An [[xg:line_type|Line Type]] can specify several requirements that must be met for the [[activation]] or [[deactivation]] of the line to succeed. These include for instance event type, a counter (as in "line can be activated N times"), activator type (playe
- triggers
- ====== XG triggers ====== An [[xg:line_type|Line Type]]'s [[xg:line_activation|activation type]] concerns the event(s) that lead to the //triggering// of the line's class. A trigger is made up of two parts:
- line_activation
- ====== Line activation (XG) ====== In [[XG]], a [[line]] has a state, it is always either //active// or //inactive//. A [[line]] can be //activated// and //deactivated// in var... Activation and deactivation happens according to line events, which occur under specific gameplay circu
- line_count @xg:class
- ====== Line count (XG class) ====== <code>Class = line_count </code> Modifies the [[xg:line_counter|activation counter]]s of the referenced [[modding:line]]s. Each XG line has a built-in counter that is
- chains
- . This can be achieved by //chaining// multiple [[line_type|line types]] together. There are no restrictions on the number or combination of classes that can ... hained together. Note that the activator of each line type in the chain is that which triggered the ini... after a given amount of time has passed. The door line type's activation chain would move the ceiling of
- line_type
- ====== Line Type (XG, DED) ====== A //Line Type// defines the behavior of a [[modding:line|map line]], i.e., a wall in the map. Line behaviors are implemented by various [[xg:class|XG classes]
- reference_guide
- ide ====== **XG** (E**x**tended **G**eneralised Line/Sector Types) is a powerful, flexible addition to... ===== [[games:Doom]] has a number of hard-coded line and sector types, each of which are programmed to... tem was developed to allow you to create your own line and sector types for use in [[fs:pwad]]s. If you... is a lot to learn. ===== Overview ===== [[xg:line_type|Line type]]s separate the [[xg:triggers|acti
- chain_sequence @xg:class
- sequence can be used to chain many different [[xg:line type]]s (of any class) behind one line. For example, using a chain sequence it is possible to have a sw... the same time, or at timed intervals. A special line class that sends [[xg:chain events]] to a copy of itself while active. This allows lines that perform a timed sequence of actions. If the
- examples
- ====== Line Type examples ====== ===== Restore sector light color & luminance ===== <code> Line Type { ID = 6101 Flags2 = when_deact | when... ight Type = flip Count = -1 Ip0 = "lpref_line_tagged_floors" Ip2 = 1 Ip3 = 1 Ip4 = "li... the sectors that have the same tag number as the line to their original values, when the line is activa
- mimic_sector @xg:class
- get Num| [[lsref]], [[lsrefd]]| Target reference (Line → Sector). This tells Doomsday which sector(s) we... icing. The mimic_sector class can only be used on lines and we need to reference one or more sectors, th... onent]] Ip1. For example: * Target Ref = "lsref_line_tagged" * Target Num = 8000 | | Ip2,Ip3| Mimic ... ref_highest_floor" | ===== Example ===== Line Type { ID = 5006 Comment = "Sectors w
- wall_material @xg:class
- erial Changes the [[material]] of the referenced lines. ===== Parameters ===== ^ Prm^ Name^ Type^ M... Num| [[xg:refs:lref]] | Reference to one or more lines. | | Ip2| Side Num| Integer| Zero or one. Specifies the line side to modify. Side zero is the front side. | | ... ture. If not specified, the upper textures of the lines won't be affected. | | Ip4| Middle Texture| Text
- damage @xg:class
- the player could receive a "shock". Damage class lines can only affect the activator of the line. It is possible however, to use an XG sector's floor chain to "call" an [[xg:line]] of damage class in order to deal damage to all ... t rise above this. | ===== Example ===== Line Type { ID = 5006 Comment = "Give health w
- line_teleport @xg:class
- ====== Line teleport (XG class) ====== <code>Class = line_teleport </code> Used to teleport activators of [[line]]s of this class to a relative position along another [[line]] in the map. This is commonly used to create sea
- power @xg:class
- p the power from the player's armor. Power class lines can only affect the activator of the line and the activator must be a player. It is possibile however,... to use an XG sector's floor chain to "call" an XG line of power class in order to modify the power of al... e this. Default: 0 | ===== Example ===== Line Type { ID = 5006 Comment = "Give armo