Fulltext results:
- reference_guide
- y in an interaction. ==== Examples ==== * [[line_type_examples|Line Type examples]] * [[sector_type_examples|Sector Type examples]] * [[colored_xg_sector_lighting_example|Sector light color examples]] * [[howto:combination_lock|How to create a c... k]] ==== Reference guides ==== * [[xg:class|Line classes]] * [[xg:sector_type|Sector types]]
- line_type
- ====== Line Type (XG, DED) ====== A //Line Type// defines the behavior of a [[modding:line|map line]], i.e., a wall in the m... when some other triggering condition occurs. Some examples of line classes include [[xg:class:plane_move|Move Plane]... ow to use line types. ===== Example ===== An XG Line Type definition begins like this: <code>Line Type {
- examples
- ====== Line Type examples ====== ===== Restore sector light color & luminance ===== <code> Line Type { ID = 6101 Flags2 = when_deact | when_act ... gged. ===== Change wall material ===== <code> Line Type { ID = 5070 Flags = player_use Flags2 = ... d once. ===== Lower sector floor ===== <code> Line Type { ID = 5006 Comment = "Lower when Poss gone
- sector_type @xg:class
- type]], or zero. | ===== Examples ===== Line Type { ID = 5071 Flags = player_use ... pe = 0 } When activated, all sectors whose tag is equal to that of the line being activated will have their sector type set to zero (removed).
- line_teleport @xg:class
- ]) by the activator. | ===== Examples ===== Line Type { ID = 5020 Flags = player_cross Flags2 = when_act | any Class = line_teleport Type = timed_off Count = -1 Target Ref = "lref_index" Target Num = 123... Exit Side = 0 Always Stomp = 1 } The line is activated when the player crosses it. On activ
- teleport @xg:class
- by the activator. | ===== Examples ===== Line Type { ID = 5020 Flags = player_cross ... gs2 = when_act | any Class = teleport Type = timed_off Count = -1 Target Ref = "lsref_line_tagged" No Flash = 1 No Sound = 1 Always Stomp = 1 } The line is activated when the player crosses it. On activ
- build_stairs @xg:class
- alues are accepted. | ===== Examples ===== Line Type { ID = 5020 Flags = player_cross Flags2 = when_act | any Class = build_stairs Type = timed_off Count = 1; Target Ref = "lpref_line_tagged_ceilings"; Spread Texture = 1; Spr
- function_script
- e used for a strobo effect. | | !| Chain event. A line type ID must immediately follow the exclamation point ... (at the beginning of the level or when the sector type is set) its offset will be modified depending on ... n the timer for the current one reaches zero. The type definition specifies the minimum and maximum numb... nctions' scale and offset can be specified in the type definition. Examples: ^ Function^ Meaning | | '
- sector_light @xg:class
- color [0...255]. | ===== Examples ===== Line Type { ID = 5041 Flags = player_use Flags2 = when_act | any Class = sector_light Type = timed_off Count = -1 Time = 0.5 Act