Difference between revisions of "Entity"

From Team Fortress Wiki
Jump to: navigation, search
(General change and added prop_static)
m (developer wiki exists)
Line 1: Line 1:
{{stub}}
+
{{otherWikis
{{otherWikis|[[vdc:Entity|Valve developer wiki on Entities]]}}
+
|[[vdc:Entity|Valve developer wiki on Entities]]
 +
}}
  
Entities are all the objects that are loaded in the game world. Entities can be placed by Hammer editor, including doors, props, lights, and various scripts and game logics, as well as generated on the fly by the game. Game generated entities are things like players, weapons, and even the map itself.
+
Entities are all the objects that are loaded in the game world. Entities can be placed by the [[Valve Hammer Editor|Hammer editor]], including doors, props, lights, and various scripts and game logics, as well as generated on the fly by the game. Game generated entities are things like players, weapons, and even the map itself.
  
 
The Valve Developer Wiki has a [[vdc:List of Team Fortress 2 Entities|List of Team Fortress 2 Entities]].
 
The Valve Developer Wiki has a [[vdc:List of Team Fortress 2 Entities|List of Team Fortress 2 Entities]].
 
==Map Entities==
 
[[File:Entity_Hammer_Tool.jpg|left|Hammer Entity Tool Icon]]
 
Map entities are placed in the game world through the Hammer editor's entity tool, they are entirely map developer controlled. Some of these props may have special functions, or at least are representative of objects that have special functions, such as the spawn room door.
 
[[File:Entity_Hammer_Prop_Static.jpg|thumb|An example of prop_static in 2Fort]]
 
===prop_static===
 
The most common map entity is prop_static. It declares a polygonal mesh to be placed on the map, such as railings or props. The polygonal mesh usually does not effect game-play and is used merely for aesthetic purposes. prop_static is also useful for guiding the player with signs or team-specific symbolism. prop_static models are very basic and therefore cannot be moved, animated or accept any kind of input. A positive of this is that it allows for light-mapping, meaning faster load times and rendering rates.
 
 
Creation of these models is usually done in 3D modelling packages such as 3ds Max and Blender. The models may need UV unwrapping to allow for diffuse, specular and normals texturing. After the process of modelling and texturing is complete the final product is imported into Team Fortress 2 under the .MDL format, accompanied with a .VTX texture and a .VMT material information file.
 
 
The Keyvalues for this entity can be found on [https://developer.valvesoftware.com/wiki/Prop_static#Keyvalues Valve Development Wiki - prop_static]
 

Revision as of 15:04, 22 April 2013

Entities are all the objects that are loaded in the game world. Entities can be placed by the Hammer editor, including doors, props, lights, and various scripts and game logics, as well as generated on the fly by the game. Game generated entities are things like players, weapons, and even the map itself.

The Valve Developer Wiki has a List of Team Fortress 2 Entities.