(A) The muzzleflash event
**********************
Let's have a look at the event which describes the muzzleflash in a $sequence:
(0) Example.
{ event 5021 1 "62" }
(1) The 4-digit number tells which $attachment is used.
5001 = $attachment 0
5011 = $attachment 1
5021 = $attachment 2
(2) The first digit of the second option (62) tells the scaling of the sprite.
1X = Factor 1 (and so on...)
(3) The second digit of the second option (62) tells what muzzleflash is played.
X2 = mf3
X1 = mf2
X0 = mf1
(4) To sum it up.
{ event 50A1 B "CD" }
A= $attachment A
B= Event plays on frame B
C= Scaling of the sprite
D= Sprite used muzzleflashD+1.spr
________________________________________________________
Always note that you can the $attachment from p_models, change them or incorporate them into the player model's .qc in order to create the largest variety.
A p_model's $attachment position OVERRIDES the position described in the player model's .qc , which allows ultra-precise positioning on the p_model rather than "guessing" on the player model, and it also adds to the possible variety.
(B) The "event 7000" (by DrFuzzy)
*****************************
Usage:
{ event 70X0 Y "effectname" }
X tells which $attachment is used (from 0 to 3 -> 7000; 7010; 7020; 7030)
Y tells the frame on which it appears,
The list of effects (with the name of the sprite they use):
ShotgunSmoke - lightsmoke.spr
WelderLightSmoke - weldsmoke.spr
WelderHeavySmoke - steam1.spr
WelderBluePlasma - xspark1.spr
WelderBluePlasmaDrops - welddrip.spr
HeavyMGSmoke - lightsmoke.spr
TeleportEffect - nsteleport.spr
CommandHack - blueball.spr
PhaseInEffect2 - xspark4.spr
SpitHit - bigspit.spr
SpitShoot - bigspit.spr
SpikeHit - spithit.spr
SporeShoot - spore.spr
SporeCloud - spore.spr
MeleeDamage - meleehit.spr
PhaseGateIdle - flare6.spr
ResourceEmission - flare3.spr
UmbraCloud - umbra.spr
AcidHit - acidsplash.spr
BacteriaSpray - bacteria.spr
Xenocide - eexplo.spr
BileBomb - bilebomb.spr
PhaseInEffect - hack.spr
ScanEffect - scan.spr
JetpackEffect - blink2.spr
SmokePuffs - turretsmoke.spr
ChamberDeath - chamberdeath.spr
HiveDeath - chamberdeath.spr
StompEffect - stomp.spr
PheromoneEffect - pheromone.spr
StompSmoke - lightsmoke.spr