why not use the sniper rounds from the wasteland sniper?
just check if they exist and if the datablocks don't already exist add them in
if(!isObject(ammoBox308ItemA))
{
if($Pref::SwolAmmo_MaxAmmo["308"] $= "")
$Pref::SwolAmmo_MaxAmmo["308"] = 5*3;
if($Pref::SwolAmmo_SpawnAmmo["308"] $= "")
$Pref::SwolAmmo_SpawnAmmo["308"] = 5;
$Swol_AmmoName["308"] = "Sniper Rounds";
datablock ItemData(ammoBox308ItemA : ammoBox9mmItemA)
{
shapeFile = "./model/ammobox_308A.dts";
iconName = "./model/icon/icon_ammo308";
uiName = "Ammo Sniper";
colorShiftColor = "0.9 0.9 0.9 1";
sAmmo = 10;
sAmmoType = "308";
};
if($Pref::SwolAmmo_ExtraAmmoBoxes)
{
datablock ItemData(ammoBox308ItemB : ammoBox9mmItemA)
{
shapeFile = "./model/ammobox_308B.dts";
uiName = "Ammo Sniper B";
colorShiftColor = "0.9 0.9 0.9 1";
sAmmo = 10;
sAmmoType = "308";
};
}
datablock shapeBaseImageData(ammo308Image : ammo9mmImage)
{
shapeFile = "./model/ammobox_308B.dts";
offset = "0.12 0.04 0.05";
rotation = eulerToMatrix("-90 -90 0");
colorShiftColor = ammoBox308ItemA.colorShiftColor;
};
}
copy the models in too and what not
doesn't make since to use heavy rounds since you can literally carry like 800 of them at a time