• 🏆 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!

Spree systems

Status
Not open for further replies.
Level 5
Joined
Feb 6, 2011
Messages
177
hello hive users
hope am in the right place to ask this:vw_wtf:
anyway thx for taking the time to read this:ogre_haosis:
------------------------------------------------
i have searched hive for spree systems like DotA
i mean 1st blood >>double kill>>>triple>>>ultra>>>Rampage:vw_death:
i found many systems in hive and in other websites but still they are good:goblin_jawdrop:
but not full .. and none of them works 100% as expected:goblin_cry:
i have the sounds ... and i have many of these systems but i do really need the
ORIGINAL DotA Spree System ... if somebody has it please share it with me
i know its possible because i saw it in :goblin_wtf:
1- Mirana Wars
2- Pudge Wars
3- Gondar Wars
4- some Arena and survival maps
5- Shadow wars
and even in a DotA like maps
so please if anybody has an idea or has the system . pass it to me
regards ,:goblin_boom:
 
Level 4
Joined
Aug 8, 2011
Messages
84
I'm not sure where you can find the finished model, but you could just make it, if you have the sounds the rest is trivial.

The event is off of a hero death, implement a timer that refreshes on each new kill, this timer ends the spree if it reaches zero.

Keep a counter for the amount of kills in the spree, increasing by one for each kill, reset the number if the timer reaches zero.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
  • kills
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set Killing_spree_count[(Player number of (Owner of (Dying unit)))] = 0
      • Set Killing_spree_count[(Player number of (Owner of (Killing unit)))] = (Killing_spree_count[(Player number of (Owner of (Killing unit)))] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Killing_spree_count[(Player number of (Owner of (Killing unit)))] Equal to 1
        • Then - Actions
          • Sound - Play killing spree sound here
        • Else - Actions
 
Level 12
Joined
Oct 10, 2009
Messages
438
Look, this isn't an advertising page. It's about finding the best solution possible for the target. As you can probally guess, he isnt that experienced in GUI or Jass. So showing him that system wouldn't help him much, Infact it would only encourage Copy + Paste.
 
Level 5
Joined
Feb 6, 2011
Messages
177
slash thx for the great comment :D
am good in GUI but not a GUI PRO
so u can say am in the middle ... i made abilities in gui and a lot of things
i used variables , arrays , a lot of things
but i believe that am still an idiot in gui
so that i need help me improve gui and take the system
 
Level 12
Joined
Oct 10, 2009
Messages
438
Alright just incase, I'll place some triggers here that I used in a different map I made; They all work. (well, Should)

Note: Using semi advanced hashtables and arrays. Be prepared.

  • Killing
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
      • (Owner of (Killing unit)) Not equal to (Owner of (Dying unit))
    • Actions
      • Set TempInteger = (Player number of (Owner of (Killing unit)))
      • Countdown Timer - Start MultikillStop[TempInteger] as a One-shot timer that will expire in 7.00 seconds
      • Hashtable - Save TempInteger as (Key Multikill) of (Key (Last started timer)) in (Last created hashtable)
      • Set KillingSpree[(Player number of (Owner of (Killing unit)))] = (KillingSpree[(Player number of (Owner of (Killing unit)))] + 1)
      • Set TempKillingSpree[(Player number of (Owner of (Killing unit)))] = (TempKillingSpree[(Player number of (Owner of (Killing unit)))] + 1)
      • Set KillingSpree[(Player number of (Owner of (Dying unit)))] = 0
      • Set PlayerKills[(Player number of (Owner of (Killing unit)))] = (PlayerKills[(Player number of (Owner of (Killing unit)))] + 1)
      • Cinematic - Clear the screen of text messages for (All players)
      • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[(Player number of (Owner of (Killing unit)))] + (Name of (Owner of (Killing unit)))) + (|r Just owned + ((ColorPlayer[(Player number of (Owner of (Dying unit)))] + (Name of (Owner of (Dying unit)))) + 's|r face!)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • FirstBlood Equal to True
        • Then - Actions
          • Sound - Stop (Last played sound) Immediately
          • Sound - Play firstblood <gen>
          • Set FirstBlood = False
          • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + has scored first blood!)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • TempKillingSpree[TempInteger] Equal to 2
            • Then - Actions
              • Sound - Stop (Last played sound) Immediately
              • Sound - Play Double_Kill <gen>
              • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + has scored a double kill!)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • TempKillingSpree[TempInteger] Equal to 3
                • Then - Actions
                  • Sound - Stop (Last played sound) Immediately
                  • Sound - Play triple_kill <gen>
                  • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + has scored a triple kill!)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • TempKillingSpree[TempInteger] Equal to 4
                    • Then - Actions
                      • Sound - Stop (Last played sound) Immediately
                      • Sound - Play MegaKill <gen>
                      • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + has scored a quadrakill!)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • TempKillingSpree[TempInteger] Greater than or equal to 5
                        • Then - Actions
                          • Sound - Stop (Last played sound) Immediately
                          • Sound - Play MonsterKill <gen>
                          • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + has killed several hundred people! Somebody, kill him!)
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • KillingSpree[(Player number of (Owner of (Killing unit)))] Greater than or equal to 3
                              • KillingSpree[(Player number of (Owner of (Killing unit)))] Less than 5
                            • Then - Actions
                              • Sound - Stop (Last played sound) Immediately
                              • Sound - Play Killing_Spree <gen>
                              • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + is on a killing spree!)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • KillingSpree[(Player number of (Owner of (Killing unit)))] Greater than 5
                                • Then - Actions
                                  • Sound - Stop (Last played sound) Immediately
                                  • Sound - Play Unstoppable <gen>
                                  • Game - Display to (All players) for 7.00 seconds the text: ((ColorPlayer[13] + (Name of (Owner of (Killing unit)))) + is Unstoppable, Somebody. Kill him!)
                                • Else - Actions
      • Countdown Timer - Create a timer window for (Last started timer) with title (Name of (Owner of (Dying unit)))
      • Set TW_Respawn[TempInteger] = (Last created timer window)
      • Countdown Timer - Show (Last created timer window) for (Owner of (Dying unit))
  • MultikillEnd
    • Events
      • Time - MultikillStop[1] expires
      • Time - MultikillStop[2] expires
      • Time - MultikillStop[3] expires
      • Time - MultikillStop[4] expires
      • Time - MultikillStop[5] expires
      • Time - MultikillStop[6] expires
      • Time - MultikillStop[7] expires
      • Time - MultikillStop[8] expires
      • Time - MultikillStop[9] expires
      • Time - MultikillStop[10] expires
      • Time - MultikillStop[11] expires
      • Time - MultikillStop[12] expires
    • Conditions
    • Actions
      • Set TempInteger = (Load (Key Multikill) of (Key (Expiring timer)) from (Last created hashtable))
      • Set TempKillingSpree[TempInteger] = 0
      • Hashtable - Clear all child hashtables of child (Key (Expiring timer)) in (Last created hashtable)
Edit: Heres for the "Colorplayer"

  • Melee Initialization
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Set ColorPlayer[1] = |cffff0000
      • Set ColorPlayer[2] = |cff0000ff
      • Set ColorPlayer[3] = |cff008080
      • Set ColorPlayer[4] = |cff800080
      • Set ColorPlayer[5] = |cffffff00
      • Set ColorPlayer[6] = |cffffa500
      • Set ColorPlayer[7] = |cff008000
      • Set ColorPlayer[8] = |cffffc0cb
      • Set ColorPlayer[9] = |cffb4b4b4
      • Set ColorPlayer[10] = |cffadd8e6
      • Set ColorPlayer[11] = |cff006400
      • Set ColorPlayer[12] = |cffa52a2a
      • Set ColorPlayer[13] = |cffdc143c
 
Status
Not open for further replies.
Top