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 ... 55 56 57 58 59 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted May 06, 2010 07:34 PM

On any creature's turn beholder's ray color is choosing randomly from red, orange, yellow, green, blue, deep blue, purple.

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


Supreme Hero
posted May 06, 2010 08:14 PM

Oh, . I have a feeling, that with this "UN:C", you are able to do almost anything .
____________

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

Promising

The Nothingness
posted May 15, 2010 04:46 PM

How to erm so that a hero will only get +attack or +defense when leveling up?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted May 15, 2010 06:46 PM

!?HL-1;
!!VRi:S0 R1;
!!HL:Si/d/d;
____________
Era II mods and utilities

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

Promising

The Nothingness
posted May 20, 2010 06:19 PM

Thanks alot!

Okay, so I tried changing the Dragon Utopia .. first I managed to remove all relics and experience bonus from it for some reason then I crashed my game. Also, does that script change all Utopias, or is there a way to fix just one?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted May 20, 2010 08:08 PM

To change only one, you have to disable it first (S at coordinates) and script it with custom values, as a new object.
____________
Era II mods and utilities

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


Adventuring Hero
posted May 29, 2010 09:05 PM
Edited by pdesbois at 00:54, 30 May 2010.

ERM error message

Well, I have that erm_s file that (I think) contains whats needed to use some features. Itried to use it on a map, and no matter where i place it (Heroes folder, Data folder or 's' folder), i get the messagge "EOSError in module H3WMapEdPaych.dll at 0000R709" System Error Code 2  when trying to open Script or Master Script.

I wanted to give it a try - but really for the time being, all I wanted was to enable Market of time *withouy* it replacing the objects (Garden, etc...).

Am I missing  something ?

thxx - p

EDIT: Let me be a bit clearer. When I said "without it replacing the objects (Garden, etc...)" I meant without enabling that wog option that turns ALL Mystic Gardens, Imp Caches, etc... whatever is suggested as object replacement. I thought it would be as simple as placing *one* say imp cache on the map and setting on its wog properties the Market of Time option...

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


Promising
Famous Hero
feanor on DF2.ru
posted May 30, 2010 06:03 PM
Edited by OxFEA at 18:11, 30 May 2010.

Two function for working with "special ability" button:

_____________________________________
!?FU3000; [x1 - hook func number]
[del checks]
!!UN:C6241623/4/2425393296;
!!UN:C6241627/2/37008;

!!UN:C6241637/4/2425393296;
!!UN:C6241641/2/37008;

[set hook]
!!UN:C5894083/1/104;
!!UN:C5894084/4/x1; [erm-func num]
!!UN:C5894088/4/1959669944;
!!UN:C5894092/4/2211512064;
!!UN:C5894096/4/2425357508;

!?FU3001;
[restore original code]
!!UN:C6241623/4/11896079;
!!UN:C6241627/2/0;

!!UN:C6241637/4/10980879;
!!UN:C6241641/2/0;

!!UN:C5894083/1/81;
!!UN:C5894084/4/3431369867;
!!UN:C5894088/4/1392509011;
!!UN:C5894092/4/4100136936;
!!UN:C5894096/4/138775039;
_____________________________________
So,
!!FU30003002; - add this button to all units, on click run !?FU3002;
!!FU3001; - restore original code (disable button for all creatures except Fairy Dragon)

Also:
_________________
[button fix]
!#UN:C6241781/1/236;
!#UN:C6241786/1/74;
for more accurate drawing.
_________________
Addresses for changing the button's look:

for Box46x32.pcx (underbutton image)
5F3D9Fh - y-coord (4 áàéòà)
5F3DA4h - õ-coord (1 áàéò)

for button:
5F3DE7h - def-name pointer (dword).
5F3DF5h - y-coord (dword)
5F3DFAh - x-coord (byte)
5F3DE0h - pressed flag (0/1, byte)
_________________
Tested on ERA1.6; may be, it doesn't working on WOG358.

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


Adventuring Hero
posted May 30, 2010 08:53 PM
Edited by pdesbois at 20:55, 30 May 2010.

Almost getting Scripts to run.

My example is script09 Market of Time.

- So, I placed the object MoT beside a castle;
- Opened the script09 erm (not the .ert) with the Text Edit tools u guys suggested;
- tried using 'Word Rap' to see if it got rid of the 'spaces' that were mentioned we had to rid off;
- copied the entire text into a text editor, to delete those spaces (find-replace with no spaces).
- saved thie result into day 600 timed-event.

Got this Syntax error message for the line:

Sx1/?v50;

refers to something like

