*тут было сообщение Valery*
Дико извиняюсь, нажал правку вместо цитаты и по привычке "цитату" стер
Что-то помнится мне, что без 512 флага (заклинание урона), сферы бонуса не дают. Ты перепроверь на всякий случай.
А лучше - добавь флаг и убери мины и огнестену из скрипта вообще.
ok, moved land mine and fire wall to damage spells, removed them from bla bla thing, updated script. Should I make ert or this is fine?
Конечно, лучше ert. Хотя и не принципиально.
И еще: правильнее было бы брать исходное описание и добавлять к нему недостающую числовую информацию в конце отдельной строкой, как это происходит с заклинаниями урона.
Так и текста меньше получится и нагляднее будет (числовой показатель в конце описания, а не в середине где-то).
Is not in middle of nowhere, it replaces the vague "a fixed number" for the english version. I think the description is clear now, if I add numbers after the text says "a fixed number" it will be more confuse.
>For example:
{Land Mine}
Randomly places four small areas of landmines on the battlefield which are only visible to the caster and creatures native to the terrain. It inflicts damage to any unit walking over it.
is replaced with:
{Land Mine}
Randomly places four small areas of landmines on the battlefield which are only visible to the caster and creatures native to the terrain. It inflicts %Y11 damage to any unit walking over it.
Which is the exact original formulation but with the damage value.
How the hell are those ert files working?
I added in enhanced artifacts.ert one more column (after z171025), added description, and coded in erm file
!!UN:A170/9/z171026;
!!UN:A170/10/z171026;
and ofc error (1-1000 z vars) but I see people do it every time. Where is my error? And how do I know that z171026 isn't used by another ert file?
String variables passed to UN:A and most other name-changing functions become (permanently) bound to the corresponding ingame value. That's why it doesn't accept ert vars. Use Era 2.47 syntax for name changing instead.
To check if a ert variable is defined, you can get its value. If the value is "String was not found.", then this ert variable is not defined anywhere.
Thanks, got it.
Some user complained in HC that the two new combos (vestment of authority and Garb of the Forest Lord-enhanced artifacts.erm) don't compile as other combos. And indeed the scripter forgot (or did it on purpose) to finish the code and add the combo stack feature, which creates locked slots.
To fix this is easy so I wanted one more z var in ert as there are a lot already used in that ert script. but ok I can use a quick var too.
Bersy, should I fix this script or let it as it was? I can fix it by adding a quick z var if the combo is clicked, all it lacks is:
!#UN:A13/170/66/67/68; new combo is created from 66-68 artifacts and represented by art 170 (horn)
!#UN:A170/2/2; horn is set on shoulders
Then description if right-clicked. Should I do it?
Never heard of this combos. Yes, you can.
Ok I just checked and GoW (Hero of light mod) uses all 161-170 artifacts for new combos visuals, so this lets me 0 choices for new combos + compatibility. And if I use any of those, then his mod will become not compatible with wog mod. So better I don't touch.
Hard to fix anything in WoG mod when so many other mods depend on.
Right you are. But you may release WoG Revised and get rid of that "compatibility". Or better WoG Alt, based on WoG.
Not worth the time spent. It is not even an error, so I won't invent the wheel again just to satisfy one user. If it was a fast possibility, okay; but like that, no.
Всем здравствуйте! Я только учусь писать ERM, и у меня тут вышла небольшая заминочка: Вот я написал маленький скриптик, на то что - когда герой входит в координаты 138/142/0 то активируется этот скрипт! Вроде всё хорошо, но! Этот скрипт активируется КАЖДЫЙ РАЗ когда герой входит в эти координаты, как сделать чтобы скрипт срабатывал только один раз? (Если что могу кинуть скрипт)
MegaPeasant,используйте флаг для дезактивации действия при повторном посещении.
я бы вам дал пример, но для начала лучше укажите в какой версии игры вы используете скрипт? wog3.58f,era2?
Bes, я незнаю как проверить мою версию

, но если у меня старая вы бы могли мне дать ссылку на скачивание героев 3.58wog! А что такое era2 я вообще незнаю

. Но вроде у меня 58!