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

Post Reply 
Threaded Mode | Linear Mode
Ваши вопросы по ERM-скриптам
Author Message
Valery Offline

Posts: 2196
Post: #8521

Come on, I am not an amateur. I am testing on random maps right now.
In fact, I tried also in other mods, setting a message with !#IF:M in instruction is never read. Strange
(This post was last modified: 25.11.2021 13:56 by Valery.)
25.11.2021 13:55
Find all posts by this user Quote this message in a reply
PerryR Offline

Posts: 459
Post: #8522

Valery,

code looks correct,
File is at correct loaction?
does IF:M display in instructions?
try same under PI maybe
25.11.2021 13:59
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4338
Post: #8523

Valery, understand, and nevertheless. Mb, mod isn't activated, or any else. We are all the humans, so it's okay.

Btw i will check too


Image: widget.png?style=banner2

Новейший Heroes 3 Launcher
25.11.2021 15:58
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16500
Post: #8524

I see message. Script is not loaded at all, obviously. F11 will show extracted scripts.


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

Posts: 2196
Post: #8525

I don't know, I am unable to read from ini file, HERE is the mod, should work on any random map.

In game, you have two icons on the minimap, both say mods are not loaded, yet in ini file they are set to 1.

@Edit: I tried in PI too, no result. Tried to place debug messages in other mods, no reaction. Is like the game doesn't read any modifications in erm, first time it happens. Install is good, mods ok, can't think to any obvious cause
(This post was last modified: 25.11.2021 17:30 by Valery.)
25.11.2021 17:23
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #8526

Solved, for some reason erm editor couldn't save properly in another folder than his own game installation.
(This post was last modified: 25.11.2021 19:12 by Valery.)
25.11.2021 19:11
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16500
Post: #8527

Did you use old style ERM Editor? Because Sublime Text 3 (the editor, used in Era), is capable of saving to any place for sure.


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

Posts: 2196
Post: #8528

No, I used sublime, but from another game folder. I payed attention to save in the right folder yet somehow it was not working.
25.11.2021 20:32
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16500
Post: #8529

The full path to file is displayed in window title, recheck:
Image: image.png


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

Posts: 1126
Post: #8530

Hi, I'm looking for a solution of force updating the UI other than SN:D/UN:R after manging the position of buttons.

Here's what I have got.

ERM:

Screenshot:

The problem is, after managing the position of buttons, the screen doesn't get updated (the original buttons should be gone if does). The old buttons are only removed after opening another dialogue (town screen for example). Is there a function to call to immediately update the UI after my edits?

Thanks!

________

And another question, is it true that SN:R doesn't work with file with no exntention?

For example, in GEM, the structure of the DL is defined in srm_gm_rebuild. When I tried to replace it with SN:R, it didn't work.

ERM:

Screenshot:
Image: 687dgog.png


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

Posts: 16500
Post: #8531

We should ask igrik, probably, the first question.
The second question is simple. I've already told daemon_n to not use names longer then 12 characters in lod/pacs, because only the first 12 characters are used by game. Just remind him.


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

Posts: 1013
Post: #8532

Здравствуйте..

Помогите разобраться в скрипте. Он не работает как надо!

Нужно чтобы этот код действовал каждый раунд на всех существ, включая командиров и вызванных монстров, кроме палатки, снарядов, эмиссаров всех, гарнизона (149) и катапульты исключительно только у героя, который носит на себе артефакт «колье неприступности». Всё существа должны получать +2 дополнительных ответки, которые добавляются именно к тем ответкам у существ, что уже имеются у них в арсенале!

Скрипт, который не работает так как надо
; проверка скрипта
- указал на всякий случай, как я проверял работоспособность верхнего кода


Не знаю, но скрипт не работает. Что сделал неверно – не пойму! Четыре дня вожусь и не вижу своей ошибки! Только 1-й раунд срабатывает, а всё что выше 1-го игнорит? В чём может быть ошибка?
!?BRv997>-1; - действует каждый раунд же!
!?BR; - так даже не срабатывает!
Может какое-то условие из тех, что есть какому-либо другому противоречит и поэтому не выходит ничего?
(This post was last modified: 27.11.2021 15:36 by fatsawhorse.)
27.11.2021 15:20
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16500
Post: #8533

В FU5721 нужно использовать x16 вместо x1, самой функции ничего передавать ну нужно. x16 — переменная-счётчик.
Для запрещённых отрядов сразу !!FU:E без изменения переменных.


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

Posts: 1013
Post: #8534

Здравствуйте Berserker

Спасибо Вам за помощь.. 132
(This post was last modified: 27.11.2021 15:33 by fatsawhorse.)
27.11.2021 15:33
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #8535

fatsawhorse, и да, !?BRv997>-1; также ошибочно написано
надо !?BR&v997>-1;


Image: team-supermod.gif
27.11.2021 16:19
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