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...")
 
(added image files)
Line 8: Line 8:
 
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.
 
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
+
[[File:A building ready to export.png|Export table and outline of construction area]]
  
 
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.  
 
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
+
[[File:Exports folder within millenaire-custom folder.png|Exports folder]]
 +
 
 +
See [[Guide_on_exporting_buildings_from_the_game|Guide_on_exporting_buildings_from_the_game]] for more on this topic.
 +
 
 +
 
  
 
== Folder structure ==
 
== 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?]
+
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".  
  
https://imgur.com/2gfX1zQ.png
+
[[File:Folder structure basics.png|Folders needed]]
  
 
See [https://github.com/barrowisp/MillenaireCultures/wiki/Creating-a-Custom-Culture](https://github.com/barrowisp/MillenaireCultures/wiki/Creating-a-Custom-Culture) for more on this topic.
 
See [https://github.com/barrowisp/MillenaireCultures/wiki/Creating-a-Custom-Culture](https://github.com/barrowisp/MillenaireCultures/wiki/Creating-a-Custom-Culture) for more on this topic.
Line 26: Line 30:
 
=== Buildings ===
 
=== Buildings ===
 
Cut-paste your exported building .txt file AND .png file(s) into the new buildings folder.
 
Cut-paste your exported building .txt file AND .png file(s) into the new buildings folder.
https://i.imgur.com/Ub5RSh5.png
+
[[File:Inside buildings folder.PNG|For each building, one .txt file and at least one .png file]]
  
 
See [https://github.com/barrowisp/MillenaireCultures/wiki/Building-design](https://github.com/barrowisp/MillenaireCultures/wiki/Building-design) for more on this topic.
 
See [https://github.com/barrowisp/MillenaireCultures/wiki/Building-design](https://github.com/barrowisp/MillenaireCultures/wiki/Building-design) for more on this topic.
Line 33: Line 37:
  
 
=== Villages ===
 
=== 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)
+
Inside the villages folder, make a text file called whatever you want, one for each type of village (examples, agricultural.txt, military.txt, religious.txt)
  
https://i.imgur.com/XsVh824.png
+
[[File:Example village types.png|Example village types]]
  
See [[https://millenaire.org/wiki/Guide_on_making_Custom_Villages]] for more on this topic.
+
See [[Guide_on_making_Custom_Villages|Guide_on_making_Custom_Villages]] for more on this topic.
  
  
Line 44: Line 48:
 
Inside the namelists folder, make a text file named "villages.txt".   
 
Inside the namelists folder, make a text file named "villages.txt".   
  
https://i.imgur.com/tA9p0Tp.png
+
[[File:Inside namelists folder.png|villages.txt and other namelist files]]
  
 
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.
 
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
+
[[File:Inside namelist file village.png|Names to assign randomly to your villages]]
  
 
See [https://github.com/barrowisp/MillenaireCultures/wiki/Namelists](https://github.com/barrowisp/MillenaireCultures/wiki/Namelists) for more on this topic.
 
See [https://github.com/barrowisp/MillenaireCultures/wiki/Namelists](https://github.com/barrowisp/MillenaireCultures/wiki/Namelists) for more on this topic.
Line 54: Line 58:
  
  
=== Designating which buildings should be queued in which villages ===
+
=== Designating build sequence ===
 
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".
 
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
+
[[File:Inside village file hunt.png|Designate buildings as centre, core, or secondary]]
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.
 
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.

Revision as of 05:09, 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.

Export table and outline of construction area

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.

Exports folder

See Guide_on_exporting_buildings_from_the_game for more on this topic.


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

Folders needed

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. For each building, one .txt file and at least one .png file

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, agricultural.txt, military.txt, religious.txt)

Example village types

See Guide_on_making_Custom_Villages for more on this topic.


Namelists

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

villages.txt and other namelist files

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.

Names to assign randomly to your villages

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


Designating build sequence

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

Designate buildings as centre, core, or secondary

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 [4](https://github.com/barrowisp/MillenaireCultures/wiki/Travel-Book) for more on this topic.