How to limit races to be able to colonize only one planet type? Remove planet type colony research?

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

Moderators: elliotg, Icemania

Post Reply
User avatar
Tanaka
Posts: 5083
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

How to limit races to be able to colonize only one planet type? Remove planet type colony research?

Post by Tanaka »

Can this be done? If so how?
Image
User avatar
Drybreeze
Posts: 129
Joined: Thu Apr 14, 2016 11:21 pm
Contact:

RE: How to limit races to be able to colonize only one planet type? Remove planet type colony research?

Post by Drybreeze »

There are several ways to do this, but the very simplest would be to locate the research lines that allow colonisation of a planet type (volcanic for example) and disable it for the race(s) that you don't want to be able to do it.

You can either do this by making a preceding technology component (from a per-requisite tech) a "disallowed tech" under that race's [race].txt file, or you can make a research project in research.txt limited by adding "allowed races [race name], [other race name], etc"... with allowed races separated by a comma.

I recommend using Sabranan's editor tool if you haven't already, it might make things much simpler for you if you don't want to edit TXT files.

Be aware that no matter what edits you make, if your race takes over a colony of some species that likes volcanic worlds, that you can then colonise volcanic worlds regardless... it's one of the bonuses of taking over another species' worlds - you inherit their home-world type as a potential colony type from then on.

I think that's right but more experienced players/editors might correct me on some things or have other stuff to add.

Hope that helps!
Image
User avatar
Tanaka
Posts: 5083
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

RE: How to limit races to be able to colonize only one planet type? Remove planet type colony research?

Post by Tanaka »

ORIGINAL: Drybreeze

There are several ways to do this, but the very simplest would be to locate the research lines that allow colonisation of a planet type (volcanic for example) and disable it for the race(s) that you don't want to be able to do it.

You can either do this by making a preceding technology component (from a per-requisite tech) a "disallowed tech" under that race's [race].txt file, or you can make a research project in research.txt limited by adding "allowed races [race name], [other race name], etc"... with allowed races separated by a comma.

I recommend using Sabranan's editor tool if you haven't already, it might make things much simpler for you if you don't want to edit TXT files.

Be aware that no matter what edits you make, if your race takes over a colony of some species that likes volcanic worlds, that you can then colonise volcanic worlds regardless... it's one of the bonuses of taking over another species' worlds - you inherit their home-world type as a potential colony type from then on.

I think that's right but more experienced players/editors might correct me on some things or have other stuff to add.

Hope that helps!

Thanks! Ok well if the latter is true about taking over a world and then auto immediately being able to colonize that type of world then my plan is moot. I guess there is no way to limit planet type colonization in this game then. Oh well!
Image
Post Reply

Return to “Design and Modding”