Question about trenches domination 1914 no mans land
-
Me and a group of people are making a map based on the map "domination 1914 no mans land" (project red-orange)
Quick question regarding map making and trench mechanics.
We are trying to recplicate the trenches: a 2 hp unit with zero defensive value (without the bunkers research, which isnt relevant right now)
everything works, with 1 exception:
In our map, attacking a territory with only trenches forces a full, round by round battle. In domination, these battles resolve automatically.
Our unitattachment and properties are identical to the original map, we cant find any special triggers or attachments.
Could this be a different engine version, or is there something we might have missed?
(also for anyone reading who doesnt know a lot about map making but wants to help play testing we are always looking for new playtesters!)
~Ramon
the unitattachment:
<attachment name="unitAttachment" attachTo="trench" javaClass="UnitAttachment" type="unitType">
<option name="defense" value="0"/>
<option name="hitPoints" value="2"/>
<option name="isSuicide" value="true"/>
<option name="isConstruction" value="true"/>
<option name="constructionType" value="bunker"/>
<option name="constructionsPerTerrPerTypePerTurn" value="3"/>
<option name="maxConstructionsPerTypePerTerr" value="1000"/> -
Hi Ramon
What triplea engine are you using ? If it's the latest, you might try using the old 2.5.
You could also try using the old Domination with the new engine version or whichever version you are using.
Might let you know if it's engine related then.
I don't think you can remove the defense completely. You can try it but I think it throws an error.
@wc_sumpton would probably know or @rogercooper
-
@Ramon Are you limiting the number of rounds for battles?
-
-
-
-
ahh maybe it only works if the battle starts out that way ? After the hitters are dead, you still have to roll to kill them ?
I will test

-
Thank you for your response!
Turns out that setting was indeed not enabled.
Once i enable this setting i'm running into another issue. In our mod, transports have 1 defense and battlecruisers are able to transport 1 inf. However this setup appears to be incompatible, im recieving the following error:
Validation errors parsing game-XML file: C:\Users\ramon\triplea\downloadedMaps\war_plan_red_orange\war_plan_red_orange\map\games\War_Plan_Red_Orange.xml, errors: Restricted transports cannot have attack or defense, , for: UnitAttachment attached to: UnitType{name=transport} with name: unitAttachment Restricted transports cannot have attack or defense, , for: UnitAttachment attached to: UnitType{name=battlecruiser} with name: unitAttachment
this makes sense, if i understand correctly i cant restrict transport casaulties and making them have 1 defense.
Is there a way to make these features compatible?
Thank you!
-
Try "isCombatTransport" for those units that can transport and also participate in battle.
Cheers...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login