Questions to the devs about game data

The Galaxy Lives On! Distant Worlds, the critically acclaimed 4X space strategy game is back with a brand new 64-bit engine, 3D graphics and a polished interface to begin an epic new Distant Worlds series with Distant Worlds 2. Distant Worlds 2 is a vast, pausable real-time 4X space strategy game. Experience the full depth and detail of turn-based strategy, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game.

Moderator: MOD_DW2

Post Reply
OrnluWolfjarl
Posts: 330
Joined: Fri Oct 20, 2017 8:36 pm

Questions to the devs about game data

Post by OrnluWolfjarl »

Hi, I have a few small questions, if anyone from the dev team is able to answer them:

1. Is ShipHulls_PlanetDestroyer.xml not used anymore by the game? Is the ShipHulls_PlanetDestroyers.xml taking its place instead?

2. In the various ShipHulls XMLs: Is Maximum Turn Roll Angle variable for hulls measured in radians like Weapon Bay HalfArcs? Or is it a different kind of unit?

3. In CreatureTypes XMLs: Is TurnRate also measured in radians, or in some other unit?

4. In CreatureTypes_Shakturi.XML: StartPlagueAtColonyLocationChance = 12. Does that mean 12% or 1200%? Or something else?

5. In CreatureTypes_Shakturi.XML: InfluenceAmounts= 1. There are also research projects that increase Rift Strider Influence up to 1. Does that mean overall Influence Amount can be as high as 2? So Counter-Influence techs are only temporarily useful?

6. In Governments.XML: What does CanColonize = No mean for Monarchy Governments? Can they not colonize planets?

7. TroopDefinitions.XML - What is IsRobotic variable? Why is it FALSE for Robotic troops (e.g. Battle Robot Brigade)

Thank you

EDIT:

8. In ColonyEventDefinitions.xml for Plague type events: If SpreadToOtherColoniesChance = 1, does that mean 1% or 100%? Or something else?
User avatar
elliotg
Posts: 3934
Joined: Mon Sep 10, 2007 9:32 am

Re: Questions to the devs about game data

Post by elliotg »

OrnluWolfjarl wrote: Tue Jul 15, 2025 1:11 pm Hi, I have a few small questions, if anyone from the dev team is able to answer them:

1. Is ShipHulls_PlanetDestroyer.xml not used anymore by the game? Is the ShipHulls_PlanetDestroyers.xml taking its place instead?
Correct, ShipHulls_PlanetDestroyer.xml actually became ShipHulls_Berserk AI.xml. The file used now for most planet destroyers is ShipHulls_PlanetDestroyers.xml
2. In the various ShipHulls XMLs: Is Maximum Turn Roll Angle variable for hulls measured in radians like Weapon Bay HalfArcs? Or is it a different kind of unit?
Yes, this is measured in radians
3. In CreatureTypes XMLs: Is TurnRate also measured in radians, or in some other unit?
Yes, radians
4. In CreatureTypes_Shakturi.XML: StartPlagueAtColonyLocationChance = 12. Does that mean 12% or 1200%? Or something else?
This is the annual chance of starting a plague when nearby a colony. So when a Rift Strider is at a colony location for a month then it will usually start a plague at the colony unless there are other mitigating factors (12/1 chance per year).
5. In CreatureTypes_Shakturi.XML: InfluenceAmounts= 1. There are also research projects that increase Rift Strider Influence up to 1. Does that mean overall Influence Amount can be as high as 2? So Counter-Influence techs are only temporarily useful?
The Shakturi get influence over the Rift Striders by default (InfluenceRaceIds = 20). Non-Shakturi can pursue the counter-influence techs to push their (and allies) influence back to zero when below zero, and to reduce influence for enemies (e.g. Shakturi).

So in theory yes, total influence can be above 1 (immune to creature attacks), but can be lowered by counter-influence. In practice only the Shakturi get the default starting level of 1.
6. In Governments.XML: What does CanColonize = No mean for Monarchy Governments? Can they not colonize planets?
This value is currently unused. It shouldn't be in the Monarchy govt.
7. TroopDefinitions.XML - What is IsRobotic variable? Why is it FALSE for Robotic troops (e.g. Battle Robot Brigade)
This value is not currently used. This may change in the future.
8. In ColonyEventDefinitions.xml for Plague type events: If SpreadToOtherColoniesChance = 1, does that mean 1% or 100%? Or something else?
This is the annual chance that the plague may spread to another nearby colony. So a value of 1 means that if a plague was active for a year at a colony then there is a decent chance that it will spread to another colony during that time.
OrnluWolfjarl
Posts: 330
Joined: Fri Oct 20, 2017 8:36 pm

Re: Questions to the devs about game data

Post by OrnluWolfjarl »

Thank you very much for your time and answers Eliot!
elliotg wrote: Sun Jul 27, 2025 9:25 am
This is the annual chance of starting a plague when nearby a colony. So when a Rift Strider is at a colony location for a month then it will usually start a plague at the colony unless there are other mitigating factors (12/1 chance per year).

-------

This is the annual chance that the plague may spread to another nearby colony. So a value of 1 means that if a plague was active for a year at a colony then there is a decent chance that it will spread to another colony during that time.
So this is indeed 1200% and 100% chance then.
User avatar
elliotg
Posts: 3934
Joined: Mon Sep 10, 2007 9:32 am

Re: Questions to the devs about game data

Post by elliotg »

OrnluWolfjarl wrote: Sun Jul 27, 2025 11:47 am
elliotg wrote: Sun Jul 27, 2025 9:25 am
This is the annual chance of starting a plague when nearby a colony. So when a Rift Strider is at a colony location for a month then it will usually start a plague at the colony unless there are other mitigating factors (12/1 chance per year).

-------

This is the annual chance that the plague may spread to another nearby colony. So a value of 1 means that if a plague was active for a year at a colony then there is a decent chance that it will spread to another colony during that time.
So this is indeed 1200% and 100% chance then.
These are *ANNUAL* chances, so if the creature is at the location for less than a year then the chance of plague starting is relatively less. Same for plague spread chance, it's the chance *per year* while the plague is active.
OrnluWolfjarl
Posts: 330
Joined: Fri Oct 20, 2017 8:36 pm

Re: Questions to the devs about game data

Post by OrnluWolfjarl »

Ok that's understandable. So if the chance is 1 per year, then the monthly chance should be 100%/12 = 8.3%
OrnluWolfjarl
Posts: 330
Joined: Fri Oct 20, 2017 8:36 pm

Re: Questions to the devs about game data

Post by OrnluWolfjarl »

elliotg wrote: Mon Jul 28, 2025 9:38 am
These are *ANNUAL* chances, so if the creature is at the location for less than a year then the chance of plague starting is relatively less. Same for plague spread chance, it's the chance *per year* while the plague is active.
OK, that's understandable. So if the chance per year is 1, then the monthly chance would be something like 100% / 12 = 8.3%
Post Reply

Return to “Distant Worlds 2”