Skip to content

Commit ce3f91e

Browse files
LaveigLaveig
andauthored
Filled missing descriptions for all entities & minor tweaks. (#308)
Co-authored-by: Laveig <LavaGue228@users.noreply.github.com>
1 parent 5eb4f30 commit ce3f91e

200 files changed

Lines changed: 444 additions & 338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

fgd/base_entity.fgd

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,53 +6,52 @@
66
= _CBaseEntity_
77
[
88
classname(string) : "Classname" : : "The class of the entity, and is changed."
9-
origin(origin) : "Position" : "0 0 0"
10-
angles(angle) : "Pitch Yaw Roll (X Y Z)" : "0 0 0"
9+
origin(origin) : "Position" : "0 0 0" : "Range in which this NPC will search for busy hints."
10+
angles(angle) : "Pitch Yaw Roll (X Y Z)" : "0 0 0" : "This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis."
1111

1212
targetname(target_source) : "Name"
1313
hammerid(integer) : "Hammer ID"
1414
// Defined here, but don't include - it's treated as
1515
// many different types.
1616
// target(target_destination) : "Target"
17-
spawnflags(flags) = []
17+
spawnflags(flags) : "spawnflags" : "Flags that can be set on spawn (i.e. in Hammer Editor)" = []
1818

1919

20-
vscripts[VSCRIPT](scriptlist) : "Entity Scripts"
21-
thinkfunction[VSCRIPT](string) : "Script think function"
22-
nextthink(integer) : "Next Think"
20+
vscripts[VSCRIPT](scriptlist) : "Entity Scripts" : : "Name(s) of script files that are executed after all entities have spawned."
21+
thinkfunction[VSCRIPT](string) : "Script think function" : : "Name of a function in this entity's script scope which will be called automatically."
22+
nextthink(integer) : "Next Think" : : "Name of another function in this entity's script scope which will be called automatically."
23+
globalname(string) : "Global Entity Name" : : "Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state."
2324

24-
globalname(string) : "Global Entity Name"
25+
mincpulevel(integer) : "Min CPU Level" : 0 : "This entity will not render if settings are lower than this value."
26+
maxcpulevel(integer) : "Max CPU Level" : 0 : "This entity will not render if settings are higher than this value."
27+
mingpulevel(integer) : "Min GPU Level" : 0 : "This entity will not render if settings are lower than this value."
28+
maxgpulevel(integer) : "Max GPU Level" : 0 : "This entity will not render if settings are higher than this value."
2529

26-
mincpulevel(integer) : "Min CPU Level" : 0
27-
maxcpulevel(integer) : "Max CPU Level" : 0
28-
mingpulevel(integer) : "Min GPU Level" : 0
29-
maxgpulevel(integer) : "Max GPU Level" : 0
30-
31-
parentname(target_destination) : "Parent"
30+
parentname(target_destination) : "Parent" : "Parent entity that this (child) entity will be attached to and move with."
3231

3332
teamnumber[+USE_TEAM](integer) : "Team number" : : "Team number this entity is on."
3433
pendingteamnumber[+USE_TEAM](integer) : "Pending Team Number" : : "Team numer this entity will be on at the beginning of the next round."
3534

36-
responseContext(string) : "Response Context" : ""
35+
responseContext(string) : "Response Context" : : "Response system context(s) for this entity. Format should be: 'key:value,key2:value2,etc'. When this entity speaks, the list of keys & values will be passed to the response rules system."
3736
addon(string) : "AI Addon" : : "Broken ASW feature."
3837

39-
health(integer) : "Health"
40-
max_health(integer) : "Max Health"
41-
is_autoaim_target(boolean) : "Is Autoaim Target" : 0
42-
damagefilter(filterclass) : "Damage Filter"
43-
nodamageforces(boolean) : "No damage forces"
44-
45-
renderfx(integer) : "Render FX" : 0
46-
rendermode(integer) : "Render Mode" : 0
47-
renderamt(integer) : "Render Alpha" : 255
48-
effects(integer) : "Effects" : 0
49-
rendercolor(color255) : "Render Color" : "255 255 255"
38+
health(integer) : "Health" : : "Number of points of damage to take before breaking. 0 means don't break."
39+
max_health(integer) : "Max Health" : : "Overrides the NPC's max health. Health cannot exceed this amount."
40+
is_autoaim_target(boolean) : "Is Autoaim Target" : 0 : "Should this entity automatically aim at its target."
41+
damagefilter(filterclass) : "Damage Filter" : : "Name of the filters that control which entities can be damaged by this entity."
42+
nodamageforces(boolean) : "No damage forces" : : "Should this entity receive damage forces?"
43+
44+
renderfx(integer) : "Render FX" : 0 : "Various somewhat legacy alpha effects. Material Proxies are more modern."
45+
rendermode(integer) : "Render Mode" : 0 : "Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.* Color & Texture = src*a+dest*(1-a)* Glow = src*a + dest, fixed on screen for sprites* Solid = Performs alphatest transparency* Additive = src*a + dest* Additive FF = blend between sprite nimation frames* Alpha Add = src + dest*(1-a)* World Space Glow = src*a + dest"
46+
renderamt(integer) : "Render Alpha" : 255 : "Opacity of this entity. 255 is fully opaque. Requires Additive render mode to be set."
47+
effects(integer) : "Effects" : 0 : "For configuring visual effects. If you want to combine effects, turn SmartEdit off and add the effect numbers together, i.e. 64 + 8 = 72."
48+
rendercolor(color255) : "Render Color" : "255 255 255" : "A color to mix with the model/sprite."
5049
modelindex(integer) : "Model Index" : 0 : "Internal model index, shouldn't be used."
5150
model(studio) : "Model" : "" : "Model/sprite name, or brush index."
52-
shadowcastdist(integer) : "Shadow Cast Distance" : 0
53-
texframeindex(integer) : "Texture Frame" : 0
54-
drawinfastreflection(boolean) : "Draw In Fast Reflections"
55-
disableshadows(boolean) : "Disable Shadows"
51+
shadowcastdist(integer) : "Shadow Cast Distance" : 0 : "Sets how far the entity casts dynamic shadows, in units. 0 means default distance from the shadow_control entity."
52+
texframeindex(integer) : "Texture Frame" : 0 : "If the VTF is multi-frame, specifies the frame to use."
53+
drawinfastreflection(boolean) : "Draw In Fast Reflections" : 0 : "If enabled, causes this entity/prop to to render in fast water reflections (i.e. when a water material specifies $reflectonlymarkedentities) and in the world impostor pass."
54+
disableshadows(boolean) : "Disable Shadows" : 0 : "Prevent the entity from creating render-to-texture (dynamic) shadows."
5655
disablereceiveshadows(boolean) : "Disable Recieving Shadows"
5756
disableflashlight(boolean) : "Disable Projected Texture Shadows"
5857
disableshadowdepth(boolean) : "Disable Shadow Depth"

fgd/bases/BaseActBusy.fgd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
= BaseActBusy
44
[
55
actor(target_name_or_class) : "Actor(s) to affect" : : "NPC's that should act busy"
6-
startactive(boolean) : "Start Active" : 0
6+
startactive(boolean) : "Start Active" : 0 : "Should this entity be active on spawn?"
77
searchtype[engine](integer) : "Search Type" : 0
88
searchtype(choices) : "Search Type" : 0 : "How to search for the entities using the targetname." =
99
[
1010
0: "Entity Name"
1111
1: "Classname"
1212
]
13-
busysearchrange(float) : "Search Range for Busy Hints" : 2048
14-
visibleonly(boolean) : "Visible Busy Hints Only" : 0
13+
busysearchrange(float) : "Search Range for Busy Hints" : 2048 : "Range in which this NPC will search for busy hints."
14+
visibleonly(boolean) : "Visible Busy Hints Only" : 0 : "Should this NPC use only visible busy hints?"
1515

1616
// Inputs
1717
input Activate(void) : "Begin acting busy"

fgd/bases/BaseBeam.fgd

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
@BaseClass base(BaseEntityPoint, RenderFields, Reflection)
2-
= BaseBeam: "This is the definition of the 'beam' class, but we don't want that in the entity list."
2+
= BaseBeam: "Internal entity." +
3+
"This is the definition of the 'beam' class, but we don't want that in the entity list."
34
[
4-
rendermode[engine](integer) readonly : "Render Mode" : 2 : "Render mode is forced to Texture."
5+
rendermode[engine](integer) readonly : "Render Mode" : 2
56
rendermode(choices) readonly : "Render Mode" : 1 : "Render mode is forced to Texture, but set to Color in Hammer to ensure correct rendering." =
67
[
78
1: "Color"
89
]
9-
renderamt(integer) : "Brightness (1 - 255)" : 100
10-
rendercolor(color255) : "Beam Color (R G B)" : "255 255 255"
10+
renderamt(integer) : "Brightness (1 - 255)" : 100 : "Opacity (alpha) of the beam."
11+
rendercolor(color255) : "Beam Color (R G B)" : "255 255 255" : "An RGB color value used for this beam."
1112

12-
hdrcolorscale(float) : "HDR color scale." : 1.0 : "float value to multiply sprite color by when running in HDR mode."
13+
hdrcolorscale(float) : "HDR color scale." : 1.0 : "Float value to multiply sprite color by when running in HDR mode."
1314
noiseamplitude(float) : "Amount of noise (0-64)" : 0 : "The amount of noise in the beam. 0 is a perfectly straight beam."
1415

1516
framerate(integer) : "Frames per 10 seconds" : 0 : "Framerate at which the beam texture should animate, if it has multiple frames."
@@ -20,7 +21,7 @@
2021

2122
damage(string) : "Damage / second" : "0" : "How much damage this beam does per second to things while active. For continuous damage, the value should be greater than 10 or it may not work."
2223

23-
dissolvetype[engine](integer) : "Dissolve Type" : 0
24+
dissolvetype[engine](integer) : "Dissolve Type" : 0 : "If entities interact with the beam, they will be dissolved in the following way."
2425
dissolvetype(choices) : "Dissolve Type" : -1 =
2526
[
2627
-1: "None"

fgd/bases/BaseClusteredDynLight.fgd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@BaseClass base(BaseClusteredLight) = BaseClusteredDynLight
22
[
3-
spawnflags(flags) =
3+
spawnflags(flags) : "spawnflags" =
44
[
55
1: "Initially dark" : 0
66
2: "Shadowed" : 0
@@ -24,8 +24,9 @@
2424
]
2525
slopescale(float) : "Slope Scale" : 1.0 : "Shadowmap slope scale. Higher values tend to eat away at the contact shadow, but can get rid of shadow acne. Higher values will also tend to shine through small shadow blockers"
2626

27-
texturename(string) : "Cookie Texture Name" : "" : "The cookie texture to use for the light. An empty value means no cookie texture."
28-
textureframe(integer) : "Cookie Texture Frame" : 0 : "The frame of the cookie texture to use for the light."
27+
texturename(string) : "Cookie Texture Name" : "" : "The cookie texture to use for the light. Must be a greyscale VTF file. " +
28+
"An empty value means no cookie texture. This light will project the specified texture (aka making artificial shadows)."
29+
textureframe(integer) : "Cookie Texture Frame" : 0 : "If cookie texture specified is multi-frame, this frame will be used for the light."
2930

3031
input SetCookieTexture(string) : "Set the cookie texture of this light. An empty value means no cookie texture."
3132
input SetCookieTextureFrame(integer) : "Set the frame texture of the cookie texture for this light."

fgd/bases/BaseClusteredLight.fgd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
@BaseClass = BaseClusteredLight
22
[
3-
spawnflags(flags) =
3+
spawnflags(flags) : "spawnflags" =
44
[
55
1: "Initially dark" : 0
66
2: "Shadowed" : 0
77
]
8+
9+
linedivider_clus1[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
10+
811
_specularmode(choices) : "Specular light mode" : 0 : "The type of specular lighting to use for the light." =
912
[
1013
0: "None"
@@ -31,6 +34,10 @@
3134
6: "6"
3235
7: "7"
3336
]
37+
38+
linedivider_clus2[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
39+
40+
_initialshadowsize(integer) : "Initial Shadow Size" : 3 : "The initial static shadow resolution exponent. Only relevant for static shadow allocation. Adding 1 to this value doubles both dimensions of the shadowmap."
3441
nearz(float) : "Near Z" : 4.0 : "Near Z for this light. Determines where shadows start to be cast. Inside the nearz radius, the light is still visible, but anything inside it won't cast shadows"
3542

3643
input SetShadowSize(integer) : "Set the size exponent of this light's shadowmap(s)."

fgd/bases/BaseDriveableVehicle.fgd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@BaseClass base(BaseVehicle)
22
appliesto(+USE_VEHICLES)
3-
= BaseDriveableVehicle
3+
= BaseDriveableVehicle: "Internal entity. Contains code about drivable vehicles."
44
[
55
vehiclelocked(boolean) : "Start locked" : 0 : "Whether to start the vehicle locked. A locked vehicle cannot be entered or exited."
66

fgd/bases/BaseDustParticleSpawner.fgd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
sphere(distmax)
33
= BaseDustParticleSpawner
44
[
5-
startdisabled(boolean) : "Start Disabled" : 0
6-
color(color255) : "Start Particle Color (R G B)" : "255 255 255"
7-
color2(color255) : "End Particle Color (R G B)" : "255 255 255"
5+
startdisabled(boolean) : "Start Disabled" : 0 : "Sets this brush as disabled on map spawn."
6+
color(color255) : "Start Particle Color (R G B)" : "255 255 255" : "Color of the particle after spawning."
7+
color2(color255) : "End Particle Color (R G B)" : "255 255 255" : "Color of the particle when fading."
88
spawnrate(integer) : "Particle Per Second" : 40 : "Number of particles to spawn, per second."
99
speedmax(integer) : "Maximum Particle Speed" : 13 : "Maximum speed that the particles can move after spawning."
1010
fallspeed(integer) : "Particle Fall Speed" : 0 : "How fast the particles fall to the ground. This value is subtracted from the particle speed in the Z-axis only."
@@ -16,7 +16,7 @@
1616
affectedbywind(boolean) : "Affected by Wind" : 1 : "When set, the dust will be affected by any env_wind entity settings in the map."
1717
origin(string) readonly : "Origin" : "0 0 0" : "The origin keyvalue has to be set to 0 0 0 for this entity to work properly in game. If this value isn't 0 0 0, reset it."
1818

19-
linedivider_base[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : ""
19+
linedivider_base[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
2020

2121
// Inputs
2222
input TurnOn(void) : "Turn on."

fgd/bases/BaseEffectBrush.fgd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@BaseClass = BaseEffectBrush
1+
@BaseClass = BaseEffectBrush: "Internal entity. Has nothing to do with brushes, provides basic entity keyvalues such as `Attachment Point` and `Entity Scripts`."
22
[
33
targetname(target_source) : "Name" : : "The name that other entities refer to this entity by."
44
globalname(string) : "Global Entity Name" : : "Name by which this entity is linked to another entity in a different map. " +
@@ -9,5 +9,5 @@
99
vscripts[VSCRIPT](scriptlist) : "Entity Scripts" : : "Name(s) of script files that are executed after all entities have spawned."
1010
thinkfunction[VSCRIPT](string) : "Script think function" : : "Name of a function in this entity's script scope which will be called automatically."
1111

12-
linedivider_base[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : ""
12+
linedivider_base[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
1313
]

fgd/bases/BaseEntity.fgd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Special case - entities that aren't quite brushes or point ents.
22
@BaseClass
33
base(BaseEntityIO)
4-
= BaseEntity
4+
= BaseEntity: "The most powerful internal entity. Connects everything together - from functionality to compatibility and vscript integrations. \nThis is also the root of all base entities."
55
[
66
targetname(target_source) : "Name" : : "The name that other entities refer to this entity by."
77
globalname(string) : "Global Entity Name" : : "Name by which this entity is linked to another entity in a different map. " +
@@ -11,5 +11,5 @@
1111
vscripts[VSCRIPT](scriptlist) : "Entity Scripts" : : "Name(s) of script files that are executed after all entities have spawned."
1212
thinkfunction[VSCRIPT](string) : "Script think function" : : "Name of a function in this entity's script scope which will be called automatically."
1313

14-
linedivider_base[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : ""
14+
linedivider_base[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
1515
]

fgd/bases/BaseEntityAnimating.fgd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
texframeindex(integer) : "Texture Frame" : : "The frame number for any animated textures on this entity."
4343
hitboxset(string) : "Hitbox Set" : : "Sets the $hboxset to use for collision testing."
4444

45-
modelscale(float) : "Model Scale" : : "A multiplier for the size of the model."
45+
modelscale(float) : "Model Scale" : : "A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however. Negative values can crash the game!"
4646

4747
AllowSilentDissolve[+P2](boolean) : "Allow SilentDissolve input" : 1 : "Allow the SilentDissolve input to dissolve this object."
4848

49-
linedivider_animbase[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : ""
49+
linedivider_animbase[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
5050

5151
LightingOrigin(target_destination) : "Lighting Origin" : : "Select any entity (not info_lighting!) from which to sample lighting instead of the entity's origin."
5252
LightingOriginHack(target_destination) : "Lighting Origin Offset" : : "The info_lighting_relative from which to sample lighting instead of the entity's origin."
@@ -72,7 +72,7 @@
7272
shadowdepthnocache[engine](integer): "": 0
7373
disableflashlight(boolean) : "Disable flashlight" : 0 : "Used to disable flashlight (env_projectedtexture) lighting and shadows on this entity."
7474

75-
linedivider_anim[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : ""
75+
linedivider_anim[!engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : : "Oops, you must've misclicked."
7676

7777
// Inputs
7878
input Skin(integer) : "Changes the model skin to the specified number."

0 commit comments

Comments
 (0)