Custom Content Help

Creating new content for Millénaire
Post Reply
Ticlon
Posts: 55
Joined: Sun Jun 09, 2013 5:51 pm

Custom Content Help

Post by Ticlon » Sun Jun 09, 2013 9:04 pm

This thread is to provide help with creating custom content.

Basically, here you go:
-exporting buildings: http://millenaire.org/library/view.php?cid=136
-coding buildings: http://millenaire.org/wiki/Guide_on_mak ... _Buildings
-custom townhall: http://millenaire.org/wiki/Guide_on_making_a_Town_Hall
-custom culture: http://millenaire.org/wiki/Guide_on_mak ... om_Culture

If you have any question or experience issues while making your custom content, we are happy to provide help!

mexifelio
Posts: 11
Joined: Mon Jun 10, 2013 10:37 pm

Re: Custom Content Help

Post by mexifelio » Fri Jul 19, 2013 8:38 am

Thank you for the links!

The question I have is: If we add a custom building, how do we get the paths built to the front door? Is there a special block we have to put into the design so that the villagers know where to connect the path?

Edit: Figured it out - sleepingPos 0/128/255 :D

thephirefox
Posts: 4
Joined: Sun Jul 21, 2013 11:31 pm

Re: Custom Content Help

Post by thephirefox » Mon Jul 22, 2013 12:41 am

Is there anything that list all the available options for the buildings?

The sleepingpos I can't find anywhere for example.

Ticlon
Posts: 55
Joined: Sun Jun 09, 2013 5:51 pm

Re: Custom Content Help

Post by Ticlon » Mon Jul 22, 2013 9:51 pm

Do you mean the different Pos etc? Here you go:

Every building that isn't just decorative:
main chest

Building that has inhabitants:
main chest
sleepingPos
sign

Pos for special purposes:
craftingPos - all crafting stuff of the inhabitant will be done here, when not added it uses the sleepingPos
shelterPos - When added, weak villagers will seek a shelter át this Position during a raid
defendingPos - The villages defenders will go here during a raid
sellingPos - Needed when a shop is added to the building. If the player moves here, a villager with the tag=seller will come and trade with the player.

Regards,
Ticlon

User avatar
felinoel
Posts: 974
Joined: Sun Jun 09, 2013 6:02 pm

Re: Custom Content Help

Post by felinoel » Thu Jul 25, 2013 4:28 pm

Ticlon wrote:sellingPos - Needed when a shop is added to the building. If the player moves here, a villager with the tag=seller will come and trade with the player.

Regards,
Ticlon
We need more info for the different kinds of tags...

zander623
Posts: 4
Joined: Tue Jul 30, 2013 6:30 pm

Re: Custom Content Help

Post by zander623 » Tue Jul 30, 2013 6:34 pm

I tried to make a custom culture, and managed to get working village with a town hall, but it never spawned any villagers... anbody hava a clue why? I have made villagechief, wife, boy and girl villagers but none spawn.

User avatar
druha
Posts: 275
Joined: Sat Jul 20, 2013 10:09 pm

Re: Custom Content Help

Post by druha » Tue Jul 30, 2013 11:25 pm

zander623 wrote:I tried to make a custom culture, and managed to get working village with a town hall, but it never spawned any villagers... anbody hava a clue why? I have made villagechief, wife, boy and girl villagers but none spawn.
Could you paste the contents of your town hall building file here?

zander623
Posts: 4
Joined: Tue Jul 30, 2013 6:30 pm

Re: Custom Content Help

Post by zander623 » Wed Jul 31, 2013 8:57 am

druha wrote:
zander623 wrote:I tried to make a custom culture, and managed to get working village with a town hall, but it never spawned any villagers... anbody hava a clue why? I have made villagechief, wife, boy and girl villagers but none spawn.
Could you paste the contents of your town hall building file here?
max:0;priority:2000;native:garór;english:Hall;around:3;male:Herra;female:Drótinn;shop:townhall;startLevel:-1;
orientation:2;width:13;length:37;signs:2,1,3,4,6,5,7,8,0

edit: the town map appears to be blank as well.

User avatar
druha
Posts: 275
Joined: Sat Jul 20, 2013 10:09 pm

