Jump to content

Entities: Difference between revisions

From Kingpin Wiki
Created page with "===Info entities=== ====info_notnull==== <br /><b>Map Entity Color:</b> (0 0.5 0) (<span style='color:#008000'>COLOR PREVIEW</span>) <br /><b>Dimensions:</b> (-4 -4 -4) (4 4 4) <br />Usually a reference point for spotlights.<br /> <div id='bold'>Keys</div><table> <tr id="odd|<td width="128px|targetname</td><td>This point's ID</td></tr> </table> ====info_null==== <br /><b>Map Entity Color:</b> (0 0.5 0) (<span style='color:#008000'>COLOR PRE..."
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Info entities===
<center>
====[[info_notnull|info_notnull]]====
{| class="wikitable sortable"
<br /><b>Map Entity Color:</b> (0 0.5 0) (<span style='color:#008000'>COLOR PREVIEW</span>)
|-
<br /><b>Dimensions:</b> (-4 -4 -4) (4 4 4)
| [[entities AI|AI entities]]
<br />Usually a reference point for spotlights.<br />
|-
<div id='bold'>Keys</div><table>
| [[entities Ammo|Ammo entities]]
<tr id="odd|<td width="128px|targetname</td><td>This point's ID</td></tr>
|-
</table>
| [[entities Cast|Cast entities]]
====[[info_null|info_null]]====
|-
<br /><b>Map Entity Color:</b> (0 0.5 0) (<span style='color:#008000'>COLOR PREVIEW</span>)
| [[entities DM|DM entities]]
<br /><b>Dimensions:</b> (-4 -4 -4) (4 4 4)
|-
<br />Usually a reference point for spotlights, the entity is ignored on game initialization.<br />
| [[entities Elements|Elements entities]]
<div id='bold'>Keys</div><table>
|-
<tr id="odd|<td width="128px|targetname</td><td>This point's ID</td></tr>
| [[entities Func|Func entities]]
</table>
|-
====[[info_player_coop|info_player_coop]]====
| [[entities HMG|HMG entities]]
<br /><b>Map Entity Color:</b> (1 0 1) (<span style='color:#FF00FF'>COLOR PREVIEW</span>)
|-
<br /><b>Dimensions:</b> (-16 -16 -24) (16 16 48)
| [[entities Info|Info entities]]
<br />Spawning point for AI gang members in a single-player game. Every single-player map should contain two of these near to the client's start point.<br />
|-
<div id='bold'>Keys</div><table>
| [[entities Item|Item entities]]
<tr></td><td>Yaw view direction, 0 to 360</td></tr><tr><td>targetname</td><td>This start point's ID</td></tr>
|-
</table>
| [[entities Key|Key entities]]
====[[info_player_deathmatch|info_player_deathmatch]]====
|-
<br /><b>Map Entity Color:</b> (1 0 1) (<span style='color:#FF00FF'>COLOR PREVIEW</span>)
| [[entities Light|Light entities]]
<br /><b>Dimensions:</b> (-16 -16 -24) (16 16 48)
|-
<br />Spawning point for players in deathmatch games.<br />
| [[entities Misc|Misc entities]]
<div id='bold'>Keys</div><table>
|-
<tr></td><td>Yaw view direction, 0 to 360</td></tr><tr><td>style</td><td>Team number for Teamplay (1 or 2)</td></tr>
| [[entities Path|Path entities]]
</table>
|-
====[[info_player_intermission|info_player_intermission]]====
| [[entities Pawn|Pawn entities]]
<br /><b>Map Entity Color:</b> (1 0 1) (<span style='color:#FF00FF'>COLOR PREVIEW</span>)
|-
<br /><b>Dimensions:</b> (-16 -16 -24) (16 16 32)
| [[entities Pistol|Pistol entities]]
<br />Potential intermission viewpoint for deathmatch games.<br />
|-
<div id='bold'>Keys</div><table>
| [[entities Props|Props entities]]
<tr>s</td><td>Pitch, yaw and roll view direction.</td></tr><tr><td>angle</td><td>Yaw view direction, 0 to 360</td></tr>
|-
</table>
| [[entities Props2|Props 2 entities]]
====[[info_player_start|info_player_start]]====
|-
<br /><b>Map Entity Color:</b> (1 0 0) (<span style='color:#FF0000'>COLOR PREVIEW</span>)
| [[entities Props3|Props 3 entities]]
<br /><b>Dimensions:</b> (-16 -16 -24) (16 16 48)
|-
<br />Normal spawning point for a single-player level. Deathmatch maps should contain at least one for testing purpose.<br />
| [[entities Rotating|Rotating entities]]
<div id='bold'>Keys</div><table>
|-
<tr></td><td>Yaw view direction, 0 to 360</td></tr><tr><td>targetname</td><td>This start point's ID</td></tr>
| [[entities SFX|SFX entities]]
</table>
|-
| [[entities Smoke|Smoke entities]]
|-
| [[entities Target|Target entities]]
|-
| [[entities Trigger|Trigger entities]]
|-
| [[entities Weapon|Weapon entities]]
|}
</center>
== worldspawn ==
'''Map Entity Color:''' (0 0 0) (<span style="color:#000000;">COLOR PREVIEW</span>)
'''Dimensions:''' Size of map components used 
 
