REQUEST: EXTERNALIZE CHARACTER TRAITS TO XML

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
User avatar
ChrisGb
Posts: 134
Joined: Thu Mar 21, 2024 8:10 pm
Location: Spain

REQUEST: EXTERNALIZE CHARACTER TRAITS TO XML

Post by ChrisGb »

Character traits are almost completely obfuscated and I don't really understand why.
Maybe it was just a oversight at release but I think it would be great if they could be externalised to XML so we could
A: understand what each trait does
B: Mod them
C: Create our own generic and unique character traits

Thank you!
Conquest: Terran Frontier Wars - Return to Terra (Terran Campaign DLC) Release 28/7/2025
https://forums.matrixgames.com/viewtopic.php?t=412258
Image
OrnluWolfjarl
Posts: 330
Joined: Fri Oct 20, 2017 8:36 pm

Re: REQUEST: EXTERNALIZE CHARACTER TRAITS TO XML

Post by OrnluWolfjarl »

There's a text file in the data folder with the other xmls, I think it's called descriptions or something. You can search for the name of traits there, and usually they are accompanied by a description. But not always. And some of them are scattered all over the place.

I'm guessing they are bundled in the dat files and need some wizardry to be extracted (there's a post in the modding forum about extracting flags to mod them if you are interested in experimenting).

I'd really like them as an xml as well so they can be modded easily.
User avatar
ChrisGb
Posts: 134
Joined: Thu Mar 21, 2024 8:10 pm
Location: Spain

Re: REQUEST: EXTERNALIZE CHARACTER TRAITS TO XML

Post by ChrisGb »

OrnluWolfjarl wrote: Wed Aug 27, 2025 10:35 am There's a text file in the data folder with the other xmls, I think it's called descriptions or something. You can search for the name of traits there, and usually they are accompanied by a description. But not always. And some of them are scattered all over the place.
You refer to the GameText txt file but the descriptions mean nothing there as there is no values and specifics attached what specific bonuses they actually invoke. Its literally meaningless for the purpose at hand :P
OrnluWolfjarl wrote: Wed Aug 27, 2025 10:35 am I'm guessing they are bundled in the dat files and need some wizardry to be extracted (there's a post in the modding forum about extracting flags to mod them if you are interested in experimenting).

I'd really like them as an xml as well so they can be modded easily.
No, they are neatly packed and listed in the DistantWorldsTypes.dll just like all the other stuff in the XMLs and they are not in your CheatSheet cause they cannot be traced properly right now. 8-)
Its the same process for them to externalize them as it is for Components or any other XML for that matter, they just need do it.
All the game data is literally handled in one single dll

I can edit and save this dll, change galaxy size, sector size and whatnot but the saved dll crashes the game so it calls on other dlls (of which Distant Worlds 2 has more in its folder than our oceans have water) and I cannot be
bothered to find the culprit and I couldnt distribute it anways as this would be a copyright infringement... so I would prefer some treat from the devs and externalize some more aspects of the game data to fiddle around with it and do awesome new stuff :D


Image
Conquest: Terran Frontier Wars - Return to Terra (Terran Campaign DLC) Release 28/7/2025
https://forums.matrixgames.com/viewtopic.php?t=412258
Image
User avatar
ChrisGb
Posts: 134
Joined: Thu Mar 21, 2024 8:10 pm
Location: Spain

Re: REQUEST: EXTERNALIZE CHARACTER TRAITS TO XML

Post by ChrisGb »

OrnluWolfjarl wrote: Wed Aug 27, 2025 3:31 pm I see you've done more homework than me :D
...was looking for some info while building my mod and accidentally stumbeld over some stuff :mrgreen:
Conquest: Terran Frontier Wars - Return to Terra (Terran Campaign DLC) Release 28/7/2025
https://forums.matrixgames.com/viewtopic.php?t=412258
Image
Post Reply

Return to “Distant Worlds 2”