Jump to content

Map Editor: Creating own map: How can i enable/allow ceasefire ?


Kim
 Share

Recommended Posts

Build 14.04.2021 (24937-relese)

MapEditor (not showing it's version details somewhere)

Loading the generated map in 0AD, i am unable to activate/set the ceasefire time.

Within the map editor i am not able to find an option or checkbox to allow/predefine that wanted ceasefire option.

btw: The "security check" is not only a privacy violation, it's reminding time is way too short. i have to do that the 3rd time now

  • Like 2
Link to comment
Share on other sites

  On 28/05/2021 at 12:58 PM, Kim said:

Within the map editor i am not able to find an option or checkbox to allow/predefine that wanted ceasefire option.

Expand  

There is no such option it's only configurable in gamesetup. I'm not sure you can force it either in the map XML

  On 28/05/2021 at 12:58 PM, Kim said:

 

btw: The "security check" is not only a privacy violation, it's reminding time is way too short. i have to do that the 3rd time now

Expand  

What security check?

Link to comment
Share on other sites

  On 28/05/2021 at 1:32 PM, Stan` said:

There is no such option it's only configurable in gamesetup. I'm not sure you can force it either in the map XML

What security check?

Expand  

The one when i try to create a new topic. Finding hills etc. in different 9 images.

  On 28/05/2021 at 1:32 PM, Stan` said:

There is no such option it's only configurable in gamesetup. I'm not sure you can force it either in the map XML

Expand  

Hosting my map (and some others installed with the game) i am not able to set the ceasefire time:

ad1.jpg.378add35f800bed322939118cc7f6ad8.jpg

Switching to another map (without restarting the game or somthing similar; just selecting another map), i am able to select that option:

ad2.jpg.02fd155952822440b7522174b6021f45.jpg

  On 28/05/2021 at 1:32 PM, Stan` said:

I'm not sure you can force it either in the map XML

Expand  

Where ? I am new to this game, so i would be happy if you could give me some more details.

I will try and report the result here.

I found the XML file by my own ... searching helped. Will give it a try and report results.

Edited by Kim
found xml by my own
Link to comment
Share on other sites

  On 28/05/2021 at 1:56 PM, Kim said:

The one when i try to create a new topic. Finding hills etc. in different 9 images.

Expand  

Right sorry about that, we have a lot of spam attacks, and this is to prevent them from doing too much damage. It should work now :)

  On 28/05/2021 at 1:56 PM, Kim said:

Hosting my map (and some others installed with the game) i am not able to set the ceasefire time:

Expand  

Yeah scenarios have those restrictions, you move it to skirmish to lift it.

If you still want to be restrictive you need to edit the XML file of the map location depends on your OS https://trac.wildfiregames.com/wiki/GameDataPaths

 

<![CDATA[
{
  "CircularMap": true,
  "Description": "In the deep Sahara Desert of Africa lies an  area of rocky outcrops and small oases. \n\nLarge stone quarries can be found in the cliffs, while wood and animal resources can be found near the oases dotting the landscape. Nearby fruiting Date Palms give an nice initial burst of food.",
  "Keywords": [
    "new"
  ],
  "Name": "Saharan Oases (4)",
  "PlayerData": [
    {},
    {},
    {},
    {}
  ],
  "Preview": "saharan_oases_4p.png",
  "VictoryConditions": [
    "conquest"
  ]
}
]]>

And add

  "Ceasefire":15,

Like so:

<![CDATA[
{
  "CircularMap": true,
  "Description": "In the deep Sahara Desert of Africa lies an  area of rocky outcrops and small oases. \n\nLarge stone quarries can be found in the cliffs, while wood and animal resources can be found near the oases dotting the landscape. Nearby fruiting Date Palms give an nice initial burst of food.",
  "Keywords": [
    "new"
  ],
  "Name": "Saharan Oases (4)",
  "PlayerData": [
    {},
    {},
    {},
    {}
  ],
  "Preview": "saharan_oases_4p.png",
  "Ceasefire":15,
  "VictoryConditions": [
    "conquest"
  ]
}
]]>

 

  • Like 1
Link to comment
Share on other sites

  On 28/05/2021 at 2:10 PM, Stan` said:

Yeah scenarios have those restrictions, you move it to skirmish to lift it.

Expand  

Tried it out - you're right. Saving the map in the tab "skirmish", restarting the game and trying to start the map again, i am now able to set the ceasefire option.

For all other users searching their maps on ubuntu systems (0AD installed through snap):

~/snap/0ad/206/.local/share/0ad/mods/user/maps/scenarios/

Thank you very much for your very quick and helpful response, Stanislas !

Ticket can be closed.

  • Like 1
Link to comment
Share on other sites

I am currently thinking about helping you - as a senior developer with my 30+ years of experience. To be honest, i would like to figure out a bit how much 0AD is fascinating us about some weeks (as very long and routined AoE2 players). I already throw a short view into the technical docs. Don't know if and where your project could need some assistance from me.

  • Thanks 2
Link to comment
Share on other sites

  On 28/05/2021 at 3:01 PM, Kim said:

I am currently thinking about helping you - as a senior developer with my 30+ years of experience. To be honest, i would like to figure out a bit how much 0AD is fascinating us about some weeks (as very long and routined AoE2 players). I already throw a short view into the technical docs. Don't know if and where your project could need some assistance from me.

Expand  

Sounds good, more hands won't hurt! You can drop by IRC if you want to chat with us directly, or you can ask your questions here if you prefer :)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...