Topic: HOW TO CREATE BUILDINGS?  (Read 1200 times)


Iago.Hach

« on: July 03, 2018, 09:47:49 PM »
Hi,
I can't mod buildings!


I try to use a different kota type, even created a .png image for each part, but I can only replace the existing vanilla kota image, can't use the original AND the mod one :/

Any idea to how mod building works? It seems that it's inverted, like:
.This name is the original object. and
"This name is the name in the menu"

This code works, but created a vanilla kota cover, the image doesn't work :/

.North-west corner of a kota. "North-west corner of hut" [effort:2]  *BUILDING*  /30/   %10%
{Thatch cover} [remove] [ground]
{Slender trunk} [remove] [ground]
[TILEGFX:ter-hutnwc]

Tried this and it does the same as the first one

.North-west corner of a kota. "North-west corner of hut" [effort:2]  *BUILDING* [GFX_X:5] [GFX_Y:0] /20/   %10%
{Thatch cover} [remove] [ground]
{Slender trunk} [remove] [ground]
[TILEGFX:ter-hutnwc]

Tried this code and it doesn't work in diy_txt and biy_txt the menu option doesn't appear

.Eastern wall of hut. "Eastern wall of a kota" [effort:2]  *BUILDING* /30/   %10%
{Thatch cover} [remove] [ground]
{Slender trunk} [remove] [ground]
[TILEGFX:ter-hute]


Is there a way to mod buildings using new images and items?

Privateer

« Reply #1 on: July 03, 2018, 10:09:43 PM »
Not supported at this time, unfortunately.

As you said only replacement of vanilla graphics.
"World Tiles" are defined internally in the game. This prevents them from being pushed/pulled/moved, as well as path blocking or other properties.

 It is possible to place "world tiles" with some additions to biy file, ie: placing a water tile.

Iago.Hach

« Reply #2 on: July 06, 2018, 01:03:22 AM »
Not supported at this time, unfortunately.

As you said only replacement of vanilla graphics.
"World Tiles" are defined internally in the game. This prevents them from being pushed/pulled/moved, as well as path blocking or other properties.

 It is possible to place "world tiles" with some additions to biy file, ie: placing a water tile.

Well, now I think I will just add a thatch hut as an alternative kota cover...
Don't know if it would be vanilla friendly to ancient finns though.

I was excited after I saw Primitive Technology series ( https://www.youtube.com/watch?v=qEUGOyjewD4& )

Anyway thanks for the reply :)

tedomedo

« Reply #3 on: September 06, 2018, 07:33:53 PM »
I'd like to be able to make bricks from stones and use bricks for building.