Current time: 23.11.2024, 03:32 Hello There, Guest! (LoginRegister)
Language: english | russian  

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

Posts: 7107
Post: #4096

Если вариант выше не подходит, можно через SN:E по типу существа и опыту или для конкретного отряда. Первое проще, потому вопрос: важно ли здесь как именно получать? То есть могут ли у отряда быть другие ранги, чем у существ его типа?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
13.07.2016 11:16
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3881
Post: #4097

gamecreator, по типу существа и опыту, думаю, будет достаточно. Во всяком случае, я не помню опций, которые добавляли бы бонусы непосредственно отрядам. Хотя такое и не исключено, конечно.
А подправить EA:E нельзя? Rolleyes

Valery, not usable for neutral/without hero monsters...


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
13.07.2016 13:47
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4098

(13.07.2016 13:47)Algor Wrote:  А подправить EA:E нельзя? Rolleyes
"Подправить" нельзя, она немного наркоманская. Модификатор там учитывается только при установке опыта, да и вообще она совсем иначе работает, чем HE:C. Там править надо кардинально.


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

Posts: 2196
Post: #4099

And how could I make it work? 36
13.07.2016 17:01
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4100

What? But it works, I just checked.
Or do you mean how to compile it into bin file?


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

Posts: 2196
Post: #4101

Ah thanks for link, forgot about.
13.07.2016 19:35
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3881
Post: #4102

gamecreator, все работает, спасибо! 132


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
13.07.2016 23:13
Visit this user's website Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #4103

ох, как вспомню, как я голову ломал для этих целей в TE, прям золотые годы молодости )))

код из эмулятора Гавани (Click to View)
13.07.2016 23:15
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4104

bugyboy, слава воговским исходникам! 96-copy


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

Posts: 2196
Post: #4105

Please what is wrong in this script? I want left click on specialty icon to open dialog. After closing the dialog, next click in Heroes screen will again open the dialog, and only after that it is ok.

15.07.2016 01:34
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4106

What does CM:S say each time?


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

Posts: 2196
Post: #4107

118, is weird. Now I added to check CM:S too and it says 118 at each click but now it does not even open the dialog.

Edit: oops, my eyes are tired, typed wrong values. Added CM:S check, now it works fine, thanks

I have another question, it there a possibility to redraw screen in DL dialog? My text doesn't change (hint) unless I hover mouse on and out.
(This post was last modified: 15.07.2016 02:24 by Valery.)
15.07.2016 02:20
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4108

If you are calling DL:A, the fourth argument is redraw control. 1 = redraw.

Otherwise


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

Posts: 2196
Post: #4109

I use 1 by default, and your code does nothing Bad

Everything redraws correctly except hints (DL$:H).
Here is what I talk about: when I click on + button, it buys casts and in next screen you see that casts number is incremented, as this is not hint coded, but item text coded (DL:A). However in the hint dialog, at bottom (DL:H), nothing changed in text unless I move the mouse on and off the + button. Because the price increments with each purchase and a function runs and sets the new price.

I think I should have coded it differently and use the price update in a window coded as text item -and not in the hint window which is unique to each dialog. It seems that hint can't be updated so easily.
(This post was last modified: 15.07.2016 15:13 by Valery.)
15.07.2016 14:39
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4110

Does this work?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
15.07.2016 20:50
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