items:
- type: STR_ASSAULT_CARBINE
listOrder: 2899
size: 0.2
costBuy: 2150
costSell: 2250
weight: 4
bigSprite: 57
floorSprite: 73
handSprite: 128
bulletSprite: 2
fireSound: 4
compatibleAmmo:
- STR_ASSAULT_CARBINE_CLIP
accuracyAuto: 82
accuracySnap: 88
accuracyAimed: 98
tuAuto: 30
tuSnap: 20
tuAimed: 25
battleType: 1
twoHanded: false
invWidth: 1
invHeight: 3
maxRange: 200
aimRange: 35
snapRange: 30
autoRange: 25
minRange: 1
dropoff: 2
autoShots: 8
- type: STR_ASSAULT_CARBINE_CLIP
listOrder: 2901
size: 0.1
costBuy: 200
costSell: 150
weight: 0.5
bigSprite: 58
floorSprite: 74
hitSound: 22
hitAnimation: 26
power: 54
damageType: 1
clipSize: 32
battleType: 2
ufopaedia:
- id: STR_ASSAULT_CARBINE
type_id: 4
section: STR_WEAPONS_AND_EQUIPMENT
text: STR_ASSAULT_CARBINE_UFOPEDIA
listOrder: 2901
- id: STR_ASSAULT_CARBINE_CLIP
type_id: 4
section: STR_NOT_AVAILABLE
extraSprites:
- type: BIGOBS.PCK
width: 32
height: 48
files:
57: Resources/Assault_Carbine/Assault_Carbine.GIF
58: Resources/Assault_Carbine/Assault_Carbine_Clip.GIF
- type: FLOOROBS.PCK
width: 32
height: 40
files:
72: Resources/Assault_Carbine/Assault_Carbinef.GIF
73: Resources/Assault_Carbine/Assault_Carbine_Clipf.GIF
- type: HANDOB.PCK
width: 256
height: 40
subX: 32
subY: 40
files:
128: Resources/Assault_Carbine/HANDOB_Assaul_Carbine.PNG
extraStrings:
- type: en-US
strings:
STR_ASSAULT_CARBINE: "Assault Carbine"
STR_ASSAULT_CARBINE_UFOPEDIA: "This weapon was created out of a joint project between Heckler & Koch and Colt to supplement the incredibly effective assault rifles on the main battlefield. Designed as a lighter weapon with a higher rate of fire, this weapon can provide a tremendous 1,200 rounds per minute."
no need to include the full path for your extrasprites, use / instead of \ in paths, be careful with your indentation, don't use tabs, be mindful of the numbers you use for things like bigobs and handobs, as they are very precisely ordered, and must reference sprites that actually exist, wrap your extrastrings in quotes and make sure you define ufopaedia articles for your ammo.
i'd suggest grabbing a mod that does _basically_ what you want to do, as a starting point, and learn from there.