421
Off Topic / Re: What is BLF's Opinion on "Spirit Week"?
« on: April 17, 2018, 04:40:52 PM »
you fools don't understand theres nothing stopping you from wearing pajamas every day at school
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
honestly the heavy sniper should keep it's own ammo type.. (heavy rounds are more accurate if anything) bash me for wanting an M82 Barrett to not use a round akin to a .308 all you want but to me that just seems like a better choice.but it doesn't make sense from a gameplay perspective to have 600 rounds in reserve for a sniper
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 notThen I could have it check the projectile datablock for custom sounds. Can you give me an example of a system that you would find most useful?you'd probably wanna do something like this
sound = default sound;
if(db.bulletFlyBySound[0] !$= "")
{
if(db.bulletFlyBySoundCnt !$= "")
{
sound = db.bulletFlyBySound[getRandom(0,db.bulletFlyBySoundCn)];
}
else
{
sound = db.bulletFlyBySound[0];
}
}
play sound
I figured hosts could just replace the sound files but I guess it wouldn't be too hard to make a pref system for itnot accounting for different types of guns that would make different sounds?
package swol_noHammerPlayers
{
function hammerImage::onHitObject(%db,%pl,%slot,%hit,%hitPos,%normal)
{
if(%pl.getClassName() !$= "Player")
return parent::onHitObject(%db,%pl,%slot,%hit,%hitPos,%normal);
if(%hit.getClassName() $= "Player")
{
if(isObject(%cl = %pl.client))
commandToClient(%cl,'MessageBoxOK',"Don't be rude","Please refrain from being annoying");
%pl.unMountImage(!%pl.playThread(1,root));
return;
}
parent::onHitObject(%db,%pl,%slot,%hit,%hitPos,%normal);
}
};
activatePackage(swol_noHammerPlayers);You'd want to do something along these lines
I've never seen you or anyone else host this, how does it work exactly? If you don't do what Simon says in a certain amount of time you get force killed or something?everyone has shock collars and simon has a thing to electrocute people or simon can just shoot them