|
|
JimV
Responsible
Supreme Hero
|
posted January 22, 2013 06:00 PM |
|
|
I forgot about the WoG Settings option to enable all extension Heroes (some are enabled by default, some aren't) - sorry.
To clarify my position, these are the extension Heroes which are disabled by default in the Map Editor: Catherine, Roland, Gelu, Dracon, Xeron, Mutare, Mutare Drake, Boragus, and Adrienne. If one does not want an unbalanced map (but does want to wogify), I don't see why one doesn't unclick the WoG setting. This will only remove 9 Heroes out 156. Starting G/D with some (unspecified) other specialties until level 10 seems more trouble than it is worth to me.
Of course, people are free to read ERM Help (in particular the !?HL and !!HE#:X commands) and do anything they want.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 22, 2013 06:05 PM |
|
|
Quote: Starting G/D with some (unspecified) other specialties until level 10 seems more trouble than it is worth to me.
The whole Sagamosa mod works that way, specialties change every 5 levels after the 5th, for every class. The idea is not that bad, if there is some logic (and proper descriptions) behind.
____________
Era II mods and utilities
|
|
JimV
Responsible
Supreme Hero
|
posted January 22, 2013 07:03 PM |
|
|
Well yes, and I have seen other general cases also, such as one in which a Hero's specialty can be chosen when it is recruited from a Tavern, and an object where Heroes can change specialties for a fee, but I was talking about the specific case of altering two Heroes only (Gelu and Dracon) from some unspecified starting specialties to their normal specialties at level 10, only to make a random map more balanced. Nor do I claim that what is not worth doing (vs. the alternatives) to me might not be worth doing to someone else (but then they should do the work). (Or they could find several other people to second the request, in which case it becomes worth doing based on the greatest good of the greatest number.)
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 22, 2013 07:19 PM |
|
|
If it was me, I would only apply penalties for special heroes and set them start with regular troops: -500 gold/turn for Gelu/Drakon, costs raising every next week. You can still make profit later from using them, but the special upgrades early game will be harder.
____________
Era II mods and utilities
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted January 22, 2013 10:20 PM |
|
|
While checking new VCMI artifacts I saw one called Book of Dead, the description says it gives expert Animate Dead and Death Ripple when equipped. Now from what I've read in Erm help, if I'm not mistaken, with ERM you can give a hero any spell, you can give a hero any skill at expert level, yet, if hero has no Expert Earth Magic, you can not give him expert Death Ripple. So is this something that can only be done with VCMI's coding or is there actually a way to give specific spells at expert level to heroes with ERM even if they lack required secondary skill?
|
|
OxFEA
Promising
Famous Hero
feanor on DF2.ru
|
posted January 22, 2013 10:54 PM |
|
|
Quote: is there actually a way to give specific spells at expert level to heroes with ERM even if they lack required secondary skill?
No. Now, at least.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 22, 2013 11:01 PM |
|
|
Expert level means mass effect for some spells, which is a simple flag to change (SS:F). It can be combined with increased effect to simulate expert (slow, haste, prayer). Others have unique specificity as resurrect, animate dead and blind, which can be achieved only by giving temporary skill expertise in that battle.
____________
Era II mods and utilities
|
|
Siegfried
Famous Hero
|
posted January 23, 2013 08:38 AM |
|
|
Interesting. My documentation says nothing about SS:F. Is there any actual and/or complete documentation (the so often mentioned erm help)?
You can make the hero (or a creature) cast whatever you want at any level you want, if you code it manually. It does not mean that then the hero has this spell or this expertise, casting spells this way with erm is kind of "out of order". But it can be done.
Also possible is: Don't cast the spell, just show the appropriate animation and do your things with erm, may it be applying some damage, healing, or whatever. If you want to cast the hero a spell that lets him win the battle (or even the game) ...
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 23, 2013 11:47 AM |
|
|
SS is only Era available. You can manipulate any spell with and give increased effect (in tew 4 slow reduces speed by 10 for example, fire shield is mass etc)
____________
Era II mods and utilities
|
|
Bersy
Honorable
Supreme Hero
|
posted January 23, 2013 02:54 PM |
|
|
To be more correct, SS command was added in h3te executable. WoG compiled in 2005 for tournaments.
|
|
Hawaiing
Adventuring Hero
|
posted January 24, 2013 07:41 AM |
|
|
Can we make a hotkey to open commander screen (like [F2]) ?
(On Hero Screen)
Or how to show commander screen by using ERM script?
____________
|
|
EMPShockwave
Hired Hero
|
posted January 24, 2013 12:18 PM |
|
|
It is known that some WOG maps can pop strange dialogs if play in ERA. Why does that happen? How to fix that?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 24, 2013 12:42 PM |
|
|
Multiple exclamation signs, you must delete them from scripts. For example, death chamber script for wog 3.58 had this inside:
*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*MAJOR THANKS TO TIM PULVER (a.k.a. "Fnord"), STEVE HANNA, ARSTAHD, AND TO ANYONE ELSE
*WHO HELPED ME IN MAKING THIS SCRIPT POSSIBLE!
*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Era will consider any !!! or more as an error. The maximum allowed are two, which is the code for a receiver.
!![...] : correct
!!!!!![...]: not correct.
However, it will not stop scripts from working, is just an annoying pop up message, on start and on every reload.
____________
Era II mods and utilities
|
|
Bersy
Honorable
Supreme Hero
|
posted January 24, 2013 01:44 PM |
|
|
Quote: Can we make a hotkey to open commander screen (like [F2]) ?
For what WoG version?
|
|
OxFEA
Promising
Famous Hero
feanor on DF2.ru
|
posted January 24, 2013 01:50 PM |
|
Edited by OxFEA at 13:50, 24 Jan 2013.
|
Quote: Or how to show commander screen by using ERM script?
(c) MoP
Quote:
!?FU@FunctionNumber@;
; x1: hero ID
; x2: 0 - common dialog, 1 - like at leveling
; x3: presence of OK button: 0 - present, 1 - absent
; x4: result [0 - common result, -1 - commander dismissed]
!!VRy1:Sv1;
!!VRx1:*296+42344640;
!!SN:E7775342/2/x1/x2/x3/0;
!!SN:E7812840/1/42337496;
!!VRx4:Sv1;
!!VRv1:Sy1;
|
|
Hawaiing
Adventuring Hero
|
posted January 25, 2013 02:41 AM |
|
|
Quote:
Quote: Or how to show commander screen by using ERM script?
(c) MoP
Quote:
!?FU@FunctionNumber@;
; x1: hero ID
; x2: 0 - common dialog, 1 - like at leveling
; x3: presence of OK button: 0 - present, 1 - absent
; x4: result [0 - common result, -1 - commander dismissed]
!!VRy1:Sv1;
!!VRx1:*296+42344640;
!!SN:E7775342/2/x1/x2/x3/0;
!!SN:E7812840/1/42337496;
!!VRx4:Sv1;
!!VRv1:Sy1;
amazing, it works. thanks a lot.
____________
|
|
Hawaiing
Adventuring Hero
|
posted January 25, 2013 02:36 PM |
|
|
Can I use ERM creature numbers to call the dialog of "creatures status"?
[creature's property screen]
sorry for my broken english.
____________
|
|
Bersy
Honorable
Supreme Hero
|
posted January 25, 2013 03:46 PM |
|
Edited by Bersy at 15:47, 25 Jan 2013.
|
!?FU70003; OPEN CREATURE FROM HERO SLOT WINDOW
; © Master Of Puppets
; Convention - thiscall
; x1 = 0
; x2 - object number(?): HE:N
; x3 - slot
; x4 - Dismiss button: 1 - present, 0 - absent
; x5 - close the dialog on mouse release: 1 - yep, 0 - nope
!!UN:C6933756/4/?y5;
!!OW:C?y2;
!!VRy1:Sy2*360;
!!VRy5:-y1;
!!UN:C6919480/4/?y10;
!!if&x1=0;
!!HE-1&x2=-1:N?x2;
!!VRy1:Sx2*1170+y5+3041;
!!VRy3:Sx3*4+y1;
!!UN:Cy3/4/<0;
!!FU&1:E;
!!VRy3:Sy1-145;
!!SN:E5007632/2/y10/y1/x3/y3/0/119/20/x4/x5;
!!en;
|
|
Hawaiing
Adventuring Hero
|
posted January 26, 2013 03:06 AM |
|
|
Quote: !?FU70003; OPEN CREATURE FROM HERO SLOT WINDOW
; � Master Of Puppets
!!UN:C6933756/4/?y5;
!!OW:C?y2;
!!VRy1:Sy2*360;
!!VRy5:-y1;
!!UN:C6919480/4/?y10;
!!if&x1=0;
!!HE-1&x2=-1:N?x2;
!!VRy1:Sx2*1170+y5+3041;
!!VRy3:Sx3*4+y1;
!!UN:Cy3/4/<0;
!!FU&1:E;
!!VRy3:Sy1-145;
!!SN:E5007632/2/y10/y1/x3/y3/0/119/20/x4/x5;
!!en;
so thankful for Bersy's support.
It works well in hero screen.
And I found some similar scripts in MoP,just enter a creature's number to open status screen.
Could ERA do the same thing?
------------------------------
!?FU30371&v998=36/v999=6670/v1000=13;
!!VRz1:S^^;
!!UN:C5894102/1/1;
!!DL36:A14/3/z1;
!!UN:C5894102/1/0;
!!VRz2:Sz1 H1;
!!FU&-1:E;
!!SN:E7544613/2/z2;
!!VRv2:Sv1;
!!SN&v2>-1:G14;
!!VRv2:Vz2;
!!IF&v2=0:M1/100057;
!!IF&v2>=227:Q1/37/10/1/100058;
!!FU|v2<0/v2>=227:E;
!!UN:R5/0/0;
!!SN:E7547924/1/v2/119/20/1/0;------->>like this?
------------------------------------
____________
|
|
EMPShockwave
Hired Hero
|
posted January 27, 2013 10:49 AM |
|
|
How to get a hero's current coordinates? I tried UN:U, but it doesn't work.
|
|
|