[Tool] Races editor (v1.2)

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

Moderators: elliotg, Icemania

Bubblewrap
Posts: 11
Joined: Tue Mar 30, 2010 4:15 pm

[Tool] Races editor (v1.2)

Post by Bubblewrap »

Hi!

Here's something i started working on while waiting for the 1.03 patch....till now i think i spent more time making this then playing DW! :) It's far from finished, yet surprisingly functional. As the title implies, it's a tool to edit the races.txt file.

First screen you see is to load your mod.
If you have no mod installed, or would just like to browse the default options you can check the Theme path option and just leave it empty...now that i think of it that isn't very handy..should make that easier in a later update

Once it's loaded, and you've selected a race from the list, you'll see something like this
In a later update i'll add some explanations from the Customization guide to these fields, for now you just have a list of properties you can edit.

You can't edit everything yet. Race name, picture, colors, flag, design names and design images can't be edited for now. All of these depend on references to external files, that makes it a bit more complex from an editor POV. You can click the * tab to load another mod.

When you're done, click the O button for the options screen. Not many options yet, just two: save your mod, or close it. You can select a different path here, so you can open the default theme, make changes, and then save it to a different directory, effectively creating a new theme. The name of the theme, which is shown in the tab header, will also be updated to reflect the new location.

See attachment for download. It requires the .Net Framework 3.5 SP1 to run, available here

Let's see...what else can i say..it should never ever overwrite anything in your default directory. If it does happen, let me know, because something is very wrong then.

UPDATE 1.2
  • added a Design Names editor
  • minor random changes to the UI

UPDATE 1.1.1:
  • fixed a crash when starting the program if DW wasn't installed at the default location

UPDATE 1.1, new in this version:
  • listbox instead of combobox for theme names on the load screen, double click to load a named theme
  • added default theme to the list
  • race picture index can now be selected
  • alternate race picture can be viewed
  • primary color visible, not editable
  • secondary color visible, not editable
  • flag design can be selected
  • design names visible, not editable
  • design images can be selected
  • races overview added, click on headers to sort*, double click to jump to race editor
*sorting is based on the underlying numerical value for race family, planet type, design focus and special component, not the textual representation


Attachments
DWEditor1.2.zip
(46.47 KiB) Downloaded 697 times
.
User avatar
nicodede62
Posts: 194
Joined: Fri Jan 04, 2008 2:22 pm
Location: France

RE: [Tool] Races editor

Post by nicodede62 »

Very nice, I'll try that it immediately, good job [&o][&o].
- Pour l'Empereur -
Image
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: [Tool] Races editor

Post by madpainter »

OMG
Nice one, I'll be using this!

Edit--
Works great, would it be possible to add the the extra information (ship set number etc.) just for information. so we know what numbers we are looking for if we want to change them manually?
I mess around with ship sets a lot and ATM I spend more time searching for the relevent number then I do editing it.[:)]

Edit again---

NVM, ship number is the one after the big numbers in the race file, flags and colours are the last 3 numbers before the homeworld name.
IMO this tool makes modding a doddle for me, I love it as it stands.[&o]
User avatar
Pymous
Posts: 203
Joined: Thu Apr 01, 2010 7:12 am
Contact:

RE: [Tool] Races editor

Post by Pymous »

This sounds awsome :) Good job!
[Mod]Shadow Stratagems Artpack for Shadow Empire game.
Kira
Posts: 2
Joined: Tue Apr 13, 2010 6:55 pm

RE: [Tool] Races editor

Post by Kira »

Great Job, Thank´s [&o]
Bubblewrap
Posts: 11
Joined: Tue Mar 30, 2010 4:15 pm

RE: [Tool] Races editor

Post by Bubblewrap »

New version uploaded, see first post for more info.

Updated/new screenshots:
race editor
races overview
.
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: [Tool] Races editor

Post by madpainter »

I've yet to test the updated version but it seems like you have covered all the bases.
Awesome work, you really have done great!
User avatar
Sarissofoi
Posts: 331
Joined: Mon Feb 01, 2010 12:05 am

RE: [Tool] Races editor

