Search found 243 matches

by Duha
20 Jan 2014, 01:42
Forum: Development
Topic: Converting from INI to JSON
Replies: 56
Views: 40748

Re: Converting from INI to JSON

I'm seriously considering changing all the .ini format stuff to JSON format instead. I have done some tolls for csv to ini conversation, but is is not to hard to convert ini to json. My code use profile files and looks more complicated . But I think I can make this work faster. May be I will do it ...
by Duha
27 Nov 2013, 11:43
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

crab_ wrote:Hello.
What you think about idea: add 'description' field to each component in game?
This description can be shown in unit design screen :)
It is possible to make description based on component type.
by Duha
13 Nov 2013, 00:51
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

How did pie files resolved for mods?
base + modpies or base + mp + modpies?
by Duha
11 Nov 2013, 01:46
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

I think about sorting ini files. two phases of sorting: 1. sort by ID (ZNULL* first others by abc). 2. sort keys in same order as they described in header. reason: 1. little improvement of readability 2. my tools for work with ini files does not support order. Adding new field convert patch to real ...
by Duha
05 Nov 2013, 18:50
Forum: Artwork
Topic: Models by Alpha93
Replies: 81
Views: 54254

Re: Models by Alpha93

I assume most of nowadays turrets are made by melting steel into stamps which have the holes for screws and bolts, usually around the hatches and even then I assume that the lower part of the hatch is made from the same stamp as the turret's. Welding doesn't seem like a good idea for anything but t...
by Duha
30 Oct 2013, 09:00
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

I think that has already been merged as part of https://github.com/Warzone2100/warzone2100/pull/43 ? Not this is another part. You should squash and clean your pull requests, I think. Or post changes as a patch on the bug tracker. When a pull request says "Cjkjvfnby wants to merge 45 commits i...
by Duha
29 Oct 2013, 22:32
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

Yes, names.txt should slowly be phased out of existence. Patches to add names to .ini files that are missing them, and removing unused names from names.txt would be most welcome. Do you plan to accept pull request with remove default values? https://github.com/Warzone2100/warzone2100/pull/44 >git d...
by Duha
29 Oct 2013, 09:54
Forum: Addon discussions
Topic: [3.1+] NullBot: an adaptive skirmish AI
Replies: 851
Views: 441593

Re: [3.1+] NullBot: an adaptive skirmish AI

portnov wrote: I added a bit more debug output, and I see that it can not find "CyborgLightBody" comp. grep CyborgLightBody in current git master of WZ does not find anything at all.
May be, it was renamed recently?
https://github.com/Warzone2100/warzone2 ... dy.ini#L51
by Duha
28 Oct 2013, 02:08
Forum: Addon discussions
Topic: Warzone Database (Stats viewer & calculator) by crab
Replies: 52
Views: 44980

Re: Warzone Database (Stats viewer & calculator) by crab

http://warzone2100.info/weapons.php#tank_weapons Make "align text-align: right;" to all numerical columns ok, i'll try and see :) Design can be changed many times (in order to get a good variant), usually i'm playing with css and see what happen. Numerical and not numerical columns has sa...
by Duha
28 Oct 2013, 00:30
Forum: Addon discussions
Topic: Warzone Database (Stats viewer & calculator) by crab
Replies: 52
Views: 44980

Re: Warzone Database (Stats viewer & calculator) by crab

crab_ wrote: I need fresh ideas and reviews.
http://warzone2100.info/weapons.php#tank_weapons
Make "align text-align: right;" to all numerical columns
Change research column from time to points. Time depends of you research lab upgrades.
Research time slider is not necessary at this page.
by Duha
27 Oct 2013, 01:58
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

Hello. I can turn names of cyborgs from names.txt into templates.ini, if someone will write codes it in hardcode :) First step is to make patch for ini files and attach it to ticket in track. If you want to do it do it or I can do it. Yes, names.txt should slowly be phased out of existence. Patches...
by Duha
26 Oct 2013, 15:10
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

Hello. What is situation with names.txt? As far i know "name" field was added to many stat ini-files I need to know how read names of cyborgs. May be add "name" field into templates.ini? I can turn names of cyborgs from names.txt into templates.ini, if someone will write codes i...
by Duha
24 Oct 2013, 00:02
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

Per wrote:
Duha wrote:If this style is OK I will proceed with other files.
Looks good to me.
Will add new pull request after finishing with current.
by Duha
17 Oct 2013, 00:23
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

Add some header example for research and stats: https://github.com/Cjkjvfnby/warzone210 ... 6fca852eef

If this style is OK I will proceed with other files.
by Duha
15 Oct 2013, 10:24
Forum: Coding
Topic: need help reading .ini file
Replies: 70
Views: 41910

Re: need help reading .ini file

data\mp\anims\scbd_run.ani I guess it's scavenger soldier run animation? Probably used by its id in anim.cfg (?) P.S. there are quite a lot of other unused pie files around, such as this . I already has list of pies not used by stats. I am trying to figure out what files is not used at all. This is...