Fulltext results:
- map_object_reference
- potential usage of this functionality would be a line type which upon [[xg:activation_requirement|activation]], ends the current [[map]] and sets the next map... ogression according to a value specified with a [[line]]'s top [[material]] offset (interpreting it as a... m in a method it calls "property overloading". //Line data references// or //ldrefs// are line property references. They are typically used in combination wi
- chains
- === Available chains ===== ^ Name^ Actioned | | Activation (Act.)| When a trigger line type is [[xg_line_activation|activated]]. | | Deactivation (Deact.)| When a trigger line type is [[xg_line_activation|deactivated]]. | | Event| When a trigger line type receiv... chain. If the event passes (i.e., it meets the [[xg:line_activation_requirements|(de)activation requirements]] of the chained type) further proce... effect this allows for alternate functions and/or activation methods/requirements for a single line type. ===== Sector Type Chains ===== Each [[x
- chain_sequence @xg:class
- in 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 possib... 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 line is deactivated the processing of the chain sequen
- 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... possible to assign multiple trigger events to an XG line and freely mix n' match activation/deactivation trigger events. An example would be a switch th... ent type" (see below), the current "state" of the line (ie active/inactive) and the [[xg:activation requirements]]. In order to function correctly an XG line definition **MUST** specify at least one trigger
- teleport @xg:class
- No Sound = 1 Always Stomp = 1 } The line is activated when the player crosses it. On activation, the player will be teleported to the first telep... irst sector found whose tag matches the activated line. No teleport effects will be rendered and there w
- enable_if_inactive @xg:class
- <code>Class = enable_if_inactive </code> If the linetype is [[xg:line_activation|active]], enables all the referenced lines. If it's [[xg:line_activation|inactive]], the referenced lines are disabled. ===== Parameters ===== ^ Prm^ Name^ Type^ Meaning | | Ip0, Ip1| Target Ref, Target Num| [[lref]], [[lrefd]]| Reference to one or more lines. |
- disable_if_active @xg:class
- = <code>Class = disable_if_active </code> If the linetype is [[xg:line_activation|active]], disables all the referenced lines. If it's [[xg:line_activation|inactive]], the referenced lines are enabled. ===== Parameters ===== ^ Prm^ Name^ Type^ Meaning | | Ip0, Ip1| Target Ref, Target Num| [[lref]] [[lrefd]]| Reference to one or more lines. |
- line_type
- oes. The class's behavior is carried out when the line is [[xg:line_activation|activated]], [[xg:line_activation|deactivated]] (or both) or when some other triggering condition occurs. Some examples of line classes include [[xg:class:plane_move|Move Plane]], [[xg:class:end_level|End Level]], and [[xg:class:wall_texture|Change Wall Texture]]. Line types are a fundamental building block of XG. Please see the [[xg:reference_guide|XG reference guide]] for more information about how to use line types. ===== Example ===== An XG Line Type definition begins like this: <code>L
- reference_guide
- ere is a lot to learn. ===== Overview ===== [[xg:line_type|Line type]]s separate the [[xg:triggers|activation method]], [[xg:activation_requirement|activation requirements]] and the [[xg:refs|effects]] of the line. It is possible to create 'chains' of line types, which effe... d **conditions** for triggering an action. * [[xg:line_activation|Behaviors]] - How the line should **behave** when activated/deactivated. * [[xg:chains|Chains]] - How to **chain** multiple line types together to perform several actions in sequ
- line_activation
- ====== Line activation (XG) ====== In [[XG]], a [[line]] has a state, it is always either //active// or //inactive//. ... y Trigger', it is ignored by default when testing activation requirements for XG line types. Use this flag to allow the 'Any Trigger' flag to override XG's activator type requirements. ===== See also ===== * [[xg:line_type]]
- line_teleport @xg:class
- ====== Line teleport (XG class) ====== <code>Class = line_teleport </code> Used to teleport activators of [[line]]s ... Exit Side = 0 Always Stomp = 1 } The line is activated when the player crosses it. On activation, the player will be teleported to the front side of line number 123. No teleport effects will be rendered
- 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 ... s a line can be activated. ===== Notes ===== A line's [[xg:activation_count]] in essence is a variable. Now a line can check the line count of other lines so for example if line X's line count is lower than A then don'
- 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... Requirements ===== To set the requirements for activation and deactivation within a [[line_type|Line Type]] definition, use the Flags property of the
- spref_line_act_tagged_ceiling @xg:refs
- Refers to the ceiling planes of all the XG sectors whose type's activation tag (Act tag) matches the referring line's tag number. This makes it possible to refer to a set of XG sector ceilings that belong to sectors of one or
- spref_line_act_tagged_floor @xg:refs
- Refers to the floor planes of all the XG sectors whose type's activation tag (Act tag) matches the referring line's tag number. This makes it possible to refer to a set of XG sector floors that belong to sectors of one or mo