Warcraft: War Heroes - Official Thread
-
Would multiplying everything by 3 work ? Or would that cause issues elsewhere ?
-
-
@redrum said in World of War Heroes – Official Thread:
@Frostion Just took a look at it. The reason the AI never buys Guard-Tower or Watch-Tower is that right now it only considers buying factories in territories with at least 3 production (sometimes 2 production if certain criteria are met like it can't spend PUs on anything else). Since every territory on this map has only 1 production it will currently never buy any factories.
We'd have to think about how to expand the AI to handle the factories on this map without negatively impacting other maps if you want to stick with all territories being 1 production.
I already said so years ago, but I still think the AI should not the based on fixed numerical values, that don't really mean anything on their own. For example, I could take "World War II Revised" and make a mod in which:
- Each territory has a production value 10 times the original.
- Each player starts with 10 times as many PUs.
- All the units numbers in each territory in the starting setup are multiplied by 10, except factory and aaGun units.
- Factory costs 150 PUs.
- AaGun costs 50 PUs.
- I tell in notes that you can place up to 10 units per zone with bid resources.
This mod of Revised would play very close to the original, except the fact that you would have less relative TUV destruction, due to the much reduced impact of minimals (like minimum 1 unit to take a territory or minimum 1 unit to block infinite units), some more strategic freedom and some less dice influence (also reducing the advantage for whoever starts bidding first), but placing a factory in a value 10 territory would be about the same as (read as crazy as) placing it in a value 1 territory in the original, condemning all those AI checks based on absolute values (there would be simply no territories of value in between of 0 and 10).
-
OK. Thanks for looking into it.
But why does player "Nature" need to have unit “Khorman”? It is a Dwarven Hero unit that Nature should not have access to? I have seen similar errors, where for example the engine wants Undead to have image of for example Human Hero unit. Does every player need image of every single unit type in the game?
In regards to the AI building factories, I actually thought the motivation was based on distance from battle fields, like if the AI could see that it had to walk like 6 territories to meet the enemy (or 3 turns with 2 movers), then AI would like to build closer to the enemy. Could the AI logic not benefit from something like this?
-
@Frostion Not sure about the images, I'll have to take a closer look.
The AI does check distance from the enemy but it has a hard limit right not where it won't even consider any 1 production territories. The reason for that is that on pretty much all existing maps, you never want to build a factory on 1 production territories and rarely on 2 production territories (so this is essentially an assumption that is invalid for this map). The way the AI works around buying factories is essentially like this (ignoring sea purchases for now):
- Buy defenders to hold factories
- Buy land units in factories reasonably close the the enemy (has a bunch of calculations to determine distance and whether to buy low/high movement units)
- Buy factory in 3 or more production territories reasonably close to the enemy
- Try to spend remaining PUs on land units in factories further from the enemy not used in 1 & 2
- Buy factory in 2 production territories as couldn't spend PUs on anything else
@Cernel Ideally, you are correct. The AI shouldn't hard code to fixed values but given that it works on almost all existing maps and is much simpler to code that is why it was done that way. There are very few existing maps where you would ever place a factory in a 1 production territory (given that placement is limited by territory production). But the AI should instead look at say average territory production values instead of having a hard limit (if all territories are 1 production and factories are cheap then be willing to build anywhere). Your example is a bit different and even more extreme but the AI would probably do ok (definitely better than it would on this map with all 1 prod territories). The reason is the AI only tries to build a factory if it thinks it needs one after using its existing factories that are reasonably close to the enemy so the only thing that would change is it would be willing to buy a factory in territories that might not be worth it since you could argue it shouldn't build in a 10 prod territory in your example (only in maybe 20 or more prod territories).
-
@redrum My Warcraft map now has 1-3 PU territories, so the AI is building factories, but sadly not upgrading.
@everybody
First post here for a long time. And it is not even a progress report, even though there has been a lot of progress and changes to this map.I need to know if this way of representing bridges (land+air unit connections) and air bridges (air units only connection) is intuitively understood? Is it obvious what a blue arrow, floating in the air, is saying? I myself have been working on this and might be blinded in terms of what I see. I have tried to make the arrow very discreet, as to not look like a physical presence, like the "real" bridge with black outline.
-
@Frostion The blue arrows and bridges make sense to me.
The AI won't buy any units that consume other units if that is what you mean?
-
@Frostion said in World of War Heroes – Official Thread:
@redrum My Warcraft map now has 1-3 PU territories, so the AI is building factories, but sadly not upgrading.
@everybody
First post here for a long time. And it is not even a progress report, even though there has been a lot of progress and changes to this map.I need to know if this way of representing bridges (land+air unit connections) and air bridges (air units only connection) is intuitively understood? Is it obvious what a blue arrow, floating in the air, is saying? I myself have been working on this and might be blinded in terms of what I see. I have tried to make the arrow very discreet, as to not look like a physical presence, like the "real" bridge with black outline.
As long as you can always move through rivers, with the same kind of units, then I would prefer no arrows or anything, as that would be superfluous signalling.
However, this is only in case the mapmaker takes good care in assuring all being unmistakably clear (!), and without any missing connections, as otherwise it might be hard arguing a connection is actually missing.
An example of an original bad drawing with universally fordable river is given by the Lord of the Rings map (in High Quality, though rarely played). In that map, all rivers were fordable, but without any signs, and with a drawing leaving a lot to be desired in terms of clarity, with also some cases in which arguably very similar cases were incoherently handled (for example, the fact that Anfalas and Belfalas connect while Anfalas and Lebennin don't).
Eventually, someone, probably veqryn, fixed that by adding dotted lines on the rivers, showing the connections.
Anyways, what I'm saying is that the most important thing is that all is clear. Secondarily, I suggest clarity being achieved with the least amount of effort. So, in your case, the best would be having no arrows nor dotted lines, but all river borders being very clearly drawn and all xml entries perfectly defined. Failing that (like in the case of the Lord of the Rings map), and aside from redrawing the map, then arrows or dotted lines are, of course, better than having no clue.
This makes me recall the same matter we went through when clarifying the WAW mess about little islands connections and canals (a few users were suggesting arrows, and such, and I think it has been proved nothing of that was actually necessary, as long as all was well drawn).
-
@redrum I know AI don't buy upgrades and it's a shame
@Cernel "I would prefer no arrows or anything, as that would be superfluous signalling. However, this is only in case the mapmaker takes good care in assuring all being unmistakably clear"
In Dragon War there will be no arrows or indicators, as there is actually no cases of uncertainty regarding the presence of a border-river, and all border rivers can be flown over. This is not the case on the Warcraft map. There are many places where borders and connections are not as clear as in the picture I posted. Also there are som slim mountain ridges that I plan to allow airunits to fly over. So the arrows will mark all air connections. No arrows, no air connection over the river or mountain ridge. -
@Frostion I like the arrows if they are intrinsically key for clarity.
I might suggest deepening the shadow ever so slightly as it may further underscore the unique nature of the the connection.
-
Also maybe adding a slight arch to the arrows...
-
@Hepps I recolored the arrows a bit, added more shadow and a discreet outline. I don’t think I will add a curve, as it could maybe lead to think that the arrows are referring to something thrown or maybe artillery related.
In relation to this; I think I will allow all artillery shots (1 movement suicide air units) to use all air connections just as other air units. (And no ... artillery cant load up and catapult pigs .... the pig is a "Food" generating resource )
-
Too bad about the pigs. Otherwise you could have umbrellas as defensive units
-
Actually, in ancient times pigs were sometimes used as suicide war units.
https://en.wikipedia.org/wiki/War_pigHistorical accounts of incendiary pigs or flaming pigs were recorded by the military writer Polyaenus and by Aelian. Both writers reported that Antigonus II Gonatas' siege of Megara in 266 BC was broken when the Megarians doused some pigs with combustible pitch, crude oil or resin, set them alight, and drove them towards the enemy's massed war elephants. The elephants bolted in terror from the flaming, squealing pigs, often killing great numbers of their own soldiers by trampling them to death.
-
@Frostion I would probably agree about the curvature as your points make perfect sense... and the revisions to the arrows look great.
And don't be so stingy... let the pork fly freely!
-
So the “Air Bridges” and their final look is now done and implemented (note the bit smaller air bridge pictures):
@Cernel I could now use your help to make some nice working air-unit canals again
Here is the data, connections and units:
WarcraftWarHeroes-Connections-and-units.txtDo you think that a variable name will work with canals and their unit restrictions? ( @redrum ???)
-
@Frostion How about instead having these rules:
- Air and raft can always pass.
- Land can pass if there is a bridge and the territories on both sides are owned or allied.
Then, the raft would be a movement 1 land unit (or maybe a movement 1 kamikaze air unit) that you use to move land units in attack always or for moving without bridges.
?
It doesn't really make sense to me that the bridges are the way for land units to attack. Then why the defender doesn't just destroy the bridges? Indestructible bridges would make more sense if they allow movement only between friendly territories.
-
@Cernel Realism is not really a goal of this map. No bridges can be destroyed in Warcraft, unless it is a bridge meant to be destroyed as part of some story line, cutscene or mission. And even then, the same bridge would magically be restored by the time a new player arrived to the scene Jokes aside, my Warcraft map also seeks simplicity:
Land bridge = Land, air and ammo units may cross into the other territory.
Air bridge = Only air and ammo units may cross into the other territory.(and yes, for artillery shots to be able to travel into another territory to hit enemies, these enemies should realistically be standing and waiting just past the border line. And this will definitely not be the imagined scenario of every border crossing.)
The map will have a lot of impassable mountain ridges, air only passable mountains, impassable as well as passable rivers and so on. Some regions of the map are dominated by unhindered travels through territories while other areas will have maze like characteristics
I think that I want to just follow my original plans for the bridges.
-
@Frostion said in World of War Heroes – Official Thread:
@Cernel I could now use your help to make some nice working air-unit canals again
Here is the data, connections and units:
WarcraftWarHeroes-Connections-and-units.txtThis data is not enough. I also need the attached territories. Practically, in your case, to keep it simplest, you need to attach them to a territory that is and will always be owned by the Neutral player.
-
@Cernel said in World of War Heroes – Official Thread:
@Frostion said in World of War Heroes – Official Thread:
@Cernel I could now use your help to make some nice working air-unit canals again
Here is the data, connections and units:
WarcraftWarHeroes-Connections-and-units.txtThis data is not enough. I also need the attached territories. Practically, in your case, to keep it simplest, you need to attach them to a territory that is and will always be owned by the Neutral player.
Here it is the set of canals that should allow you enforcing what you want, provided that you substitute all occurrences of "..." with the needed territory:
connections_canals.txt