RingCustom
This takes the same parameters as est_effect 10... The effect is a Ring effect, which makes a moving ring at X, Y, Z
The correct syntax is:
wcs.Effect().RingCustom(<Identifier>, <delay>, <model> <x>, <y>, <z>, <start size>, <end size>, <life>, <size>, <spread>, <amplitude>, <red>, <green>, <blue>, <alpha>, <speed it travels>)
- X, Y, Z - The starting point of the effect
- Start Size - The diameter at which the beam will start
- End size - The diamater at which the beam will travel to over time
- Life - How long the effect will be there. It is also how long it takes the beam to get to maximum width
- Size - How thick the ring is.
- Spead - How much the beam is spread out... The higher this is the less 'ring like' it will be
- Amplitude - How tall the beam will be.. If the amplitude is high the 'beam' will curl up at the edges
- Red - How red the beam is (0-255)
- Green - How green the beam is (0-255)
- Blue - How blue the beam is (0 - 255)
- Alpha - How invisible the beam is (0-255)
- Speed it travels - How fast the beam will move
Example:
def player_hurt(ev):
x,y,z = es.getplayerlocation(ev['userid'])
wcs.Effect().RingCustom('#a', 0, 'sprites/purpleglow1.vmt', x, y, z, 150, 75, 5, 80, 40, 40, 255, 0, 0, 150, 10)
Comments (0)
You don't have permission to comment on this page.