Approved Breaker Punisher

Plug-ins compatibility with Zombie Escape 1.x only!


User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

Breaker Punisher

#1

Post by Raheem » 5 years 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:
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#2

Post by Rain1153 » 5 years 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: 278
Joined: 6 years ago
Contact:

#3

Post by Rain1153 » 5 years 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: 6 years ago
Location: Egypt
Contact:

#4

Post by th3_king » 5 years ago

Thanks bro, works perfectly. :D

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#5

Post by Raheem » 5 years ago

Rain1153 wrote: 5 years 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: 5 years 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.
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#6

Post by Rain1153 » 5 years 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: 278
Joined: 6 years ago
Contact:

#7

Post by Rain1153 » 5 years 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: 6 years ago
Location: Egypt
Contact:

#8

Post by th3_king » 5 years ago

Rain1153 wrote: 5 years 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
Posts: 2214
Joined: 7 years ago
Contact:

#9

Post by Raheem » 5 years ago

OK, thanks for reporting. I'll fix this soon.
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#10

Post by Rain1153 » 5 years ago

alright bro thanks
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#11

Post by Raheem » 5 years ago

I fixed most problems. Now you need to specify the entities for every map manually. If anyone break these entities you have chosen and there were a player (friend) on it he will be punished.
He who fails to plan is planning to fail

User avatar
th3_king
VIP
VIP
Egypt
Posts: 35
Joined: 6 years ago
Location: Egypt
Contact:

#12

Post by th3_king » 5 years ago

Thanks a lot, It's working perfectly now :D

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#13

Post by Rain1153 » 5 years ago

great idea bro thanks i will test it soon
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#14

Post by Rain1153 » 5 years ago

raheem can't we make the plugin punish only the breaker himself? becz some teammates will try to make the entity easier to break when zm comes and also if we break on our-self it slays our-self only
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#15

Post by Raheem » 5 years ago

I can block slay if player break it and he was on it, but it can be abused such that the breaker to block his mates he stand on entity and break it so he will not got slay.

Already punishment is for breaker and helpers in 2 seconds and you can reduce cvar to 1 and this is best approach, try it and let me know how it's working.
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#16

Post by Rain1153 » 5 years ago

its working fine but what about breaking on myself? i get auto killed when i break on myself
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#17

Post by Raheem » 5 years ago

I have idea for this:

If there is no players else this player standing on the breakable entity then we will not slay him.
If there is more than player and he break it and was standing on the entity he will be slayed.

Will find time to implement this.
He who fails to plan is planning to fail

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#18

Post by czirimbolo » 5 years ago

Please make it that player cant kill himself
Image

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#19

Post by Rain1153 » 5 years ago

yeah he is working on it!
LOL

StaN
Member
Member
Posts: 8
Joined: 5 years ago
Contact:

#20

Post by StaN » 5 years ago

Hi,
there is a problem, When Human break on the Zombies, he get slay also?! but this shouldn't happen, I tested, when a zombie drop from something that human broke on him , the human get slayed! what is the solution!? it shouldn't slay human when he try to break in other team! which is (Zombies).

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest