Iron War: Europe - Official Thread
-
@Frostion congrats
-
@CrazyG
Do you have the time to give me a hand again with generating the XML code (conditions and triggers) that replaces any Axis owned "SS-potential" units with German owned version?I think you had some program and script for doing this last time, and I just gave you a txt file with all the land territory names listed, and a txt file with the code that needed to be multiplied.
I hope to get this Europe map ready for testing soon
-
@Frostion
Sure, post it and I'll take a look -
@CrazyG
Yay! -
@Frostion
Alright I found the excel document i used to make the other triggers. I think this version should work, but I didn't get to test it0_1501553296221_FrostionConditions.txt 0_1501553302385_FrostionTriggers.txt
-
@CrazyG
The conditions and triggers do not seem to work. I can see that you used something from the old Iron War map, but this map has new playersI tried to fix it by adding some missing or cut text from every single condition (" count="1"/> was missing) but that did not do anything.
I replaced the players (Iraq:Iran:Japan:Thailand) with just (Albania) but that did not help either.The java error message tells me that the </attachmentList> is missing, but it is not, and it wants it to be placed just after the first trigger, even though there are 186 more triggers that needs to be there before the </attachmentList>
I can see that in the old, and working, Iron War XML, every single condition is followed directly by its corresponding trigger. I don’t know if or why the engine would require this, but maybe we should try to reproduce it in the new Iron War Europe XML.
If you could use this text: 0_1501630277349_IWE-Condition&Trigger.txt
And replace all the ??? with a territory name from the list: 0_1501630307122_IWE-All187LandTerritories.txt
So that we end up with a list consisting of Condition/Trigger/Condition/Trigger and so on, maybe it will work? -
@Frostion
I'll give it another shot. I was lazy on the first one -
Just wanted to post a teaser. I have “populated” the map with units. I changed the colors a bit and I really like the look of this Iron War version. And there is a lot of space in most territories. What do you guys think?
The snapshot is 6000x4500 pixels, 46 MB: https://dl.dropboxusercontent.com/u/91867373/SnapshotIWE.png
(Open this in a new fan and let the picture load … or just download it)At the moment all the Balkan countries are non-playable and AI controlled. Yugoslavia is attackable (easily invaded) and Croatia (w. Bosnia) is a nation that can be liberated from Yugoslavia and will join the Axis. I think I will give Croatia PUs so that they can build a factory fast.Then Germany will not have to pay the 25 PUs for that when liberated.
Maybe all this will change, and maybe there will be a version of Iron War Europe with a “Balkan” nation instead of all these small AI nations. But as I see it, supporting these nations could be like a mini-game inside the game. Italy supports Albania. UK supports Greece. Germany supports the other Balkan countries.
At the moment Iraq is just an attackable AI neutral, but I have been thinking about adding them as a neutral that could maybe be bribed, and with chance rolls they could join the war on one of the sides. Could be maybe be fun
I think that I will start out with this layout and work it into a balanced version. The map has not been tested yet, not even AI vs AI, as I need to add a lot of stuff to the XML. It will be fun to see how this map handles.
-
@Frostion Looks incredible!
-
@Frostion Looks great. I love the Iron War decal you have in North Africa.
-
@CrazyG
I hope you will soon have an hour or so to spent I have tested out two SS-Potential replacement triggers, so it works with two territories right now. They work if they look like this: (Note that I have added Iraq as a player)0_1501630307122_IWE-All187LandTerritories.txt
<attachment name="conditionAttachment-A-Non-German-Axis-SS-Potential-Is-In-Territory-Tunisia" attachTo="Germany" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="directPresenceTerritories" value="Tunisia" count="1"/> <option name="unitPresence" value="SS-Potential" count="1"/> <option name="players" value="Slovakia:Hungary:Romania:Bulgaria:Croatia:Finland:Italy:Albania:Iraq"/> </attachment> <attachment name="triggerAttachment_The_SS_is_now_recruiting_from_Tunisia" attachTo="Germany" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment-A-Non-German-Axis-SS-Potential-Is-In-Territory-Tunisia"/> <option name="placement" value="Tunisia:SS-Potential" count="1"/> <option name="players" value="Germany"/> <option name="when" value="before:SlovakiaEndTurn"/> <option name="when" value="before:HungaryEndTurn"/> <option name="when" value="before:RomaniaEndTurn"/> <option name="when" value="before:BulgariaEndTurn"/> <option name="when" value="before:CroatiaEndTurn"/> <option name="when" value="before:FinlandEndTurn"/> <option name="when" value="before:ItalyEndTurn"/> <option name="when" value="before:AlbaniaEndTurn"/> <option name="when" value="before:IraqEndTurn"/> </attachment>
-
Iron War Europe is about 99% ready to go into Beta, 99% ready to be uploaded to GitHub and become downloadable. But I feel the map is ready to get tested now, before it is uploaded to github, so here it is for people who want to try it out.
The only thing that I know is not working on the map right now are the German “SS” resource income. This is what @CrazyG needs to help me out with You can play the map and not notice it, but some of the SS resource generating standards around the map tends to be removed by triggers right now.
I think the way the USA looks and functions is good and makes sense, so thanks for all the input here! Without this help, USA would be a small tiny territory in the top left corner. Much better now.
What to expect:
There are map notes, so please read them.
This version is called v0.0.1 (Alpha) and is 123 MB.
Please give feedback about the first impressions, game/xml flaws, errors, misspellings and so on.What to expect, unhistorical wise:
Its 1940, Poland has been invaded and Germany has the first move, just like on the iron War global map.
France is a nation that will not surrender or turn coat.
France will probably not fall before 1941.Known errors:
Because the XML has triggers that removes many types of resources from many players who cannot use them, there is sometimes errors popping up about “not being able to remove resource “some count” as the player only has “something less””. I cant see that this is really an error, and I don’t know why this has to pop up as an error. Maybe @redrum can tell why this popup happens?Download:
https://www.dropbox.com/s/iy77jy0ca46c318/iron_war_europe.zip?dl=0
PS: You need one of the newest pre-releases to play the xml, a release that supports hidden players. -
@frostion looks great! Also the new test lobby is up if ya want to try it live! Ill try to get it in one of the bots there with a program @roiex recommended.
https://forums.triplea-game.org/topic/268/volunteers-needed-early-release-testing-group -
@frostion Do you have a screenshot or save game that shows the popup so I can take a look?
-
@redrum The popup-error I am talking about can easily be reproduced by running Iron War Europe (the version posted above) as a game where all players are “Does nothing (AI)”. During the first or start of second round the error pops up. It is obvious connected to the triggers removing fuel from players and other resources that the players can’t use and therefore should be without.
The triggers try to remove -9999 of specific resources, but the errors states “-25” for some reason.
I hope you can investigate and find out if this popup is really necessary, because I have seen this pop up on other maps I made that also have triggers that removes resources from players.
Error:
triplea.engine.version.bin:1.9 Loading map: dragon_war, from: C:\Users\David-Corsair\triplea\downloadedMaps\dragon_war-master.zip Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\dragon_war-master.zip, C:\Games\TripleA\assets] Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets] Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets] Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets] Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets] java.lang.IllegalArgumentException: Cant remove more than player has of resource: Fuel. current:1 toRemove: 25 at games.strategy.engine.data.ResourceCollection.removeResource(ResourceCollection.java:58) at games.strategy.engine.data.changefactory.ChangeResourceChange.perform(ChangeResourceChange.java:42) at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:49) at games.strategy.engine.data.GameData.performChange(GameData.java:501) at games.strategy.engine.history.History.gotoNode(History.java:122) at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:262) at games.strategy.triplea.ui.history.HistoryPanel.goToEnd(HistoryPanel.java:371) at games.strategy.engine.history.History.goToEnd(History.java:60) at games.strategy.engine.history.HistoryWriter.addToCurrent(HistoryWriter.java:111) at games.strategy.engine.history.HistoryWriter.addToAndSetCurrent(HistoryWriter.java:100) at games.strategy.engine.history.HistoryWriter.startEvent(HistoryWriter.java:124) at games.strategy.engine.framework.HistorySynchronizer$1.lambda$startHistoryEvent$1(HistorySynchronizer.java:64) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:333) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) java.lang.IllegalArgumentException: Cant remove more than player has of resource: Fuel. current:1 toRemove: 25 at games.strategy.engine.data.ResourceCollection.removeResource(ResourceCollection.java:58) at games.strategy.engine.data.changefactory.ChangeResourceChange.perform(ChangeResourceChange.java:42) at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:49) at games.strategy.engine.data.GameData.performChange(GameData.java:501) at games.strategy.engine.history.History.gotoNode(History.java:122) at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:262) at games.strategy.triplea.ui.history.HistoryPanel.goToEnd(HistoryPanel.java:371) at games.strategy.engine.history.History.goToEnd(History.java:60) at games.strategy.engine.history.HistoryWriter.addToCurrent(HistoryWriter.java:111) at games.strategy.engine.history.HistoryWriter.addToAndSetCurrent(HistoryWriter.java:100) at games.strategy.engine.history.HistoryWriter.startEvent(HistoryWriter.java:124) at games.strategy.engine.framework.HistorySynchronizer$1.lambda$startHistoryEvent$1(HistorySynchronizer.java:64) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:333) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
-
-
@redrum Haven't DL'd it yet.... But I'm really not a triggerman. Not sure I am fluent enough to be of any assistance. I'll take a look.
-
@redrum I can see that other maps also have triggers like mine. I did a search in my little limited archive of XMLs for (resourceCount" value="-) and found some maps that also removes large amounts of resources from players in different circumstances. But I don’t know if the maps experience this error also. Maybe only the mapmakers know.
From Greyhawn wars xml:
<option name="resource" value="PUs"/>
<option name="resourceCount" value="-9999"/>
War of the Middel-Earth 8v8:
<option name="resource" value="Industry"/>
<option name="resourceCount" value="-1000"/>
Civil War: House divided:
<option name="resource" value="PUs"/>
<option name="resourceCount" value="-10000"/> -
Glad to see this project got going. Hopefully my work settles down because I always enjoy Frostion's maps
-
@crazyg Agreed. Truly an artist in many disciplines.