Entities
Entities are used in to specify player spawn locations or to add effects, doors, items and more to a map.
- Info - specify locations, areas or behaviors
- Env - environmental/visual stuff
- Gen - generate stuff (particle effects)
- Func - have a function which influences the game
- Trigger - trigger and control other entities
Category: info (21)
- 0 - Info_T
- 1 - Info_CT
- 2 - Info_VIP
- 3 - Info_Hostage
- 4 - Info_RescuePoint
- 5 - Info_BombSpot
- 6 - Info_EscapePoint
- 8 - Info_Animation
- 9 - Info_Storm
- 10 - Info_TileFX
- 11 - Info_NoBuying
- 12 - Info_NoWeapons
- 13 - Info_NoFOW
- 14 - Info_Quake
- 15 - Info_CTF_Flag
- 16 - Info_OldRender
- 17 - Info_Dom_Point
- 18 - Info_NoBuildings
- 19 - Info_BotNode
- 20 - Info_TeamGate
- 80 - Info_NoWeather
ID 20 - Info_TeamGate (TGate)
Info
Defines an area which kills members of a certain team when they try to pass. The area starts at the position of the entity. Some exceptions can also be defined with the settings.
Values / Properties
The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.
- ints[0]=area width (tiles)
- ints[1]=area height (tiles)
- ints[2]=team to let pass (0=nobody, 1=terrorists, 2=counter-terrorists)
- ints[3]=don't kill flag carrier (0/1)
- ints[4]=don't kill bomb carrier (0/1)
- ints[5]=don't kill defuse kit carrier (0/1)
- ints[6]=don't kill VIP (0/1)
- ints[7]=don't kill gas mask wearer (0/1)
- ints[8]=don't kill night vision wearer (0/1)