Page 1 of 1

Ask for help:There was a mistake in natural resources

Posted: Sat May 20, 2017 11:27 am
by chenwenqing
I can not speak English
The following comes from Google Translate

I tried to add two kinds of natural resources, everything was ready later, into the game to see the picture of the wood into gold, all the resources have produced a disorder.
我尝试添加了两种自然资源,一切准备好以后,进入游戏看到木材的图片变成了黄金,所有资源都产生了错乱。
545C13C5@CCF89F48.F1112059_recompress.jpg
545C13C5@CCF89F48.F1112059_recompress.jpg (58.04 KiB) Viewed 969 times
The text in the picture is: wood
BFC3AB8A@C6148537.F1112059_recompress.jpg
BFC3AB8A@C6148537.F1112059_recompress.jpg (47.78 KiB) Viewed 969 times
The text in the picture is: oil

附:In the natural resources which have my own resource map, there is a need for friends, you can take to use.

Please check my modifier
新建文件夹 (3).7z
(363.32 KiB) Downloaded 91 times

Re: Ask for help:There was a mistake in natural resources

Posted: Tue May 23, 2017 10:09 am
by David
You have to add the same natural resources into the Product_Types.DBF as well. Please see below for detailed instructions:

http://www.capitalismlab.com/advanced-m ... urces.html

When you add a new type of natural resources, you must also add a corresponding item in Product_Types.DBF (See the page about modding Products for details).
The new records in Natural_Resources.DBF and Product_Types.DBF should share the same item code so that they are linked to each other.
The new record to be added to Product_Types.DBF should fall under the product class "RAW". You may see existing natural resource records in Product_Types.DBF, such as Coal or Gold for reference.

Re: Ask for help:There was a mistake in natural resources

Posted: Tue May 23, 2017 2:40 pm
by chenwenqing
I've done that! You can look down on my file! The error in the game is due to what caused.

Re: Ask for help:There was a mistake in natural resources

Posted: Wed May 24, 2017 2:27 pm
by David
Actually you should enter "RAW" into the "CLASS" field of Product_Types.DBF. But what you have entered is "SEMI".

Re: Ask for help:There was a mistake in natural resources

Posted: Fri May 26, 2017 12:59 am
by chenwenqing
Resolved, thank you