|
Thread: Asking for ERM help... | |
|
Holy_Servant
Tavern Dweller
Can servants even be holy? :P
|
posted December 07, 2014 06:37 PM |
|
|
Asking for ERM help...
Hello.
I am currently making a map with the latest version of ERA 2 and I plan on adding some ERM scripts. However I'm really bad at it and it's really hard for me to understand, so I would really appreciate if anyone would:
- Explain ERM to me as detailed as possible (As if you were explaining to a baby).
- Write me the following scripts: turn a monsters/objects properties into a seer's hut, teleportation from one place to another, disappearance/appearance of an object after a quest/monster defeated etc., have a creature dwelling other creatures for hire.
I am not demanding any of this, just asking for help.
P.S. I know some of the basics of ERM like triggers, receivers etc. I'm just not exactly sure when to place them.
Thanks in advance!
____________
Hero of Light mod - Best HoMM
3 mod EVER!!!
|
|
kicferk
Known Hero
|
posted December 07, 2014 07:59 PM |
|
|
Well, knowledge "when" to place something is quite important.
To start with, maybe you know it, but it's still worth mentioning: all erm scripts I know of(though I am not an expert) have general form of:
Trigger
Receiver1
Receiver2
...
ReceiverN
Where receivers are what you do and trigger is when you do it. The trick is usually figuring out when exactly you want something to happen and how to make the commands you use do it properly.
For part about seer hut and dwellings stating when it should trigger is fairly easy: every time a given object is visited. You can add a flag for seer part to check if you got a quest reward already.
The other two things you mention have less obvious timings, but again, a teleportation or disappearance of whatever you want would need to happen after a certain thing is done by the player. Depending on what it would be, you can need different triggers, but an easy way of dealing with it for a start is just putting an event in only path or an object necessary to visit and use ?!E trigger with its coordinates.
There is a great guide that explains some basic things, and includes links to really useful tools. One file includes huge amount of ERM commands with documentation.
Baron's guide to ERM
Feel free to send me a pm if you need some knowledge about basic stuff, or to post your questions on WoG part of the forum
|
|
Holy_Servant
Tavern Dweller
Can servants even be holy? :P
|
posted December 08, 2014 03:29 PM |
|
|
Thanks for the reply!
I'll be sure to read the guide you gave me the link to (and maybe play around with ERM a bit until I understand how this works). I'll pm you if I'll be having some troubles.
Thanks for the help!
____________
Hero of Light mod - Best HoMM
3 mod EVER!!!
|
|
|
|