Deity Empires

Deity Empires

Xem thông số:
hantarooo 25 Thg08, 2019 @ 12:14am
New world map from png file and Minerals
No Minerals founded in the world map if I start new game and Load Map from png file.
I suggest following way.

1. The txt file maps from pixel colors to terrain IDs and mineral IDs.
Example 1: This means "Lime pixel is Grassland with Wheat".
0xff00ff00 = 1,10
Example 2: This means "Lime pixel is Grassland with no mineral".
0xff00ff00 = 1,0
Example 3: This means "Lime pixel is Grassland with no mineral" (default).
0xff00ff00 = 1

2. Minerals are randomly set.

These ways are chosen by txt file.
(RandomMineral=0 for mapped mineral, RandomMineral=1 for randomly minerals.)
Lần sửa cuối bởi hantarooo; 25 Thg08, 2019 @ 12:16am
Nguyên văn bởi Tlaloc:
This sounds like a good way. We also expect to allow full map editing, so we expect the final format to be more similar to encounters.dat format, and will allow using translated text names, or id numbers where relevant:


random_minerals = 1 //if 0 then no minerals are randomly added and only below minerals appear. if 1 then minerals are randomly added and below are ignored. if 2 then minerals are randomly then the below minerals are added over top.

0xff00ff00 = { //green pixel
terrainid = grassland
mineralid = wheat
player = dianic
unit = highmen archer
citypop = 50000
cityrace = highmen
building = marketplace
building = blacksmith
}


0xff008000 = { //dark green pixel
terrainid = mountain
mineralid = adamantium
lair = 1
unit = red dragon
unit = baby red dragon
}



Are you creating maps? If you are then we will start to work on this sooner. Please let us know.


< >
Đang hiển thị 1-5 trong 5 bình luận
Tác giả chủ đề đã chọn bài đăng này làm câu trả lời cho thắc mắc ban đầu.
Tlaloc  [nhà phát triển] 25 Thg08, 2019 @ 1:10am 
This sounds like a good way. We also expect to allow full map editing, so we expect the final format to be more similar to encounters.dat format, and will allow using translated text names, or id numbers where relevant:


random_minerals = 1 //if 0 then no minerals are randomly added and only below minerals appear. if 1 then minerals are randomly added and below are ignored. if 2 then minerals are randomly then the below minerals are added over top.

0xff00ff00 = { //green pixel
terrainid = grassland
mineralid = wheat
player = dianic
unit = highmen archer
citypop = 50000
cityrace = highmen
building = marketplace
building = blacksmith
}


0xff008000 = { //dark green pixel
terrainid = mountain
mineralid = adamantium
lair = 1
unit = red dragon
unit = baby red dragon
}



Are you creating maps? If you are then we will start to work on this sooner. Please let us know.


hantarooo 25 Thg08, 2019 @ 1:31am 
Thank you.
I'm not creating maps.
But other Japanese person is playing with custom map he created.
I think he feel happy if he hear this.
GeorgeJJR 25 Thg08, 2019 @ 4:04am 
Full map editing would be amazing.
hantarooo 27 Thg08, 2019 @ 2:32am 
It may be better to specify the locations of the units and cities in image coordinates.
-Specifying these locations by coordinates is not difficult because they are sparse.
-Since there are many types of units and cities, the number of colors increases if specified by color. However, it is difficult for humans to distinguish subtle differences in pixel colors.
Tchey 26 Thg05, 2020 @ 1:30am 
Hello,

Almost a year later, is it a thing now, full map editing ?
If not, is it worked on ?
If yes, why i don’t find any player made map ?
< >
Đang hiển thị 1-5 trong 5 bình luận
Mỗi trang: 1530 50

Ngày đăng: 25 Thg08, 2019 @ 12:14am
Bài viết: 5