• 0

    posted a message on I need help with my weird wave system

    :D Awesome, nice to know you seem to have it sorted.

    Posted in: Miscellaneous Development
  • 0

    posted a message on I need help with my weird wave system

    Humm or another thing you could do is have a global counter variable which you increment each time a unit goes through.

    Then you just check if an individual units kills are > counter and if so -
    Increment counter
    Move unit to new area.

    Shoulda thought that before it's way easier -_-

    Posted in: Miscellaneous Development
  • 0

    posted a message on I need help with my weird wave system

    On a more of a pseudocode style -

    Unitgroup wave1 = [Last created units] (On wave creation)

    Unit enters region lapRegion
    Modify triggering unit kills: +1
    boolean tempVar = true.

    //If the unit is first to a lap it's kills will be greatest
    //Hence check to see if any other units are equal or greater as it will imply it's the 2nd or more unit around.
    pick each unit in wave1 and do:
    if(triggering unit kills <= picked unit kills){
        tempVar = false; //If another unit has more laps then unit shouldn't be moved to next area so false.
    }
    if(tempVar = true){ //Then you need to move the unit to next section.
       //Move the triggering unit to next section or w/e you want to do with it.
    }

    Posted in: Miscellaneous Development
  • 0

    posted a message on I need help with my weird wave system

    @Lonami: Go

    Would it not work fine to just have a region covering the track at the end of the lap point to see when they've done one?

    Then assign a value to each unit to track how many laps they've done, and when a unit enters the lap region you check all living units lap counts to see whether it can pass to the next area.

    Don't actually know how you do custom values for units but to be lazy could just use the 'kills' value for each unit as it's a TD.

    Posted in: Miscellaneous Development
  • 0

    posted a message on No point in creating more maps - popularity sort

    There's a few sorts/selections which would be useful.

    Category - When you make a map you're able to give it a category so why not have a menu to limit by it (To easily find TD's, Hero Maps, whatever you like).

    Current Games - All not full lobbied games should be chucked into this list in a random order so people can go fill up the slots. This should be the standard display.

    Age - So you can grab a list of the latest uploaded maps & play them.

    Search - Of course an easy search method for specific maps should be available, as well as a favourite's system so any maps that YOU play on a lot can be pulled up quickly, as often they are what you'll be looking for anyway.

    Additionally if they do wish to have some sort of 'popularity' option it should be a rating instead, such that only the maps people actually enjoy are at the top of the list not just the ones which got lucky & ended up there basically by accident, and also because then maps would be able to get kicked out of the top few by being shit :P

    Posted in: General Chat
  • 0

    posted a message on Battle.net 2.0's Publishing System Is Horrible

    All it needs is options for sorting method & it'll be great.

    As for the lobby screens where from wc3-sc2 they appear to have lost the ability to have all the data on screen at once....

    Posted in: General Chat
  • To post a comment, please or register a new account.