prop_static: Added QUAKED comment definitions for WorldSpawn/Radiant.

This commit is contained in:
Marco Cawthorne 2020-11-30 20:21:20 +01:00
parent 172a4476f9
commit 31099eb2e9
2 changed files with 20 additions and 1 deletions

View File

@ -26,6 +26,24 @@ Trivia:
This entity was introduced in Half-Life 2 (2004).
*/
/*QUAKED prop_static (0 0.2 1) (-8 -8 -8) (8 8 8) SF_BASIC_COL
"model" Model file that will be displayed by the entity.
"modelscale" Scale modifier of the model. Default is '1'.
"modelscale_vec" Scale modifier, but in vector format
"angles" Sets the pitch, yaw and roll angles of the model.
"_cs" Toggles if the prop casts a shadow or not.
"_ls" Lightmap scale multiplier for the resulting surfaces.
"_sn" Shading angle related to lightmap phong shading.
"_remap" Force the model surfaces to use a specified material.
Decorative model entity that gets baked into the level file.
After compilation, the source model is no longer required and the
resulting entity is removed.
Trivia:
This entity was introduced in Half-Life 2 (2004).
*/
class prop_dynamic:CBaseEntity
{
void(void) prop_dynamic;
@ -79,3 +97,5 @@ prop_dynamic::prop_dynamic(void)
scale = 1.0f;
Init();
}
CLASSEXPORT(prop_static, prop_dynamic)

View File

@ -49,7 +49,6 @@ void worldspawn::Initialized(void)
cvar_set("r_hdr_irisadaptation_fade_up", ftos(g_flHDRIrisFadeUp));
cvar_set("r_hdr_irisadaptation_fade_down", ftos(g_flHDRIrisFadeDown));
remove(this);
}