Teams Spawning in Arena

sionts

New Member
Reaction score
0
I have an arena match scenario in my map, where 2 teams out of 5 teams in total will be selected and spawned inside the arena to fight. 2 regions per side(1 per hero) and there is only 2 sides.

What i want is to have all the teams to play against each other eventually, So if Team 1 beats Team 2, Team 1 goes up against the Winner of match between Team 3 and Team 4 and Team 2 goes up against the losing team. But there can only be 1 match at a time.

I'm unsure how to set up the spawning for the arena, and how to incorporate team 5. :confused:

The Regions.
Trigger:
  • Set Spot1_Arena_Spawn_P[1] = (Center of ArenaSpawn1T1 <gen>)
    • Set Spot1_Arena_Spawn_P[2] = (Center of ArenaSpawn2T1 <gen>)
    • Set Spot2_Arena_Spawn_P[1] = (Center of ArenaSpawn1T2 <gen>)
    • Set Spot2_Arena_Spawn_P[2] = (Center of ArenaSpawn2T2 <gen>)


The Teams.
Trigger:
  • Actions
    • Player Group - Add Player 1 (Red) to Team_1
    • Player Group - Add Player 2 (Blue) to Team_1
    • Player Group - Add Player 3 (Teal) to Team_2
    • Player Group - Add Player 4 (Purple) to Team_2
    • Player Group - Add Player 5 (Yellow) to Team_3
    • Player Group - Add Player 6 (Orange) to Team_3
    • Player Group - Add Player 7 (Green) to Team_4
    • Player Group - Add Player 8 (Pink) to Team_4
    • Player Group - Add Player 9 (Gray) to Team_5
    • Player Group - Add Player 10 (Light Blue) to Team_5
    • Player Group - Add Player 11 (Dark Green) to CreepOwner_1
    • Player Group - Add Player 12 (Brown) to CreepOwner_2
    • Set TeamPlayed[1] = False
    • Set TeamPlayed[2] = False
    • Set TeamPlayed[3] = False
    • Set TeamPlayed[4] = False
    • Set TeamPlayed[5] = False


The Spawning
Trigger:
  • Actions
    • Set Match = True
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • TeamPlayed[1] Equal to False
        • TeamPlayed[2] Equal to False
      • Then - Actions
        • Player Group - Pick every player in Team_2 and do (Actions)
          • Loop - Actions
            • Unit - Order Hero[(Player number of (Picked player))] to Stop
            • Unit - Move Hero[(Player number of (Picked player))] instantly to Spot2_Arena_Spawn_P[(Player number of (Picked player))], facing (Center of ArenaCenter <gen>)
            • Unit - Set life of Hero[(Player number of (Picked player))] to 100.00%
            • Unit - Set mana of Hero[(Player number of (Picked player))] to 100.00%
            • Unit - Reset ability cooldowns for Hero[(Player number of (Picked player))]
            • Selection - Select Hero[(Player number of (Picked player))] for (Picked player)
            • set TempPoint=Center of ArenaCenter <gen>
            • Camera - Pan camera for (Picked player) to TempPoint over 0.00 seconds
            • Call RemoveLocation(udg_TempPoint)
            • Set TeamPlayed[1] = True
        • Player Group - Pick every player in Team_1 and do (Actions)
          • Loop - Actions
            • Unit - Order Hero[(Player number of (Picked player))] to Stop
            • Unit - Move Hero[(Player number of (Picked player))] instantly to Spot1_Arena_Spawn_P[(Player number of (Picked player))], facing (Center of ArenaCenter <gen>)
            • Unit - Set life of Hero[(Player number of (Picked player))] to 100.00%
            • Unit - Set mana of Hero[(Player number of (Picked player))] to 100.00%
            • Unit - Reset ability cooldowns for Hero[(Player number of (Picked player))]
            • Selection - Select Hero[(Player number of (Picked player))] for (Picked player)
            • set TempPoint=Center of ArenaCenter <gen>
            • Camera - Pan camera for (Picked player) to TempPoint over 0.00 seconds
            • Call RemoveLocation(udg_TempPoint)
            • Set TeamPlayed[2] = True
      • Else - Actions


This is what i currently have if this helps. I'm sure there is a much better way of achieving what i stated above.
 

xz-master

New Member
Reaction score
2
I have an arena match scenario in my map, where 2 teams out of 5 teams in total will be selected and spawned inside the arena to fight. 2 regions per side(1 per hero) and there is only 2 sides.

What i want is to have all the teams to play against each other eventually, So if Team 1 beats Team 2, Team 1 goes up against the Winner of match between Team 3 and Team 4 and Team 2 goes up against the losing team. But there can only be 1 match at a time.

I'm unsure how to set up the spawning for the arena, and how to incorporate team 5.

I have no clue, on how to make the arena-ladder, but you could find and Download an arena map which has the same 1on1/2on2 system that your working on - to see how the arena and and all that are set up.

I can remember a few, but i don't know the name of them atm, sry.
 

FirstTsurugi

New Member
Reaction score
0
We're considering even changing the game layout from 5 teams of 2s to something else.. But first thought we'd ask on here.

We could get two teams dueling easy enough I'm pretty sure, but not when it comes to how to pit out balanced duels of 2v2 picking from 5 teams. Any suggestions, tips or opinions about a dueling system at all is appreciated. Thanks.
 

X-maul

AKA: Demtrod
Reaction score
201
I would suggest you not to be using things like: Center of ArenaCenter <gen>
Code:
Camera - Pan camera for (Picked player) to ([COLOR="Red"]Center of ArenaCenter <gen>[/COLOR]) over 0.00 seconds
Instead of that you should be using
Code:
set TempPoint=Center of ArenaCenter <gen>
Camera - Pan camera for (Picked player) to [COLOR="red"]TempPoint [/COLOR]over 0.00 seconds
Call RemoveLocation(udg_TempPoint)
If you do this you wont get a memory leak - Everytime you call something, such as the Center of (Region) you will get a memory cached, and you need to destroy it again, can be done ny what i just showed you.

I just checked you trigger and noticed some memory leaks, and just felt like informing you :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top