Adding new races

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
GhostIsGone
Posts: 5
Joined: Tue Nov 30, 2021 8:23 pm

Adding new races

Post by GhostIsGone »

Was playing around with adding a new race and I'm running into some problems (potentially some bugs going on).

For now I've just duplicated the Humans race in Races.xml and changed the RaceId to 21. Loading up the game and my new race shows up, being an exact copy of the Human race as expected. As seen in the screenshot below, I can also change the personality traits (and I can also change the race bonuses, but this is not shown in the screenshot):

https://imgur.com/a/smrqFh9

To create some distinction between these two races without going through all the effort of creating custom art, I tried changing the race name and description. However, when I touch the race name, the race becomes unselectable in-game, although the updated name is shown, and the changed personality traits, race bonuses and race description are displayed correctly as seen in the screenshot below. Please keep in mind that I have the race selected since the new game dialogue saves the previously selected race and since I selected my custom race before it became unselectable, it is selected now.

https://imgur.com/a/1yqpwwP

Something that is extremely odd though is that when I now change the race name back to Human (which was declared valid by the game), my custom race is still unselectable. To the point where I go back to a fresh slate, duplicate the human race, change the RaceId to 21 and change the race name to anything other than Human, load the game (and the game doesn't allow me to select my race), then close the game and change the race name back to Human (which means my race is now completely identical again to the vanilla Human race), my custom race is still unselectable in-game. Is this a bug?

How do I create a proper custom race using some of the existing art (just to save myself some time while I play around with things)?

EDIT: Not sure why but links to images uploaded on Imgur wrapped in

Code: Select all

[img][/img]
block are not showing up, not sure how I'm supposed to reference full images in my posts here?
User avatar
Miletkir
Posts: 654
Joined: Tue Jul 07, 2020 4:15 am
Location: Eastern Nebula

Re: Adding new races

Post by Miletkir »

Yes, name changing for races is a currently known (frustrating) bug. As far as I know, until decompiling happens, there is no way to change the image either. I've been trying to suggest Elliot to make this a priority for modding.
Image
eyegore
Posts: 98
Joined: Mon Nov 18, 2013 9:13 pm
Location: Houston

Re: Adding new races

Post by eyegore »

Hope they get to this soon as I am not a fan of the Space Opera Races and have plans for more High Sci-fi races.
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

I made some minor adjustments to the Human race to now have 2 choices for Humans.
I call the new one Crusaders.
The minor tweaks are for flavor & are, easily, modified to one's tastes.
Had to go with the name Human for the graphic file, (for it to work) but all other adjustments loaded & played fine.
Obviously there are some other files involved per creating whole races, but for now at least, one can make adjustments to what exists for more in-game flavor.

Attached a zipped (had to) RACES file (capped to let one know it is edited)...back up original.
Attachments
RACES.zip
(20.57 KiB) Downloaded 35 times
GhostIsGone
Posts: 5
Joined: Tue Nov 30, 2021 8:23 pm

Re: Adding new races

Post by GhostIsGone »

eddieballgame wrote: Tue Mar 15, 2022 1:43 am I made some minor adjustments to the Human race to now have 2 choices for Humans.
I call the new one Crusaders.
The minor tweaks are for flavor & are, easily, modified to one's tastes.
Had to go with the name Human for the graphic file, (for it to work) but all other adjustments loaded & played fine.
Obviously there are some other files involved per creating whole races, but for now at least, one can make adjustments to what exists for more in-game flavor.

Attached a zipped (had to) RACES file (capped to let one know it is edited)...back up original.
Yeah this is as far as I've gotten as well, but I specifically was trying to change the race name to have some kind of differentiation when looking at populations on a planet in-game. If I'm not mistaken if you do it this way then you might end up with 2 `Human` populations on the same planet which are virtually indistinguishable. Eagerly waiting for these first couple weeks to pass so that the developers have time to get back to working on their roadmap :D .
User avatar
frankycl
Posts: 402
Joined: Mon Mar 01, 2021 5:16 pm

Re: Adding new races

Post by frankycl »

In modding the races.xml I've come across something strange:

For some minor races there are some other races completely missing, regarding their bias values against other races, like e.g. for the Wekkarus (RaceID 8) the biases for the Humans (RaceID 0) and for the Ackdarian (RaceID 1) are missing.
But for most other races all 20 races/biases are listed in the file. - Could this be a bug, or is this intentional - does somebody know :?:
User avatar
Miletkir
Posts: 654
Joined: Tue Jul 07, 2020 4:15 am
Location: Eastern Nebula

Re: Adding new races

Post by Miletkir »

It's intended. No explicit bias means it's neither negative nor positive.
Image
User avatar
frankycl
Posts: 402
Joined: Mon Mar 01, 2021 5:16 pm

Re: Adding new races

Post by frankycl »

Miletkir wrote: Tue Mar 15, 2022 10:50 pm It's intended. No explicit bias means it's neither negative nor positive.
Yes, I guess you're right, since there are no 0.0 biases anywhere in the file. - Thanks for your quick answer. :)
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

After editing the 7 races so that I have 14 total, I ran into a serious problem.
The display, at the top for choosing a race only allows for 11 not 14 to be selected.
I could not find a way to scroll to the other races.
I sent this issue to the Tech Department for an (hopefully) answer.
Last edited by eddieballgame on Thu Mar 17, 2022 9:35 pm, edited 1 time in total.
GhostIsGone
Posts: 5
Joined: Tue Nov 30, 2021 8:23 pm

Re: Adding new races

Post by GhostIsGone »

eddieballgame wrote: Wed Mar 16, 2022 11:52 pm After editing the 7 races so that I have 14 total, I ran into a serious problem.
The display, at the top for choosing a race only allows for 11 not 14 to be selected
I could not find a way to scroll to the other races.
I sent this issue to the Tech Department for an (hopefully) answer.
I think the developers didn't expect people to start adding new races in this quantity so soon :lol:
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

GhostIsGone wrote: Thu Mar 17, 2022 7:17 pm
eddieballgame wrote: Wed Mar 16, 2022 11:52 pm After editing the 7 races so that I have 14 total, I ran into a serious problem.
The display, at the top for choosing a race only allows for 11 not 14 to be selected
I could not find a way to scroll to the other races.
I sent this issue to the Tech Department for an (hopefully) answer.
I think the developers didn't expect people to start adding new races in this quantity so soon :lol:
Evidently, that is the case.
Considering they built this game to allow modding/creating races...that was a huge gaffe.
Hopefully it can be fixed, though I have not yet heard back from the 'devs' on this.
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

I suspect one of the reasons I have not heard back is they are trying to 'fix' somethings for a minority of players.
Just hope they don't forget the rest of us. :)
GhostIsGone
Posts: 5
Joined: Tue Nov 30, 2021 8:23 pm

Re: Adding new races

Post by GhostIsGone »

eddieballgame wrote: Thu Mar 17, 2022 9:40 pm I suspect one of the reasons I have not heard back is they are trying to 'fix' somethings for a minority of players.
Just hope they don't forget the rest of us. :)
I'm sure you know this already, but the scope of the game truly is massive and the team size (more specifically the development team) is tiny. The game has been out about a week since today. They cut a lot of corners to get this game into a playable state instead of having this game in development for a couple more years (looking at modding support, multiplayer support, pirates etc). From looking at DW:U I'm confident that they'll deliver on their promises, that was a great game and I'm sure DW2 will become even better in due time.
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

dbl post
Last edited by eddieballgame on Sat Mar 19, 2022 5:31 pm, edited 1 time in total.
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

dbl post
Last edited by eddieballgame on Sat Mar 19, 2022 5:32 pm, edited 1 time in total.
eddieballgame
Posts: 903
Joined: Wed Jun 29, 2011 2:50 am

Re: Adding new races

Post by eddieballgame »

eddieballgame wrote: Sat Mar 19, 2022 5:30 pm
eddieballgame wrote: Sat Mar 19, 2022 5:28 pm
GhostIsGone wrote: Sat Mar 19, 2022 2:38 pm

I'm sure you know this already, but the scope of the game truly is massive and the team size (more specifically the development team) is tiny. The game has been out about a week since today. They cut a lot of corners to get this game into a playable state instead of having this game in development for a couple more years (looking at modding support, multiplayer support, pirates etc). From looking at DW:U I'm confident that they'll deliver on their promises, that was a great game and I'm sure DW2 will become even better in due time.
Don't disagree, it is normal to rush things...it appears.
I just find simple oversights (?) should be not be...or, at least responded to when the sale price is above average.
Particularly, when the same issues don't appear in lesser titles by even '1 man' teams'.
eyegore
Posts: 98
Joined: Mon Nov 18, 2013 9:13 pm
Location: Houston

Re: Adding new races

Post by eyegore »

I tried the new race. They have no ships and never build any. I suspect the race ID needs to be added in Shiphulls.xml but haven't tried it.
Post Reply

Return to “Design and Modding”