• Arrest Pistol BETA
    43 replies, posted
This is a beta of the arrest pistol i am working on. What it is supposed to do is arrest a player when you hit them, but only if their health is below 15. This way cops still have to hurt a perp but can arrest him at a safe distance. If the target has over 15 health then a message appears saying that person's health is too high. This is a beta so i would like some feed back if there are any problems. I expect there to be some problems when targeting other players. Once i get that feedback i will be able to fix it up and make it perfect. Hopefully If there are any lua errors please paste or type exactly what the console said was wrong, if there was no error than say what was malfunctioning. Also if you feel that it is unbalanced in some way please feel free to mention it, but first test it out. Dont just come here and say "Arrest pistols are to powerful" with out ever downloading and testing the weapon. It all goes into addons and all models, materials etc are included. Sorry there are not any pics, but Facepunch seems to hate my pics and wont upload them properly :/ NEW VERSION OUT! [url=http://www.garrysmod.org/downloads/?a=view&id=112723][img]http://www.garrysmod.org/img/?t=dll&id=112723[/img][/url] link
Arresting someone with a pistol how unusual nice idea though.
Use deagle once to hit target, targets health is now under 15, use arrest pistol.
How did it take the very main community of Garry's Mod a few years to come up with something like this? :what: Nice release nonetheless, however - does what it says on the tin, were there a tin to begin with.
[QUOTE=RikohZX;25855740]How did it take the very main community of Garry's Mod a few years to come up with something like this? :what: Nice release nonetheless, however - does what it says on the tin, were there a tin to begin with.[/QUOTE] So there are no errors at all? Even in multiplayer? :D
Nano, I already like you.
[QUOTE=RikohZX;25855740]How did it take the very main community of Garry's Mod a few years to come up with something like this? :what: Nice release nonetheless, however - does what it says on the tin, were there a tin to begin with.[/QUOTE] It didn't, this idea has been around for ages, but most people agreed it focused too much on "darkrp == guns", that it was unbalanced, too easy, unrealistic, etc.
similar to a taser but without the damage you have to inflict first! :)
[QUOTE=Zephilinox;25857335]It didn't, this idea has been around for ages, but most people agreed it focused too much on "darkrp == guns", that it was unbalanced, too easy, unrealistic, etc.[/QUOTE] Exactly why i set it that the player had to be below a certain health before they could be arrested. This way cops cant out right arrest people from a mile away and blame someone else, reducing the amount of mingbaggery
[QUOTE=nanotane;25862687]Exactly why i set it that the player had to be below a certain health before they could be arrested. This way cops cant out right arrest people from a mile away and blame someone else, reducing the amount of mingbaggery[/QUOTE] That doesnt work, its still unrealistic, even more so than the arrest baton already is, and the fact that you need to be under a certain amount of health in order to be arrested by it will only increase "mingbaggery", as you will need to shoot at the criminal before you can arrest him, most likely killing him in the process. And i havent even mentioned the fact that police can use it as a excuse to kill anyone who breaks even the tiniest little law.
[QUOTE=elowin;25870385]That doesnt work, its still unrealistic, even more so than the arrest baton already is, and the fact that you need to be under a certain amount of health in order to be arrested by it will only increase "mingbaggery", as you will need to shoot at the criminal before you can arrest him, most likely killing him in the process. And i havent even mentioned the fact that police can use it as a excuse to kill anyone who breaks even the tiniest little law.[/QUOTE] You cant realy talk about how things are unreal in GMod because nothing is realistic. I mean you get a gun that can bend the laws of gravity. With the issue of mingbagger, most crimes end up with the perp shooting the cops because dieing is not a very big consequence in rp. They would rather shoot the cop and risk being killed then be arrested. Its almost impossible to arrest a criminal with an arrest baton as they will kill you or out run you before you get close. This gun balances it out, by allowing the cops to arrest a perp from a safe distance but still have to damage him in order for an arrest so the cops cant go around shooting people with the gun and instantly arresting people.
[QUOTE=nanotane;25871285]You cant realy talk about how things are unreal in GMod because nothing is realistic. I mean you get a gun that can bend the laws of gravity. With the issue of mingbagger, most crimes end up with the perp shooting the cops because dieing is not a very big consequence in rp. They would rather shoot the cop and risk being killed then be arrested. Its almost impossible to arrest a criminal with an arrest baton as they will kill you or out run you before you get close. This gun balances it out, by allowing the cops to arrest a perp from a safe distance but still have to damage him in order for an arrest so the cops cant go around shooting people with the gun and instantly arresting people.[/QUOTE] *Sigh*
Making it arrest only under a certain health is just 1 of many things you could do to "balance it", you could check the distance away from the entity the player is looking at, only shooting if it is a player, you could make it need to hit the player certain times before it arrests them, it could only arrest if you hold the gun for x amount of seconds, etc.
[QUOTE=Zephilinox;25873373]Making it arrest only under a certain health is just 1 of many things you could do to "balance it", you could check the distance away from the entity the player is looking at, only shooting if it is a player, you could make it need to hit the player certain times before it arrests them, it could only arrest if you hold the gun for x amount of seconds, etc.[/QUOTE] I actually thought of about half those ideas, but the one about the holding the gun for a number of seconds is good. Remember this is a beta so i may decide to add some of these things. One thing that still worries me a bit is that the health to arrest may be to low. The reason being is that most guns kill a person before they reach 15 health. 20 may be a better limit, because then i would have a base line of sorts. If you use a gun with 20 damage, then 4 body shots will allow for an arrest. What do you guys think? Just wondering btw, has anyone tested this on their RP server and not only in singleplayer?
[QUOTE=nanotane;25879833]I actually thought of about half those ideas, but the one about the holding the gun for a number of seconds is good. Remember this is a beta so i may decide to add some of these things. One thing that still worries me a bit is that the health to arrest may be to low. The reason being is that most guns kill a person before they reach 15 health. 20 may be a better limit, because then i would have a base line of sorts. If you use a gun with 20 damage, then 4 body shots will allow for an arrest. What do you guys think? Just wondering btw, has anyone tested this on their RP server and not only in singleplayer?[/QUOTE] I would just use 100-(((math.floor(100/x))-1)*x) where x is the weakest damage the weakest standard rp gun deals. ex: [code]100/16 = 6.25 = 6 6-1= 5 5*16= 80 100-80= 20 min.health target needs to be arrested is 20.[/code] or [code] 100/40 = 2.5 = 2 2-1=1 1*40=40 100-40=60 min.health target needs to be arrested is 60.[/code] I don't what the lowest damage of all the standard rp guns are so I just gave 2 examples.
you should probably add a maximum distance to register an arrest too
[QUOTE=Zephilinox;25883426]I would just use 100-(((math.floor(100/x))-1)*x) where x is the weakest damage the weakest standard rp gun deals. ex: [code]100/16 = 6.25 = 6 6-1= 5 5*16= 80 100-80= 20 min.health target needs to be arrested is 20.[/code] or [code] 100/40 = 2.5 = 2 2-1=1 1*40=40 100-40=60 min.health target needs to be arrested is 60.[/code] I don't what the lowest damage of all the standard rp guns are so I just gave 2 examples.[/QUOTE] Maybe, but since a lot of people use the CSS Realistic weapons, i might base it off of that. Another thing i thought of was that sometimes people boost their health to 1000+ using drugs and then it is impossible to kill/arrest them. Perhaps the gun should be set to also arrest someone if there health is above a certain point say like 600. That would put a limit on how much a perp can boost his health (sort of) but still give them enough room to boost. IMO i like boosting health, but sometimes it is a bit too much. To Bletotum, I thought about setting a length limit, but im not entirely sure.
[QUOTE=nanotane;25893995]Maybe, but since a lot of people use the CSS Realistic weapons, i might base it off of that. Another thing i thought of was that sometimes people boost their health to 1000+ using drugs and then it is impossible to kill/arrest them. Perhaps the gun should be set to also arrest someone if there health is above a certain point say like 600. That would put a limit on how much a perp can boost his health (sort of) but still give them enough room to boost. IMO i like boosting health, but sometimes it is a bit too much. To Bletotum, I thought about setting a length limit, but im not entirely sure.[/QUOTE] get the health of the player when your aiming at him, and if its above 100 just do health/100, so if its 600, 600/100 = 6 100/16 = 6.25 =6 6-1=5 5*16= 80 100-80 = 20 20 * 6 = 120 min.health required to be arrested is 120.
I really like this, the server i play uses the tasor as an unlockable weapon once you reach a certain rank CP. This would make a great unlock. What i wouldnt mind seeing is once arrested you have a pop-up box which demands a reason within a certain amount of time. I mean a box which doesnt interfere with the players ame but like after a minute or two if there is no reason the player is auto demoted. I find in DarkRP that most people find being arrested very annoying as they obviously have been arrested for a reason but never know the reason. This always results in people in jail crying cos they have been arrested and demoting. Only an idea and i have never tried lua but idk someone might try :) Still great add-on.
Tommy, we got the Taser adding the "ALLMIGHTY ARREST PISTOL" which can shoot, and teleport players to jail. Arrest Baton is unrealistic as it is. @Author - Just because "Gmod" itself is unrealistic dosn't mean that RP gamemodes have to. You're suppose to make RP realistic as possible as it is IRL, and if you can code that you dont need the Physgun & Toolgun to build I would be downloading it.
It sounds to me like the RP you like is more along the lines of taconbanana. This is designed for basic dark RP servers were most everyone has a gun and are willing to shoot the cops. I have thought about balance though which is why the perp has to be below a certain health. More balancing may be necessary since this is a beta but the server owner who uses this weapon can balance it by making the cops have to buy it,or only giving it to the chief etc. I can't control the owner if they want to hand every cop the gun.
[QUOTE=nanotane;25893995]I thought about setting a length limit, but im not entirely sure.[/QUOTE] because arresting people from 500 yards away is normal
I'm playing on a DarkRP server : 81.19.217.185:27016. I got a question.. Why are you making this when there is a Taser?
Technicaly this is more efficient than the taser. Also why not, some people may like this more than the taser and if people don't like it or prefer the taser then they wont download it. If a server is using it and you don't like it, than go to another server. There are hundreds of RP servers out there.
[QUOTE=nanotane;25899320]Technicaly this is more efficient than the taser.[/QUOTE] No shit sherlock? It's a ranged arrest baton. You're spawning stuff out of the mid air on DarkRP, but ranged arrest baton is going a bit to far. I mean yesterday when I went to school I said "FUCK YOU" to a cop. Then he shot me with his service pistol til I had low HP, and then he shot me with his Arrest Pistol.
[QUOTE=REM REM;25901776]No shit sherlock? It's a ranged arrest baton. You're spawning stuff out of the mid air on DarkRP, but ranged arrest baton is going a bit to far. I mean yesterday when I went to school I said "FUCK YOU" to a cop. Then he shot me with his service pistol til I had low HP, and then he shot me with his Arrest Pistol.[/QUOTE] dude calm down, its just a swep. Besides this doesnt replace the arrest baton it supplements it.
So after thinking about this for a few mili seconds, there is a much more balanced way of this gun working. Simple put, you need to aim at the target player you want to warrest for several seconds before it lets you, but in order for those seconds to count you must be within 20 meters from the target, the health of the player wouldn't matter. replace 20 meters with whatever.
It's a good idea, but the problem is that then the perp would just have to jump around so the cop can't get a bead on him. Perhaps I should make 2 guns. One were if they are below a certain health it will arrest and the other set to arrest the way you described without the health qualification. Then release them both and see which one people like more
[QUOTE=nanotane;25914807]It's a good idea, but the problem is that then the perp would just have to jump around so the cop can't get a bead on him. Perhaps I should make 2 guns. One were if they are below a certain health it will arrest and the other set to arrest the way you described without the health qualification. Then release them both and see which one people like more[/QUOTE] That adds to the balance of arresting someon from a distance, if the player is smart he will use the world, props, other players and his skills (in this case, jumping) to do everything he can in order to make it hard for the cop.
Im gonna have to put off this project for a week or so. Been very busy with debate and school, but i will start up again next week hopefully.
Sorry, you need to Log In to post a reply to this thread.