Loading...
  OR  Zero-K Name:    Password:   

Hi, question

5 posts, 343 views
Post comment
Filter:    Player:  
sort
im trying to build a widget that build units for you. But im running into a wall i think and would like some opinions. I'm not sure what the way to do it is. What i have is a big table going trough all units and a value attached to every pair. So glaive vs scorcher gest a 0.8 and kodachi vs dart gets 1.45. The mirror pairs are 1. and every pair in the opposite direction gets the opposite value (scorcher glaive 1.2). Im unsure if there is a way to do this that results in a usable widget. What logic should i apply, i was thinking in every factory matchup (tank vs rover) to put a value for each unit considering how much i would want it as a response to what the enemy unit is. Now im thinking about the per unit matchups so glaive vs scorcher 0.8 and glaive vs kodachi 0.6 (glaive is weaker vs kodachi then vs scorcher). But im not sure what other things i should be thinking about when putting a value.
i attached a snapshot of the raider vs raider matchup in my table.
[Spoiler]
+0 / -0
How are you actually using these values?

Does the difference between, say, Dagger and Bolas vs. Glaive mean you're making exclusively Bolas vs. mono Glaive, or just investing more in Bolas than Daggers?

With Dart and Scorcher vs. Kodachi, do the unfavorable matchups with both mean you're trying to exit the raider phase entirely as soon as you see lots of Kodachis? Do you take into account the synergy of Dart-Scorcher pairs vs. other heavy raiders?

Does the comparatively unfavorable matchup of Glaives vs. Scorchers as opposed to other Glaives mean you're making fewer Glaives vs. Rovers to avoid being countered, or more Glaives to help overcome the mild disadvantage?

How do you figure out what proportions to make counters in, if the opponent has shown, say, both Darts and Scorchers?

+0 / -0
The value is a coeficient of wanting to build a unit to answer a unit on the field. The best rated unit gets built.
Dart and scorcher will result in ripper being built, yes the raider phase is avoided.
The difference means one unit with a good score gets built rather than a unit with a worst score. And the presence of unit also weights down the wanting of a unit (so if the opponent has ronin and also reaver glaive gets weighted down by the reavers)
If a unit gets a bad matchup like glaive vs scorcher that unit will get built less.
Right now if you see scorcher and dart as cloaks it would built reaver bcs the scorchers counter the glaives. But i like the idea of building units in proposrtion to their score, didnt think of that.
+0 / -0

35 days ago
Well, in practice raiders are often built to counter expansions rather than other raiders. And the ideal for this role is to have them arrive at a target expansion as it's being built. So, assuming you embed this into your logic, your widget might still make raiders that have a bad matchup into enemy raiders.

Your widget also needs a cost filter, based on your current income and army value, so that you don't get stuck with a demistrider in the queue for several minutes of the early game while the stuff it's supposed to counter runs rampant.

On the topic of mixed raider compositions, the two vehicle examples act differently. As I mentioned earlier, some bad raider matchups for Scorchers become positive when there's one Dart in the composition because, while the Dart dies in exchange for the slow, it lets the Scorcher get on top of its target. Daggers, on the other hand, have a bunch of negative matchups turn positive when they hit critical mass to kill the target in a single salvo, so switching away from them to a riot may be an error that devalues all your existing Daggers.

+1 / -0
Well speed, opportunity cost and area of influence are important factors.

Riots should theoretically counter raiders, but in most cases, raiders can just run around riots to hit other targets.
Also, if you have enough raiders and good spread, you can typically overrun lone riots and still get a positive cost trade.

The area a Reaver can protect against a raider is actually really small.

On the other hand, a Ronin is faster than a Reaver and can kite it and can typically kill infinite amount of Reavers, but it will probably miss a lot, taking longer time to kill an advancing Reaver than a Knight.
+0 / -0