Added parenting support to ambient_generic, func_lod, point_teleport, point_radiation_source, and point_bugbait.

This commit is contained in:
Blixibon 2019-12-11 22:11:17 -06:00
parent fd6e220d82
commit 035f3ed5bf
2 changed files with 5 additions and 5 deletions

View File

@ -1081,7 +1081,7 @@
[
]
@PointClass base(Targetname) iconsprite("editor/ambient_generic.vmt") sphere() = ambient_generic : "Universal ambient sound. Use it to play and control a single sound."
@PointClass base(Targetname, Parentname) iconsprite("editor/ambient_generic.vmt") sphere() = ambient_generic : "Universal ambient sound. Use it to play and control a single sound."
[
message(sound) : "Sound Name" : "" : "Name of the GameSound entry for the sound to play. Also supports direct .wav filenames."
health(integer) : "Volume" : 10 : "Sound volume, expressed as a range from 0 to 10, where 10 is the loudest."
@ -1155,7 +1155,7 @@
input SetSound(string) : "Sets the sound this ambient_generic should play."
]
@SolidClass base(Targetname) sphere(DisappearDist) sphere(DisappearMaxDist) = func_lod :
@SolidClass base(Targetname, Parentname, RenderFields) sphere(DisappearDist) sphere(DisappearMaxDist) = func_lod :
"Brush-built model that fades out over a specified distance. Useful for creating world detail that doesn't need to be drawn far away, for performance reasons."
[
DisappearDist(integer) : "Disappear Distance" : 2000 : "Distance at which these brushes should start to fade out."
@ -6790,7 +6790,7 @@
]
@PointClass base(Targetname, Angles) = point_teleport :
@PointClass base(Targetname, Parentname, Angles) = point_teleport :
"An entity that teleports a target entity to this position and angles. "+
"If 'Teleport Home' spawn flag is set, teleports the target entity to its spawn position instead." +
"If object is physically simulated, simulation is turned off when teleported."

View File

@ -3677,7 +3677,7 @@
]
]
@PointClass base(Targetname, EnableDisable) sphere(SetRadius) = point_radiation_source : "Radiation source that trips the player's geiger counter. Does no actual damage."
@PointClass base(Targetname, Parentname, EnableDisable) sphere(SetRadius) = point_radiation_source : "Radiation source that trips the player's geiger counter. Does no actual damage."
[
SetRadius(float): "Radius" : "0" : "Only affects the geiger counter if the player is within this radius. 0 = no radius, use intensity only"
SetIntensity(float): "Intensity" : "1.0" : "The intensity of the radiation source. Cannot be 0."
@ -4344,7 +4344,7 @@
input Toggle(void) : "Toggle enable/disable."
]
@PointClass base(Targetname) size( 16 16 16) sphere() color( 255 255 0 ) = point_bugbait : "Bugbait sensor point"
@PointClass base(Targetname, Parentname) size( 16 16 16) sphere() color( 255 255 0 ) = point_bugbait : "Bugbait sensor point"
[
Enabled(choices) : "Start Enabled" : 1 =
[