16.07.2013, 21:40
I'm thinking of doing a little system to get myself started in the big scripting things.
The idea is to be able to buy guns and then customise them in a certain way; I know how to do that, and I'm gonna keep that idea for myself until I release the script to show you guys how I've done.
There's something I'm stuck on, however, two things more or less:
Weapon Damage - I've got custom weapon damages for each weapon, the trouble is, it takes away health and if the player has Kevlar & health, it still takes away health only. I want to know how to correct it so it checks if the player has Kevlar, and if they do, it then takes the Kevlar before taking the health.
Weapon Range - Is there a way I could alter the range that weapons can shoot and hit a target without using MapAndreas? I hear it takes up quite a lot of memory so I don't particularly want to use it.
Can I get some help here? Also, ideas are appreciated for customising weapons and stuff.
The idea is to be able to buy guns and then customise them in a certain way; I know how to do that, and I'm gonna keep that idea for myself until I release the script to show you guys how I've done.
There's something I'm stuck on, however, two things more or less:
Weapon Damage - I've got custom weapon damages for each weapon, the trouble is, it takes away health and if the player has Kevlar & health, it still takes away health only. I want to know how to correct it so it checks if the player has Kevlar, and if they do, it then takes the Kevlar before taking the health.
Weapon Range - Is there a way I could alter the range that weapons can shoot and hit a target without using MapAndreas? I hear it takes up quite a lot of memory so I don't particularly want to use it.
Can I get some help here? Also, ideas are appreciated for customising weapons and stuff.