Difference between revisions of "Help:FAQ/CustomContent"

From Millénaire Wiki
(Created page with "== Minimum elements of a new culture == * at least 1 building, represented by a text file and image file, inside a folder named "buildings" * at least 1 village, represented...")
(No difference)

Revision as of 03:52, 10 July 2019

Minimum elements of a new culture

  • at least 1 building, represented by a text file and image file, inside a folder named "buildings"
  • at least 1 village, represented by a text file, inside a folder named "villages"
  • a namelist for the village, represented by a text file named "villages.txt"

Import/Export tool

Launch the game in Creative mode and look in the inventory tabs for the red "import table" block. [specifically, in the custom Millénaire tab] Place the import table on the ground, right-click on the table, choose the Create new option, and start placing blocks (from Millénaire and/or vanilla creative tabs). Try making a rectangular hut with 2-3 types of wood/stone, and a roof.

https://i.imgur.com/9cpmZOZ.png

When you're halfway satisfied with your building, right-click the table again and choose Export. Go find the exports folder inside millenaire-custom, and change the name of the file (for example, forge_A.txt and forge_A0.png). It seems important to have the appended letters (A, B, C) uppercase. And your first, un-upgraded building should be ...A0, while an upgraded version would be ...A1, and so on.

https://i.imgur.com/ArW9YUY.png

Folder structure

Inside millenaire-custom is a cultures folder; make a new folder there and name it for your culture (or whatever, for now). Inside that, make 3 new folders: "buildings", "villages", and "namelists". [is it important that they're lowercase?]

https://imgur.com/2gfX1zQ.png

See [1](https://github.com/barrowisp/MillenaireCultures/wiki/Creating-a-Custom-Culture) for more on this topic.


Buildings

Cut-paste your exported building .txt file AND .png file(s) into the new buildings folder. https://i.imgur.com/Ub5RSh5.png

See [2](https://github.com/barrowisp/MillenaireCultures/wiki/Building-design) for more on this topic.


Villages

Inside the villages folder, make a text file called whatever you want, one for each type of village (examples, agriculture.txt, military.txt, religion.txt)

https://i.imgur.com/XsVh824.png

See [[3]] for more on this topic.


Namelists

Inside the namelists folder, make a text file named "villages.txt".

https://i.imgur.com/tA9p0Tp.png

Type one name on each line, then save and close the file. This is what Millénaire will use to name each village, randomly drawing from the list in this file.

https://i.imgur.com/VFNw3x0.png

See [4](https://github.com/barrowisp/MillenaireCultures/wiki/Namelists) for more on this topic.


Designating which buildings should be queued in which villages

Inside a village file (for example, agriculture.txt), put a descriptive title for your village (for example, "name=Agricultural hamlet"). On the next line, put the name of your building. For example, if I want the agricultural village to spawn with a forge_A.txt already-built as the focal point of the village-to-be, I'd type "centre=forge".

https://i.imgur.com/CQLMD9x.png https://i.imgur.com/vlTQngl.png

There are, of course, a lot of other village parameters, but they have defaults, so you don't need to set them explicitly unless you want effects different from the default ones. Inside the millenaire folder is a Help folder; look there for the Village_Types.txt file for more on configurable village parameters.


Spawning your village

Launch the game in Creative mode and look in the inventory tabs for the gold Summoning Wand item. [specifically, in the first Millénaire tab]. Take it and a normal block of gold. Place the block on the ground, and right-click on the block with the Summoning Wand. Scroll through the pages til you find the name of one of your villages on a button, with the name of your culture's folder below the button. You can improve the way your culture shows up here by adding travelbook and string files.

See [5](https://github.com/barrowisp/MillenaireCultures/wiki/Travel-Book) for more on this topic.