Raised This Month: $91 Target: $400
 22% 

[request]Hero :Merlin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
41aaa41
Member
Join Date: Aug 2011
Location: KOCAELİ / TURKEY
Old 06-25-2019 , 06:54   [request]Hero :Merlin
Reply With Quote #1

Hello
sh_set_hero_info "druid king" "Monster summon and Renewal of armor per second"

summon headcrab and zombie through monster module ( +power% )
register_cvar
armor renewal every 5 seconds
new maxsummonlimit = register_cvar("merlin_maxsummon", "5")
new delayskills = register_cvar("merlin_delay", "25")


Did you understand me?
have a nice day
41aaa41 is offline
heliumdream
Senior Member
Join Date: Aug 2006
Old 07-24-2019 , 17:21   Re: [request]Hero :Merlin
Reply With Quote #2

you can achieve this without writing too much code;
by ripping code from other existing heroes and cobbling them together.

there are other heroes that spawn creatures, notably skeletor. also, naruto spawns a player clone somehow that actively shoots, might be worth checking out.
many heroes passively regain armor, so you should be able to rip that as well. i think dr. strange might have simple implementation. if not, i think goku does.

you would be making the hero activate on keydown, spawning the creatures at that time. instead of passively like the call made in skeletor.

you would set up delay and summonlimit, and other cvars to control the hero my granularly.

good luck! it will take some coding chops to put this together.

---

i had a longstanding issue with monstermod that i finally just resolved, that now allows skeletor to work on my server. i forgot it was never even working in the first place!
__________________


Thank you for playing.
heliumdream is offline
Reply


Thread Tools
Display Modes

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 07:01.


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