1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

DotaKillsounds v1 by toyjoe1

Submitted by toyjoe1
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
Hey there, i made a kill-sound system inspired from Dota because i saw there wasn't a very good one on here... and i just felt like i needed to contribute my part! have fun!


and please if you use this kill-sound system plz mention that you got it from me on your map decription is loading screen or wherever THANKS!!

Triggers
  • Killing System setup
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set TempFirstBlood = True
      • -------- Setup Spree Sounds --------
      • Set Spree_Sounds[1] = No sound
      • Set Spree_Sounds[2] = No sound
      • Set Spree_Sounds[3] = Killing_Spree <gen>
      • Set Spree_Sounds[4] = Dominating <gen>
      • Set Spree_Sounds[5] = MegaKill <gen>
      • Set Spree_Sounds[6] = Unstoppable <gen>
      • Set Spree_Sounds[7] = WhickedSick <gen>
      • Set Spree_Sounds[8] = MonsterKill <gen>
      • Set Spree_Sounds[9] = GodLike <gen>
      • Set Spree_Sounds[10] = HolyShit <gen>
      • -------- Setup Get Spree Text --------
      • Set Spree_Texts[1] = <Empty String>
      • Set Spree_Texts[2] = <Empty String>
      • Set Spree_Texts[3] = |ris on a |cff00FF00killing spree|r!
      • Set Spree_Texts[4] = |ris |cff551A8Bdominating|r!
      • Set Spree_Texts[5] = |rhas a |cffCD1076mega kill|r!
      • Set Spree_Texts[6] = |ris |cffFF8C00unstoppable|r!!
      • Set Spree_Texts[7] = |ris |cff006400wicked sick|r!!
      • Set Spree_Texts[8] = |rhas a |cffFF6EB4monster kill|r!!
      • Set Spree_Texts[9] = |ris |CFFFF0303GODLIKE|r!!!
      • Set Spree_Texts[10] = |ris |CFFFF0303beyond GODLIKE|r. Someone KILL HIM!!!
      • -------- Setup End Spree Text --------
      • Set SpreeEnd_Texts[1] = <Empty String>
      • Set SpreeEnd_Texts[2] = <Empty String>
      • Set SpreeEnd_Texts[3] = |cff00FF00killing spree|r
      • Set SpreeEnd_Texts[4] = |cff551A8Bdominating|r
      • Set SpreeEnd_Texts[5] = |cffCD1076mega kill|r
      • Set SpreeEnd_Texts[6] = |cffFF8C00unstoppable|r
      • Set SpreeEnd_Texts[7] = |cff006400wicked sick|r
      • Set SpreeEnd_Texts[8] = |cffFF6EB4monster kill|r
      • Set SpreeEnd_Texts[9] = |CFFFF0303GODLIKE|r
      • Set SpreeEnd_Texts[10] = |CFFFF0303beyond GODLIKE|r
      • Custom script: call DestroyTrigger( GetTriggeringTrigger() )


  • Killing System
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Custom script: local string Message1
      • Custom script: local string Message2
      • Custom script: local string Message3
      • Custom script: local sound Sound1
      • Custom script: local sound Sound2
      • Custom script: local sound Sound3
      • If (Spree_Count[(Player number of (Owner of (Killing unit)))] Less than 10) then do (Set Spree_Count[(Player number of (Owner of (Killing unit)))] = (Spree_Count[(Player number of (Owner of (Killing unit)))] + 1)) else do (Do nothing)
      • -------- Kill Message --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Spree_Count[(Player number of (Owner of (Triggering unit)))] Less than or equal to 2
        • Then - Actions
          • -------- You didn't end a spree. --------
          • Set General_Integer[1] = 5
          • Player - Add General_Integer[1] to (Owner of (Killing unit)) Current gold
          • Game - Display to (All players) the text: (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + ((|r just pawned + PlayerColors[(Player number of (Owner of (Dying unit)))]) + ((Name of (Owner of (Dying unit))) + (|r's head for |CFFFFFF01 + ((String(Gene
        • Else - Actions
          • -------- You did end a spree. --------
          • Set General_Integer[1] = (5 + Spree_Count[(Player number of (Owner of (Triggering unit)))])
          • Game - Display to (All players) the text: (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + ((|r has just ended + PlayerColors[(Player number of (Owner of (Dying unit)))]) + ((Name of (Owner of (Dying unit))) + ((|r's + SpreeEnd_Texts[Spree_Count[(
      • Set Spree_Count[(Player number of (Owner of (Triggering unit)))] = 0
      • -------- First Blood --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • FirstBlood Equal to False
        • Then - Actions
          • Set FirstBlood = True
          • Set General_String[1] = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + (|r + just drew |CFFFF0303first blood!|r (+10 gold))))
          • Custom script: set Message1 = udg_General_String[1]
          • Custom script: set Sound1 = gg_snd_firstblood
        • Else - Actions
      • -------- Spree --------
      • Set General_String[2] = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + Spree_Texts[Spree_Count[(Player number of (Owner of (Killing unit)))]]))
      • Custom script: set Message2 = udg_General_String[2]
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Spree_Count[(Player number of (Owner of (Killing unit)))] Less than or equal to 2
        • Then - Actions
          • Custom script: set Message2 = ""
        • Else - Actions
      • Custom script: set Sound2 = udg_Spree_Sounds[udg_Spree_Count[GetConvertedPlayerId(GetOwningPlayer(GetKillingUnit()))]]
      • -------- Double/Triple Kill --------
      • Set General_Point[1] = (Center of (Playable map area))
      • Unit - Create 1 // Units: h000 (Dummy Unit), Name (Name)
  • Dummy Unit // Units: h000 (Dummy Unit), EditorSuffix (Name - Editor Suffix)
  • (Double / Triple Kill Counter) for (Owner of (Killing unit)) at General_Point[1] facing Default building facing degrees
    • Unit - Add a 7.00 second Generic expiration timer to (Last created unit)
    • -------- Double Kill --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of units in (Units owned by (Owner of (Killing unit)) of type // Units: h000 (Dummy Unit), Name (Name)
  • Dummy Unit // Units: h000 (Dummy Unit), EditorSuffix (Name - Editor Suffix)
  • (Double / Triple Kill Counter))) Equal to 2
    • Then - Actions
      • Set General_String[3] = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + (|r + |rjust got a |cff00008BDouble Kill|r!)))
      • Custom script: set Message3 = udg_General_String[3]
      • Custom script: set Sound3 = gg_snd_Double_Kill
    • Else - Actions
    • -------- Triple Kill --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of units in (Units owned by (Owner of (Killing unit)) of type // Units: h000 (Dummy Unit), Name (Name)
  • Dummy Unit // Units: h000 (Dummy Unit), EditorSuffix (Name - Editor Suffix)
  • (Double / Triple Kill Counter))) Greater than or equal to 3
    • Then - Actions
      • Set General_String[3] = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + (|r + |rjust got a |cff00FF00Triple Kill|r!!!)))
      • Custom script: set Message3 = udg_General_String[3]
      • Custom script: set Sound3 = gg_snd_triple_kill
    • Else - Actions
    • -------- Display Messages & Play Sounds --------
    • Wait 0.50 seconds
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • TempFirstBlood Equal to True
      • Then - Actions
        • Set TempFirstBlood = False
        • Custom script: call PlaySoundBJ( Sound1 )
        • Custom script: if Message1 != "" then
        • Custom script: call DisplayTextToForce( GetPlayersAll(), Message1 )
        • Custom script: endif
      • Else - Actions
    • Custom script: call PlaySoundBJ( Sound2 )
    • Custom script: if Message2 != "" then
    • Custom script: call DisplayTextToForce( GetPlayersAll(), Message2 )
    • Custom script: endif
    • Wait 1.50 seconds
    • Custom script: call PlaySoundBJ( Sound3 )
    • Custom script: if Message3 != "" then
    • Custom script: call DisplayTextToForce( GetPlayersAll(), Message3 )
    • Custom script: endif


  • Setup Player Colors
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set PlayerColors[1] = |CFFFF0303
      • Set PlayerColors[2] = |CFF0042FF
      • Set PlayerColors[3] = |CFF1CB619
      • Set PlayerColors[4] = |CFF540081
      • Set PlayerColors[5] = |CFFFFFF01
      • Set PlayerColors[6] = |CFFFE8A0E
      • Set PlayerColors[7] = |CFF20C000
      • Set PlayerColors[8] = |CFFE55BB0
      • Set PlayerColors[9] = |CFF959697
      • Set PlayerColors[10] = |CFF7EBFF1
      • Set PlayerColors[11] = |CFF106246
      • Set PlayerColors[12] = |CFF4E2A04
      • Custom script: call DestroyTrigger( GetTriggeringTrigger() )


