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

Post Reply 
Threaded Mode | Linear Mode
ERA III
Author Message
Archer30 Offline
Moderators

Posts: 1103
Post: #931

Berserker, "looks like" a bug report here
So I wanted to put my text over a picture, aligning with the right side. Here's my code
And I got this
Image: 5M1bmZC.png

The problems:
1. The picture doesn't show fully. Looks like the height calculation is problematic. This can be fixed/adjusted by inserting newlines.
2. The text is not correctly aligned. As you see from my screenshot, they are centred. Interfered by the parameter of girl.def I guess?

____


And a wishlist
1. Is it possible to fix the DL background colour issue from ERA? A map maker asked about that. This is only issue remaining for his players to use 32-bit modes.

2. I found out a character limit:
Wrong:
(too long)

Corrected:
no big issue but is the limit necessary or it can be raised?


Thanks for helping!


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 02.02.2021 17:25 by Archer30.)
02.02.2021 12:01
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16467
Post: #932

The default picture rendering style is inline = in-place = as a part of current line. Add "block" attribute to render it as a separate block with auto height allocation.
{~>girl.def block}

2. All ERM commands have fixed limit of max 16 parameters, FU:P is not an exclusion. It's a hardcore limitation, that cannot be passed.


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

Posts: 1103
Post: #933

Thanks, Berserker, I get the idea. I will need the def to be "non-block" as I want to put my text over the picture. Is there anything wrong with the text allignment though?

A mini bug report:
The spells of Thunder Lord should be 0 instead of 24 (from the text resources). 24 is for his shots.


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

Posts: 16467
Post: #934

Could you provide fixed txt?
Right, alignment is wrong, I'll try to fix this issue in engine.


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

Posts: 1103
Post: #935

Yes, find them here please
Dropmefiles


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

Posts: 16467
Post: #936

Archer30, seems like all found issues are fixed now, including DL background colors.
helgtla, всё исправлено.


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

Posts: 1103
Post: #937

Thanks! I can confirm that DL background is fixed. Although it looks like the text alignment does not behave correctly still, try with the code here


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

Posts: 16467
Post: #938

Archer30, everything is right with alignment now. Centered image, right-aligned texts. Maybe, Chinese plugin also needs adaptation.
Image: image.png


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

Posts: 1103
Post: #939

Aha yes, totally forgot about Chinese plugin. It's aligned correctly without wogcn


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

Posts: 16467
Post: #940

I confirm. Even with one extra fix in Chinese plugin I see disappearing texts.


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

Posts: 1005
Post: #941

Berserker, просьба если есть такая возможность, подтвердить или опровергнуть подлинность Эра 3.3.4:


Тот, кто просыпается рано - жаворонок, поздно - сова. А тот, кто плохо спит и ходит с черными кругами под глазами - панда!
06.02.2021 01:39
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16467
Post: #942

Всё верно.


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

Posts: 1103
Post: #943

Berserker, new report here :D

There is a minor issue with ERA update after the unofficial update on 11 Jan. With ERA after this version, the WND input dialogues behave strangely. It ignores the first or the first two (with wogcn) characters from the keyboard input. That is to say, you press a button several times but you get fewer characters from your screen.

mod for testing + ERA update before and after this problem appears

Load the mod and press F2 so you can get an input dialogue for testing.


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

Posts: 16467
Post: #944

Thank you for report with utility files, my friend.


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

Posts: 4338
Post: #945

Berserker, хочу спросить, что там с рандомом в битвах - был ли смысл делать так, чтобы одно и то же действие вызывало разный результат при переигровке/перезагрузке боя?
Помнится, в какой-то версии ЭРА было введено закономерное повторение результата при совершении тех же действий в бою.


Image: widget.png?style=banner2

Новейший Heroes 3 Launcher
08.02.2021 17:31
Visit this user's website 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