Creating New Research Tree and components

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: Icemania, elliotg

Post Reply
User avatar
rjord2021
Posts: 2019
Joined: Fri Jun 14, 2013 2:47 am
Location: Sydney, Australia

Creating New Research Tree and components

Post by rjord2021 »

Over the coming weeks over the Christmas Break I would like to completely overhaul the Research and Components used in my mod. This would add more Star Wars like research to the mod.

Have already got the planned research tree down on paper but now need to start updating the mod. The problem is where to start.

Ideally I would want to clear everything out of the research.txt file and the components list. However because the Design templates already use components I would have to leave the components in that are used in the templates.

If anyone knows a tutorial they have seen on the net or has a suggestion that would be of great help.

Sabranan
Posts: 486
Joined: Wed Feb 24, 2016 4:05 pm

RE: Creating New Research Tree and components

Post by Sabranan »

If you're replacing all the research and components the design templates would no doubt need rebalancing anyway and since they reference component types as opposed to specific components you only technically need one of each type.

The only direct references you'd have to worry about are in the scripted research orders and the disallowed/special components variables, which are all in the race files.

But that's all, so it shouldn't be difficult to wipe them and start again as long as you start with a new research.txt and a new components.txt at the same time and just check that none of the above references exist.

So I would start your research tree with one each of the component types listed in any given design template, even if they're just placeholders at first. That should at least get you in a position where the game will load and not crash. Then just build it out from there.

Edit: If you blank out and save (as opposed to deleting) the research.txt and components.txt and load your mod into my tool, it'll show up any missing references near the end of the input log when it does data validation. Should make it easy to find them.
User avatar
rjord2021
Posts: 2019
Joined: Fri Jun 14, 2013 2:47 am
Location: Sydney, Australia

RE: Creating New Research Tree and components

Post by rjord2021 »

Thanks Sabranan... will look into it when I am ready to start work on the research tree
Post Reply

Return to “Design and Modding”