Ttt map settings: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (Created page with "{{stub}} {{this is a|point|name=ttt_map_settings|game=Garry's Mod}} Allows the map to specify some behaviors, such as whether crowbars unlock things  == Keyvalues == {{KV|Crow...") |  (my bot stopped working with 5 or 6 pages left) | ||
| Line 1: | Line 1: | ||
| {{stub}} | {{stub}} | ||
| {{this is a|point|name=ttt_map_settings|game=Garry's Mod}} Allows the map to specify some behaviors, such as whether crowbars unlock things | {{this is a|point entity|name=ttt_map_settings|game=Garry's Mod}} Allows the map to specify some behaviors, such as whether crowbars unlock things | ||
| == Keyvalues == | == Keyvalues == | ||
Revision as of 21:27, 17 May 2024
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
 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