Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERM help and discussion
Thread: ERM help and discussion This Popular Thread is 407 pages long: 1 50 ... 91 92 93 94 95 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
solitaire345
solitaire345


Promising
Famous Hero
posted August 23, 2011 09:07 AM

Is it possible to get the ID of the stack that I summon with !!BU:S ?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Aleee
Aleee


Known Hero
posted August 23, 2011 09:35 AM
Edited by Aleee at 10:01, 23 Aug 2011.

Store position of the stack, then use !!DO with !!BMx16:P?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted August 23, 2011 03:05 PM

BU:E.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Aleee
Aleee


Known Hero
posted August 23, 2011 04:21 PM

Oh, right. But this way you may never get acquainted with !!DO

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
solitaire345
solitaire345


Promising
Famous Hero
posted August 23, 2011 05:15 PM

Thanks, I didn't notice this command in ERM help. Shame on me..

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
emrysblack
emrysblack


Adventuring Hero
New Hero
posted August 24, 2011 01:10 AM

Is there a trigger for the end of the battle before the battle summary screen? I.E. Say I want to change a creature type when the battle ends before the screen so the screen shows the new type
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted August 24, 2011 03:51 AM
Edited by OxFEA at 03:53, 24 Aug 2011.

Quote:
As i said, it is imperative to know how to remove (or add) these abilities on creatures (and in fact any abiliites in heroes) so that we may be able to edit any creature from scrap.

I may not delete all of those abilities myself. For instance i intend on removing the take soul ability of the Hell Barons and then reinstall it (through stack experience) with a smaller percentage of that happening. That's the gain of all this (to be able to control and edit these abilities at will).

Anyway, i would like to know the commands on removing the other wog creatures special abilities as well. It's the only way to have a choice on what abilities you'll keep and which you'll delete.

Removing all abilities from all WoG creatures is time-wasting. For giving abilities from zero using new creatures (or empty ones from standart) + ERM/plugins will better.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Kegolo
Kegolo


Promising
Famous Hero
of infamy
posted August 24, 2011 04:57 AM

Quote:
Use Era. It has the option to disable grail functionality. Details are written in manual.


What function exactly? I don't want to disable the grail for conflux permanently, just its current ability...

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted August 24, 2011 05:29 AM

ZVSE

!#VRz1:S^Angel.dll^;
!#SN:Lz1/?v2;
!#VRz1:S^SetOption^;
!#SN:Av2/z1/?v3;
!#SN:Ev3/0/2/0; set option "the grail gives all spells" to off


____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted August 24, 2011 02:46 PM

Quote:
Is there a trigger for the end of the battle before the battle summary screen? I.E. Say I want to change a creature type when the battle ends before the screen so the screen shows the new type

!?BG1 + check all left/right side creatures for death.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_of_Light
Hero_of_Light


Responsible
Supreme Hero
posted August 25, 2011 05:00 PM
Edited by Hero_of_Light at 17:18, 25 Aug 2011.

@OxFEA

I think to edit existing creatures is easier than adding completely new ones and start them from scratch. And anyways, the creatures that are already in the game will surely show up in the map and will be encountered one way or another. It's good to be able to modify those encounters... For instance, I would like to know how you can remove the answers twice ability of the Ghost Behemoths? I think it's too much to add in a already powerfull creature...

@ALL

I also would like to know one thing. Is it possible to change a hero's class? I would like to make Mutare Drake a Planeswalker (or Elementalist) hero but i don't know how. I saw that the !!HE command modifies many hero's asspects but i couldn't find anything of the sort.

For instance, i can make mutare Drake to start with Conflux creatures, give her a new name, portrait and specialty but i can't make her look and count as a Planeswalker (or Elementalist). Is it possible to do so?
____________
Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted August 25, 2011 05:30 PM

!!HE#:B2/$;
____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_of_Light
Hero_of_Light


Responsible
Supreme Hero
posted August 25, 2011 06:02 PM

Thanks! It worked.

I needed this in order to add a Conflux exceptional hero (same power as Gelu, Dracon etc). Since Mutare and Mutare Drake are the same i thought that i could make the one of them a Conflux supreme hero.
Thanks again

As for the Ghost Behemoths, how do i get rid of the answers twice ability?
____________
Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
mister_kalu
mister_kalu


Known Hero
posted August 26, 2011 03:15 AM

