So I’ve got the basics for the game mode I’m after (6v6 deathmatch where the floor is lava, and you fly around trying to de-mech the enemy D.Va’s so they fall to their death) but I’d like to spice things up a bit.
Does someone know how (or have a link to a guide) to set up drops? I’d like to drop things like ‘damage boost’ or ‘invulnerability’, or better yet ‘Ana sleep dart’ (preferably in a column form that a D.Va can fly through without getting too low).
I have never really done any gamemode with drops myself but i think it’s not that complicated so you should do about something like that (change it depending on which kind of drop system you want to do):
-
Create an array with vectors of places you want drops to spawn at (A for this example)
-
Create an empty array that will be used for drops that are spawned right now (B for this example)
-
Create array for all of the sphere entities ( C for this example)
-
Have a loop that every X number of seconds creates a sphere in a random location from array A, moves the location to array B, and stores the last created entity in array C (make it the same index as it is on B ).
-
Have a rule that says if a player is touching a sphere (use is true for any) it stores in a player variable a random number between 0 and the amount of power ups you use, then use skip if commands or different rules to make it so each number gives the player a different power up, after that the rule will destroy the sphere entity (that is saved in C ) and move the vector back to A.