Best units in any mod? Use simple math!
Moderator: Moderators
Re: Best units in any mod? Use simple math!
Yeah...
But why i need square root? i dont get it...
But why i need square root? i dont get it...
Re: Best units in any mod? Use simple math!
The best way to balance with the assistant of math is by giving each stat a value and play testing with the units that are created using those values.
This is the best way of calibrating a mod and takes into considerations all of the unit behaviors that Zerg talks about and many more.
This is the best way of calibrating a mod and takes into considerations all of the unit behaviors that Zerg talks about and many more.
- Evil4Zerggin
- Posts: 557
- Joined: 16 May 2007, 06:34
Re: Best units in any mod? Use simple math!
Okay...Gota wrote:You calculation is way too simplified...add speed,area damage,range energy cost and build time.
Than you will get much better results,trust me.
sqrt(DPS * health) / cost + speed + area + damage + range + energy + build time
Something tells me this isn't it. Why don't you post your formula so we can all look at it?
Health / cost * DPS / cost is how quickly the unit does damage per cost times how long it is able to deal it per cost. This makes sense since if a unit cost half as much, you could afford twice as many--double firepower with double durability. Taking the square root gives you sqrt(health * DPS) / cost, which is nice because you keep the same ordering, but you have cost in the denominator instead of cost^2, so you have some measure of what you're getting per cost. In this case, if the calculated efficiency of one unit is twice as high as a second, then a force composed of the first unit is equal to a force composed of the second of double cost. (Subject to the assumptions of the model, of course.)TradeMark wrote:Yeah...
But why i need square root? i dont get it...
Or, as Wikipedia says:
it takes an N-squared-fold increase in quality to make up for an N-fold increase in quantity.
Re: Best units in any mod? Use simple math!
How difficult would it to build a data miner that goes through tons of replays and from each one, extracts player rank, whether that player won or not, and how many of which unit they built?
Re: Best units in any mod? Use simple math!
Ideally you need headless spring for that, which ain't there yet. Otherwise quite easy, I guess.
Re: Best units in any mod? Use simple math!
Dragon all that it will give you is the units that are "thought" to be the best now...but not unit who are trully the best..
Re: Best units in any mod? Use simple math!
How do you upload to that site?
Re: Best units in any mod? Use simple math!
Shut the hell up. That's not what I was asking.Gota wrote:Dragon all that it will give you is the units that are "thought" to be the best now...but not unit who are trully the best..
So headless (i'm assuming this is the graphics-free thing) spring would be ideal, you say? What's the timeline on that? Is there any way perhaps to mine the data from replays directly without having to rerun thousands of games?We only care about existence and property here; we don't care about simulating everything that happens in between.

Last edited by Dragon45 on 29 Jul 2009, 12:26, edited 6 times in total.
Re: Best units in any mod? Use simple math!
the only thing that is ever transmitted over the network that relates to controlling units ingame is orders. maybe you could extract build orders (-unitDefID in Commdand.id), but that's about it - not a thing about when the units die and such. (there's a replay analyzer that may be useful: http://github.com/spring/spring/tree/ma ... moAnalyser, also see DemoDumper.)
as for headless due date - somewhere between future and never; I think zerver was working on that, because that's essentially what's needed for multithreaded sim.
as for headless due date - somewhere between future and never; I think zerver was working on that, because that's essentially what's needed for multithreaded sim.
Re: Best units in any mod? Use simple math!
i like this idea but you gotta have it for like 23532523 different versions of springDragon45 wrote:How difficult would it to build a data miner that goes through tons of replays and from each one, extracts player rank, whether that player won or not, and how many of which unit they built?
and im sure it would be a shitload of work
Re: Best units in any mod? Use simple math!
Im sure you dont need many spring versions, since the net commands have mostly remained same, only the simulations changed...
to Modinfo? only i canNoruas wrote:How do you upload to that site?
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
Re: Best units in any mod? Use simple math!
did tired ever release his balance forumla?
Re: Best units in any mod? Use simple math!
if you balance with RPS in mind
no one unit will truly be the best because it will have a counter.
There should be no best unit.
there should be good units in certain situations that perform better than others in the same situations
if there is a best unit the mod fails at balance and should try to fix it
no one unit will truly be the best because it will have a counter.
There should be no best unit.
there should be good units in certain situations that perform better than others in the same situations
if there is a best unit the mod fails at balance and should try to fix it
- adin_panther
- Posts: 164
- Joined: 06 Jan 2009, 14:14
Re: Best units in any mod? Use simple math!
Totally in agreement.Otherside wrote: if there is a best unit the mod fails at balance and should try to fix it
Re: Best units in any mod? Use simple math!
I recall an xls table floating along somewhere that had the magix.1v0ry_k1ng wrote:did tired ever release his balance forumla?
Re: Best units in any mod? Use simple math!
Dragon45 wrote:extracts player rank, whether that player won or not, and how many of which unit they built?
Perfect match, it would be possible to write something to extract this without the need to rerun entire simulation. LUA stuff might bork some thing like upgradable/morphable units though, not sure about that.imbaczek wrote:maybe you could extract build orders (-unitDefID in Commdand.id), but that's about it - not a thing about when the units die and such.
Probably needs lots of code from various places glued together: code from Spring to read unitdefs and map IDs to units, code from DemoAnalyser/DemoDumper to loop through demo, some TdfParser to extract player rank from the script in the demo (is it even in there?), and then some new code to compute a count per unit per player.
Re: Best units in any mod? Use simple math!
you forgot to read: best unitS... changes everything...Otherside wrote:if you balance with RPS in mind
no one unit will truly be the best because it will have a counter.
There should be no best unit.
if there is a best unit the mod fails at balance and should try to fix it
Re: Best units in any mod? Use simple math!
there shoudlnt be best units either
but thank you for admitting that most untis fill niche roles
but thank you for admitting that most untis fill niche roles
Re: Best units in any mod? Use simple math!
Trademark by any chance could you upload xta 9.55 to your site, I want to look at some things.
