Declaration of "NoWhere" places
-
Hello everybody
Its my first post here so i would like to say hello first and explain, what is my knowledge on the topic so far.
So i created a small test-map. Just 40 places, simple setup. I went through the whole map creation process (Thx for all the great guides and help) and successfully created my first small game map. The hardest part was the xml file, as i am no programmer. Well, i simply took the existing xml file of "270BC" and adapted it to my needs. Made it simple with only 2 players fighting each other, defining only 5 units.
In the end i had a working game where i can fight the AI on my test map. I found some errors on the connections as not all possible moves were really possible, but i am still happy with the result.
So lets say that i can find my way through a tag-based file, but i do not really understand it all
Now to my question:
My next project is a "real" map, which i will hopefully be able to upload to the other existing triplea maps. I guess it will be a long way with lots of questions and bug-finding, but we will see...
On my map, there should be a few places where no unit is allowed to go (e.g. uncrossable mountain). So i am wondering what is the best way to handle these "nowhere places".
So far i have two ideas:
-
Handle it like all other places and then remove the connections afterwards. Seems a lot of work with easy made mistakes.
-
Declare it a seazone without any ships. If there are no ships on the zone, noone can go there, right?
Or maybe there is a much better, easier way, which i do not know of?
I am grateful for all hints and help.
-
-
@tannenbernie
Welcome to the forums!There is no right or wrong answer, do what suits you.
There is a #3 declare it as Impassable,
<option name="isImpassable" value="true"/>
You can leave the connections but I would not..
There is a #4, use movementCostModifierSimulate a Railway/Road, can move twice as far, costs 1 -0.5 = 0.5 to enter <option name="movementCostModifier" value="Tank:Truck" count="-0.5"/> Simulate a Warp-Drive, can give unlimited movement,costs 1 -1 = 0 to enter, <option name="movementCostModifier" value="Enterprise" count="-1"/> Block movement into terrain type, for move 2 unit, costs 1 +3 = 4 to enter, <option name="movementCostModifier" value="Mere:Gigas" count="3"/> Simulate slower move on a River, for move 2 unit, costs 1 +1 = 2 to enter, <option name="movementCostModifier" value="Greatship:Longboat" count="1"/>
From here
https://forums.triplea-game.org/topic/2892/how-i-am-using-movementcostmodifier.
The question is do you want to fly over it?.
As an aside have you seen this post for making baseTiles?
https://forums.triplea-game.org/topic/3318/easier-map-making-with-inkscape-reusable-art-assets -
Great stuff!
Thx for the answer, there are some good options which i will test.
Wish me luck with my new project
Cheers,
Bernd -
You don't need luck just perseverance
But I do wish you well
Go here for inspiration
https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides -
@tannenbernie It is good that you tried to a test map first. Many would-be modders try something overly ambitious and then give up when the run into problems. I wish you luck on your new mod.