Entities: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 37: | Line 37: | ||
|- | |- | ||
| [[entities Props3|Props 3 entities]] | | [[entities Props3|Props 3 entities]] | ||
|- | |||
| [[entities Rotating|Rotating entities]] | |||
|- | |- | ||
| [[entities SFX|SFX entities]] | | [[entities SFX|SFX entities]] | ||
Line 49: | Line 51: | ||
|} | |} | ||
</center> | </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
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 |