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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info 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 354 pages long: 1 40 80 120 160 200 240 280 320 ... 339 340 341 342 343 ... 354 · «PREV / NEXT»
majaczek
majaczek


Supreme Hero
Work at Magic Dimmension
posted December 27, 2017 09:46 PM

Thanks! but it don't allow to enter any town by mouse . Anyway I will know what to do now

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


Supreme Hero
Work at Magic Dimmension
posted December 27, 2017 10:27 PM

since every town have same shape...

Quote:

!?CM5;
!!CM:P?y1/?y2/?y3;
!!OBy1/y2/y3:T?y4;
!_!CM&y4=98:R0;
!!FU&y4<>98:E;

!!VRy99:S0;
!!VRy7:Sy1 +1; !!VRy8:Sy2 +2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1; !!VRy8:Sy2 +2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 -1; !!VRy8:Sy2 +2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 +2; !!VRy8:Sy2 +1;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 +1; !!VRy8:Sy2 +1;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1; !!VRy8:Sy2 +1;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 -1; !!VRy8:Sy2 +1;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 -2; !!VRy8:Sy2 +1;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 +2; !!VRy8:Sy2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 +1; !!VRy8:Sy2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1; !!VRy8:Sy2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 -1; !!VRy8:Sy2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!!VRy7:Sy1 -2; !!VRy8:Sy2;
!!SN:W^Neutral Town %Y7 %Y8 %Y3^/?y98;

!!VRy99&y98<>0:S1;
!_!IF&y99=0:V412/1; // majaczek - prevent locks
!!FU6150&y99<>0:P;
!!FU6151&y99=0:P;




... this worked for me :)

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


Known Hero
posted December 28, 2017 11:00 PM

Guys... How to add description to the hero speciality?
I know that to do so i need to use the..
!!UN:G2/#1/#2/#3;
So...
!#UN:G2/109/2/?<--what should be here? The description?;

A example would make great

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

Tavern Dweller
posted December 28, 2017 11:53 PM

Vlaad said:
Personally, I am dying to get the script which enables Dragon Flies to get back after they strike ( and cast weakness ), just like Harpy Hags do.


I assume you mean w/o the WOG beserker flies option? Because they already have strike and return

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


Admirable
Omnipresent Hero
Wog refugee
posted December 29, 2017 12:41 AM

yeah they have, now. The post you're replying to is from 2003...

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


Admirable
Omnipresent Hero
Wog refugee
posted December 29, 2017 06:56 PM

szaman said:
Guys... How to add description to the hero speciality?


Do you want a custom description, with pics and so? Because then you have to use !!CM1 trigger, click on icon.

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


Known Hero
posted December 29, 2017 08:13 PM

Quote:
Do you want a custom description, with pics and so? Because then you have to use !!CM1 trigger, click on icon.


The icon picture is ready... i what only the description.
Are you sure about !!CM1? In ERM help it's for town screens.

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


Admirable
Omnipresent Hero
Wog refugee
posted December 29, 2017 09:02 PM

CM2 thats it. Example for Valeska (ID=5)

!?CM2;
!!CM:F?v3 I?v4 S?v5; where we click and click subtype
!!HE-1:N?v2; [Get current hero #]
!!FU&v2<>5:E; exit if not Valeska (ID=5)
!!if&v3=512/v4=118:; if right click and specialty icon are clicked
 !!VRz1:S^Under Valeska command, imps are horny^;
 !!IF:Q1/21/42/4^%Z1^; show horny imps and text when right click
 !!CM:R0; disable standard reaction
!!en:;

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


Known Hero
posted December 30, 2017 04:38 PM

@Salamandre
Thanks Salamandre, your knowledge of ERM is always helpful...

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


Admirable
Omnipresent Hero
Wog refugee
posted December 30, 2017 06:17 PM

szaman, you reported you had wrong specialty pic, did you solve it? Because I get it also now, on Roland.
____________
Era II mods and utilities

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


Known Hero
posted December 30, 2017 06:52 PM

Yeah... i have repair it...
From the old version of era i have extracted the Un44.def and make it as a mod and that fixed my problem.

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


Admirable
Omnipresent Hero
Wog refugee
posted December 30, 2017 06:58 PM

ok, so the def was not correctly repacked, thanks.

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


Promising
Supreme Hero
posted January 02, 2018 04:38 PM

I think I have asked for this again in the past but anyway I'll give it a try

Is there a way to make a creature lose its upgrade? I want to make Wolf Riders have no upgrade at all, meaning that their default upgrade will not work and the upgrade button will be gone.

Is that possible?
____________
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 January 02, 2018 08:47 PM

Use the same ID as upgrade?

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


Promising
Supreme Hero
posted January 02, 2018 08:56 PM

That wouldn't make it an upgraded creature, that would just make the upgrade button useless (you press the button, 0 gold is asked and nothing happens).

I was wondering if there's a way to make it work as an upgraded creature even though it's not (and is placed on the non-upgraded slot in Stronghold).
____________
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 January 02, 2018 09:15 PM

I have no idea how to do that.

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


Honorable
Famous Hero
posted January 02, 2018 11:22 PM

Hero_of_Light said:
I think I have asked for this again in the past but anyway I'll give it a try

Is there a way to make a creature lose its upgrade? I want to make Wolf Riders have no upgrade at all, meaning that their default upgrade will not work and the upgrade button will be gone.

Is that possible?

ERA_hooker (I still need to learn syntax) or plugin can do it.

Simple code:
@0x47AADE

if (c->ecx == H3M_CREATURE_WOLF_RIDER)
   c->return_address = 0x47AB3B;
return EXEC_DEFAULT;


You also need another one for hill fort, otherwise you get weird stuff happening with cost and upgradability. It has a few side effects for RMG, I think, however (e.g. creatures in Pandora's Boxes).
@0x47AA5D

if (c->ecx == H3M_CREATURE_WOLF_RIDER)
   c->return_address = 0x47AAA9;
return EXEC_DEFAULT;

____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Promising
Supreme Hero
posted January 02, 2018 11:38 PM

I don't understand, did you make the plugin? If so, can you share it with a download link?

I don't really understand how the script works.
____________
Not idly do the leaves of Lorien fall.

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


Honorable
Famous Hero
posted January 02, 2018 11:40 PM

Of course.
It's not as portable for sharing as translating into ERM however.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Promising
Supreme Hero
posted January 02, 2018 11:55 PM

Yeah, I was actually asking about it from a more academic point of view to be honest, since I think this knowledge might come in handy for other modders as well (I am not entirely sure if I will use it myself but I really want to give it a try).

I am guessing that this can be parametrized in the same way to make any creature upgraded right?

In any case, thank you very much for your time! I really appreciate it!
____________
Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 354 pages long: 1 40 80 120 160 200 240 280 320 ... 339 340 341 342 343 ... 354 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1563 seconds