[Checksecondaryskillnumber,storehero'slevelinv50]

If anyone can point me wher I made the mistake, I believe I can deal with the rest

Thjx -p

EDIT: btw, still when i open wog map editor andtry to open ERM Script or Master, there is an error message.

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

Promising

The Nothingness
posted May 30, 2010 09:37 PM

Is there a way to create an object where you can fight a number of specific creatures each week, the number doubling every week ... or something like that?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted May 30, 2010 10:03 PM

Let's say the object is at 10/10/0 coordinates:



ZVSE

!#VRv6051:S10; set first number of rogues
!#TM80:S8/999/7/255;  all players every week
!?TM80;
!!PO10/10/0:N0;

!?OB10/10/0;
!!PO998:N?v1;
!!IF&v1=1:M^Come next week^;
!!FU&v1=1:E;
!!IF:M^Here you will fight 10 rogues the first week, 20 the second week and so on^;
!!FU160:Pv6051;
!!PO10/10/0:N1;

!?FU160;  x1= number of rogues
!!HE-1:T10/10/0/143/x1;
!!HE-1:O?v1;
!!FU&v1<0:E;
!!VRv6051:*2; set next number of rogues (+%100)

However with this kind of time triggers the same bug as in emerald tower script will occur, that means you will be able to do the fight on the second day of the week as well. It needs another time trigger to be sure the second day the PO998 is still set.



____________
Era II mods and utilities

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

Promising

The Nothingness
posted May 30, 2010 10:16 PM
Edited by wog_edn at 22:31, 30 May 2010.

You a script like that in just a few minutes? Wow... Well, gonna test now to see if I managed to change it! For some reason numbers and codes and stuff have always confused me, tried hard learning ERM but never managed to. Too bad really... could have made so much better maps.


Hm ... the number didn't double. Faced two AA evvery time I challenged, after winning.

ZVSE

!#VRv6051:S1;
!#TM80:S8/999/7/255;
!?TM80;
!!PO72/33/1:N0;

!?OB72/33/1;
!!PO998:N?v1;
!!IF&v1=1:M^Come next week^;
!!FU&v1=1:E;
!!IF:M^The Arch Angels of Olympus will accept the challenge of any Hero, prepare for battle!^;
!!FU160:Pv6051;
!!PO72/33/1:N1;

!?FU160;
!!HE-1:T72/33/1/13/2;
!!HE-1:O?v1;
!!FU&v1<0:E;
!!VRv6051:*2;


____________

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


Admirable
Omnipresent Hero
Wog refugee
posted May 30, 2010 10:49 PM

Quote:

!?FU160;
!!HE-1:T72/33/1/13/2;
!!HE-1:O?v1;
!!FU&v1<0:E;
!!VRv6051:*2;


Of course it did not double if you change my script:P

Must be :

!!HE-1:T72/33/1/13/x1;

and not:

!!HE-1:T72/33/1/13/2;
____________
Era II mods and utilities

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

Promising

The Nothingness
posted May 30, 2010 10:53 PM

Aaaaahhh ... thought I should set the number of AA where the x1 were. Man I am stupid Well, hopefully it'll work better now!
____________

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


Adventuring Hero
posted June 01, 2010 03:22 PM

Syntax Error now gone - problem solved (?)

Great Odin... I mentioned a syntax error above, that was preventing me from running a specific script.

Believe it or not, I did NOTHING since my last map update and now Market of Time is workin 100% (for the very first time!).

... (btw, did THAT syntax error message mean anything at all to any of you? I am really puzzled.)

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

Promising

The Nothingness
posted June 03, 2010 01:35 AM

Is it possible to have Town Portal send the Hero to a specific coordinate instead of a town? Possibly send it to a One way portal exit.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted June 03, 2010 08:36 AM

!?MG1;
!!VRy-10:Sv997; **store spell selected in v997
!!FU&y-10<>9:E; **leave if not town portal casted
!!HE-1:Px/y/z; send hero at x/y/z

This will work for all heros, so you would need to check who is casting first to avoid being all the game at x/y/z as soon as an AI casts TP. It would be also better to replace TP with water walk for example to avoid the Hero being teleported to town before jumping to new location.

If you browse other WoG maps you will find all scripts you need, too...they were already done.
____________
Era II mods and utilities

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

Promising

The Nothingness
posted June 03, 2010 02:36 PM
Edited by wog_edn at 15:34, 03 Jun 2010.

There aren't any town owned on the map, so town portal can't teleport back to town. Thanks alot! Then I will look through the huge map-pack I downloaded to see what I find.

Also, non-related to ERM. When I attack a stack containing Wolf Raiders there aren't any number of Wolf Raiders and the game crashes. (will post picture later on maybe). Any idea what that could be all about?


----------



Edit: Creating an object where you can buy creatures directly from all your dwellings, would that be possible? Dwellings are spread so far apart that it would take ages to buy everything.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted June 03, 2010 03:43 PM

If you talk about external dwellings, it would be long and complicate. Kinda summoning stones script, but for adventure map, not owned towns.
____________
Era II mods and utilities

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

Promising

The Nothingness
posted June 03, 2010 03:52 PM

Yeah, figured as much ... hm ... oh well, I'll drop it then.

Happen to remember where I can find the script to have dwellings accumulate creatures?
____________

 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 ... 55 56 57 58 59 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1377 seconds