Actually, the laser beam never clips through anything. The HUD stuff renders last. The problem is that if, say, you shoot a wall right in front of you, It still looks like the beam has travled far into the distance even though it hit something right next to you.
Its a little hard to see in a low quality vid, so I'll post the HUD.X and the gunspec to mess around with. Not including a color map but I'll post the alpha channel. Laser bolt is in the lower right.
Gunspec:
;laser weapon spec
;GUN Model File Requirements
;GUN Settings
muzzleflash = 6
muzzlesize = 40
brass =
smoke =
second =
damage = 5
damagetype = 1
scorchtype = 1
reloadqty = 1000
iterate = 0
accuracy = 0
zoommode = 1
;GUN Visuals
textured =
effect = effectbank\BumpCubeReflectAlpha\BumpCubeReflectAlpha.fx
transparency = 1
zoomscope = scope1.tga
weapontype = 1
;GUN Sounds
sound1 = fire.wav
sound2 = reload.wav
sound3 = dryfire.wav
sound4 = cock.wav
sound5 =
fireloop = 5000
;HUD muzzleflash position
horiz = 3
vert = 1.25
forward = 10
alignx = 3.25
aligny = -6.25
alignz = 20
;HUD animation frames list
keyframe ratio = 1
select = 0,9
Idle = 10,38
Move = 39,53
Start fire = 54,57
automatic fire = 58,64
end fire = 64,71
reload = 71,107
cock = 108,123
putaway = 124,133
;HUD sound frames list
soundframes = 3
sframe0 = 56,1
sframe1 = 75,2
sframe2 = 112,4
Alpha: