Current time: 29.11.2024, 01:36 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Плагины. Обсуждение
» Plugins. Discussion & Questions
Author Message
igrik Offline

Posts: 2819
Post: #61

gamemaster, Исходный код вы можете увидеть тут:
Source wog native dialogs


game bug fixes extended.dll || My Plugins || My GitHub
22.07.2020 12:40
Visit this user's website Find all posts by this user Quote this message in a reply
gamemaster Offline

Posts: 16
Post: #62

Thanks!!
22.07.2020 20:24
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #63

1. Hi igrik ! I love your plugin Spells Description very much, though I have difficulties on adding Chinese localization to it without replacing English. Will you kindly consider update the plugin with ERA json support? Thanks!

2. This is another request about WoG Native Dialog plugin:

Image: cZZhAat.jpg

So far I believe that the comma I show from the pic above does not appear in WogNDlg.txt. It is handled internally, which frustrates me.
In some languages ​​(Chinese for example), there is an alternative style of comma. Using an English comma does not make sense to those languages.
I wish this comma can be added to WogNDlg.txt for better localization experience of ERA.

Hope that igrik will respond to my request. Thank you in advanced. 96-copy


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

Posts: 16657
Post: #64

Archer30, how do you write comma in Chinese?


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

Posts: 1175
Post: #65

Berserker, It's ",". Comparing to English comma, just slightly different in style and wider to match up with Chinese characters.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 31.07.2020 05:42 by Archer30.)
31.07.2020 01:05
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #66

(31.07.2020 00:20)Archer30 Wrote:  1. Hi igrik ! I love your plugin Spells Description very much, though I have difficulties on adding Chinese localization to it without replacing English. Will you kindly consider update the plugin with ERA json support? Thanks!

2. This is another request about WoG Native Dialog plugin
1. Ok. I'll do it. But later, not now.

2. Comma added to txt file. Download
Correct the text file yourself:
", kills:" (line 22)



PS: show me what a comma looks like in Chinese, please.


game bug fixes extended.dll || My Plugins || My GitHub
31.07.2020 23:25
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #67

igrik, в посте выше китайская запятая.


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

Posts: 1175
Post: #68

igrik, thank you so much!
My request 1# was submitted 1 month ago. Now I've already got used to the current spell description structure. There is no big deal creating another language file for the plugin. It's up to you to place the request to a low priority Sm

So the Chinese comma is "," comparing to English comma "," only minor difference there. Let me show you in action.
Image: BoCS5es.jpg

Blue line: Chinese comma
Red line: English comma


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 05.08.2020 21:31 by Archer30.)
01.08.2020 12:40
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #69

Asking for more help from igrik

igrik, appologize for failing to notice this before I submitted my last request. I'm in need of your help again about WoG Native Dialogs.

New Request: Moving the spacebar marked below from the plugin to WoGNDlg.txt (end of line 22).
Image: 2knLiPq.jpg

Reason: Spacebar in sentences must be removed in Asian languages.

Explanation:
The current line 22 from WoGNDlg.txt is
Code:
, kills:
The actual sentence in battle will become
Code:
, kills: %killcount%
While in Chinese, the more native way of speaking would be
Code:
,kills:%killcount%
The difference is, there is no space needed after "kills:".


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 21.08.2020 13:31 by Archer30.)
05.08.2020 21:31
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #70
Вопрос 
igrik, тож спрошу по WoG Native Dialog плагину...

В области ввода текста ограничение в 31 символ?
Я не знаю сколько было в базовой реализации WoG, использую щас обновлённый диалог...
Image: 0f1af60a1c81t.jpg
06.08.2020 19:02
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #71

Another new request of WoG Native Dialogs...

Request: Can igrik make a switch of whether or not enabling input dialogs of WoG Native Dialogs please?

Reason: The current input dialogs from WoG Native Dialogs has an shortcoming for Asian language user as it does not support local IME (Input method).

Explanation:
Here's an example explaining how IME works with Chinese input (with WoG Native Dialogs disabled):
Image: bi3cy1p.jpg
When typing "haha" with Chinese IME enabled, "haha" does not instantly appear in the game, instead it's stored in the IME. As "haha" was typed, IME will pop up possible Chinese words with the letter combination "haha". Unitil pressing "1, 2 or 3" from the keyboard to select the actual Chinese words, nothing will be input to the game.

If "1" was pressed after "haha", then
Image: rAqgEDl.jpg
“哈哈” would be input in the game dialogs.

But, with WoG Native Dialogs Enabled, this becomes impossible. Here's another example explain how WoG Native Dialogs behaves with Chinese IME enabled.
Image: UnEWkjP.jpg
So basically the Chinese IME still stores the keyboard input, but WoG Native Dialogs won't write anything from IME. With "haha" + "1" now gets only "haha1" in the dialog.

Conclusion: WoG Native Dialogs does not support Chinese Chinese input while the original WoG dialogs handles it quite well.

I understand that it might be very complex to add local IME support to WND, thus my request is making a switch of the dialog.

I'm looking forward to your response to this one, as well as the request here, igrik. Thank you in advanced Sm


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 21.08.2020 13:30 by Archer30.)
21.08.2020 13:01
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #72

Image: image.png

Do these input fields support Asian characters?


game bug fixes extended.dll || My Plugins || My GitHub
21.08.2020 13:27
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #73

igrik, they do not, even the official Chinese HoMM3 does not supports any kind of Chinese character input. That's the main reason I believe this could takes many effort of research.

The only dialogs supports Chinese are WoG's, which is essential for objects like living skull.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 21.08.2020 13:38 by Archer30.)
21.08.2020 13:37
Find all posts by this user Quote this message in a reply
igrik Offline

Posts: 2819
Post: #74

(21.08.2020 13:37)Archer30 Wrote:  igrik, they do not, even the official Chinese HoMM3 does not supports any kind of Chinese character input. That's the main reason I believe this could takes many effort of research.

The only dialogs supports Chinese are WoG's, which is essential for objects like living skull.
Very bad. We will decide with Berserker what to do.


Berserker, что будем делать? Выпиливать этот диалог ввода (полностью или через ini файл с параметром)?
Или есть другие предложения? Просто я не вижу способа добавить поддержку азиатских символов в это поле ввода. Я уже много чего перепробовал - всё бестолку.


game bug fixes extended.dll || My Plugins || My GitHub
21.08.2020 13:41
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #75

igrik, воговский диалог ввода — обычный элемент управления Windows, который умеет выделять/копировать текст, понимает сообщение вставки из буфера обмена.
К сожалению, азиатский способ ввода будет не применим к большинству игровых диалогов. Потому давай вынесем замену поля ввода в heroes3.ini (есть команда на чтение из ini в era sdk). При UseWindowsInputControl="1" (не 0, не пустом) для диалогов, где присутствуют поле ввода, использовать воговский вариант.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
21.08.2020 14:11
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