Re: wepon
Posted: Sat Jun 25, 2011 7:20 pm
I also forgot to mention the only animation it has is rotate
Code: Select all
;*********************************************************
; Mp40
;*********************************************************
[Mp40]
type = weapon
slot = 1
firerate = 0.01
catagory = projectile
projectile = 10mm_shell
attribute = enemy_health
ammunition = 10mm_shell
ammopershot = 1
shotpermagazine = 32
attacksound = weapon\deagle.wav
reloadsound = weapon\generic_reload.wav
emptysound = weapon\click.wav
muzzleflash3rd = MuzzleFlash
;
; 1st person
;
viewactor = Weapon\Mp40.act
viewfillcolor = 255 255 255
viewambientcolor = 255 255 255
viewrotation = -52.0 82.0 4.0
viewoffset = 0.7 -38.80 6.0
viewscale = 0.61
viewlaunchoffset = 0 0 25
viewlaunchbone = Bip01 R Hand
viewanimationspeed = 1
viewarmanim = ROTATE
viewidleanim = ROTATE
viewattackanim = ROTATE
viewaltattackanim = ROTATE
viewhitanim = ROTATE
viewalthitanim = ROTATE
viewwalkanim = ROTATE
muzzleflash = MuzzleFlash1
crosshair = crosshair.bmp
crosshairalpha = a_crosshair.bmp
crosshairfixed = false
allowlitcrosshair = true
crosshairlitcolor = 255 0 0
zoomamount = 2
zoomoverlay = zoomlow.bmp
zoomoverlayalpha = a_zoomlow.bmp
allowzoommove = false
recoilamount = 10
recoildecay = 5
bobamount = 10
viewreloadanim = ROTATE
viewkeyreloadanim = ROTATE
viewattackemptyanim = ROTATE
environmentmapping = false
allmaterial = false
percentmapping = 0
percentmaterial = 0
;
; dropped weapon
;
dropactor = Weapon\Mp40.act
dropfillcolor = 255 255 255
dropambientcolor = 255 255 255
droprotation = 0 -90 0
dropoffset = -40.0 -60.0 35.0
dropscale = 2.0
dropgravity = false
drophidefromradar = true
Code: Select all
;*********************************************************
; Mp40
;*********************************************************
[Mp40]
type = weapon
slot = 1
firerate = 0.01
catagory = projectile
projectile = 10mm_shell
attribute = enemy_health
ammunition = 10mm_shell
ammopershot = 1
shotpermagazine = 32
attacksound = weapon\deagle.wav
reloadsound = weapon\generic_reload.wav
emptysound = weapon\click.wav
muzzleflash3rd = MuzzleFlash
;
; 1st person
;
viewactor = Weapon\Mp40.act
viewfillcolor = 255 255 255
viewambientcolor = 255 255 255
viewrotation = -52.0 82.0 4.0
viewoffset = 0.7 -38.80 6.0
viewscale = 0.61
viewlaunchoffset = 0 0 25
viewlaunchbone = Bip01 R Hand
viewanimationspeed = 1
viewarmanim = ROTATE
viewidleanim = ROTATE
viewattackanim = ROTATE
viewaltattackanim = ROTATE
viewhitanim = ROTATE
viewalthitanim = ROTATE
viewwalkanim = ROTATE
muzzleflash = MuzzleFlash1
crosshair = crosshair.bmp
crosshairalpha = a_crosshair.bmp
crosshairfixed = false
allowlitcrosshair = true
crosshairlitcolor = 255 0 0
zoomamount = 2
zoomoverlay = zoomlow.bmp
zoomoverlayalpha = a_zoomlow.bmp
allowzoommove = false
recoilamount = 10
recoildecay = 5
bobamount = 10
viewreloadanim = ROTATE
viewkeyreloadanim = ROTATE
viewattackemptyanim = ROTATE
environmentmapping = false
allmaterial = false
percentmapping = 0
percentmaterial = 0
Code: Select all
[Mp40]
type = weapon
slot = 7
firerate = 0.1
catagory = projectile
projectile = 10mm_shell
attribute = enemy_health
ammunition = 10mm_shell
ammopershot = 1
shotpermagazine = 32
attacksound = weapon\deagle.wav
reloadsound = weapon\generic_reload.wav
emptysound = weapon\click.wav
muzzleflash3rd = MuzzleFlash
forceviewto = firstperson
;
; 1st person
;
viewactor = Weapon\Mp40.act
viewfillcolor = 255 255 255
viewambientcolor = 255 255 255
viewrotation = -146.5 96.9 -26.8
viewoffset = 47.5 -32.5 41.9
viewscale = 0.74
viewlaunchoffset = 0 -20 21
viewlaunchbone = BONE02
viewanimationspeed = 1
viewarmanim = ROTATE
viewidleanim = ROTATE
viewattackanim = ROTATE
viewaltattackanim = ROTATE
viewhitanim = ROTATE
viewalthitanim = ROTATE
viewwalkanim = ROTATE
muzzleflash = MuzzleFlash1
crosshair = crosshair.bmp
crosshairalpha = a_crosshair.bmp
crosshairfixed = false
allowlitcrosshair = true
crosshairlitcolor = 255 0 0
zoomamount = 2
zoomoverlay = zoomlow.bmp
zoomoverlayalpha = a_zoomlow.bmp
allowzoommove = false
recoilamount = 10
recoildecay = 5
bobamount = 10
viewreloadanim = ROTATE
viewkeyreloadanim = ROTATE
viewattackemptyanim = ROTATE
environmentmapping = false
allmaterial = false
percentmapping = 0
percentmaterial = 0
;
; dropped weapon
;
dropactor = Weapon\Mp40.act
dropfillcolor = 255 255 255
dropambientcolor = 255 255 255
droprotation = 0 -90 0
dropoffset = -40.0 -60.0 35.0
dropscale = 2.0
dropgravity = false
drophidefromradar = true