Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Class : Chinese Zombie 1.2.2 updated (Advanced Leap zombie)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YKH =]
Senior Member
Join Date: Sep 2008
Location: Hong Kong
Old 02-20-2009 , 01:27   [ZP] Class : Chinese Zombie 1.2.2 updated (Advanced Leap zombie)
Reply With Quote #1

Description :

I'm looking Fry's long jump zombie class plugin, it cannot control Long jump speed and height. (old version)

Now this plugin are fixed all the function. You may allow to use "cvar" to set the speed & height!

Also i add one more delay function in it. It is hopeless to see long jump zombie "Godlike Jumping"

ATTENTION :

To use the leap, you must duck on the ground and press E

You can also use this model in your server

http://www.fpsbanana.com/skins/51774

have fun

Cvars :
Quote:
zp_zclass_leap_force "400" - How far zombie will jump
zp_zclass_leap_height "275" - How heigh zombie will jump
zp_leap_cooldown "2.0" - How many time delay zombie leap
Credits :
MeRcyLeZZ - For his leap perfect code
triplebug - Chinese zombie idea =]

change log :
Quote:
1.0 : base version
1.1 : fixed small bug
1.2 : fixed nemesis using leap bug
1.2.1 : change code
1.2.2 : change plugin name : chinese zombie
Attached Files
File Type: sma Get Plugin or Get Source (zp_zclass_leap_zombie.sma - 6745 views - 2.6 KB)
__________________
Approved Plugins

[ZP] Effect Plugins :
Damage Effect
Real Death

Last edited by YKH =]; 02-24-2009 at 07:25. Reason: Change name
YKH =] is offline
pro_on_0
Member
Join Date: Nov 2008
Old 02-20-2009 , 03:51   Re: [ZP] Class : Hunter Leap Zombie by YKH =]
Reply With Quote #2

Fly's long jump zombie class plugin CAN control Long jump speed and height.But no the time to delay zombie leap ...
pro_on_0 is offline
Old 02-20-2009, 04:17
Fry!
This message has been deleted by Fry!.
triplebug
BANNED
Join Date: Jan 2009
Old 02-20-2009 , 04:24   Re: [ZP] Class : Hunter Leap Zombie by YKH =]
Reply With Quote #3

Thanks! The leap still available when someone turns into nemesis? (Not nemesis default leap)
triplebug is offline
Old 02-20-2009, 04:51
Fry!
This message has been deleted by Fry!.
YKH =]
Senior Member
Join Date: Sep 2008
Location: Hong Kong
Old 02-20-2009 , 05:15   Re: [ZP] Class : Hunter Leap Zombie by YKH =]
Reply With Quote #4

Fry plx listen up

Your plugin CANNOT contorl speed & height by the cvar

YOUR fm_give_item(player, "item_longjump") included the deafult speed & height by the fakemeta module and you cvar are useless

AND YOUR "allowed_LongJump(id)" is useless. The plugin never check that code and your cvar also are useless

Also, These code ARE NOT same as you and check your eyes!

On top of that , My code is without fm_give_item(player, "item_longjump")<- can't control speed & height

Why don't you check it before posting?


BTW I change fly to fry in my post
__________________
Approved Plugins

[ZP] Effect Plugins :
Damage Effect
Real Death
YKH =] is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 02-20-2009 , 05:24   Re: [ZP] Class : Hunter Leap Zombie 1.2 update (Not as same as Fry's)
Reply With Quote #5

oh you think you are so smart that you took my plugin and changed it then why there is allowed_LongJump as mine? Cuz you didn't made it from start just edited...

You probably don't understand it but cvars works, cuz I have test them when I set to higher numbers...
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 02-20-2009 at 05:32.
Fry! is offline
YKH =]
Senior Member
Join Date: Sep 2008
Location: Hong Kong
Old 02-20-2009 , 05:31   Re: [ZP] Class : Hunter Leap Zombie 1.2 update (Not as same as Fry's)
Reply With Quote #6

sadly when i set a low number it doesn't works

Some words is taken my you but more and more codes is coded my me & taken by MeRcyLeZZ


RE : triplebug

Fixed bug what are you talking for, thank you
__________________
Approved Plugins

[ZP] Effect Plugins :
Damage Effect
Real Death

Last edited by YKH =]; 02-20-2009 at 05:36.
YKH =] is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 02-20-2009 , 06:17   Re: [ZP] Class : Hunter Leap Zombie 1.2 update (Not as same as Fry's)
Reply With Quote #7

you should recheck your update, the way the allowed_LongJump function is, the zombie will only have leap if they have that class and are nemesis. Need to change
PHP Code:
    if (!zp_get_user_zombie(id))
        return 
false

    
if (!zp_get_user_nemesis(id))
        return 
false 
to
PHP Code:
    if (!zp_get_user_zombie(id) && !zp_get_user_nemesis(id))
        return 
false 
@Fry just looked at your code and your both emulating long jump(all the stuff in prethink)and also giving the engine based uncontrolled long jump(the fm_give_item(player, "item_longjump")) I would suggest for you to remove the fm_give_item part and that should basically fix what he was talking about your version's cvars not working properly.
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
LoLer
Junior Member
Join Date: Jul 2008
Old 02-20-2009 , 07:01   Re: [ZP] Class : Hunter Leap Zombie 1.2 update (Not as same as Fry's)
Reply With Quote #8

would be good if in the air after the leap,you touch someone,they turn into a zombie
LoLer is offline
triplebug
BANNED
Join Date: Jan 2009
Old 02-20-2009 , 07:02   Re: [ZP] Class : Hunter Leap Zombie 1.2 update (Not as same as Fry's)
Reply With Quote #9

Thanks for the fix and G-Dog's optimize. I always wanted simple and bugless plugin on my server, for my low bandwidth sake.

+k after 24hrs, used up on suggestion section ROFL.
triplebug is offline
YKH =]
Senior Member
Join Date: Sep 2008
Location: Hong Kong
Old 02-20-2009 , 07:04   Re: [ZP] Class : Hunter Leap Zombie 1.2 update (Not as same as Fry's)
Reply With Quote #10

Quote:
Originally Posted by G-Dog View Post
you should recheck your update, the way the allowed_LongJump function is, the zombie will only have leap if they have that class and are nemesis. Need to change
PHP Code:
    if (!zp_get_user_zombie(id))
        return 
false

    
if (!zp_get_user_nemesis(id))
        return 
false 
to
PHP Code:
    if (!zp_get_user_zombie(id) && !zp_get_user_nemesis(id))
        return 
false 
@Fry just looked at your code and your both emulating long jump(all the stuff in prethink)and also giving the engine based uncontrolled long jump(the fm_give_item(player, "item_longjump")) I would suggest for you to remove the fm_give_item part and that should basically fix what he was talking about your version's cvars not working properly.
change it =] thank you
__________________
Approved Plugins

[ZP] Effect Plugins :
Damage Effect
Real Death
YKH =] is offline
Old 02-20-2009, 10:39
1sland
This message has been deleted by bmann_420. Reason: Stop flamming or it will be a permaban
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:42.


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