Code: Select all
[bolt]
type = bolt
bitmapname = BOLT.bmp
alphamapname = BOLT.bmp
endoffset = 0 0 0
width = 4
wildness = 1
intermitten = false
maxfrequency = 0.1
minfrequency = 0.1
dominantcolor = 2
color = 0 0 255
totallife = 1
[bolt]
effect0 = bolt
delay0 = 0
offset0 = 0 0 0
I decided to put the effect on the Sprayer weapon so instead of shooting flames it will shoot the electric bolt:
Code: Select all
[sprayer]
type = weapon
slot = 6
firerate = 0.1
catagory = projectile
projectile = ball
attribute = enemy_health
ammunition = ball
shotpermagazine = 50
ammopershot = 1
attacksound = Weapon\fire2.wav
reloadsound = Weapon\fanstop.wav
emptysound = Weapon\fireend2.wav
muzzleflash3rd = bolt
allowlitcrosshair = true
crosshairlitcolor = 255 0 0
recoilamount = -10
recoildecay = 40
;
; 1st Person
;
viewactor = Weapon\v_sprayer.act
viewfillcolor = 255 255 255
viewambientcolor = 255 255 255
viewrotation = -53.8 90.3 3.2
viewoffset = 0.9 -39.1 4.7
viewscale = 0.61
viewlaunchoffset = 0 0 25
viewlaunchbone = Bip01 R Hand
viewanimationspeed = 1
viewarmanim = idle
viewidleanim = idle
viewattackanim = idle
viewaltattackanim = idle
viewhitanim = idle
viewalthitanim = idle
viewwalkanim = idle
muzzleflash = bolt
crosshair = crosshair.bmp
crosshairalpha = a_crosshair.bmp
crosshairfixed = true
allowlitcrosshair = false
crosshairlitcolor = 255 0 0
recoilamount = 10
recoildecay = 5
bobamount = 10
viewreloadanim = idle
viewkeyreloadanim = idle
viewattackemptyanim = idle
environmentmapping = false
allmaterial = false
percentmapping = 0
percentmaterial = 0
PLEASE I NEED URGENT HELP