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 ... 11 12 13 14 15 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
WoGifier
WoGifier


Adventuring Hero
Revealer of Enlightment
posted August 06, 2006 08:30 AM

Quote:

Right now, Ring 1 script seems impossible to me.



Well, if you can't script it, please make another script for ring1.:
- If you have units immune to spells, this ring makes them Receptive (no immunity to friendly spells).

Thank you again

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


Adventuring Hero
Revealer of Enlightment
posted August 06, 2006 05:58 PM
Edited by WoGifier at 15:13, 07 Aug 2006.

Dear TNT, I'm very grateful that you do those scripts for me, but when will they be ready approximately? I don't want to hurry you, I just wanna know hat i can expect. I don't know how long does it take you to write those scripts, but IMHO, it couldn't be more than 1 week/script, could it?

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


Adventuring Hero
The Arcomage
posted August 12, 2006 07:39 PM

I believe it'll be done in 7 days at most.

SMA

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


Adventuring Hero
Revealer of Enlightment
posted August 13, 2006 08:12 AM

OK, thank you Good luck.

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


Responsible
Supreme Hero
Forgotten but not Forsaken
posted August 13, 2006 06:04 PM
Edited by bigjocker at 18:05, 13 Aug 2006.

Is this ok?

ZVSE

!?OB20/01; triger for golem factory
!!DWv998/v999/v1000:M0/32/6; 6 stone golems to buy
!!DWv998/v999/v1000:M1/33/6; 6 iron golems to buy
!!DWv998/v999/v1000:M2/116/6; 6 gold golems to buy
!!DWv998/v999/v1000:M3/-1/0; 4th slot is unused (no diamond golems)
!!DWv998/v999/v1000:G1/33/12; Guarded by 12 iron golems in 2nd slot
!!DWv998/v999/v1000:G5/116/12; Guarded by 12 Gold golems in 6th slot.
____________
HoMM3Lite

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


Promising
Famous Hero
posted August 14, 2006 12:25 AM
Edited by Fnord at 00:27, 14 Aug 2006.

Quote:
ZVSE

!?OB20/01; triger for golem factory
!!DWv998/v999/v1000:M0/32/6; 6 stone golems to buy
!!DWv998/v999/v1000:M1/33/6; 6 iron golems to buy
!!DWv998/v999/v1000:M2/116/6; 6 gold golems to buy
!!DWv998/v999/v1000:M3/-1/0; 4th slot is unused (no diamond golems)
!!DWv998/v999/v1000:G1/33/12; Guarded by 12 iron golems in 2nd slot
!!DWv998/v999/v1000:G5/116/12; Guarded by 12 Gold golems in 6th slot.


Yes, it should be fine, although I never use "01", just "1" so I don't know if "01" is handled the same way by the ERM interpreter. Probably it's okay but I can't say for sure--to be safe, change it to 1.

Also, I think there's no problem setting guards in specific slots but leaving slot 0 empty. I seem to recall some problem with doing that but I think it was with mine guards and not dwellings. However, in the unlikely event that you do get a strange crash when attacking the guards, try changing to slot 0 and slot 1 instead.

I recommend using the following shortcut method to save time and space:

!!DW998:M0/32/6;

When you put a number without a v in front of it for a receiver x/y/l location, it assumes v#/v#+1/v#+2.

So !!DW998 = !!DWv998/v999/v1000

Just be sure you don't put the v in if using this method or you'll get an error.


____________

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


Responsible
Supreme Hero
Forgotten but not Forsaken
posted August 14, 2006 11:52 AM

Quote:

Yes, it should be fine, although I never use "01", just "1" so I don't know if "01" is handled the same way by the ERM interpreter. Probably it's okay but I can't say for sure--to be safe, change it to 1.

Also, I think there's no problem setting guards in specific slots but leaving slot 0 empty. I seem to recall some problem with doing that but I think it was with mine guards and not dwellings. However, in the unlikely event that you do get a strange crash when attacking the guards, try changing to slot 0 and slot 1 instead.

I recommend using the following shortcut method to save time and space:

!!DW998:M0/32/6;

When you put a number without a v in front of it for a receiver x/y/l location, it assumes v#/v#+1/v#+2.

So !!DW998 = !!DWv998/v999/v1000

Just be sure you don't put the v in if using this method or you'll get an error.



