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
- 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
- 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... that perform a timed sequence of actions. If the line is deactivated the processing of the chain sequen
- mimic_sector @xg:class
- get Num| [[lsref]], [[lsrefd]]| Target reference (Line → Sector). This tells Doomsday which sector(s) we... 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... ing this lines' tag will mimic the sector on this line's front side, when this line is shot" Flags
- plane_move @xg:class
- ement (Fp1). <li> pmf_abort_a: will activate the line that initiated the plane move if the moving of th... aborted. <li> pmf_abort_d: will deactivate the line that initiated the plane move if the moving of th... is aborted. <li> pmf_done_a: will activate the line that initiated the plane move when the plane reac... on height. <li> pmf_done_d: will deactivate the line that initiated the plane move when the plane reac
- damage @xg:class
- 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... Max Delta = -15 Max Limit = 150 } The line is triggered when the player uses the line (Flags
- 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
- line_type_class
- ====== Line type class (XG) ====== The //class// of an [[xg:line_type|XG line type]] defines its function. Each type belongs to a single class and thus performs only on... of a sector. The Class [[property]] of the [[ded:line_type|Line Type]] definition selects the class to