AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP 5.0 & ZP 4.3] Push away v1.2 (https://forums.alliedmods.net/showthread.php?t=213350)

artos 04-13-2013 17:07

[ZP 5.0 & ZP 4.3] Push away v1.2
 
2 Attachment(s)
Push away!
Simple noobs prevention.
Version: 1.2, Last update: 14.04.2013

INFO:
This plugin allows players to push each other by attacking them with knife/claws. This is very simple and useful because when zombie/human blocks the path you can simply push him away, great, isn't it? :)

After the version 1.1 you can pull the others by pressing +USE (Default E key) and attack them with claws/knife.

CVARS:
Quote:

zp_pushaway_team - 0 = off, 1 = Zombies only, 2 = Human only, 3 = Team related, 4 = Everyone can pull/push everyone
zp_pushaway_type - Allow pulling/pushing 0 = Push only, 1 = Pull only, 2 = Both
zp_pushaway_power - Pull/Knockback power multiplier (No decimal numbers!)
zp_pushaway_injump - Allow pulling/pushing when in midair 1 = ON, 0 = OFF
zp_pushaway_button - 0 = Both, 1 = Right click only
zp_pushaway_nemesis - Nemesis can be pushed 1 = ON, 0 = OFF
zp_pushaway_survivor - Survivor can be pushed 1 = ON, 0 = OFF
CREDITS:
Me - Plugin.
jamil_hamida - First plugin idea.
ANTICHRISTUS - "Pulling" idea.
ConnorMcLeod - Helped with optimizing code.

CHANGELOG:
Quote:

1.0 - First Release.
1.1 - Added feature: Pulling players by pressing +USE and attacking.
1.2 - Optimized code. Thanks to ConnorMcLeod.

ANTICHRISTUS 04-14-2013 07:02

Re: [ZP50 & ZP43] Pushaway
 
better than the shitty unreal semiclip.

some suggestions:
  • to press a specific key like +use as an example (assigned by cvar) when using the knife. like this no need to disable anything related to knife damage.
  • another cvar (or to press another key) to choose: to push or to pull.
  • and can you please make the same thing for non-zp ?

artos 04-14-2013 08:45

Re: [ZP50 & ZP43] Pushaway
 
Quote:

Originally Posted by ANTICHRISTUS (Post 1932371)
better than the shitty unreal semiclip.

some suggestions:
  • to press a specific key like +use as an example (assigned by cvar) when using the knife. like this no need to disable anything related to knife damage.
  • another cvar (or to press another key) to choose: to push or to pull.
  • and can you please make the same thing for non-zp ?

Thx. :)

I've made update with "pull" feature. Version for non-ZP server you can find HERE.

I have no idea how to make this more friendly to others plugins which concerns knife attack. BTW. This won't affect any other "knife plugins" but will add his own effect.

ANTICHRISTUS 04-14-2013 09:30

Re: [ZP50 & ZP43] Pushaway v1.1
 
I didn't understand when the plugin should push and not hit a player, that's why I asked you to use a key. my suggestion was something like this: to press E to pull and R to push, and 'nothing' to hit !

ps. the title is hard to find for someone who search by keywords, please use separate words :).

Catastrophe 04-15-2013 01:25

Re: [ZP 5.0 & ZP 4.3] Push away v1.2
 
It can be abused as sh*t.... if the push is a bit too much then this wud work as a free knife blink ... :\

artos 04-15-2013 08:22

Re: [ZP 5.0 & ZP 4.3] Push away v1.2
 
Quote:

Originally Posted by Catastrophe (Post 1932855)
It can be abused as sh*t.... if the push is a bit too much then this wud work as a free knife blink ... :\

That's why you have a cvar zp_pushaway_injump to prevent situations like this. :) And remember to change zp_pushaway_power to lower number like 2 or 3.

jamil_hamida 04-15-2013 16:11

Re: [ZP 5.0 & ZP 4.3] Push away v1.2
 
your plugin is not working be happy

jamil_hamida 04-15-2013 16:16

Re: [ZP 5.0 & ZP 4.3] Push away v1.2
 
ok its working thx.. i was trying it on zbot.. its not working for zbot


All times are GMT -4. The time now is 15:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.