Thoughts on diff-mods and INI files.

Ideas and suggestions for how to improve the Warzone 2100 base game only. Ideas for mods go in Mapping/Modding instead. Read sticky posts first!
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: Thoughts on diff-mods and INI files.

Post by aubergine »

I would *love* local and session storage!! Already proposed that on a number of occasions. I can see immediate uses for both AIs and campaigns. Speaking of which, the way in which data from campaign missions gets stored for subsequent missions is still a mystery to me (if anyone knows, please create a post or wiki page and explain it!).

You are correct in that it would be better to have single .js file, that is certainly lots cleaner. We still need way for JS API to interact with ini files, I previously posted some feature requests for that: Expose .ini stats to JS API
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Thoughts on diff-mods and INI files.

Post by Emdek »

These are still not available? I remember that you proposed them and asked for them many times more than half year ago, so I suspected that those are already available in some form... Anyway, those would be useful also in other cases (I remember that you wanted to use them to collect data for AIs learning from what player does).
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
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Thoughts on diff-mods and INI files.

Post by NoQ »

Bump.
Per has just pushed the patch, we can try things out now.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Thoughts on diff-mods and INI files.

Post by Per »

Also, all stats files except limits.txt have now been changed to .ini file format! :-)
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Thoughts on diff-mods and INI files.

Post by NoQ »

Now, the last thing we're still missing is a fancy script to convert all txts to inis in one click. The conversion was done by several people, but publishing some code snippets could be useful, i think.

After that, i guess, the new modding season is starting :3
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Thoughts on diff-mods and INI files.

Post by NoQ »