Prop car alarm: Difference between revisions
Jump to navigation
Jump to search
Note:Page left for viewable history, content moved to prop_physics
Note:Page left for viewable history, content moved to prop_physics
Note:Page left for viewable history, content moved to prop_physics
Note:Page left for viewable history, content moved to prop_physics
ThaiGrocer (talk | contribs) mNo edit summary |
(Reformat) |
||
Line 1: | Line 1: | ||
{{l4d series point|prop_car_alarm}} This class is the same as [[prop_physics]], with a car alarm. It is a car that calls a panic event when configured properly. | {{l4d series point|prop_car_alarm}} This class is the same as [[prop_physics]], with a car alarm. It is a car that calls a panic event when configured properly. | ||
== Keyvalues == | == Keyvalues == | ||
{{KV BasePropPhysics}} | |||
{{KV RenderFields}} | |||
{{KV EnableDisable}} | |||
== Flags == | |||
{{Fl BasePropPhysics}} | |||
== Inputs == | |||
| | {{IO|Ignite|Ignite, burst into flames.}} | ||
| | {{IO|IgniteLifetime|<code>Ignite</code> with the given lifetime. {{todo|Before the flames extinguish, or before health reaches zero?}}|param=float}} | ||
| | {{IO|IgniteNumHitboxFires|<code>Ignite</code> with the given number of hitbox fires.|param=integer}} | ||
| | {{IO|IgniteHitboxFireScale|<code>Ignite</code> with the given hitbox fire scale.|param=float}} | ||
{{I BasePropPhysics}} | |||
{{I RenderFields}} | |||
{{I EnableDisable}} | |||
==Outputs== | == Outputs == | ||
{{IO|OnCarAlarmStart|Car alarm should go off}} | |||
{{IO|OnCarAlarmEnd|Car alarm has shut off}} | |||
{{IO|OnCarAlarmChirpStart|}} | |||
{{IO|OnCarAlarmChirpEnd|}} | |||
{{O BasePropPhysics}} |
Revision as of 08:11, 12 August 2011
Template:L4d series point This class is the same as prop_physics, with a car alarm. It is a car that calls a panic event when configured properly.
Keyvalues

RenderFields:
- Render Mode (rendermode) <byte choices>
- Set a non-standard rendering mode on this entity.
Render Modes
- Render FX (renderfx) <byte choices>
- Various somewhat legacy alpha effects. See render effects.
- Render Amount / Transparency (renderamt) <byte>
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <color255>
- Color tint.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Flags

Inputs
- Ignite
- Ignite, burst into flames.
- IgniteLifetime <float >
Ignite
with the given lifetime.Todo: Before the flames extinguish, or before health reaches zero?
- IgniteNumHitboxFires <integer >
Ignite
with the given number of hitbox fires.
- IgniteHitboxFireScale <float >
Ignite
with the given hitbox fire scale.

RenderFields:
- Alpha <integer 0–255>
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its
rendermode
set to a number other than0
.
- Color <color255 >
- Sets an RGB color for the entity.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnCarAlarmStart
- Car alarm should go off
- OnCarAlarmEnd
- Car alarm has shut off
- OnCarAlarmChirpStart
- OnCarAlarmChirpEnd
