Wake of Gods Forum | Форум Во Имя Богов

Full Version: ERA II
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Archer30, currently yes, they are not used. Are you sure, that 800 is right value? This bug comes from WoG 3.58, I suppose?
This is from 3.58f, exactly the same file.

By browsing other creatures, it's obvious that fight value are usually closed to AI value. I'd say 800 from crtraits.txt makes much more sense than 200 in zcrtrait.txt for Sorceress.
Thanks.
[-] Fixed invalid Sorceress fight value in zcrtraits.txt. Credits: Archer30 (Pathere).
You're super welcome! But please just Archer30. I use different IDs in different platforms to prevent being recognised - basic sense of cybersecurity )))

Berserker, I'm currently porting/fixing old Chinese localization of WoG Campaign from 2.46 to 2.9. And I'm wondering whether this a good timing to do so. Will there be a huge update to WoG campaigns in the upcoming future?
Archer30, nope, I won't make any updates except that English/Russian WoG campaigns will be released as a separate mod with 2.9.14 contents.
WoG campaigns will be backward compatible? (2.9.14-3.0) or will they have to be adapted specifically for each version?
V_Maiko, they will remain the same, unless someone wants to improve/rewrite them as a standalone mod.
A question about WoG Native Dialog and WoG CN plugin
This has been unresolvable for the Chinese community for long...
WoG CN is a plugin developed for Chinese character support in H3.

Issue: Characters do not look well with wognativedialog.dll/wogcn.dll both loaded.

Downloads of WoG CN release, source and related: Google Drive

As from the screenshots, there is an issue with characters displaying with both WoG Native Dialog/WoG CN enabled. The brackets, the numbers seem to be lower than Chinese characters in position. Ideally, I would like all characters to be displayed like for vanilla H3 contents. Will this needs to be tweaked from WoG CN or WoG Native Dialogs? Since the author of WoG CN has gone for long, I have no choice but to seek help here...
Archer30, I don't know, what's the reason, to say the truth, but perhaps it's Chinese fonts issue.
That doesn't explain the fonts works great without WoG Native Dialog. Smt has been changed there with WND enabled, but I have no idea what it might be...

Let it be then Rolleyes
Archer30, pcx position
daemon, doesn't think so. The Chinese characters and non-Chinese were align with different position, that's the problem.

Take a look at the bracket in the middle, that's where the worst part is:


Edit: I believe that WOG CN makes some tweaks to characters so that all character get along quite well. But since WoG Native were introduced, this was broken. It has to be resolved from WoG CN plugin anyway.
Code:
posEnd:=i;
    startX:=x;
    startY:=y+FontHeight*Row;
    case mode of
      0,4,8 :startX:=x;
      1,5,9 :startX:=x+((Width-l) div 2);
      2,6,10:startX:=x+Width-l;
    end;
    case mode of
      0,1,2,3:startY:=y+(FontHeight)*Row;
      4,5,6,7:begin
                  if height<MaxRow*(FontHeight) then
                  begin
                    if height<(FontHeight+FontHeight) then
                      StartY:=y+(FontHeight*Row)+(height-FontHeight)div 2
                    else startY:=y+(FontHeight)*Row;
                  end                else startY:=y+(FontHeight)*Row+(height-MaxRow*(FontHeight))div 2;
              end;
      8,9,10,11:begin
                  if height<MaxRow*(FontHeight) then
                  begin
                    if height<(FontHeight+FontHeight) then
                      StartY:=y+(FontHeight*Row)+(height-FontHeight)
                    else startY:=y+(FontHeight)*Row;
                  end
                  else startY:=y+(FontHeight)*Row+height-MaxRow*(FontHeight);
                end;
    end;
Chinese plugin is written almost without comments.
Berserker, I would like to quote Valary's wise words here: This seems Chinese to me. Rolleyes

Are you suggesting that this is the part adjusting charaters' height?
I didn't find anything special, concerning English characters top position adjustment from the first glance, to say the truth.
Reference URL's