Fulltext results:
- map_object_reference
- ery time you create a new [[line_type|line]] or [[sector_type]] you will need to use at least one of them.... needs to perform an action on either itself, a [[sector]], another line or something else, a reference is... pically done with [[tag]]s, so that the lines and sectors sharing the same tag will participate in the exe... lity, lines, [[plane]]s (floors and ceilings) and sectors need to refer to each other in some way. In XG,
- sector_type
- ====== Sector Type (XG) ====== A //sector type// defines the behavioral properties of a [[sector]]. All sectors set to a certain type share the same behavior. [[XG]] allows defining properties related t
- mimic_sector @xg:class
- ====== Mimic sector (XG class) ====== <code>Class = mimic_sector </code> The //Mimic sector// class is used to copy all the properties of one [[sector]] to another. This allows any sector(s) to take o
- colored_xg_sector_lighting_example
- ====== XG sector lighting examples ====== A [[xg:sector_type|XG sector type]] can be used to define different colored lights/tints within a sector. ===== About XG value functions ===== To begi
- reference_guide
- ===== **XG** (E**x**tended **G**eneralised Line/Sector Types) is a powerful, flexible addition to the ma... [games:Doom]] has a number of hard-coded line and sector types, each of which are programmed to do certain... effects like lower a lift, open a door or, in the sectors' case, perhaps just to blink randomly. They were... eveloped to allow you to create your own line and sector types for use in [[fs:pwad]]s. If you are new to
- plane_move @xg:class
- modding:plane]] (floor or ceiling) of a [[modding:sector]] to a given height. The [[modding:texture]] of t... terval while the plane is moving. The type of the sector whose plane is being moved can be changed in the ... s the plane crush things if they won't fit in the sector. Currently this is a hard coded to 10 damage per ... e moves are aborted if a thing doesn't fit in the sector (for instance, someone is standing under a door w
- chains
- vation chain would move the ceiling of the tagged sector to some reasonable height, like to the lowest adj... move it to the same height with the floor of the sector, thus closing the door. ===== Available chains ... hods/requirements for a single line type. ===== Sector Type Chains ===== Each [[xg:sector_type|XG sector type]] has four chains: the floor, ceiling, inside an
- sector_type @xg:class
- ====== Sector type (XG class) ====== Class = sector_type Changes the [[sector_type|type]] of one or more sectors. ===== Parameters ===== ^ Prm^ Name^ Type^ Meaning | | Ip0,Ip1| Ta
- examples
- ====== Line Type examples ====== ===== Restore sector light color & luminance ===== <code> Line Type {... Flags2 = when_deact | when_act | any Class = sector_light Type = flip Count = -1 Ip0 = "lpre... /code> Restores the light level and color of the sectors that have the same tag number as the line to the... a line-plane reference is used to refer to whole sectors. This can be done because lpref_line_tagged_floo
- sector_light @xg:class
- ====== Sector light (XG class) ====== Class = sector_light Changes the light level and color of one or more sectors. ===== Parameters ===== ^ Prm^ Name^ Type^ M... f,Target Num| [[xg:refs:lsref]]| Reference to the sectors whose type to change. | | Ip2| Change Light| Int
- function_script
- hers represent values from zero to one. [[modding:sector|Sectors]] can use functions to change their light level, color, the height of the floor and ceiling plane... nked to the value of another function of the same sector (their values are always equal). The character fo... '=b'' would be linked to the Blue function of the sector. | | +| Dynamic offset. When the function is init
- sound @xg:class
- = Class = sound Plays a sound in one or more sectors. ===== Parameters ===== ^ Prm^ Name^ Type^ M... Num| [[xg:refs:lsref]] | Reference to one or more sectors. These are the sectors in which the sound is to be played. | | Ip2| Sound ID| [[ded:Sound]] | Name of th... ound from a specific origin within the referenced sector (1=floor, 2=ceiling) else play from the center. |
- sector_wind
- ====== Sector wind ====== //Wind// increases the momentum of [[thing]]s inside a [[sector]]. Wind speed is defined as the increase in momen... around), use the following equation (//f// is the sector friction). W<sub>spd</sub> = T<sub>spd</sub> (1... t * 270 = South ===== Example ===== <code> Sector Type { ID = 5007 Comment = "Change wind t
- spref_back_ceiling @xg:refs
- Refers to the referring line's sector's ceiling plane. The sector in question must be on the back side of the line, i.e. the line must be facing away from the sector.
- lsref_act_tagged @xg:refs
- Refers to all the XG sectors whose type's activation tag (Act tag) matches the data component. This makes it possible to refer to a set of XG sector floors that belong to sectors of one or more specific types.