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

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

Posts: 16657
Post: #2956

Check !?MR2 event triggered by dispell on mouse over stack


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

Posts: 2196
Post: #2957

Can't. Enemy stack is not affected by dispel without water skill, so mouse cursor does not change, no trigger, no cast.
08.10.2014 21:44
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2958

Tried?


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

Posts: 7107
Post: #2959

What if you give the hero adv. water magic before the cast and restore it after the cast?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
08.10.2014 22:21
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2960

Ah, you mean change cursor on mouse hover, set a flag if enemy creature under, trigger this if dispel is cast? That's way too complicate for a feature a guy asked, and will not work properly. If none of our creatures have a spell applied, clicking on dispel will trigger the "spell can not be cast" message, before you close the book.

I was trying to change the regular flags.

gamecreator

I just experimented a bit at Kalu's request, in HC. Kalu is the author of succession wars mod, and asked explicitly if dispel without water can work on enemy. Looks like is too complicate and asking works around.
(This post was last modified: 08.10.2014 22:26 by Valery.)
08.10.2014 22:24
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2961

Did you actually try adding water magic? Did he said he tried?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
09.10.2014 00:03
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2962

Quote:in other words friendly and enemy destination. no mass, no own stacks without change the hero water magic skill between the actions

He asked precisely without changing the skill. Now up to him.
(This post was last modified: 09.10.2014 00:27 by Valery.)
09.10.2014 00:24
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2963

005A844E E98700000090
There, a binary patch. It disables any checks for Dispel. You can cast it any time at anyone. I suppose if I looked closely I would have found where it checks for water magic, but I didn't look. Maybe someone else would.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
09.10.2014 00:38
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2964

Unfortunately, I have no clue how to make UN:C or plugins, from such received data. Then I suppose he needs the reversed code as well, to have dispel dependent of water too, no idea.
(This post was last modified: 09.10.2014 00:53 by Valery.)
09.10.2014 00:51
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #2965

You have to somehow apply Tools\BinMagic to it. You will get a file. Place this file into an AfterWog folder of your mod.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
09.10.2014 01:17
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2966

!!UN:C5932110/4/34793 C5932114/2/36864;


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

Posts: 2196
Post: #2967

Thx both, is perfect.
09.10.2014 01:47
Find all posts by this user Quote this message in a reply
Shiva Offline

Posts: 122
Post: #2968

Как на случайный артефакт в редакторе например (ботинки), поставить заклинание скрипт защита от слепоты, также как на артефакте брелок ясновидения, который весит на шее.
09.10.2014 18:08
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3881
Post: #2969

(09.10.2014 18:08)Shiva Wrote:  Как на случайный артефакт в редакторе например (ботинки), поставить заклинание скрипт защита от слепоты, также как на артефакте брелок ясновидения, который весит на шее.

Можно на время боя подменять артефакт.


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
09.10.2014 18:53
Visit this user's website Find all posts by this user Quote this message in a reply
Shiva Offline

Posts: 122
Post: #2970

(09.10.2014 18:53)Algor Wrote:  Можно на время боя подменять артефакт.

Мне нужно чтобы на шее висел Брелок смелости, который дает +3 к лидерству и +3 к удаче, а сапоги или плащ давали защиту от ослепления. Компьютер постоянно слепит и слепит не используя др заклинаний.

Как вообще запрограммировать пустой артефакт? Установить в него стандартные свойства от обычных артефактов.
09.10.2014 19:54
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