Hi.
I'm trying to do an add-on on firearms that function like flashlight. I'm using the "ammo" compatibility, but when i load the mission, the rifle aren't there.
- type: STR_RIFLE
size: 0.2
costBuy: 3000
costSell: 2250
weight: 8
bigSprite: 1
floorSprite: 1
handSprite: 0
bulletSprite: 2
fireSound: 4
ammo:
0:
compatibleAmmo: [STR_RIFLE_CLIP, STR_AA_RIFLE_CLIP]
tuLoad: 5
tuUnload: 2
1:
compatibleAmmo: [ STR_ELECTRO_FLARE ]
tuLoad: 5
tuUnload: 2
confSnap:
shots: 1
name: STR_SNAP_SHOT
ammoSlot: 0
confAuto:
shots: 4
name: STR_AUTO_SHOT
ammoSlot: 0
confAimed:
shots: 1
name: STR_ONOFF
ammoSlot: 1
accuracyAuto: 35
accuracySnap: 75
accuracyAimed: 115
tuAuto: 35
tuSnap: 25
tuAimed: 60
battleType: 1
twoHanded: true
invWidth: 1
invHeight: 3
dropoff: 1
meleePower: 50
tuMelee: 25
accuracyMelee: 100
I'm using electro flares as flashlight
- type: STR_ELECTRO_FLARE
size: 0.1
costBuy: 60
costSell: 40
weight: 3
bigSprite: 55
floorSprite: 72
power: 15
battleType: 10
armor: 8
costPrime:
time: 5
costUnprime:
time: 5
primeActionName: STR_TURN_ON
unprimeActionName: STR_TURN_OFF
fuseType: -2
fuseTriggerEvents:
defaultBehavior: true
throwTrigger: false
What could be happened?