About
News
Tutorials
Tools
Tools Guide
Scripting
Forums
Contact
altFireOnce
altFireOnce <0 or 1>
altFireOnce allows you to set if alt fire loops or not. Meaning, if you press the alt fire button and hold it, the object will fire once if altFireOnce is 1. Otherwise it will keep firing.
Example:
ObjectTemplate.
create
HandFireArms
Sg44
ObjectTemplate.
itemIndex
3
ObjectTemplate.
networkableInfo
HandFireArmsInfo
ObjectTemplate.
projectileTemplate
sg44Projectile
ObjectTemplate.
projectilePosition
0/0/0
ObjectTemplate.
magSize
30
ObjectTemplate.
numOfMag
5
ObjectTemplate.
magType
0
ObjectTemplate.
reloadtime
3.8
ObjectTemplate.
roundOfFire
9
objectTemplate.
aiTemplate
SG44AI
ObjectTemplate.
hasDynamicShadow
1
ObjectTemplate.
zoomFov
0.5
ObjectTemplate.
altFireOnce
1
ObjectTemplate.
soldierZoomFov
0.6
ObjectTemplate.
soldierZoomPosition
-0.04/-0.01/0
ObjectTemplate.
soldierCameraPosition
-0.02/-0.04/0.03
ObjectTemplate.
addRootSpeed
0
ObjectTemplate.
ammoType
1
ObjectTemplate.
GUIIndex
3
ObjectTemplate.
setHudAmmoType
ATAmmoBar
ObjectTemplate.
setAmmoBar
"Ingame/Magbar_Sg44_empty_32x64.tga"
ObjectTemplate.
setAmmoBarFill
"Ingame/Magbar_Sg44_full_32x64.tga"
ObjectTemplate.
setAmmoBarSize
64
ObjectTemplate.
setAmmoBarPosX
3
ObjectTemplate.
setAmmoBarPosY
-11
ObjectTemplate.
setAmmoBarTextPosX
8
ObjectTemplate.
setAmmoBarTextPosY
4
Valid object types
handFireArms