Ask for help:There was a mistake in natural resources

Discussions about modding and share your mods with other players in this forum.
Post Reply
chenwenqing
Posts: 3
Joined: Sat May 20, 2017 11:14 am

Ask for help:There was a mistake in natural resources

Post 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 819 times
The text in the picture is: wood
BFC3AB8A@C6148537.F1112059_recompress.jpg
BFC3AB8A@C6148537.F1112059_recompress.jpg (47.78 KiB) Viewed 819 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 60 times
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9414
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 13 times
Been thanked: 35 times

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

Post 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.
chenwenqing
Posts: 3
Joined: Sat May 20, 2017 11:14 am

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

Post by chenwenqing »

I've done that! You can look down on my file! The error in the game is due to what caused.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9414
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 13 times
Been thanked: 35 times

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

Post by David »

Actually you should enter "RAW" into the "CLASS" field of Product_Types.DBF. But what you have entered is "SEMI".
chenwenqing
Posts: 3
Joined: Sat May 20, 2017 11:14 am

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

Post by chenwenqing »

Resolved, thank you
Post Reply