To smoothen the light shaft, change the loop in flashlight_act to something like this
for(i=0;i<100;i++)//<--Double the number of lightshaft flares
{
k+=0.29;//size++
you=ent_create("ball.mdl",vector(0,0,0),flare_act);
//set(you,FLAG1|TRANSLUCENT|BRIGHT);
set(you,FLAG1|BRIGHT);
you.alpha=1;
you.material=mtlShaft;
you.skill1=i*4;//x++ <--Make them closer
you.scale_x=you.scale_y=you.scale_z=k;
}
It will make it run slower though.
[EDIT]
Can some one please compile it to exe? I want to try it?
BTW, is there a way to make the stencil shadow volume visible? I think it can be used to simulate the light shaft