[FilterScript] Weapon Skills Training System
#1

Intro:
This system consists of upgrading player desired weapon skills by shooting small bottles objects. There are 11 slots and 3 positions for each slot bottle which control the training difficulty. Shooting difficulty does also depend on the weapon you choose; example: using sniper rifle you could easily destroy the 3 bottles from the first attempts, while using 9mm will decreasing destroying objects from the first attempts, as the video shows. Weapon Skills are saved in player variables that can be checked using /myskills. OIn order to start training, you have to use /train. Do not worry about loosing your position and your weapons, they will be saved and you get them back just after the training!
This system is really simple and basic, I will update it, optimize the codes and add more features as soon as I get more free time :l
Commands: /myskills /train







Video:


[ame]http://www.youtube.com/watch?v=V3HsE1Veu2o[/ame]



Download and Credits:

Thanks to samp team for a_samp and Zeex for zcmd, pastebin link: http://pastebin.com/k5xuN8KZ
Reply
#2

Woah nice one!
Reply
#3

This filterscript can be used as an exploit because you're not checking the hittype under OnPlayerWeaponShot. Also, IMO, the concept used here isn't really good. Calculating the player's skill randomly isn't really the way it has to be worked out, you should check how good the player shoots. To make it quick, I'd calculate the time spent to shoot, number of bullets fired and it's shot accuracy.
Reply
#4

That's why I said it's really simple and basic, I will update it soon as possible
About the hittype, yes you're right, I will add that in a few seconds
EDIT: I can't calculate the shot accuracy because as you can see, a player won't be able to destroy the third bottle only by aiming at a very limited area
Reply
#5

wow awesome work ! +rep
Reply
#6

Good job,
+Rep
Happy new year.
Reply
#7

I like it. Nice job.
Reply
#8

Thank you guys!
Reply
#9

Awesome work!
Reply
#10

Quote:
Originally Posted by Battlezone
View Post
That's why I said it's really simple and basic, I will update it soon as possible
About the hittype, yes you're right, I will add that in a few seconds
EDIT: I can't calculate the shot accuracy because as you can see, a player won't be able to destroy the third bottle only by aiming at a very limited area
NOTE FOR ANYONE WHO WANTS TO USE THIS FILTERSCRIPT: The hit type under onweaponshot is wrong it needs to be 4 since the objects are player objects, not server objects.
Reply
#11

Very nice concept man!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)