Stats editor

Discuss the future of Warzone 2100 with us.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Stats editor

Post by dmkp »

I apologise if this has already been asked.

Is there a better editor for research/structures etc than the database provided by pumpkin?
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Stats editor

Post by Zarel »

Not at the moment. You can get a pretty decent editor just by renaming the .txt files to .csv (and renaming them back when you're done), though.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Stats editor

Post by dmkp »

Ah I see.


If you could put together how the research stuff works, I could make an editor. Been looking for something to make so I'd love to do this.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Stats editor

Post by KukY »

dmkp wrote:I could make an editor. Been looking for something to make so I'd love to do this.
I think winsrp is already making stats editor.
User avatar
Tenoh
Trained
Trained
Posts: 359
Joined: 18 Nov 2008, 15:06

Re: Stats editor

Post by Tenoh »

I dont see why you need editor anyway,just edit stats in the file like i do.
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Stats editor

Post by KukY »

Tenoh wrote:I dont see why you need editor anyway,just edit stats in the file like i do.
But some files are very confusing.
Research files are complicated, weapons file has lot of values...
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Stats editor

Post by dmkp »

Well I could still make one too.

I know they're tables but how do they relate to each other and what do all the items represent? That's the sort of info I'd need to make one.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Stats editor

Post by KukY »

Zarel wrote:Not at the moment. You can get a pretty decent editor just by renaming the .txt files to .csv (and renaming them back when you're done), though.
Hoping that it will be organized, I do that, and I go from this:
Image ,to this: Image.

Do I need to have something else then just Excel?

EDIT: I found a program specialized for opening csv files.
http://csved.sjfrancke.nl/
Works good.
Is there a way to add a comment line on beggining of every file?
Like:

Code: Select all

//,bodyname,techlevel,size,buildpoints...
I think it would be helpful.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Stats editor

Post by Zarel »

13KukYNexus666 wrote:Is there a way to add a comment line on beggining of every file?
Like:

Code: Select all

//,bodyname,techlevel,size,buildpoints...
I think it would be helpful.
We are planning on doing that soon.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Stats editor

Post by dmkp »

So.. could you tell me how each of those files relate to each other so I can make an editor?
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Stats editor

Post by Zarel »

What do you mean?

The columns are defined at http://developer.wz2100.net/wiki/TxtEditing
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Stats editor

Post by dmkp »

Zarel wrote:What do you mean?
Well, just how each table is linked to each other. Like with most databases there's a main table with a primary key. And the other tables need this table to work properly etc.

I can sort of guess a couple of them but not all. I'm guessing all structures are defined in structures.txt. Which the research topic needs to reference in order to "activate" the structure once researched.

Zarel wrote:The columns are defined at http://developer.wz2100.net/wiki/TxtEditing
Has the format of this ever been changed since the original source?
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Stats editor

Post by Zarel »

Yes. The ones with "(*)" are new.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Stats editor

Post by dmkp »

Just those?
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Stats editor

Post by KukY »

Will you remove those "unused"/"dummy" values?
They can be really confusing sometimes.