Approved Breaker Punisher

Gameplay Addons
User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

Breaker Punisher

#1

Post by Raheem » 1 Year Ago

Breaker Punisher

Description:
  • If you are running on a breakable bridge or path and one of your friends break it with his weapon and you had dropped down, what you will do? This plugin will auto slay anyone that do this to his team-mates. This plugin will allow you to specify entities that if someone breaks while your friend passing on it he will be punished.
Cvars:
  • breaker_damage_time 2 - Time that damage made by player for breakable entity will be counted.
Commands:
  • ze_breakmenu - Writing this in console will open menu to add/delete entities.
Information:
  • This plugin will store players damage to an entity and when someone break it, plugin will check if there is a human on this breakable entity or not. If there is a player on it then it will slay all players that helped in breaking it. The breaker damage time is defined as: time that if elapsed from last damage, player will not be punished.

    Example: One player 1 did damage to the breakable entity
    After 1 second another player break it, the two players will be punished as breaker_damage_time 2

    Example: One player did damage to the breakable entity
    After 3 seconds another player break it, only second one will be punished as breaker_damage_time 2
    If you need the first one to be also punished you must set the time to 3 or more.
  • You should for each map specify the entities that if someone breaks to be punished. You will need to open the add/remove menu by writing in console ze_breakmenu then you aim at the entity you need to be added and hit add this entity, you can also remove the entitiy with same way.
  • You can change the flag for ze_breakmenu from: #define ACCESS ADMIN_RCON
  • If you need to delete all entities for one map, you can go to config folder then breakable folder then delete the mapname.txt
Thanks to:
  1. Rain1153 - Plugin idea.
  2. th3_king - Testing with me.
Screenshots:
  • ImageImageImageImageImage
Downloads:
These users thanked the author Raheem for the post:
th3_king (1 Year Ago)
You don't know? Learn and you will know.

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#2

Post by Rain1153 » 1 Year Ago

so lets imagine that 2 players will be standing and 1 guy crossed over the bridge and breaks it( so who will be slayed)?
2nd case: if both stand on the same bridge and 1 guy breaks while they are still standing/running( who will be slayed?)
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#3

Post by Rain1153 » 1 Year Ago

how can we make the guy who broke should be punished only!!!!
becz the other guys who shot it also got punished
LOL

User avatar
th3_king
VIP
VIP
Egypt
Posts: 35
Joined: 2 Years Ago
Location: Egypt
Has thanked: 10 times
Been thanked: 2 times
Age: 17
Contact:

#4

Post by th3_king » 1 Year Ago

Thanks bro, works perfectly. :D

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#5

Post by Raheem » 1 Year Ago

Rain1153 wrote:
1 Year Ago
so lets imagine that 2 players will be standing and 1 guy crossed over the bridge and breaks it( so who will be slayed)?
2nd case: if both stand on the same bridge and 1 guy breaks while they are still standing/running( who will be slayed?)
1st case: Last one who broke and the other one if his damage within the cvar time
2nd case: this 1 guy will be slayed only
Rain1153 wrote:
1 Year Ago
how can we make the guy who broke should be punished only!!!!
becz the other guys who shot it also got punished
You can control the time with the cvar, also test it and you get the idea.

Will only slay the player who assist in breaking it if his damage was in range 2 seconds or whatever cvar is. If he made damage and gone and 2 seconds elapsed and after this one broke it. Only who brokes will be punished not the two.
You don't know? Learn and you will know.

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#6

Post by Rain1153 » 1 Year Ago

and if i break it on myself i still get auto slayed how to fix it
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#7

Post by Rain1153 » 1 Year Ago

its buggy u know if there is a glass and if players go lean on the class and break it most of em are slayed! You should make it like if they stand on it not touch it isn't there any code?
LOL

User avatar
th3_king
VIP
VIP
Egypt
Posts: 35
Joined: 2 Years Ago
Location: Egypt
Has thanked: 10 times
Been thanked: 2 times
Age: 17
Contact:

#8

Post by th3_king » 1 Year Ago

Rain1153 wrote:
1 Year Ago
its buggy u know if there is a glass and if players go lean on the class and break it most of em are slayed! You should make it like if they stand on it not touch it isn't there any code?
Yes, i have the same issue.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#9

Post by Raheem » 1 Year Ago

OK, thanks for reporting. I'll fix this soon.
You don't know? Learn and you will know.

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#10

Post by Rain1153 » 1 Year Ago

alright bro thanks
LOL

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests