Jump to content

Modify mines capacities


TeamTim
 Share

Recommended Posts

Hello everyone,

We are creating a new map and we just want to increase the capacity of the mines (from 5000 to 100 000 for example). Indeed we'd like to play longs games that could last hours.

We tried to access the XML file of our map but the capacity of the mines was not specified.

Can someone help us ?

Thanks !

Link to comment
Share on other sites

6 hours ago, TeamTim said:

Hello everyone,

We are creating a new map and we just want to increase the capacity of the mines (from 5000 to 100 000 for example). Indeed we'd like to play longs games that could last hours.

We tried to access the XML file of our map but the capacity of the mines was not specified.

Can someone help us ?

Thanks !

You can easily create a new mine template and adjust the resource amount. 

Link to comment
Share on other sites

Thanks @borg and @wowgetoffyourcellphone for the answers !

We accessed the templates of stonemines and metalmines and changed their amount of ressources. However it still didn't work : we kept having mines with a 5000 capacity.

At this point we thought to create a mod, so we copied the "Public" folder that we had modify previously to the 0ad/mods/"mynewmode" folder. But once in the game, our mod didn't show up in the mod selection...

Would you have further advices ?

Link to comment
Share on other sites

  • 3 weeks later...

Hey men,

We've still not achieve to modify mines capacity. In fact we've tried to modify directly the amount of resources in the template (changing "5000" to "100000" for example). It didn't work. So we've created a mod. In this mod we have put all the templates amended for the stone mines and mineral mines. We've also created a mod.json file in which we have written that :

{
    "name": "InfiniteMines",
    "version": "0.0.23",
    "label": "InfiniteMines",
    "description": "A mod with mine with infinite resources",
    "dependencies": ["0ad=0.0.23"]
}


But once in the game, we can see this mod, we can start it but the amount of the mines is still 5000. How can we do ?

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...