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

Suggestion / Subplugin Request HP evolution


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-30-2015 , 11:02   HP evolution
Reply With Quote #1

Is this feasible:

In one round:
-When a zombie dies, and when respawn gain +100HP
-When a zombies dies the second time and when respawn gain +200HP
-When a zombies dies for the third time and when respawn gain +300HP
-ETC

How to do this?

Last edited by Krtola; 04-30-2015 at 11:26.
Krtola is offline
Send a message via Skype™ to Krtola
safetymoose
Senior Member
Join Date: Feb 2015
Old 04-30-2015 , 20:01   Re: HP evolution
Reply With Quote #2

search for zombie evolution
safetymoose is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 05-01-2015 , 07:52   Re: HP evolution
Reply With Quote #3

Quote:
Originally Posted by safetymoose View Post
search for zombie evolution
I know for that kind of evolution but that's not what I need.
Krtola is offline
Send a message via Skype™ to Krtola
Depresie
Veteran Member
Join Date: Nov 2013
Old 05-03-2015 , 07:27   Re: HP evolution
Reply With Quote #4

of course it's possible.. unfortenantly i can't make it for you now, but you have below an example
you could also use multijump and respawn zombie code as a refference
sorry for late reply

new hpnum[33] = 0

player zombie killed(victim)
hpnum[id]++

player spawned
sethp (get_user_hp + 100 * hpnum[id])

new round
hpnum[id] = 0

Last edited by Depresie; 05-03-2015 at 07:28.
Depresie is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 05-03-2015 , 10:57   Re: HP evolution
Reply With Quote #5

Quote:
Originally Posted by Depresie View Post
of course it's possible.. unfortenantly i can't make it for you now, but you have below an example
you could also use multijump and respawn zombie code as a refference
sorry for late reply

new hpnum[33] = 0

player zombie killed(victim)
hpnum[id]++

player spawned
sethp (get_user_hp + 100 * hpnum[id])

new round
hpnum[id] = 0
Thanks.
I'll try this, although I was a little confused because the first time I meet with [id]++
Krtola is offline
Send a message via Skype™ to Krtola
Depresie
Veteran Member
Join Date: Nov 2013
Old 05-04-2015 , 19:23   Re: HP evolution
Reply With Quote #6

you got it done ?
Depresie is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 05-04-2015 , 20:02   Re: HP evolution
Reply With Quote #7

Quote:
Originally Posted by Depresie View Post
you got it done ?
I have not even tried it.
First to finish something else that I have already started.
Krtola is offline
Send a message via Skype™ to Krtola
Depresie
Veteran Member
Join Date: Nov 2013
Old 05-04-2015 , 20:10   Re: HP evolution
Reply With Quote #8

ah, okay, if you have can't get it done, just post the code here, and i will help you
Depresie is offline
SergiCruz
Senior Member
Join Date: Mar 2012
Location: Andalucía, España
Old 05-06-2015 , 16:04   Re: HP evolution
Reply With Quote #9

Try this
Attached Files
File Type: sma Get Plugin or Get Source (zp_hp_evolution.sma - 488 views - 1.3 KB)
__________________
PodBot waypointer. Feel free to ask for waypoints for zm_ maps.

Last edited by SergiCruz; 05-07-2015 at 10:13. Reason: improved a bit
SergiCruz is offline
Send a message via MSN to SergiCruz
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 05-06-2015 , 17:03   Re: HP evolution
Reply With Quote #10

Thank you both.
Unfortunately, I will be able to test only when I get back from vacation,for 7 days.
SergiCruz,please do not delete your post I looked at code and I'm pretty sure it will work
Krtola is offline
Send a message via Skype™ to Krtola
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 03:01.


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