Post by Sarissofoi »

Great man.
You are time savior.

Eh shit. version 1.1 dont work for me dont know why.
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: [Tool] Races editor

Post by madpainter »

ORIGINAL: Sarissofoi
Eh shit. version 1.1 dont work for me dont know why.
1.1 Works for me. Its a great tool.
I wonder why yours doesn't work.[&:]
Kamonrius
Posts: 69
Joined: Wed Mar 31, 2010 12:11 am

RE: [Tool] Races editor

Post by Kamonrius »

same. gives some error when I try to load mytheme........did not do this in the first version :/
murteas
Posts: 19
Joined: Wed Mar 31, 2010 12:59 pm

RE: [Tool] Races editor

Post by murteas »

I can't seem to get it to start.  Just get an error when starting up.  Does this need to be extracted to a particular location to work (Distant worlds install directory or something?)
Bubblewrap
Posts: 11
Joined: Tue Mar 30, 2010 4:15 pm

RE: [Tool] Races editor

Post by Bubblewrap »

Hmm..odd. It doesn't need to be extracted anywhere specific.

There seem to be two seperate problems then?
Kamorius can't load his theme, but for murteas and Sarissofoi the program doesn't even start?

@murteas and Sarissofoi, did 1.0 work? (available here)


@Kamonrius: do you get the "program will shut down" message? Or another message?
.
User avatar
nicodede62
Posts: 194
Joined: Fri Jan 04, 2008 2:22 pm
Location: France

RE: [Tool] Races editor

Post by nicodede62 »

Lol, for me it was the opposite. The 1.0 does not work, but the 1.1 works now.

Nice work [;)].
- Pour l'Empereur -
Image
User avatar
Ranbir
Posts: 157
Joined: Sun Mar 28, 2010 1:26 pm

RE: [Tool] Races editor

Post by Ranbir »

Tools like this make modding fun!
"The imaginary number is a fine and wonderful resource of the human spirit, almost an amphibian between being and not being." - Gottfried Leibniz
User avatar
Sarissofoi
Posts: 331
Joined: Mon Feb 01, 2010 12:05 am

RE: [Tool] Races editor

Post by Sarissofoi »

version 1.0 work
for 1.1 I get something like that


Image
Attachments
error11.jpg
error11.jpg (102.35 KiB) Viewed 2048 times
Bubblewrap
Posts: 11
Joined: Tue Mar 30, 2010 4:15 pm

RE: [Tool] Races editor

Post by Bubblewrap »

I believe this version should fix your problem.
It crashed if the game wasn't installed at the default location, murteas probably experienced the same issue.

Either way, this version gives more info if it crashes, so i don't have to guess ;)
.
murteas
Posts: 19
Joined: Wed Mar 31, 2010 12:59 pm

RE: [Tool] Races editor

Post by murteas »

Bubblewrap, that fixed it for me. And yes, 1.0 worked, but 1.1 did not. Are you releasing the source for this program?

In any case, thank you for sharing with us and responding quickly to our problem. Thanks and great job!
User avatar
Sarissofoi
Posts: 331
Joined: Mon Feb 01, 2010 12:05 am

RE: [Tool] Races editor

Post by Sarissofoi »

Version 1.1.1 worked for me also.
Good job.
BTW Can you make that picture for ground troopers will be also avialable to see in editor?
Kamonrius
Posts: 69
Joined: Wed Mar 31, 2010 12:11 am

RE: [Tool] Races editor

Post by Kamonrius »

This still isnt working for me :/ the error I get in the program's page when trying to load my theme or default.

Cannot find DepenedacyProperty or PropertyInfo for property named 'Stringformate'. Property names are case sensitive. Error at Object 'System.windows.Data.Binding' in markup file 'DWEditor;component/raceeditor.xaml'.
Bubblewrap
Posts: 11
Joined: Tue Mar 30, 2010 4:15 pm

RE: [Tool] Races editor

Post by Bubblewrap »

Ah..that's annoying. Looks like .NET Framework 3.5 sp1 is required, not just 3.5.
You can get it here
.
Post Reply

Return to “Design and Modding”