Current time: 25.11.2024, 10:22 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA II
» WoG Era 2: Русская и Английская версии
Author Message
Berserker Offline
Administrators

Posts: 16657
Post: #4711

Archer30, currently yes, they are not used. Are you sure, that 800 is right value? This bug comes from WoG 3.58, I suppose?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
11.07.2020 21:54
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #4712

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.


Latest ERA mods and scripts in development - My GitHub
11.07.2020 23:10
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4713

Thanks.
[-] Fixed invalid Sorceress fight value in zcrtraits.txt. Credits: Archer30 (Pathere).


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
11.07.2020 23:29
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #4714

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?


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 12.07.2020 00:29 by Archer30.)
11.07.2020 23:56
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4715

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.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
12.07.2020 01:08
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 610
Post: #4716

WoG campaigns will be backward compatible? (2.9.14-3.0) or will they have to be adapted specifically for each version?
(This post was last modified: 12.07.2020 02:51 by V_Maiko.)
12.07.2020 02:50
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4717

V_Maiko, they will remain the same, unless someone wants to improve/rewrite them as a standalone mod.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
12.07.2020 12:19
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #4718

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...


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 14.07.2020 07:19 by Archer30.)
14.07.2020 04:40
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4719

Archer30, I don't know, what's the reason, to say the truth, but perhaps it's Chinese fonts issue.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
14.07.2020 18:51
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #4720

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


Latest ERA mods and scripts in development - My GitHub
15.07.2020 13:03
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4343
Post: #4721

Archer30, pcx position


Image: widget.png?style=banner2

Новейший Heroes Launcher
15.07.2020 14:22
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #4722

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.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 15.07.2020 18:02 by Archer30.)
15.07.2020 14:32
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4723

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.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
15.07.2020 15:45
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #4724

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?


Latest ERA mods and scripts in development - My GitHub
15.07.2020 17:11
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #4725

I didn't find anything special, concerning English characters top position adjustment from the first glance, to say the truth.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
15.07.2020 17:38
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group