Ok...THanx a lot fnord. Can I use the same trigger and recievers for absolutely new building (let's say I add one...type 17, subtype 101) ???
____________
HoMM3Lite

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


Promising
Famous Hero
posted August 15, 2006 03:49 AM
Edited by Fnord at 03:49, 15 Aug 2006.

Quote:
Ok...THanx a lot fnord. Can I use the same trigger and recievers for absolutely new building (let's say I add one...type 17, subtype 101) ???


If you can add it correctly into the game it should work fine. Just change it to !?OB17/101; and the rest of the code should be the same.


____________

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


Adventuring Hero
The Arcomage
posted August 20, 2006 03:18 PM
Edited by TNT at 15:21, 20 Aug 2006.

Why do timers trigger more than once?

!#TM1:8/999/7/255;

!?TM1;
!!DO200/0/154/1:[P];

!?FU200;
[...]

I used [P] instead of just P because I can't find button that turns off those smilies and I even used one of them.

TNT, Supreme Master Arcomage of WR.

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


Responsible
Undefeatable Hero
What if Elvin was female?
posted August 20, 2006 07:01 PM

Did any of those three(Odvin, Irh, Alf) actually get their translator done?
And if did where can I get it?
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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


Admirable
Legendary Hero
ghost of the past
posted August 20, 2006 08:34 PM

@ TNT
Quote:
I used [P] instead of just P because I can't find button that turns off those smilies and I even used one of them.
Just type [/smileys ].
____________

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


Promising
Famous Hero
posted August 21, 2006 03:30 AM

Quote:
Why do timers trigger more than once?



They trigger once for each player that they're set to trigger for. You could setup a timer to trigger for only the Red player:

!#TM1:8/999/7/1;

But then if the red player wasn't in the game, you'd have problems.

There's a universal timer setup in script00 that uses TM1 and TM2 plus some handy macros so you can do things like:

!?TM2&$once$=1;

This means the timer only occurs once (for the first human player in the game, no matter what colour).

But you would need to wogify the map to use it or else copy the code from script00.



____________

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


Adventuring Hero
The Arcomage
posted August 21, 2006 01:42 PM

Thanks!

That was most helpful.

TNT.

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


Adventuring Hero
Revealer of Enlightment
posted August 28, 2006 11:33 AM

Hi all!

Does someone have the 'mithrill mine' script? If yes, could you give it to me (by posting it to my e-mail adress or just by copying it here)?

Thx in advance.

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


Hired Hero
zombie
posted September 01, 2006 11:57 PM
Edited by Demonpheonix at 00:02, 02 Sep 2006.

Quote:
Hi all!

Does someone have the 'mithrill mine' script? If yes, could you give it to me (by posting it to my e-mail adress or just by copying it here)?

Thx in advance.

Sure, its in a map called underdogs, but here it is.  (its for the big bubbling murcury pot
ok
ZVSE
_WARNING_#1=IMPORTANT! This file is not in a plain text format. NEVER use any editor except ERM_S for making any kind of changes!

ERMS_PoweredBy=ERM Scripter v. 2003.6.27.105
*Mithril mine
*uses vars v1800-v1807
*uses functions FU1800-FU1802
!#TM83:S1/999/2/255;        //(gives resource on day 2 every week)set up timer for 7 daily(replace 7 with 1 for daily,with 2 for two daily and so on...)
!#VRz100:S^Mithril Smelter^;
!#HT63/27:T100;
!#VRv1800:S0; //player 0
!#VRv1801:S0; //player 1
!#VRv1802:S0; //player 2
!#VRv1803:S0; //player 3
!#VRv1804:S0; //player 4
!#VRv1805:S0; //player 5
!#VRv1806:S0; //player 6
!#VRv1807:S0; //player 7

!?OB63/27;    //If visited
!!PO998?i;                  //get owner
!!HE-1?j;                   //get hero owner
!!FU1800&i<>ji/j;           //if not owner then change owner

!?FU1800;
!!PO998x2;                  //set new owner
!!IF&1000:M^You gain control of a Mithril Smelter!^;
!!FU1801j;                   //Hint text
!!VRy1:S8;                     //default is no owner(y1=8)
!!VRy1&x1>-1/x1<8:S1800 +x1;   //if previous owner was a player then index to his var is y1
!!VRy2:S1800 +x2;              //index to visiting hero's var is y2
!!VRvy1&y1<>8:-1;              //decrease previous owner's var
!!VRvy2:+1;                    //increase visitor's var

!?FU1801;
!!VRz100:S^Mithril Smelter (^; //calc hint text into z100
!!VRz100&x1=0:+^Red)^;
!!VRz100&x1=1:+^Blue)^;
!!VRz100&x1=2:+^Tan)^;
!!VRz100&x1=3:+^Green)^;
!!VRz100&x1=4:+^Orange)^;
!!VRz100&x1=5:+^Purple)^;
!!VRz100&x1=6:+^Teal)^;
!!VRz100&x1=7:+^Pink)^;
!!OB998:H100;    //set hint text

