ERM help requests
ERM help requests
Recently there has been an idea to make ERM help even better. That means that we want to introduce more examples and explain the code more. We also want to give better descriptions where they seem to be awkward or misunderstood. So far there are few people who will deal with it. I am one of them and that`s why I`m writing this post - I`d like you to add here your suggestions to what should be added and enchanced in ERM help. If you can`t understand some part or something is vague to you - please write it down here. It will help us to make the ERM help even better.
It will be some time before the new version will be released but I want to start gathering your feedback right now - it will enable us to find more things that should be changed.
As the time will pass by I`ll add your feedbacks to this list:
---------------------------------------------------------------------------------
Things to be added/changed:
- a general introduction to writing scripts, programming basics, what is ERM actually?
- update of 'list of the claimed'
It will be some time before the new version will be released but I want to start gathering your feedback right now - it will enable us to find more things that should be changed.
As the time will pass by I`ll add your feedbacks to this list:
---------------------------------------------------------------------------------
Things to be added/changed:
- a general introduction to writing scripts, programming basics, what is ERM actually?
- update of 'list of the claimed'
Last edited by Pol on 22 Oct 2020, 08:47, edited 1 time in total.
Beholder
I would add a note stating:
When placing terrain objects (mountains, trees, etc... ) that the 3rd or 4th syntax for !!UN:I needs to be used, and that only the first instance of the object in the type/subtype list will work (134 for mountain will work, 185 for mountain will crash the game).
Also, I couldn't find any mention of the ability to use [mapname].erm, or where to place it (\maps folder) in any of the help.
I know I've had some issues with the Help recently, but this is all I could remember...![smile :)](/forums/images/smilies/smile9.gif)
When placing terrain objects (mountains, trees, etc... ) that the 3rd or 4th syntax for !!UN:I needs to be used, and that only the first instance of the object in the type/subtype list will work (134 for mountain will work, 185 for mountain will crash the game).
Also, I couldn't find any mention of the ability to use [mapname].erm, or where to place it (\maps folder) in any of the help.
I know I've had some issues with the Help recently, but this is all I could remember...
![smile :)](/forums/images/smilies/smile9.gif)
Format OB - Additional Objects is missing:
Type 90
Subtype 1
Shrine of Magic Thought (The cool looking book on a pedistal)
I'll add more as I find them![smile :)](/forums/images/smilies/smile9.gif)
I'm currently only looking for missing information that would be helpful, and mistakes, because I think that should be fixed first. As for examples, there are alot of the receiver options that do not have examples, however most of them tend to be fairly self explanatory, I'll keep an eye out for the ones I think might need to be explained more in depth.
Type 90
Subtype 1
Shrine of Magic Thought (The cool looking book on a pedistal)
I'll add more as I find them
![smile :)](/forums/images/smilies/smile9.gif)
I'm currently only looking for missing information that would be helpful, and mistakes, because I think that should be fixed first. As for examples, there are alot of the receiver options that do not have examples, however most of them tend to be fairly self explanatory, I'll keep an eye out for the ones I think might need to be explained more in depth.
more help on EA:B for some special SE1 values,
for example:
!!EA130:B6/1/115/49/0/1/2/3/4/5/6/7/8/9/10;
"115" is "Enchant", but we got no idea we should use 49 for 115, and, what is the following?
1 will be basic, 3 will be expert, 4 will be mass, 5 will be mass+R, 6 will be mass+RE
What is the meaning of Mass+R ad mass+RE? this is not documented.
More:
when the 3rd parameter is 76, this means "Deflect", but the 4th parameter here can be 0-200, it is not documented what the meaning of the 4th parameter.
for example:
!!EA130:B6/1/115/49/0/1/2/3/4/5/6/7/8/9/10;
"115" is "Enchant", but we got no idea we should use 49 for 115, and, what is the following?
1 will be basic, 3 will be expert, 4 will be mass, 5 will be mass+R, 6 will be mass+RE
What is the meaning of Mass+R ad mass+RE? this is not documented.
More:
when the 3rd parameter is 76, this means "Deflect", but the 4th parameter here can be 0-200, it is not documented what the meaning of the 4th parameter.
- Storm-giant
- Minotaur
- Posts: 693
- Joined: 13 Jun 2008
- Location: Torrelavega
Could someone post here the link to a ERM page? The unic that I remenber is that thee background is brown and it was listed every script, every funcion&variables&such amd more.
(I know it's quite general, but I want it back)
And I think PoL post it time ago.
Edit:i was wrong, it's just the ERM help which is stored on your computer after WoG instalation, inside ''erm_help'' folder.
Sorry for the post![lips wobbling :S](/forums/images/smilies/lips_wobbling.gif)
(I know it's quite general, but I want it back)
And I think PoL post it time ago.
Edit:i was wrong, it's just the ERM help which is stored on your computer after WoG instalation, inside ''erm_help'' folder.
Sorry for the post
![lips wobbling :S](/forums/images/smilies/lips_wobbling.gif)
- Slayer of Cliffracers
- Hunter
- Posts: 549
- Joined: 11 Jul 2006
- Location: Gateshead, England.
I'm new to this whole ERM scripting business.
This is my first functional script which works on a scenario I am making in which it has been placed. I have managed to make the both messages appear together the first time and the second message only appears the second time. All I need to know for now is one thing.
How do I stop the second message appearing the first time around, so that the second message will only appear once the wizard tower has been visited and *not* the first time it is visited.
Code: Select all
ZVSE
!#VRv1:S0; [set variable v1 to 0]
!$OB11/13/0; [Visit Wizards Tower trigger 1st visit]
!!IF&y1=0:M^You have written a Wizard Tower Script. What a Wizard you are!^; [show message1]
!!VRy1:S1; [set v1 to 1]
!!IF&y1=1:M^You have already visited the wizards tower!^; [show message2]
How do I stop the second message appearing the first time around, so that the second message will only appear once the wizard tower has been visited and *not* the first time it is visited.
Working on tracking the locations of Heroes IV battles. Stage 6 of campaign map finished, all initial Heroes IV campaigns mapped.
http://www.celestialheavens.com/forums/ ... hp?t=11973
http://www.celestialheavens.com/forums/ ... hp?t=11973
- Salamandre
- Genie
- Posts: 1032
- Joined: 13 May 2006
- Location: France
- Contact:
- Slayer of Cliffracers
- Hunter
- Posts: 549
- Joined: 11 Jul 2006
- Location: Gateshead, England.
Thanks, the script does work, but what does !!PO988 mean? It doesn't appear in ERM for dummies, although P does.Salamandre wrote:ZVSE
!$OB11/13/0; [Visit Wizards Tower trigger 1st visit]
!!PO998:N?v1;
!!IF&v1=1:M^You have already visited the wizards tower!^; [show message2]
!!IF&v1=0:M^You have written a Wizard Tower Script. What a Wizard you are!^; [show message1]
!!PO998:N1;
I take that N? sets the N variable, so that the last line can set variable N to 1.
So ?Y would set the Y variable instead. Am I right?
Working on tracking the locations of Heroes IV battles. Stage 6 of campaign map finished, all initial Heroes IV campaigns mapped.
http://www.celestialheavens.com/forums/ ... hp?t=11973
http://www.celestialheavens.com/forums/ ... hp?t=11973
- Salamandre
- Genie
- Posts: 1032
- Joined: 13 May 2006
- Location: France
- Contact:
ERM for dummies is only a friendly made short guide by QD to help approach, but will not show the totality of triggers and receivers, get the whole ERM help for that
PO998 is gathering informations about the square your object is. If zero, object was not visited, if 1, visited (in this case). But there are endless ways to script your object, using flags and using set variable (as you did, but wrong). Just choose one (however the PO is the most effective as it does not reserve any flag or variable).
PO998 is gathering informations about the square your object is. If zero, object was not visited, if 1, visited (in this case). But there are endless ways to script your object, using flags and using set variable (as you did, but wrong). Just choose one (however the PO is the most effective as it does not reserve any flag or variable).
- Slayer of Cliffracers
- Hunter
- Posts: 549
- Joined: 11 Jul 2006
- Location: Gateshead, England.
This is what I get if I try to access ERM help.Salamandre wrote:ERM for dummies is only a friendly made short guide by QD to help approach, but will not show the totality of triggers and receivers, get the whole ERM help for that
PO998 is gathering informations about the square your object is. If zero, object was not visited, if 1, visited (in this case). But there are endless ways to script your object, using flags and using set variable (as you did, but wrong). Just choose one (however the PO is the most effective as it does not reserve any flag or variable).
Why can't I get Help from this program?
The Help for this program was created in Windows Help format, which was used in previous versions of Windows and it is not supported in Windows Vista.
For more information, see Windows Help program (WinHlp32.exe) is no longer included with Windows on the Microsoft support website.
Working on tracking the locations of Heroes IV battles. Stage 6 of campaign map finished, all initial Heroes IV campaigns mapped.
http://www.celestialheavens.com/forums/ ... hp?t=11973
http://www.celestialheavens.com/forums/ ... hp?t=11973
Who is online
Users browsing this forum: No registered users and 1 guest