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 Question...
Thread: ERM Question...
e-lysander
e-lysander


Known Hero
Lysander
posted February 08, 2011 08:54 AM

ERM Question...

Hi, I'm new to ERM.

My first question is this: Do I have to learn the ERM language to be able to do things like changing town creature line-ups?

Second, if yes to above, how do I put an ERM script in the game?


Thanks in advance.

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

Tavern Dweller
posted February 08, 2011 02:43 PM
Edited by Fazermint at 14:44, 08 Feb 2011.

Hey and welcome (I'm new too)

The way you make a script work is quite simple. You copy the script to your wog installation

\WoG\Data\s

As far as I know that's all it takes to permanently activate a script for all games you play.
____________

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


Adventuring Hero
Current Russian Peasant
posted February 08, 2011 03:26 PM
Edited by Al_Mualim at 15:32, 08 Feb 2011.

If you want to give your ERM script to the map, you must write new time event. Write ZVSE and under  it write your ERM scripts.
The script that you want you can find in ERM Help:
Quote:
MA:O#/$;

Monster # (Format C) belongs to Castle $ type (Format T).
Note: a value of -1 means "neutral" (no town type).


So, if you want that Pikemen belong to Inferno, you mus write:
!#MA:O0/3;

But thi script sets only town where your creature belongs. But, script for recruit creatures in towns is too in ERM Help:
Quote:
UN:T#1/#2/#3/$;
Set a type of monster to hire in towns.
  #1 - Type of a town (0...8) (Format T)
  #2 - Dwelling level (0...6)
  #3 - Basic (0) or upgraded (1)
   $  - Type of monster to hire (Format C)


Also, if you want to recruit Pikemen in Inferno instead of Imps, your ERM script will look like this:
!#UN:T3/0/0/0;

You can fin ERM tools, which includes ERM Help, here.

Sorry for my bad English
____________

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

Tavern Dweller
posted February 08, 2011 04:57 PM

Does that mean that the way I explained only works for random generated maps?

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


Known Hero
Lysander
posted February 08, 2011 04:59 PM
Edited by e-lysander at 16:59, 08 Feb 2011.

Thanks for the response, FazerMint and Al_Mualim.

So are ERM scripts map-specific only?

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

Tavern Dweller
posted February 08, 2011 05:16 PM
Edited by Fazermint at 17:20, 08 Feb 2011.

My way works for random maps that you generate inside the game or specific maps that you pick from the list again inside the game.

Oh so if you want your erm changes to work for whoever plays your map even if your not host of the game then it has to be created by using timed events?

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


Known Hero
Lysander
posted February 08, 2011 05:27 PM

Thanks, but... what am I supposed to do with a .WOG file?

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


Honorable
Legendary Hero
the reckoning is at hand
posted February 08, 2011 05:35 PM

wog files are rar files with renamed extension,you must put them into your update folder and run Update.exe to install it
____________

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


Known Hero
Lysander
posted February 08, 2011 05:45 PM
Edited by e-lysander at 17:45, 08 Feb 2011.

Quote:
wog files are rar files with renamed extension,you must put them into your update folder and run Update.exe to install it


Thanks! That worked.


This is all very confusing... I know  can find this information elsewhere, but honestly the help files and info sites I've found are just awful and don't explain how you execute a script in the game.

I tried out the script ZVSE !!#UN:T3/0/0/0; and put it in my S folder and nothing happened.

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


Known Hero
posted February 08, 2011 08:44 PM

Probably the easiest way is to insert your script in the end of some erm*-file which already exists. Just make sure that this particular script is enabled in your wog-options.

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


Admirable
Omnipresent Hero
Wog refugee
posted February 08, 2011 09:07 PM

Quote:
but honestly the help files and info sites I've found are just awful and don't explain how you execute a script in the game.



It's like someone who never read a book trying to write one. Open a damnt wog map and look where the scripts are and what settings they use.
____________
Era II mods and utilities

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


Known Hero
Lysander
posted February 08, 2011 09:11 PM
Edited by e-lysander at 21:11, 08 Feb 2011.

Quote:
Quote:
but honestly the help files and info sites I've found are just awful and don't explain how you execute a script in the game.



It's like someone who never read a book trying to write one. Open a damnt wog map and look where the scripts are and what settings they use.


Haha, something like that.

Thanks for that suggestion, hadn't thought of that.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0571 seconds