.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #11  
Old October 26th, 2006, 01:46 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: SE 5 Editor

Quote:
Devnullicus said:
Hmmm, hadn't thought about moving them around in the file. Could be done relatively easily, but would make the sorting I do in the list-view a bit harder. I'll have to think about a good way to do it. With a good GUI, I'm not sure why you'd care about the order in the text file, honestly.
In case Fyron's response wasn't clear enough: the order in the text file determines the order in-game (at least when alpha sorting is off).
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #12  
Old October 26th, 2006, 02:05 AM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: SE 5 Editor

For facilities, the "Facility Group" seems to control the order within the game. Within a particular Facility Group, I would guess the order to be the same as in the file, but I haven't verified that.

For components, I would guess that the "General Group" field works similarly to "Facility Group", but again, haven't verified that.

As for how I'm doing the sorting, it can currently be sorted in ascending or descending order by name or by facility group. I'm using some slightly modified code I found on Microsoft http://support.microsoft.com/kb/319401

But yes, now that I think about it, alphabetical sorting doesn't make as much sense. I think I'll modify it so you can drag the facilities to whatever order you wish and get rid of the alpha-sorting.

Or maybe I'll just add some info to make it know what order to put it in the file, because the alpha-sorting by name or facility group is actually kind of useful as well. Will have to think a bit more on this one.

Thanks for the suggestions!
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
  #13  
Old October 26th, 2006, 02:30 AM

Jarena Jarena is offline
Private
 
Join Date: Aug 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Jarena is on a distinguished road
Default Re: SE 5 Editor

this is insanely ultimate
Devnullicus, I tip my hat to you.
Reply With Quote
  #14  
Old October 26th, 2006, 02:43 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE 5 Editor

For components, I would guess that the "General Group" field works similarly to "Facility Group", but again, haven't verified that.

Nope, just one big list for components. You can use component groups in filters (which makes the list only show components in that group), but those are very slow to use compared to good sorting.

Or maybe I'll just add some info to make it know what order to put it in the file, because the alpha-sorting by name or facility group is actually kind of useful as well.

I think you run the risk of making a confusing interface here. You want to let the user move the items, but still want it alphasorted? You've got to go one way or the other here, or provide some sort of option to switch between them.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #15  
Old October 26th, 2006, 02:57 AM
Kamog's Avatar

Kamog Kamog is offline
Lieutenant General
 
Join Date: Nov 2002
Posts: 2,903
Thanks: 1
Thanked 0 Times in 0 Posts
Kamog is on a distinguished road
Default Re: SE 5 Editor

Wow, that looks like a very handy and helpful program for modding. Very nice!!
Reply With Quote
  #16  
Old October 26th, 2006, 03:31 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE 5 Editor

The component group is used for prioritizing repairs.
I find that there tends to be serious conflicts between filtering on that and getting useful repair priorities.

Since the order of components is everything a filter is, but better, and bad repair priorities have no workaround, repair priorities win.
Reply With Quote
  #17  
Old October 26th, 2006, 04:50 AM

Hemperor Hemperor is offline
Private
 
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hemperor is on a distinguished road
Default Re: SE 5 Editor

Any chance youll do one for events?
Reply With Quote
  #18  
Old October 26th, 2006, 06:03 AM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: SE 5 Editor

My plan is to do editors for all the data files and maybe the racial data files as well. Currently, I'm on vacation and having fun doing the code for this. When my vacation ends in a week and a half or so, I doubt I'll have a lot of time to work on this any more, so we'll see how much I get done by then.

Whatever I get done, I'll release along with full source code in case anyone feels like finishing up what I don't have time for.

I'm currently just about done with Facilities - I still have to finish up the reordering, adding and deleting items from the various lists, and saving the data back to the file. I also have the formula wizard to do, and I suspect that will take much of tomorrow.

At this point, I think I have a good idea of how to do most of the rest of the data files, so they should start going quicker. Except for Components, most of the rest of the data files aren't as complex. Components is what I'm planning on next - I'm guessing I'll get to those by sometime tomorrow. After that, I could probably do Events, but have no definite priorities yet.

The best part about this is that I'm having a blast and learning a new language (C#) as well I suspect I'd be getting this done a little faster if I wasn't having to look up so much syntax, but even so, I'm finding C# to be one of the fastest development languages for this kind of task I've ever used. I'm pretty impressed with how easy this program has been to throw together so far.
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
  #19  
Old October 26th, 2006, 10:25 AM

tmcc tmcc is offline
Corporal
 
Join Date: Sep 2006
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
tmcc is on a distinguished road
Default Re: SE 5 Editor

Devnullicus, this is awesome. Should be a huge help. Any chance to do this for AI scripts? I personally that AI is the most "broken" part of the game and needs a ton of modder help.
Reply With Quote
  #20  
Old October 26th, 2006, 03:06 PM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: SE 5 Editor

Just a quick update. The Facilities Editor UI is pretty much in final form and I'm starting on the formula parser/wizard. Here's a screenshot of what the editor looks like now.

__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.