base.wz unused fields (3.1b7)

For code related discussions and questions
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

base.wz unused fields (3.1b7)

Post by Duha »

Hi, I am making tool to edit base.wz (for 3.1b7)

And has some questions about unused fields:

Where I can take current documentation to this fields. (http://developer.wz2100.net/wiki/TxtEditing Last modified 10 months ago)

Can I replace its values by some blank items (''', ' ', '_') when save result or someone plan to use it later?
Spoiler:
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: base.wz unused fields (3.1b7)

Post by vexed »

As for the wiki, well, someone has to actually do the grunt work, so that info may/may not be correct.
You can check the source code for how it reads things.
The format pretty much needs to stay the same as is currently in the files, otherwise the code can't read them if it sees (or doesn't see) something.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: base.wz unused fields (3.1b7)

Post by Reg312 »

Duha wrote:Hi, I am making tool to edit base.wz (for 3.1b7)
you dont need tool because i've made it already :P
viewtopic.php?f=5&t=8726

also if you open warzone sourcecode you can find
1) classes like WEAPON_STATS, BODY_STATS.. etc.
each class contains descriptions of fields
WEAPONS_STATS loaded from weapons.txt.. etc.
2) load functions for text files like loadWeapons, loadBod
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Re: base.wz unused fields (3.1b7)

Post by Duha »

Reg312 wrote:
Duha wrote:Hi, I am making tool to edit base.wz (for 3.1b7)
you dont need tool because i've made it already :P
viewtopic.php?f=5&t=8726
My target is editing stats.
It will be fast and cross platforming. :)
And side effect I can generate http://developer.wz2100.net/wiki/TxtEditing page and some other guide pages.
Alpha is almost ready.
also if you open warzone sourcecode you can find
1) classes like WEAPON_STATS, BODY_STATS.. etc.
each class contains descriptions of fields
WEAPONS_STATS loaded from weapons.txt.. etc.
2) load functions for text files like loadWeapons, loadBod
Thanks, It is exactly that I need.
http://addons.wz2100.net/ developer
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: base.wz unused fields (3.1b7)

Post by Reg312 »

Duha wrote: It will be fast and cross platforming. :)
do you said that my stats editor is not fast enough?
..and i did not tested it on old computers

hehe, you are not only one who want make cross-platform stat editor, so it wil be interesting if you'll make better program
but if you are linux-minded user.. then your editor can be less user-friendly than mine :)
percent of linux user here is very high (unfortunately for my stat editor)

how about some competition of stat editors?

also you should look at stat editor from Flail: viewtopic.php?f=5&t=4903
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Re: base.wz unused fields (3.1b7)

Post by Duha »

Reg312 wrote:
Duha wrote: It will be fast and cross platforming. :)
do you said that my stats editor is not fast enough?
..and i did not tested it on old computers
It is about usability. A lot of confirmations. Some files does not loaded when I can edit some table.
hehe, you are not only one who want make cross-platform stat editor, so it wil be interesting if you'll make better program
but if you are linux-minded user.. then your editor can be less user-friendly than mine :)percent of linux user here is very high (unfortunately for my stat editor)
I am both minded. I agree about bad linux usability. Thats why i use html+css :)
also you should look at stat editor from Flail: viewtopic.php?f=5&t=4903
how about some competition of stat editors?
We should ask moderators to create this topic by cutting off offtopick from this thread. :)
http://addons.wz2100.net/ developer
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: base.wz unused fields (3.1b7)

Post by Reg312 »

Duha wrote: It is about usability. A lot of confirmations. Some files does not loaded when I can edit some table.
you not need edit base.wz because we have mp.wz, and you dont need edit mp.wz because better to have your own mod in auto-load folder or have it as map-mod than edit warzone stats directly
if you meant lot of confirmations in my stats editor, this can happen if you use program in some "wrong" way
(if you edit mod which you did not loaded actually)
you know, mod can contain only 1 stat file, so you can load 1 file or load them all or you can dont load anything
i'll make new verion in next days, i still dont know if eny people use it, i just like edit stats by myself
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: base.wz unused fields (3.1b7)

Post by NoQ »

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: base.wz unused fields (3.1b7)

Post by Reg312 »

NoQ wrote:So much for the 100000th forum message ...
funny, did not noticed numbers on messages (how you checked that?)
ok 1'000'000 will be yours
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: base.wz unused fields (3.1b7)

Post by NoQ »

The link (:
P.S. Sorry for offtopic again ... :oops:
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: base.wz unused fields (3.1b7)

Post by Reg312 »

NoQ wrote:The link (:
P.S. Sorry for offtopic again ... :oops:
i meant, did you checked every message last days to find 100'000th? :)
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: base.wz unused fields (3.1b7)

Post by NoQ »

No, i meant that i suddenly saw a link to #100009, so i modified it to #100000 and got to see this message ...
crass
Trained
Trained
Posts: 113
Joined: 21 Mar 2012, 02:26

Re: base.wz unused fields (3.1b7)

Post by crass »

NoQ wrote:No, i meant that i suddenly saw a link to #100009, so i modified it to #100000 and got to see this message ...
O_o there are only 96374 posts!
Total posts 96374 • Total topics 7720 • Total members 5419 •
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland
Contact:

Re: base.wz unused fields (3.1b7)

Post by Emdek »

crass, apparently some of them were removed.

EOT
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
Duha
Trained
Trained
Posts: 287
Joined: 25 Mar 2012, 20:05
Location: SPb, Russia

Re: base.wz unused fields (3.1b7)

Post by Duha »

http://addons.wz2100.net/ developer
Post Reply