Re: Custom Content Help

Post by druha » Thu Aug 01, 2013 9:34 pm

zander623 wrote: max:0;priority:2000;native:garór;english:Hall;around:3;male:Herra;female:Drótinn;shop:townhall;startLevel:-1;
orientation:2;width:13;length:37;signs:2,1,3,4,6,5,7,8,0

edit: the town map appears to be blank as well.
Ok, I'm going to guess that's just the formatting of this forum but just in case, that line should never be split over 2 lines, it should always be on a single line.

And what are the file names of the villager files that you created for them?

Also your millenaire.log file might provide some clues.

zander623
Posts: 4
Joined: Tue Jul 30, 2013 6:30 pm

Re: Custom Content Help

Post by zander623 » Fri Aug 02, 2013 8:52 am

got it to work by renamning the villagers. Having some other issuses though, i get a looooooooong line og error messages like this for every thing that can be sold to millenare villages
5.1.7 02-08-2013 10:45:22 ERROR: Culture: Vikings: Unknown good when loading shop townhall.txt: wood
i also get an error messeage saying "Unable to save building" in-game and this message is repeated in the log file
5.1.7 02-08-2013 11:44:06 ERROR: (Viking hall_0 at 375/64/71/1/0/TESTING Skogrborg/[email protected]): Exception in Villager.onUpdate():
5.1.7 02-08-2013 11:44:06 Exception, printing stack:
5.1.7 02-08-2013 11:44:06 java.lang.IllegalArgumentException: Empty string not allowed
at net.minecraft.nbt.NBTTagString.<init>(SourceFile:15)
at net.minecraft.nbt.NBTTagCompound.func_74778_a(SourceFile:81)
at org.millenaire.common.VillagerRecord.write(VillagerRecord.java:446)
at org.millenaire.common.Building.writeToNBT(Building.java:8123)
at org.millenaire.common.Building$SaveWorker.run(Building.java:295)
EDIT: Both errors have been fixed, just copyed Traded_Goods.txt from the norman culture and added to mine.

User avatar
KingWulf
Posts: 23
Joined: Fri Sep 06, 2013 12:26 pm

Custom Content Help

Post by KingWulf » Mon Sep 09, 2013 2:46 pm

Hey Guys i need Help with my Custom Content, i make a Townhall but all signs are blanc, and i cant understand the tutorial, can anybody make a Video (2 Minutes) how to make the townhall panels ? ^_^ please
(*best if in German or Russian)

carriontrooper
Posts: 39
Joined: Wed Aug 14, 2013 2:14 pm

Re: Custom Content Help

Post by carriontrooper » Mon Sep 09, 2013 4:02 pm

KingWulf wrote:Hey Guys i need Help with my Custom Content, i make a Townhall but all signs are blanc, and i cant understand the tutorial, can anybody make a Video (2 Minutes) how to make the townhall panels ? ^_^ please
(*best if in German or Russian)
I think you should put 'signs 0' to 'signs 8' in your signs? The guide isn't making this clear.

User avatar
KingWulf
Posts: 23
Joined: Fri Sep 06, 2013 12:26 pm

Hmm

Post by KingWulf » Tue Sep 10, 2013 8:57 am

THANKS, Thanks Thanks!

Felagund
Posts: 27
Joined: Thu Oct 24, 2013 2:11 pm

Re: Custom Content Help

Post by Felagund » Thu Dec 12, 2013 9:32 am

I'd like to change the forge and it would be great to add an anvil but this block is unknown for millenaire. Does someone know how to add it please ?
I've tried to add lines in blocklist.txt like anvil;145;0;true;88;88;2 but the block is unknown for Millenaire, help !

Gavinator25
Posts: 15
Joined: Sat Dec 14, 2013 8:25 pm

Re: Custom Content Help

Post by Gavinator25 » Sat Dec 14, 2013 8:39 pm

Hey just saying the creating a custom culture guide is out of date and when I get back into the swing of things I will try to update it. Anyone (with proper understanding) can update the guide if they want to.
Seljuk Turks culture creator
Message me on here or at the minecraftforum.net at Gavinator25

Post Reply