I have a script called altammo.fpi that came with the 1.18 beta 3
Here the script:
;Artificial Intelligence Script
;Header
desc = Ammo Pickup
;Triggers
::isaltammo
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupammo.tga,hudname=ammoprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40,cantake:state=1,playertake,coloff,plrsound=audiobank\items\pickup.wav,hudshow=ammoprompt,hudfadeout=ammoprompt
;End of Script
And here the gusnpec, is from the model pack 10 m4 m203
;M203 Rifle (burst) weapon spec
;Mesh, Textures and Animation by Jake Cotton aka EAI (Errant AI) (c)2007
;[email protected]
;GUN Model File Requirements
;GUN Settings
MUZZLECOLORR = 252
MUZZLECOLORG = 150
MUZZLECOLORB = 54
muzzleflash = 1
muzzlesize = 40
brass = 4
smoke = 4
flak = modernday\40mm
alternateisflak = 1
altreloadqty = 1
altmuzzleflash = 4
second = 0
damage = 25
damagetype = 1
scorchtype = 1
reloadqty = 15
iterate = 2
accuracy = 6
;zoommode = 1
;zoomaccuracy = 25
;GUN Visuals
textured =
;effect = effectbank\fastbone\fastbone.fx
effect = effectbank\BumpCubeReflectAlpha\BumpCubeReflectAlpha.fx
transparency = 1
zoomscope = scope1.tga
weapontype = 2
;GUN Sounds
sound1 = fire.wav
sound2 = reload.wav
sound3 = dryfire.wav
sound4 = retrieve.wav
sound5 = putaway.wav
;sound6 = cock.wav
fireloop = 3000
;HUD muzzleflash position
horiz = 5.1
vert = -.7
forward = 10.25
alignx = 2.5
aligny = -2.5
alignz = 29
;HUD animation frames list
keyframe ratio = 1
select = 1,20
Idle = 20,50
Move = 50,80
Start fire = 81,82
;automatic fire = 83,89
end fire = 90,95
reload = 96,185
putaway = 189,200
;HUD sound frames list
soundframes = 8
sframe0 = 82,1
sframe1 = 100,2
sframe2 = 108,5
sframe3 = 1,4
sframe4 = 84,1
sframe5 = 86,1
sframe6 = 91,1
sframe7 = 93,1
altreloadqty = 20
altiterate = 1
altrange = 3000
altdamage = 7
altaccuracy = 6
altrecoily = 120
altrecoilx = 30
altrecoilyreturn = 70
altrecoilxreturn = 80
alt Start fire = 81,82
alt automatic fire = 76,82
alt end fire = 90,95
alt idle = 20,50
alt move = 50,80
alt reload = 96,185
alt putaway = 189,200
alt select = 1,20
altmuzzleflash = 4
altsound1 = fire.wav
SCI FI MEDIA IS NEVER ENOUGH!
