env_warpball

An env_warpball plays the effect that Xen monsters appear in each time you trigger it: a glowing sprite, green
lightning to the walls around it, two sounds, a shake of the view and, with a flag, a flash of light.
A monstermaker that names it in its Warpball key plays it where each monster appears.
Attributes
The entity also has these common keys:
- Appearance: Render FX, Render Mode, FX Amount and FX Color
targetnameTriggering the entity plays the effect. See Common keys.
targetNames the entities to trigger each time the entity plays the effect, but not when a monstermaker plays it. See Common keys.
modelSets the sprite of the effect.
sprites/fexplo1.spramplitudeSets how hard the view shakes, from 0 up to 16.
If you leave this key empty or set 0, it is 6.
6durationSets how many seconds the view shakes.
If you leave this key empty or set 0, it is 1.
1frequencySets how fast the view shakes, from 0.1 for a single jolt up to 255 for a fast rumble.
If you leave this key empty or set 0, it is 160.
160radiusSets how far, in units, the lightning reaches and the shake is felt.
192scaleSets the size of the sprite, where 1 is its own size, and it also sets the size of the flash of light.
1framerateSets how many frames per second the sprite plays.
If you leave this key empty or set 0, it is 12.
12warp_targetSets where the effect plays. It takes a locus position, so you can use a point such as 0 0 64, the name of an entity, or !activator for the entity that started the chain of triggers.
If you leave this key empty, the effect plays at the env_warpball itself.
damage_delayWith Kill center, sets how many seconds pass between the effect and the damage.
0beamcolorSets the color of the lightning, as red, green and blue from 0 up to 255.
If you leave this key empty or set 0 0 0, it is green, 20 243 20.
20 243 20beamcountSets the most bolts of lightning, up to 64, and each time, the effect draws between half of them and all of them.
20noise1Sets the first sound.
If you leave this key empty, it is debris/beamstart2.wav.
noise2Sets the second sound.
If you leave this key empty, it is debris/beamstart7.wav, but only when Custom sound 1 is empty too.
volumeSets how loud the sounds are, from above 0 up to 1 for full volume.
If you leave this key empty or set 0, it is 1.
1aisoundPicks a sound that only monsters within the radius hear.
- No sound (0) - Monsters hear nothing
- Combat (1) - Draws monsters in
- Danger (32) - Makes monsters run
No sound (0)aisound_durationSets how many seconds monsters can hear the AI sound.
If you leave this key empty or set 0, it is 0.3.
0.3model2Sets a second sprite played with the first, such as sprites/xflare1.spr.
rendercolor2Sets the color of the second sprite.
If you leave this key empty, it has the color of the first sprite.
renderamt2Sets the brightness of the second sprite, from 0 up to 255.
If you leave this key empty or set 0, it has the brightness of the first sprite.
scale2Sets the size of the second sprite, where 1 is its own size.
If you leave this key empty or set 0, it has the size of the first sprite.
framerate2Sets how many frames per second the second sprite plays.
If you leave this key empty or set 0, it plays at the speed of the first sprite.
Flags
1Remove on fireThe entity is removed after it plays once
2Kill centerThe effect deals 300 shock damage to everything within 48 units of its center
4No screen shakeThe effect doesn't shake the view
8Dynamic lightThe effect makes a short flash of light in the color of the sprite
16No soundsThe effect plays no sound
Notes
- The lightning goes from the center to the walls within the radius, and in open space, a few bolts go out to half the radius instead
- With the render mode Normal, the sprite is drawn as Glow, with the render FX Normal it is drawn as No dissipation,
and the FX color
0 0 0gives the green77 210 130 - The damage of Kill center comes from the
env_warpballitself, so nobody gets the kill - Players who join later don't see an effect that has already played
- Once the map runs,
trigger_changevalueandtrigger_copyvaluecan't change Sprite 2 Name, so the effect keeps its sprite, and withdeveloper 1set in the console, the console says why
See also
monstermaker- its Warpball key plays anenv_warpballwhere each monster appearsenv_shockwave- a ring that grows outwardenv_beam- a beam between two entities or points
Changes since 1.38
env_warpballis new in SBO 2.0.0

