|
|
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
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: =/
Tracking every single change in gold amount would be super slow and ineffective. I don't think it would be that easy or efficient.
XP per minute shouldn't be too hard at all though.![]()
<code tested="1" real="1" name="goldpermin">
</code>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);" />
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.
edited
Last edited by XiledOne; 01-21-2010 at 02:54 PM.
NizCast - Improve Your Play
http://www.youtube.com/NizCast
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.
-----------------------------
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.
-----------------------------
Isn't this already in spectator mode? I would assume if it works there, it could work for the User when playing.
(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: =/