AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Addon: KF Slow-Motion v1.4 (https://forums.alliedmods.net/showthread.php?t=159340)

Excalibur.007 06-15-2011 21:09

[ZP] Addon: KF Slow-Motion v1.4
 
3 Attachment(s)
Description:
A slow-mo will be made when someone kills a zombie. Idea taken from Killing Floor.

It's fully tested no bugs found so far though.

Update Logs:
PHP Code:

v1.0 Initial release
v1.1 
Fix a bug where normal players can use /slowmo as well.
v1.2 More efficient codes.
v1.3 Changed the way speed worksNow compatible with ZP 4.3 Fix3
v1.4 
Fix zombie speed bug when it does not reset back to zombie speed but into CS Weapon Speed

Modules:
PHP Code:

#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <fun>
#include <hamsandwich>
#include <zombieplague> 

CVars
PHP Code:

zp_slowmo_speed "90.0"
   
The speed limit during slow-motion
zp_slowmo_duration 
"2.5"
   
Duration of slow-motion
zp_slowmo_rateoffire 
"3.0"
   
The rate of fire during slow-motion such as shooting/slashing/stabbing 

Commands:
If you do not have a tester, use this command to activate slowmo.Make sure you have the admin flag required to use this command. Check below for more info about admin flag.
PHP Code:

/slowmo 

Notes:
- Slow motion doesn't affects:
- Jumping(But it will still prevent them from going fast)
- Weapon animations
- CVars will only be updated every new round to make it more efficient.
- The sound does not sounds like Killing Floor. (CS has a limit of quality I think. It doesn't play higher quality than the limit so I had to convert it lower)
- zp_extra_slowmo - Instead of an addon, it becomes an extra item. This was requested.

Suggestions requirements:
- I do not want it to make it non-KF slow-motion

Customization:

If you want to change the flag requirement,
PHP Code:

#define ADMIN_FLAG    ADMIN_BAN 

List of admin flags (Taken from AMXModX Funcwiki)
PHP Code:

ADMIN_RESERVATION 
ADMIN_IMMUNITY 
ADMIN_KICK 
ADMIN_BAN 
ADMIN_SLAY 
ADMIN_MAP 
ADMIN_CVAR 
ADMIN_CFG 
ADMIN_CHAT 
ADMIN_VOTE 
ADMIN_PASSWORD 
ADMIN_RCON 
ADMIN_LEVEL_A 
ADMIN_LEVEL_B 
ADMIN_LEVEL_C 
ADMIN_LEVEL_D 
ADMIN_LEVEL_E 
ADMIN_LEVEL_F 
ADMIN_LEVEL_G 
ADMIN_LEVEL_H 

For sound changing,
PHP Code:

new const slowmo_start[] = "zombie_plague/slowmo_start.wav"
new const slowmo_end[] = "zombie_plague/slowmo_end.wav" 

Credits:
- Me - Obvious?
- Killing Floor - Idea & Sounds
- HLDJ - For converting the sound to a suitable quality for CS 1.6
- Special thanks to my friends for testing it with me

Off-topic:
I do not want this plugin to be in other forums. I put my trust in all of you.
If there is anything you need from me. Add me into steam iAmExcalibur007.

Excalibur.007 06-15-2011 21:11

Re: [ZP] Addon: KF Slow-Motion.
 
Some slow-motion effects by KF.

http://www.youtube.com/watch?v=KEq5L_upWfk&feature=player_detailpage #t=262s

Changed the link to a part where it slow-mo.

tei1995 06-16-2011 00:23

Re: [ZP] Addon: KF Slow-Motion v1.0
 
Tks for sharing us.:)

Excalibur.007 06-16-2011 00:35

Re: [ZP] Addon: KF Slow-Motion v1.0
 
No problem. Probably doing 1 more again :D.

yokomo 06-16-2011 01:35

Re: [ZP] Addon: KF Slow-Motion v1.0
 
Quote:

Originally Posted by Excalibur.007 (Post 1489104)
I do not want this plugin to be in other forums. I put my trust in all of you.

In this/next week your plugin will be on zombie-mod.ru forum. :mrgreen:

Excalibur.007 06-16-2011 01:37

Re: [ZP] Addon: KF Slow-Motion v1.0
 
@yokomo

Damn true. LOL. So what. Let them be. At least we know they have no scripting skills anyway.

albert123 06-16-2011 04:10

Re: [ZP] Addon: KF Slow-Motion v1.0
 
@Exca: Every models, good plugins which is from GameVn Forum, are always posted on zombiemod.ru, too..

I think we don't need to care about this problem.

Excalibur.007 06-16-2011 04:12

Re: [ZP] Addon: KF Slow-Motion v1.0
 
Yeah. As long they know themselves who made the plugin :3.

A.Madjid 06-16-2011 04:27

Re: [ZP] Addon: KF Slow-Motion v1.0
 
Nice plugin , really nice
i have a suggestion :
it's better also to make it in extra item and if some one bought it, everything will be slow down except him of course . . . maybe it's available only for the last human .

Excalibur.007 06-16-2011 05:12

Re: [ZP] Addon: KF Slow-Motion v1.0
 
Quote:

Originally Posted by A.Madjid (Post 1489221)
Nice plugin , really nice
i have a suggestion :
it's better also to make it in extra item and if some one bought it, everything will be slow down except him of course . . . maybe it's available only for the last human .

I'll try. I hardly create extra items though.

New:
@A.Madjid
Try the zp_extra_slowmo. I added it into the main post.


All times are GMT -4. The time now is 22:45.

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