ttt_map_settings
ttt_map_settings
is a point entity available in Garry's Mod. Allows the map to specify some behaviors, such as whether crowbars unlock things
Keyvalues
- Crowbar unlocks doors
([todo internal name (i)])
<choices> - Enable crowbar unlocking func_door and func_door_rotating entities that have a targetname set, using an Unlock input.
- Crowbar unlocks buttons
([todo internal name (i)])
<choices> - Enable crowbar unlocking func_button entities that have a targetname set, using an Unlock input.
- Crowbar opens func_movelinear
([todo internal name (i)])
<choices> - Enable crowbar opening func_movelinear entities that have a targetname set, using an Open input.
- Force player model
([todo internal name (i)])
<string> - Sets playermodels. Should look like 'models/player/phoenix.mdl'. Set to empty for random.
- Spectators can possess props that have a targetname set
([todo internal name (i)])
<choices> - Allow spectators to 'possess' named props that might be involved in map logic.
Inputs
SetPlayerModels
- Sets playermodel to use to the given model path. Because entities are spawned before players, you can use this to set a random playermodel using logic entities.
Outputs
MapSettingsSpawned
- Fires when this entity spawns.
RoundPreparation
- Fires when the Preparation phase of a round starts.
RoundStart
- Fires when a round begins, meaning traitors have been selected.
RoundEnd