MoveType: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 
 Warning:Most of these MoveTypes are called by the engine, safe ones to use are: 0, 2, 4, 5, 8.
Warning:Most of these MoveTypes are called by the engine, safe ones to use are: 0, 2, 4, 5, 8.
 Tip:In
Tip:In 
 or later, you can test these out in game with console command
 or later, you can test these out in game with console command 
 
		
	
|  (Created page with "{{stub}} ''MoveType'' defines the way entity behaves and moves. For example <code>movetype 0</code> will freeze the entity and nothing can affect it until its ''MoveType'' is...") | Thunder4ik (talk | contribs)  m (clean up, added uncategorised, underlinked tags) | ||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{Underlinked|date=January 2024}} | ||
| {{lang|MoveType}} | |||
| ''MoveType'' defines the way entity behaves and moves. For example <code>movetype 0</code> will freeze the entity and nothing can affect it until its ''MoveType'' is changed. | ''MoveType'' defines the way entity behaves and moves. For example <code>movetype 0</code> will freeze the entity and nothing can affect it until its ''MoveType'' is changed. | ||
| {{warning|Most of these ''MoveTypes'' are called by the engine, safe ones to use are: '''0, 2, 4, 5, 8'''.}} | {{warning|Most of these ''MoveTypes'' are called by the engine, safe ones to use are: '''0, 2, 4, 5, 8'''.}} | ||
| {{tip|In {{as}}{{tf2}} or later, you can test these out in game with console command <code>ent_fire player AddOutput "MoveType #"</code> where ''#'' is a number from table below.}} | |||
| == Various MoveTypes in Valve Source Engine titles == | == Various MoveTypes in Valve Source Engine titles == | ||
| Line 51: | Line 54: | ||
| |For players, when moving on a ladder. | |For players, when moving on a ladder. | ||
| |- | |- | ||
| |<code> | |<code>MOVETYPE_OBSERVER</code> | ||
| |<code>10</code> | |<code>10</code> | ||
| |Spectator movetype. '''DO NOT''' use this to make player spectate. | |Spectator movetype. '''DO NOT''' use this to make player spectate. | ||
| Line 60: | Line 63: | ||
| |- | |- | ||
| |} | |} | ||
| {{stub}} | |||
| {{Uncategorized stub|date=January 2024}} | |||
Latest revision as of 01:05, 6 January 2024

This article needs more  links to other articles to help
 links to other articles to help  integrate it into the encyclopedia. Please help improve this article by adding links
 integrate it into the encyclopedia. Please help improve this article by adding links  that are relevant to the context within the existing text.
 that are relevant to the context within the existing text.
January 2024
 links to other articles to help
 links to other articles to help  integrate it into the encyclopedia. Please help improve this article by adding links
 integrate it into the encyclopedia. Please help improve this article by adding links  that are relevant to the context within the existing text.
 that are relevant to the context within the existing text.January 2024
MoveType defines the way entity behaves and moves. For example movetype 0 will freeze the entity and nothing can affect it until its MoveType is changed.
 Warning:Most of these MoveTypes are called by the engine, safe ones to use are: 0, 2, 4, 5, 8.
Warning:Most of these MoveTypes are called by the engine, safe ones to use are: 0, 2, 4, 5, 8. Tip:In
Tip:In 
 or later, you can test these out in game with console command
 or later, you can test these out in game with console command ent_fire player AddOutput "MoveType #" where # is a number from table below.Various MoveTypes in Valve Source Engine titles
| Name | Decimal | Description | 
|---|---|---|
| MOVETYPE_NONE | 0 | Freezes the entity, outside sources can't move it. | 
| MOVETYPE_ISOMETRIC | 1 | For players in TF2 commander view etc. Do not use this for normal players! | 
| MOVETYPE_WALK | 2 | Default player (client) move type. | 
| MOVETYPE_STEP | 3 | NPC movement | 
| MOVETYPE_FLY | 4 | Fly with no gravity. | 
| MOVETYPE_FLYGRAVITY | 5 | Fly with gravity. | 
| MOVETYPE_VPHYSICS | 6 | Physics movetype (prop models etc.) | 
| MOVETYPE_PUSH | 7 | No clip to world, but pushes and crushes things. | 
| MOVETYPE_NOCLIP | 8 | Noclip, behaves exactly the same as console command. | 
| MOVETYPE_LADDER | 9 | For players, when moving on a ladder. | 
| MOVETYPE_OBSERVER | 10 | Spectator movetype. DO NOT use this to make player spectate. | 
| MOVETYPE_CUSTOM | 11 | Custom movetype, can be applied to the player to prevent the default movement code from running, while still calling the related hooks. | 

This article has not been added to any content  categories. Please help out by
 categories. Please help out by  adding categories.
 adding categories. 
January 2024
 categories. Please help out by
 categories. Please help out by  adding categories.
 adding categories. January 2024

























