I'm trying to make a feature for one of my weapons. The basic idea is that it makes it so your character runs at high speeds. Not much of a weapon though, which is why I want to make a special feature on it, which I don't know how to do. I want to make it so that while you are holding shift, if you bump into something like an NPC, Player, or Prop, it will cause a set amount of damage to it as well as a set amount of force. For example, if the user of the weapon runs into an NPC, the NPC will be killed and be throw off the ground in the direction that the player was running at them with a set amount of force. I want to do this for props as well, so that a player can ram into a prop like a garbage can and apply the same physical effect to it, or if they run into a breakable prop the set damage will destroy it. Lastly, I want to make it so that running into a prop doesn't do damage. Normally, if you sprint while using the SWEP, crashing into a prop equals death. I want to make it so that they don't recieve damage from hitting the prop, but instead do as I said earlier, causing damage and a set amount of force. It's a lot I need to do, I know, but any help would be appreciated.
Sorry, you need to Log In to post a reply to this thread.