hello everyone
here's my battery system (gunspec based on the taser) for EAI lamp.
It functions as a weapon (simulates a battery charger => configurable in gunspec).
It is obvious that I do not give the gunspec with in the header information EAI.
;EAI Lamps with battery
;Mesh, Textures and Animation by Jake Cotton aka EAI (Errant AI) (c)2007-2009 All Rights Reserved
;errant_ai@yahoo.com
;GUN Model File Requirements
;GUN Settings
MUZZLECOLORR = 255
MUZZLECOLORG = 255
MUZZLECOLORB = 255
muzzleflash = 1
muzzlesize = 1
brass = 4
smokedecal = sparks
smokespeed = 150
chardecal = sparks
nonchardecal = sparks
damage = 0
damagetype = 2
scorchtype = 2
reloadqty = 1000
firerate = 1
range = 1
;HUD muzzleflash position
horiz = 0
vert = -1
forward = -5
alignx = 0
aligny = -50
alignz = 5
;GUN Visuals
textured =
effect = effectbank\BumpCubeReflectAlpha\BumpCubeReflectAlpha.fx
transparency = 1
weapontype = 0
;GUN Sounds
sound1 = fire.wav
sound2 = onoff.wav
sound3 =
sound4 = retrieve.wav
fireloop = 1000
;HUD ANIMATION
keyframe ratio = 1
select = 1,10
idle = 11,29
move = 31,61
start fire = 64,68
automatic fire = 69,88
end fire = 89,93
putaway = 102,111
;HUD sound frames list
soundframes = 4
sframe0 = 3,4
sframe1 = 65,2
sframe2 = 90,2
sframe3 = 104,4
;HUD ANIMATION additional
dual_to = 94,95
dual_from = 96,97
dual_select = 1,10
dual_idle = 11,29
dual_move = 31,61
dual_start fire = 64,68
dual_automatic fire = 69,88
dual_end fire = 89,93
dual_putaway = 102,111
;Ply's Mod Settings
candual = 1
;AirMod Settings
noscorch = 1
soundstrength = 0
runy = -1
gunlagspeed = 14
gunlagxmax = 10
gunlagymax = 10
simplezoomspeed = 7
Model if I'm not mistaken is free so it should be with you all.
some lines can be deleted but the file works fine
Some pictures showing the result (nothing fancy but useful for those who want a lamp with battery but do not like the 'flashlight V2/V3')



.