hello... this is not a wog question. but i can not make a simple topic :S. in my mod I will change all sprites but there is a one type that i can not change with 100% of success... and the type is terrain.. with the "def tool", when you try to change this type.. for example a river type or simply  the sea / water  terrain.. the result is disastrous.. the sprites are immobile.. i don't know why but is very frustrating, including when you add to the lod the same sprites..in the same order.. you lose the image animation.. anybody knows the reason?  

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Kegolo
Kegolo


Promising
Famous Hero
of infamy
posted August 26, 2011 07:28 AM

I'd just like to start off by saying my scripting skills are poor.

I want to do something (anything without an error right now) in battle when creature 206 is the current creature and I left click on another creature stack (that's dead). My script, which breaks, is

!?CM4;
!!CM:S?v891 D?v892; [Get type of click and position of click]

!?BG0; [Before each battle action]
!!BG:N?v894; [current creature stack]
!!BMv894:T?v893; [creature type to 893]
!!FU|v893<>206/v891<>12:E; [exit if not a 206]
!!BG:Ev892?v895; [Get stack at clicked position]
!!BMv895:T?v896; [Get type of creature clicked on]

What's wrong with my code? Thx in advance

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Aleee
Aleee


Known Hero
posted August 26, 2011 10:16 AM
Edited by Aleee at 10:16, 26 Aug 2011.

You don't need to use !?BG0 here. All these actions happen after mouse click, so main part of the script should be executed after !?CM. I'm pretty sure that you can use !!BG:N in !?CM section, so you don't need that !?BG at all.

Also !!CM:S is used rarely, because it's a secondary information. It would be better to use !!CM:F first or instead.

Line !!BG:Ev892?v895; has incorrect syntax, but it doesn't matter since it makes no sense outside the !?BG trigger (where it should be). You probably mixed it up with !!BU:E and the syntax would be !!BUv892:E?v895;

I also suppose you'll need a check for !!CM:D result. If it's not within [0; 186] you'll get an error while checking type of a creature (cause there is no creature).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted August 26, 2011 08:11 PM
Edited by Salamandre at 22:27, 26 Aug 2011.

Please, who can show me how to change fire shield to mass spell?
damnt, I had an example by Bers but icq history got deleted

And if someone had the pleasure of getting endless crashes with DL, please tell me now to change hint txt for a def item inside a function.

!?FU300;
!!VRz1:S^Hint^;
!!DL10:H1/z1;

!?FU301;
!!VRz1:S^It will crash^;
!!DL10:H1/z1;

So far, setting hint txt in template will override any H$/# text. If text in template is left empty, the H$/# hint will display correctly but no way to change it later without instant crash.

Edit: solved second. You don't have to change hint show, but only z var stored text. The DL will read from first function.
____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Kegolo
Kegolo


Promising
Famous Hero
of infamy
posted August 26, 2011 10:33 PM

Quote:
You don't need to use !?BG0 here. All these actions happen after mouse click, so main part of the script should be executed after !?CM. I'm pretty sure that you can use !!BG:N in !?CM section, so you don't need that !?BG at all.

Also !!CM:S is used rarely, because it's a secondary information. It would be better to use !!CM:F first or instead.

Line !!BG:Ev892?v895; has incorrect syntax, but it doesn't matter since it makes no sense outside the !?BG trigger (where it should be). You probably mixed it up with !!BU:E and the syntax would be !!BUv892:E?v895;

I also suppose you'll need a check for !!CM:D result. If it's not within [0; 186] you'll get an error while checking type of a creature (cause there is no creature).


Thanks, sadly still not working. Is there some special parameter or something for !!BU:D? I played a battle and scanned every position for dead creatures (which there were some) and it always returned -1. Does it even work? Sad face.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Aleee
Aleee


Known Hero
posted August 26, 2011 10:54 PM
Edited by Aleee at 23:00, 26 Aug 2011.

I used !!BU:D several times and it worked correctly.
You can check it with a script like this (right mouse click in battle):

!?CM4;
!!CM:F?y1 D?y2;
!!FU&y1<>0|y2>186:E;
!!BU:Dy2/?y3;
!!IF:M^Type:  %Y3^;



 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted August 26, 2011 11:02 PM

y2>186 or it is Heroes I script?
____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 50 ... 91 92 93 94 95 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5023 seconds