Blockland Forums > Suggestions & Requests
A Weak Gun
silverfang:
Could some one please make a gun (Using default gun model) that doesn't do much damage? Or could you tell me how? Thanks.
Blockoman:
1. Open up the Weapon_Gun.zip
2. Open up the server.cs in Notepad or a similar text-reading program
3. Check this part out:
--- Quote ---AddDamageType("Gun", '<bitmap:add-ons/Weapon_Gun/CI_gun> %1', '%2 <bitmap:add-ons/Weapon_Gun/CI_gun> %1',0.2,1);
datablock ProjectileData(gunProjectile)
{
projectileShapeName = "./bullet.dts";
directDamage = 30;
directDamageType = $DamageType::Gun;
radiusDamageType = $DamageType::Gun;
--- End quote ---
Play around with the damage.
silverfang:
--- Quote from: Blockoman on June 29, 2010, 10:42:43 AM ---1. Open up the Weapon_Gun.zip
2. Open up the server.cs in Notepad or a similar text-reading program
3. Check this part out:
Play around with the damage.
--- End quote ---
Thank You!
Devvy:
Inb4 "it doesn't work!"
TheArmyGuy:
So the gun has 30 damage?
Interesting.