Naeshar
Prince
- Joined
- Oct 22, 2016
- Messages
- 335
Hello fellow Civfanatics!
I started modding a while ago and I enjoy it a lot. However I already hit limits in what can be done, and it is good.
Except I cannot add an improvement without breaking UI and found no hint on the forums.
What I did: (actually I tested this with Machiavellis xml (a Mine duplicate) - thanks!)
add improvement into Improvements table;
entries in Improvement_ResourceTypes and Improvement_ResourceType_Yields;
add build into Builds, Unit_Builds, BuildsonFeatures.
It works, the improvement is buildable, it is listed within civilopedia, but ...
It broke the unit UI in left bottom corner. It disappeared, in other case it was a different row of builds that did not make any sense. But hotkeys for commands work. Is there anything more I must do to make a usable Improvement?
Learn lua?
Is there another xml table?
I appreciate any help
Naeshar
I started modding a while ago and I enjoy it a lot. However I already hit limits in what can be done, and it is good.
Except I cannot add an improvement without breaking UI and found no hint on the forums.
What I did: (actually I tested this with Machiavellis xml (a Mine duplicate) - thanks!)
add improvement into Improvements table;
entries in Improvement_ResourceTypes and Improvement_ResourceType_Yields;
add build into Builds, Unit_Builds, BuildsonFeatures.
It works, the improvement is buildable, it is listed within civilopedia, but ...
It broke the unit UI in left bottom corner. It disappeared, in other case it was a different row of builds that did not make any sense. But hotkeys for commands work. Is there anything more I must do to make a usable Improvement?
Learn lua?
Is there another xml table?
I appreciate any help
Naeshar