Skip to main content

change_touch

change_touch icon
Point entity

A change_touch shows a model, the G-Man by default, and ends a Co-op mission in success when a player touches it. It works only on Co-op maps, and on other maps touching it does nothing.

The model plays its idle animations, falls to the floor and is solid, with a box 32 units wide and 72 units high that players bump into.

Attributes​

KeyDescriptionDefault
Modelmodel

Sets the model it shows, as a path to an .mdl file, such as models/gman.mdl.

If you leave this key empty, pick an editor model or name a file the server doesn't have, the entity is removed when the map starts.

Default models/gman.mdl

Notes​

  • Only players end the mission by touching it, and monsters and objects that touch it do nothing
  • Only the first mission result counts, so touching it after a game_end or a mission_failed has ended the mission changes nothing

See also​

Changes since 1.38​

  • The model plays its idle animations. In SBO 1.38, it stood still on the first frame, because SBO 1.38 never set an animation for the model
  • A missing model removes the entity. In SBO 1.38, a missing model stopped the map from loading