Roadmap and code modding

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

Moderator: MOD_DW2

Post Reply
elvendeathknight
Posts: 83
Joined: Sat Aug 25, 2012 3:58 pm

Roadmap and code modding

Post by elvendeathknight »

Hi,

Distant Worlds has been one of my favorite game since I started playing in 2011. Back in 2016, I had a mod with 30 additional races (there was a limit of 50 shipsets).

In 2023, I started working on an updated version of my mod for Distant Worlds 2. I learned how to use blender and stride. Kevin and Q from Discord were a big help ! I'm finishing 10 shipsets with different models (40 with different textures).
270px-NoRespite_Jokaero_Vessel.jpg
270px-NoRespite_Jokaero_Vessel.jpg (12.88 KiB) Viewed 325 times
Capture d’écran 2025-02-05 092234.png
Capture d’écran 2025-02-05 092234.png (1.92 MiB) Viewed 325 times
I know it's not an elaborated ship, but my point is that I'm willing to invest the time and energy to learn and work on my mod.

In the latest roadmap, we can read :
Capture d’écran 2025-02-05 092552.png
Capture d’écran 2025-02-05 092552.png (91.81 KiB) Viewed 325 times
To my knowledge, the only player who knows how to modify DW2 code is Q on Discord. However, I'm not able to contact him.

I would like to use code modding for 2 main changes :
  • remove the hardcoded limit on the number of empire at game creation. At launch, there was not a limit. I understand that it may have caused a problem for some players, but I was able to run the game with 50 empires. At the moment, I can bypass the limit by using game event to spawn empires at the beginning of a game, but it would be much more elegant to remove the limit altogether
  • racial biases are in the race file of each race. When I add a race, I have to modify each other race file to include my race in their racial bias modifier. That brings the problem that I have to update my files each time another race is updated for balancing purpose. It would be much better to append lines to the existing race files rather than modify
What I am asking :
  • could someone point me in the direction I should take to modify the code of DW2 please. I'm willing to learn. And I guess that my first change (remove limit) could easily be done by changing a "20" with a "1000". It would be a great help if someone could give me some pointers
  • It would be good for the community if someone from the team would help people with their mod (1 hour per week).
Thanks for reading me !
Post Reply

Return to “Design and Modding”