Keywords:
sound,dota
Contents

toyjoe1dotakillsystem (Map)

Reviews
Moderator
15:25, 28th Oct 2009 TriggerHappy187: Your destroying triggers... why? Whats with all these custom scripts, your using them to the point where you should just learn jass. The idea isn't bad, but this is basically crap Jass. Either make it...
  1. 15:25, 28th Oct 2009
    TriggerHappy187:

    Your destroying triggers... why?

    Whats with all these custom scripts, your using them to the point where you should just learn jass.

    The idea isn't bad, but this is basically crap Jass. Either make it GUI, or redo it in Jass.
     
  2. toyjoe1

    toyjoe1

    Joined:
    Oct 3, 2008
    Messages:
    0
    Resources:
    0
    Resources:
    0
    this is my first release plz enjoy!
     
  3. X3n0nX

    X3n0nX

    Joined:
    Aug 1, 2009
    Messages:
    159
    Resources:
    0
    Resources:
    0
    Well it seems nice though.
     
  4. redscores

    redscores

    Joined:
    Aug 9, 2006
    Messages:
    2,161
    Resources:
    12
    Maps:
    5
    Spells:
    6
    Template:
    1
    Resources:
    12
    Again UT kill sounds... that system is easy, and theres no ingame screenshot, so, guess what? I say rejected.
     
  5. Reaper2008

    Reaper2008

    Joined:
    Jul 27, 2008
    Messages:
    1,117
    Resources:
    1
    Spells:
    1
    Resources:
    1
    IMO any good triggerer (especially JASSer) can do this easily. for practice it's ok, but try more advanced stuff before uploading.
     
  6. MortAr

    MortAr

    Joined:
    Feb 25, 2009
    Messages:
    1,765
    Resources:
    7
    Icons:
    6
    Packs:
    1
    Resources:
    7
    Agree.

    By the way, could you paste the triggers here?
     
  7. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,220
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    Does this have an assistance system?
     
  8. toyjoe1

    toyjoe1

    Joined:
    Oct 3, 2008
    Messages:
    0
    Resources:
    0
    Resources:
    0
    how?
     
  9. Tleno

    Tleno

    Joined:
    Jul 6, 2008
    Messages:
    4,782
    Resources:
    2
    StarCraft II Resources:
    2
    Resources:
    2
    Using copy text, genius.
     
  10. DarkAngelAzazel

    DarkAngelAzazel

    Joined:
    Sep 14, 2008
    Messages:
    1,308
    Resources:
    0
    Resources:
    0
    I know that there are LOTs of request for this systems.
    So I really think this should be accepted.

    It would help lots of newbies who can't trigger it for themselfs.

    Maybe its too simple?!
     
  11. Tleno

    Tleno

    Joined:
    Jul 6, 2008
    Messages:
    4,782
    Resources:
    2
    StarCraft II Resources:
    2
    Resources:
    2
    Yes, its too hard for noobs to make themselves and too simple for Spells section ^^
     
  12. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,940
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    If its too hard for noobs and too simple for the section, it will be rejected and the noobs will find a tutorial.
     
  13. toyjoe1

    toyjoe1

    Joined:
    Oct 3, 2008
    Messages:
    0
    Resources:
    0
    Resources:
    0
    now can i get approval XD!!
     
    Last edited: Oct 28, 2009
  14. Demongrip

    Demongrip

    Joined:
    Sep 8, 2009
    Messages:
    80
    Resources:
    6
    Spells:
    6
    Resources:
    6
    Erh he meant to paste the code in the description not in a comment...oh and use hidden tags.
     
  15. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,220
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    Do a workaround at waits.
    Use timers.
     
  16. toyjoe1

    toyjoe1

    Joined:
    Oct 3, 2008
    Messages:
    0
    Resources:
    0
    Resources:
    0
    when i do that multi kill and other higher kill sounds play at the same time...
     
  17. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,220
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    No, instead of waits, use timers.
    So you fire diffrent timers which will expire after the waittime seconds.
    That will make it MUI.

    And also bring you to a better level of coding actually.
     
  18. toyjoe1

    toyjoe1

    Joined:
    Oct 3, 2008
    Messages:
    0
    Resources:
    0
    Resources:
    0
    how long do you suggest the timers should be?
     
  19. Squidle

    Squidle

    Joined:
    Apr 15, 2008
    Messages:
    831
    Resources:
    0
    Resources:
    0
    It's, like the other people say, way too simple and unoriginal.
    You could try to make a spell for a special unit or something, or another system.
    Good luck anyway with triggering. :pwink:

    Dude, you didn't knew that either when you've released your first spell 'ere.
    IF you even have uploaded any spells here, I don't think so...
    Also, you could tell him how he should do it... and where to find that option.
    I don't say I've uploaded a spell yet but I don't talk like that to other people.

    'Nuff said.