Global Dominance
-
@hepps Ah. I'm guessing the trade center symbols will mark the territories that can transform the resource units into PUs/steel/oil for purchases. Will there still be L&L territories as well or is the trade system replacing that?
-
@redrum Both.
-
So I have started in on the Shipping Lanes & Trade Centers in earnest.
Here is a sample...

-
@hepps Oh what are the symbols on the shipping lane circle for?
-
@redrum hmm +10 f owned and iron?
-
@prastle If Germany controls the Shipping lane it receives +10 Steel from trade with Sweden.
-
Just finished the new L&L icon. Since all L&L Territories will also be Trade Centers... I made the new L&L icon to include the Trade Center Icon.

-
@hepps Looks great. Will which units you can L&L vary per territory per nation? If so then having a little symbol indicating something like land/air/etc around the ring would be cool

-
-
@hepps Yes. Can I have your babies now?
-
@redrum No but if you love me... then you could start writing a template for the conditions & triggers so I can copy and paste all of it into the XML 1000 times.

Actually if you continue to work on the features list that do as well.
We still have 2 rather important ones to over-come. -
@hepps But I wouldn't want to deprive you of all the condition/trigger fun... I mean what else what you do with your time

Though on a more serious note some of the mass conditions/triggers (>100) that are very similar for say every/most territories, it may be better to write a little script to generate the necessary XML based on a template and list of territories (unless this is what you are doing already).
The 2 new features that are left are the following right?
- Unit Option Can Submerge/Hide for Land Units (Partisan/Guerrilla)
- Unit Option When Damaged Change Into Different Unit (Weakened Battleships)
Any thoughts on priority?
-
@redrum Yes... that is what I am doing. Creating a seperate template to govern the behavior with the words "InsertNamehere" and "InsertTerritoryhere" in the template. Then I can just find and replace with the appropriate info as I work it into the XML.
Both are important relative to my goals... but, I think the "When Damaged Change" is more critical to the overall design since it impacts so many of my unit designs and affects all aspects of the game (land,sea & air).
-
@hepps Another really helpful trick I tend to use a lot is to start out from
<territory name="Random Territory"/> <territory name="Really Damn High Mountains"/> <territory name="Whatever Really"/>then (easily with notepad++) mass-replace
"/> <territory name="with
" javaClass="games.strategy.triplea.attatchments.TerritoryAttachment" type="territory"> <option name="production" value="1"/> </attatchment> <attatchment name="territoryAttatchment" attatchTo="to get
<attatchment name="territoryAttatchment" attatchTo="Random Territory" javaClass="games.strategy.triplea.attatchments.TerritoryAttachment" type="territory"> <option name="production" value="1"/> </attatchment> <attatchment name="territoryAttatchment" attatchTo="Really Damn High Mountains" javaClass="games.strategy.triplea.attatchments.TerritoryAttachment" type="territory"> <option name="production" value="1"/> </attatchment> <attatchment name="territoryAttatchment" attatchTo="Whatever Really" javaClass="games.strategy.triplea.attatchments.TerritoryAttachment" type="territory"> <option name="production" value="1"/> </attatchment>Same trick can be used in a whole bunch of situations.
-
@alkexr Just make sure to use the corrected "attachment" spelling or your map won't work in 1.9

But yeah using mass find/replace in something like notepad++ covers a good deal of situations. For some of the more complex ones, writing a little script that essentially does that but handles more variables can be useful as well.
-
@redrum Oh, thanks, you have a keen eye. I had an old version of Pact of Steel 2 xml opened. Hopefully I haven't used code from there

-
Work is progressing nicely. Now that I have formulated all the details surrounding the Shipping Lanes and Trade Centers and Lend & Lease... things are looking very exciting all over the map.


-
Middle East is completely finished. The little nation of Saudi Arabia could prove to be a pivotal part of either sides strategy to control the surrounding regions.

-
@hepps Love the mine. I am sure ya had it elsewhere before and I didn't notice.
-
@prastle Yah I'm happy with them. Let the smelting commence.
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