This classname represents the whole world and includes "normal" walls. Unlike other entities, there can only be ONE [[Entities#entity_worldspawn|worldspawn]] per map.
 
'''Keys'''
{| class="wikitable"
|-
! Key !! Description
|-
| episode || [[maps|Episode number]]
|-
| sky || Environment map [[sky|name (skybox)]], also used for reflection
|-
| sounds || [[Music]] CD track number
|-
| gravity || Gravity (default=800)
|-
| [[Entities_Light#light|light]] || Set a low value to [[Entities_Light#light|light]] the entire map without using individual bulbs
|-
| message || Map name
|-
| fogdensity || Fog density for OpenGL cards
|-
| fogdensity2 || Fog density for 3DFX cards
|-
| fogval || RGB values of fog for OpenGL cards
|-
| fogval2 || RGB values of fog for 3DFX cards
|-
| _sun_light || Set sun brightness
|-
| _sun_target || Defines sun yaw and pitch pointing to a spotlight target
|-
| _sun_angle || Defines sun yaw and pitch manually (0 to 360) (-90 to 90)
|-
| _sun_vector || Defines sun yaw and pitch using an X Y Z direction vector
|-
| _sun_color || Defines sun color in scalar R G B
|-
| _sun_diffuse || Diffuse [[Entities_Light#light|light]] brightness
|-
| _sun_difwait || Diffuse [[Entities_Light#light|light]] attenuation
|-
| _sun_ambient || Set sun ambient brightness
|-
| _sun_surface || Set sun surface brightness
|}

Latest revision as of 21:45, 3 March 2025

AI entities
Ammo entities
Cast entities
DM entities
Elements entities
Func entities
HMG entities
Info entities
Item entities
Key entities
Light entities
Misc entities
Path entities
Pawn entities
Pistol entities
Props entities
Props 2 entities
Props 3 entities
Rotating entities
SFX entities
Smoke entities
Target entities
Trigger entities
Weapon entities

worldspawn

Map Entity Color: (0 0 0) (COLOR PREVIEW) Dimensions: Size of map components used

This classname represents the whole world and includes "normal" walls. Unlike other entities, there can only be ONE worldspawn per map.

Keys

Key Description
episode Episode number
sky Environment map name (skybox), also used for reflection
sounds Music CD track number
gravity Gravity (default=800)
light Set a low value to light the entire map without using individual bulbs
message Map name
fogdensity Fog density for OpenGL cards
fogdensity2 Fog density for 3DFX cards
fogval RGB values of fog for OpenGL cards
fogval2 RGB values of fog for 3DFX cards
_sun_light Set sun brightness
_sun_target Defines sun yaw and pitch pointing to a spotlight target
_sun_angle Defines sun yaw and pitch manually (0 to 360) (-90 to 90)
_sun_vector Defines sun yaw and pitch using an X Y Z direction vector
_sun_color Defines sun color in scalar R G B
_sun_diffuse Diffuse light brightness
_sun_difwait Diffuse light attenuation
_sun_ambient Set sun ambient brightness
_sun_surface Set sun surface brightness