SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: [Request] GPM Display

Results 1 to 13 of 13

Hybrid View

  1. #1

    [Request] GPM Display

    I'm not entirely sure if this is possible, but I would like to see a Gold/Minute display.

    I would want the Gold/Min to be shown in the top right as white text so its easy to read, yet doesn't get in the way. Just to the right of the CK/CD counter would be perfect. Something like this:



    I don't think the GPM would be hard to do given there is a indicator already in the game for your current gold count. I think the only problem would be to make sure it recognized when you spent or lost gold.

    Anyways, just something I'd like to see. If it's not to hard, maybe add a ping display as well in the same place, but closer to the Menu button.

    I use 1680 X 1050 resolution if it matters at all.
    NizCast - Improve Your Play

    http://www.youtube.com/NizCast

  2. #2
    This should be entirely possible, as well as XP per minute I would think. As long as it's based off of your own hero, since that data is provided for you, you just need a little math work.
    (17:16:30) Tenshuu: travis isn't on
    (17:18:56) Tenshuu: press enter
    (17:19:04) Foyu: Yeah, after I poop
    (17:19:06) Tenshuu: lol...
    (17:19:14) Foyu: I spent the last 3 minutes
    (17:19:19) Foyu: trying to think of a funny metaphor for pooping
    (17:19:27) Foyu: Got nothing
    (17:19:29) Foyu: So brb
    (17:19:29) Foyu: =/

  3. #3
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Ottawa, Canada, Earth, Sol Sector, Alpha Quadrant, Milky Way, Local Group, Universe
    Posts
    5,408
    Tracking every single change in gold amount would be super slow and ineffective. I don't think it would be that easy or efficient.

  4. #4
    <code tested="1" real="1" name="goldpermin">
    Code:
        <panel
            name="money_maker"
            color="invisible"
            noclick="1"
            onload="
                CreateInt('goldamount',0);
                CreateInt('totalgold',o);
                CreateFloat('GPM',0);
                CreateInt('matchtime',0);
                CreateBool('startout',1);"
            watch="PlayerGold"
            ontrigger="
            If(startout,
                Split(
                    Set('goldamount',param),
                    Set('startout',0)
                )
            );
            Echo('Player Gold:',param,' Goldamount: ',goldamount,'Total Gold: ',totalgold,'GPM: ',GPM);
            If(param gt goldamount,
                   Set('totalgold',totalgold + param - goldamount)
            );
            Set('goldamount',param);
            Set('GPM',60000*totalgold/matchtime);
            "
            watch2="MatchTime"
            ontrigger2="
            Set('matchtime',param0);"
        />
    </code>
    This is occasionally inaccurate when you buy an item at the same time as you gain one gold. Apparently, you get 68.6 gpm just for being there. This could be fixed by seeing if the difference is a multiple of 5.
    Edit: Forgot about selling items. You'll have to put something in there for that. To fix this, you will probably have to use something like Barter's Kongor timer to find if a player gets killed and disable gold generation from when the change is greater than one and that doesn't happen.
    Last edited by Ignorance; 01-19-2010 at 11:05 PM.

  5. #5
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Nova Scotia, Canada
    Posts
    892
    XP per minute shouldn't be too hard at all though.

  6. #6
    edited
    Last edited by XiledOne; 01-21-2010 at 02:54 PM.
    NizCast - Improve Your Play

    http://www.youtube.com/NizCast

  7. #7
    Offline
    S2 Staff Member S2 Games Staff
    Join Date
    Jul 2009
    Location
    Location, Location!
    Posts
    2,619
    Doesn't the game track total gold spent/lost? Wouldn't it be easier to calculate using that rather than tracking every time it goes up/down?

    S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
    -----------------------------



  8. #8
    Quote Originally Posted by BlacRyu View Post
    Doesn't the game track total gold spent/lost? Wouldn't it be easier to calculate using that rather than tracking every time it goes up/down?
    I was simply demonstrating that it can be done/one way to do it. If such a watch exists, then that would be a very easy way to do it.

  9. #9
    Offline
    S2 Staff Member S2 Games Staff
    Join Date
    Jul 2009
    Location
    Location, Location!
    Posts
    2,619
    Quote Originally Posted by Ignorance View Post
    I was simply demonstrating that it can be done/one way to do it. If such a watch exists, then that would be a very easy way to do it.
    Yeah Fair enough, I was just throwing the idea out there since I know those stats are visible to spectators and figured it would be a lot easier and probably more efficient to do it that way. Maybe I'll try to code this myself as an intro to UI modding if I find the time.

    S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
    -----------------------------



  10. #10
    like the idea

  11. #11
    Isn't this already in spectator mode? I would assume if it works there, it could work for the User when playing.

  12. #12
    Quote Originally Posted by jmackay View Post
    Isn't this already in spectator mode? I would assume if it works there, it could work for the User when playing.
    so basically you're saying because the spectator can see it a normal player should see it too? including the whole ****ing map and where all the enemies are located?

    funny.


  13. #13
    Quote Originally Posted by iNaga View Post
    so basically you're saying because the spectator can see it a normal player should see it too? including the whole ****ing map and where all the enemies are located?

    funny.
    I think his point was that there is a trigger in spec mode for it, and maybe it's possible that individual players have one that can be used for their own scores in game.
    (17:16:30) Tenshuu: travis isn't on
    (17:18:56) Tenshuu: press enter
    (17:19:04) Foyu: Yeah, after I poop
    (17:19:06) Tenshuu: lol...
    (17:19:14) Foyu: I spent the last 3 minutes
    (17:19:19) Foyu: trying to think of a funny metaphor for pooping
    (17:19:27) Foyu: Got nothing
    (17:19:29) Foyu: So brb
    (17:19:29) Foyu: =/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •