Logo Platform
logo amplifiers simplified

Adding WorldGenerator custom scenario to mod and how to make new scenarios ?

Reply
Copied to clipboard!
10 years ago
May 24, 2015, 10:57:06 PM
I'm trying to make the world generator scenarios (or presets) active with a mod but I'm unable to do so.



So far I have tried to add the WorldGenerator/Scenarios folder in the mod folder and adding the related plugin in the mod definition file.

I've also added the GuiElements files related to the world generator scenarios in the Gui folder with relevant plugin definition.



Here's the sections I've added in the mod definition file.

[CODE]

















Gui/GuiElements
  • .xml





    WorldGenerator/Scenarios/*.xml



  • [/CODE]



    I'm obviously missing something here but I can't find what exactly.

    Would anyone be so kind to point me in the right direction ?



    And regarding world generation scenarios, could it be possible for a Dev passing here to explain us how we could create custom scenarios as the ones already available in the game ?

    Maybe this could make a nice mod example ?
    0Send private message
    10 years ago
    May 25, 2015, 12:47:09 PM
    Info from a bit back...



    Pikou wrote:
    It seems there is a problem with a mod activated there are no preset available.

    Even if I add the following lines to the modding reference file:



    Public/WorldGenerator/Scenarios/*.xml





    Only possibility for the moment is to add a preset by adding the xml file directly in public folder inside WorldGenerator\Scenarios...

    I will have a closer look at this.

    Thanks for asking.
    0Send private message
    ?

    Click here to login

    Reply
    Comment