!?TM83;                      //timer trigger
!!DO1802/0/7/1;            //Give Mithril

!?FU1802;
!!VRi:Sx16;                 //calc index
!!VRi:+1800;                //calc index
!!VRj:Svi;                  //store in j for easier reference
!!OW:Rx16/7/dj;             //give Mithril
*!OW:Rx16/7/?k;              //? current Mithril
*!VRk:+j;                    //? new Mithril
*!OW:Rx16/7/j;               //store new Mithril
[End of Script
it works if you wogify the map too, i tested it
sorry, some of the things turned into faces, and i cant figure out how to turn that thing off. just replace with ":" and "0", and with ":" and "P"
Enjoy
____________
Bwahahaha

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


Adventuring Hero
Revealer of Enlightment
posted September 02, 2006 08:30 AM
Edited by WoGifier at 08:41, 02 Sep 2006.

Thank you very much. I really enjoy it

On the other hand...

@TNT

When will the scripts be ready? Can I help you somehow?

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


Hired Hero
zombie
posted September 02, 2006 03:44 PM

@TNT, could u post the horn 4 me?  (my email is down)  iv ben looking for something like that 4EVER!  id realy apreciate it
____________
Bwahahaha

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


Famous Hero
being digested. E=mc^2, s=vt
posted September 03, 2006 02:52 PM

Could someone tell me how to find any tools to make/edit/learn ERM? Is ERM scripter the answer?

Are there any "you couldn't find a bigger noob" tutorials? All I read are too hard...

Is it actually possible to make scripts and put them in the wogify settings menu, so that when the map is being wogified, your new script applies?

And finally: help. My script77.erm file in the 's' folder got deleted. Was it important? How do I retrieve it?
____________
I am having a new style
Big, fat, naughty. Potential girlfriend - pm me.

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


Promising
Famous Hero
posted September 03, 2006 07:46 PM
Edited by Fnord at 19:48, 03 Sep 2006.

Quote:
Could someone tell me how to find any tools to make/edit/learn ERM? Is ERM scripter the answer?



The ERM scripter and HTML ERM Help are invaluable tools but they probably won't teach you ERM unless you use them to study existing scripts. Actually, the HTML ERM Help does explain how ERM works but it's not a tutorial--it's more of a technical manual.

The ERM Scripter is basically just a text editor but it saves the script in the correct format for a wogify script that can be read by the game when it starts. Also, it includes a bunch of features that can make scripting a little bit easier like line numbers and applying certain colours to different parts of the code line, and has its own built-in ERM Help file as well (similar to the HTML version but a bit different).

Anyway, if you're going to edit a wogify script, you have to load it and re-save it in the ERM scripter for it to work properly.

Quote:

Are there any "you couldn't find a bigger noob" tutorials? All I read are too hard...



I'm not sure. As far as I know, the tutorials are all aimed at people who have never used ERM before...

Quote:

Is it actually possible to make scripts and put them in the wogify settings menu, so that when the map is being wogified, your new script applies?



Yes, it's possible. Any script saved with the ERM scripter in the Data\s folder with the name script##.erm (where ## is any two-digit number between 00 and 99 inclusive) will be automatically loaded when you WoGify a map. It's code within the script itself that disables the script if its option isn't chosen in the WoG Options screen. If that code wasn't in, the script would simply work all the time.

Note that script00.erm through script77.erm are already used by official WoGify scripts for 3.58f, so unless you want to replace one (be careful about this and make a backup of the files!), that means the only names available are script78.erm through script99.erm (the number range will be expanded in the next version of WoG).

You can add the scripts to the WoG Options menu as well, and to do so you would need to look in the Data\Text Resources Copy folder and read the file "How to edit Zsetup Files.txt".

Quote:

And finally: help. My script77.erm file in the 's' folder got deleted. Was it important? How do I retrieve it?


script77.erm is the WoG Cheat Menu. It's not important unless you're  a map maker or script writer (or someone who wishes to cheat ) and need to use the menu.

To replace the script, you would either have to reinstall WoG, or you can get the beta updates by joining the "wakeofgods" Yahoo group http://games.groups.yahoo.com/group/wakeofgods/ and emailing a request for them to me.

Or, you can wait until the new WoG site is ready and we'll put scripts online there separate from the rest of WoG..but this may not be for a few months.


____________

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


Famous Hero
being digested. E=mc^2, s=vt
posted September 03, 2006 10:09 PM

Thanx What are the ERT files and what should I do to a script to make it appear in the "Wogify Menu" with the option to choose it or not?
____________
I am having a new style
Big, fat, naughty. Potential girlfriend - pm me.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 ... 11 12 13 14 15 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.4776 seconds