• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

GUI System requests

Status
Not open for further replies.
GUI Systems requests

I don't have enough time to work on systems those days, and so here i request some :

- Revive System :
A simple revive system for my heroes. I want it MUI and not MPI, with timer windows and everything. It should also be efficient, leakless, etc...
Heroes should be revived at their owner's start location. And for the time, here is the thing i want :

Respawn_BaseTime + Respawn_IncrementTime * Level of Hero

Both are reals and should be globals variables (to be configured later and in game).

- Streak System :
A streak system which include those things :

- Multikills (from Double Kill to Cinqtuple Kill) with time limit (the streak end X seconds after the last kill - X = a variable)
- Kill streak (from 3kills without dying to 10+) which stop when dying.

Here too some precisions :

I want the strings (as example : Double Kill) in 2array strings variable (1for multi, 1for kill) to be easier to configure.
As for the revive system, bugless, efficient, leakless, etc...
 
Last edited:
Level 33
Joined
Mar 27, 2008
Messages
8,035
Wait, that's Multikills what I was explaining to you

Kill Streak in DotA;
3rd kill you got(and you don't die) = Killing Spree
4th kill you got(and you don't die) = Dominating

And so on...

Which mean, you kill enemy Hero consecutively without dying (there is no time limit though compared to Multikills) and get a certain "Title" for the kill you have accumulated

What he meant by
"Kill streak (from 3kills without dying to 10+) which stop when dying."

Is that the streak starts from the 3rd kill (minimum kill to get a title) and 10 kills (maximum kill to get a title)

But remember, if the unit dies, the streak is reset to 0.
 
Level 6
Joined
Jan 12, 2011
Messages
110
Initialization:
  • Variable Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set RespawnTime_Base = 0.00
      • Set RespawnTime_Increment = 5.00
Revive:
  • Respawn
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to (==) True
    • Actions
      • Set RespawnPoint = ((Triggering player) start location)
      • Set RespawnTime_Current = (RespawnTime_Base + (RespawnTime_Increment x (Real((Hero level of (Triggering unit))))))
      • Game - Display to (Player group((Triggering player))) the text: (Your hero will be revived after + ((String(RespawnTime_Current)) + seconds.))
      • Wait RespawnTime_Current seconds
      • Hero - Instantly revive (Triggering unit) at RespawnPoint, Hide revival graphics
      • Set RespawnTime_Current = 0.00
      • Custom script: call RemoveLocation(udg_RespawnPoint)


I'm attaching a map.
Just write "K" (without "") and it will kill your hero and revive him after some time (don't add this option in your map, unless you want to :)).
 

Attachments

  • SimpleRevival.w3x
    13.2 KB · Views: 46
Status
Not open for further replies.
Top