Page 1 of 1

Modding - start here

Posted: Thu Oct 26, 2017 8:42 am
by rbodleyscott
Firstly, you are strongly advised not to mod your base build. The game has a robust system for modding without doing this. If you mod your main build, the modded files may be over-written when the game is updated.

Basic information on Modding is here:

http://archonwiki.slitherine.com/index.php/Modding

Note that the global mods feature was added to the engine very recently, and is not currently working in FOG2.

Mods should therefore be created in custom "campaign" folders. (The engine calls all type of modules "campaigns" whether preset scenarios, custom battles, quick battle modules, sandbox campaigns or scripted campaigns).

Custom folders can be created by going into the editor and selecting "New". You can make a copy of a similar module as a head start. These will be saved in /Documents/My Games/FieldofGlory2/CAMPAIGNS if single player, /Documents/My Games/FieldofGlory2/MULTIPLAYER if multiplayer.

e.g.
1) if you want to make a preset scenario or set of preset scenarios, start with a copy of /CAMPAIGNS/2Rise_Of_Rome
2) if you want to make a sandbox campaign module, start with a copy of 2MPSRiseOfRome
3) if you want to make a scripted campaign, start with a copy of CaesarCampaign
4) If you want to make a modded quick battles module, start with a copy of 0Hypothetical

NOTE: If you want to make a Custom Battles module, just create a "campaign" that isn't a copy of any of the existing "campaigns".

Once you have created a custom "campaign" it should automatically appear in the list of options for its module type. Note that if you copy an existing "campaign" the system will not automatically replace the displayed campaign name with the name you typed in, you will need to alter the IDS_CAMPAIGN_NAME string in text1.txt in the main directory of the custom folder. Until you do that, the game will show a duplicate of the original name of the module in the appropriate list. The vanilla one is the top one.

Files in a custom "campaign" folder will automatically replace the vanilla versions when that module is run, provided that you use the file tree shown at the end of the linked document. Note that this is not identical to the file tree in the main build.

Re: Modding - start here

Posted: Wed Aug 25, 2021 12:12 pm
by heidipie
Mr Scott first let me thank you for all the creativity and genius you have brought to this hobby/slash way of life over the decades , and your evolution into internet gaming even......pushing those figures around the table, all one really misses is the company and the beeers, and more beers....

my query, has anyone done any work to mod your game for Napoleonics ? or are you and your team working on such already ? am a Napoleon fanatic with many figures etc but as you probably know, there are no table top move by move games on the internet at tactical level.....
Scourge of War is billiant work but not simple and not a recreation of table top as FOG
and sorry i am just not into the adrenaline drive needed to play the briliant but simultaneous mods of Nap Total War

as a retiree of means, i was thinking of brining in a software designer i know to work on this, as a gift to myself and the hobby......as a businessman , i guess i am asking how could we develope this with you or your colleagues ?? i have the means to move someting forward do not want to just sit around hoping someone brings out a table top

thank you for reading this, am sure you very busy............

Re: Modding - start here

Posted: Wed Aug 25, 2021 12:35 pm
by rbodleyscott
heidipie wrote: Wed Aug 25, 2021 12:12 pm Mr Scott first let me thank you for all the creativity and genius you have brought to this hobby/slash way of life over the decades , and your evolution into internet gaming even......pushing those figures around the table, all one really misses is the company and the beeers, and more beers....

my query, has anyone done any work to mod your game for Napoleonics ? or are you and your team working on such already ? am a Napoleon fanatic with many figures etc but as you probably know, there are no table top move by move games on the internet at tactical level.....
Scourge of War is billiant work but not simple and not a recreation of table top as FOG
and sorry i am just not into the adrenaline drive needed to play the briliant but simultaneous mods of Nap Total War

as a retiree of means, i was thinking of brining in a software designer i know to work on this, as a gift to myself and the hobby......as a businessman , i guess i am asking how could we develope this with you or your colleagues ?? i have the means to move someting forward do not want to just sit around hoping someone brings out a table top

thank you for reading this, am sure you very busy............
We are still working hard on Medieval, and then we have the 2500-681 BC period to cover for Ancients, so we are not working on later periods at present.

However, from a modding point of view, there is this:

viewtopic.php?f=492&t=81694

It is currently broken, because of changes to the main game build, but Cronos09 is working on an updated version. (See later part of the thread)

Of course, that is 18th century, rather than Napoleonic, but it's an evolution.

The really hard part is making the unit models.

Re: Modding - start here

Posted: Thu Aug 26, 2021 8:56 am
by heidipie
THANK YOU VERY MUCH, HAD NO IDEA.....GOOD LUCK GOING SO FAR BACK IN TIME
CHEERS