Author Topic: A Weak Gun  (Read 781 times)

Could some one please make a gun (Using default gun model) that doesn't do much damage? Or could you tell me how? Thanks.

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;

Play around with the damage.

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.


Thank You!

Inb4 "it doesn't work!"

So the gun has 30 damage?
Interesting.

So the gun has 30 damage?
Interesting.
4 shot kill, impossible D:

Inb4 "it doesn't work!"
YOU


WHAT ARE-
WHY-

WHAT-

WHY ARE YOU ON THE FORUMS!?

YOU


WHAT ARE-
WHY-

WHAT-

WHY ARE YOU ON THE FORUMS!?

.....um