|
|
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
|
|
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 :)
|
|
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
|
|
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
|
|
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...
|
|
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.
|
|
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.
|
|
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:;
|
|
szaman
Known Hero
|
posted December 30, 2017 04:38 PM |
|
|
@Salamandre
Thanks Salamandre, your knowledge of ERM is always helpful...
|
|
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
|
|
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 30, 2017 06:58 PM |
|
|
ok, so the def was not correctly repacked, thanks.
|
|
Hero_of_Light
Responsible
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 02, 2018 08:47 PM |
|
|
Use the same ID as upgrade?
|
|
Hero_of_Light
Responsible
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 02, 2018 09:15 PM |
|
|
I have no idea how to do that.
|
|
RoseKavalier
Admirable
Supreme 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
|
|
Hero_of_Light
Responsible
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.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted January 02, 2018 11:40 PM |
|
|
|
Hero_of_Light
Responsible
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.
|
|
|