Really,Really Need Help With One Of The Weapons

Topics relating to Modeling with Reality Factory.
Post Reply
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Really,Really Need Help With One Of The Weapons

Post by metal_head » Mon Jun 09, 2008 7:25 pm

Im trying to make a weapon in my game that looks like this : http://www.bjorn3d.com/photos/data/511/ ... new010.jpg (I'm talking about the electric effect) So I decided to make an electric bolt effect:

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
Than added it in the explosion.ini:
[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
But..when I tried the weapon,the game threw me out.
PLEASE I NEED URGENT HELP

Post Reply