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: new erm scripts
Thread: new erm scripts This thread is 2 pages long: 1 2 · NEXT»
shimmy
shimmy


Hired Hero
posted January 03, 2008 01:57 AM

new erm scripts

hy. anybody know where i can download some cool erm. scripts?
____________
lolololololololol

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


Promising
Famous Hero
Soul Merchant
posted January 03, 2008 02:58 AM

What are cool erm scripts to you?
____________

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


Hired Hero
posted January 05, 2008 04:34 PM

scripts like in wogify... any kind of complex scripts. I haven't found any on this forum.
____________
lolololololololol

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


Hired Hero
posted January 05, 2008 05:14 PM

and i have a second question: how do i add a personal script in wog menu?
i made the button for the script but the script doesn;t have effect.
____________
lolololololololol

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


Admirable
Legendary Hero
ghost of the past
posted January 05, 2008 05:42 PM

Have you tried all these...?

- old scipts
- 3.58f updates
- Sagamosa's new Advanced Skills and Adventure Spells (available for his one map only, but still fun and with a high replay value)

Search this subforum to find more information about those.

There are also patches made by AcidDragon and Bigjocker, featuring new creatures.

ByteBandit will probably be able to give you more links. There are also interesting sites in languages other than English (Polish, Russian, etc).
____________

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


Promising
Famous Hero
Passed away
posted January 06, 2008 02:31 AM

Quote:
and i have a second question: how do i add a personal script in wog menu?
i made the button for the script but the script doesn;t have effect.

There are two ways to do this.

First : you can add a new line to ZSETUP01.txt which governs what is shown in WoG options. Simply copy one of the rows and edit what's necessary.

Second : You can create an ers file and put it in the Data\s folder. Open your ERM Scripter and create a new ers file. Move your mouse over any box to see hint in the status bar. I think this method is better because you don't have to change game files.
____________
The ultimate WoG tester

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


Hired Hero
posted January 06, 2008 12:25 PM

ste i made the button for the script (with a ers file) but the maps wont wogify with my script. and if a put the script personally in the map it works.
should i upload the script somewere?
____________
lolololololololol

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


Promising
Famous Hero
Passed away
posted January 06, 2008 01:29 PM

If it is short post it here. If it's too long email it to me and I'll try to figure what's going wrong.
____________
The ultimate WoG tester

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


Hired Hero
posted January 06, 2008 03:35 PM
Edited by Ste at 17:36, 12 Jan 2008.


this is the script for the lvl 8 dwelling:

ZVSE

!?FU69;
!!UN:P78/?y-1;

!!IF:V18/0;
!!IF:V19/0;
!!UN:V?y3/?y4/?y5/?y6/?y7;
!!IF&y6=1:V18/1;
!!IF&y3>355/y4>249:V19/1;
!!VRe1:Sy3:100;
!!VRe2:Sy4:100;
!!IF&-19/y-1<>0:M^WoG version %E1 / ERM version %E2. At least WoG v3.56 / ERM v2.50 required. Script disabled^;
!!IF&y-1=0:V19/0;

!?FU71;
!!TRx1/x2/x3:T?y1/?y2/?y3/?y4/?y5/?y6/?y7/?y8;
!!TRx1/x2/x3:Ty1/10/y3/y4/y5/y6/y7/y8;

!?FU72;
!!TRx1/x2/x3:T?y1/?y2/?y3/?y4/?y5/?y6/?y7/?y8;
!!TRx1/x2/x3:Ty1/11/y3/y4/y5/y6/y7/y8;

!?FU70;
!!UN&x1=1:U98/-1/x16/50;
!!UN&x1=2:U77/-1/x16/50;
!!FU71:Pv50/v51/v52;

!#FU69:P;
!#UN&19:U98/-1/?v1;
!#UN&19:U77/-1/?v2;
!#IF&19:V1/0;
!?GM0&19;
!!IF:V1/1;
!#DO70/1/v1/1&-1/19:P1;
!#DO70/1/v2/1&-1/19:P2;

!?CM1&19;
!!CM:I?y-1;
!!CA-1:R?y-2;
!!IF:V1/0;
!!IF&y-1=43/y-2=0:V1/1;

!?CM1&19/1;
!!CM:F?y-9;
!!IF:V4/0;
!!VRy-13:S0;
!!OW:C?y-40;
!!CA-1:T?y-1;
!!CA-1:P?y-70/?y-71/?y-72;
!!TRy-70/y-71/y-72:T?y-91/?y-2/?y-93/?y-94/?y-95/?y-96/?y-97/?y-98;
!!VRz-2&y-1=0:S^{Portal} {of} {Splendor}^;
!!VRz-2&y-1=1:S^{Dragon} {Peaks}^;
!!VRz-2&y-1=2:S^{Storm} {Temple}^;
!!VRz-2&y-1=3:S^{Unholy} {Palace}^;
!!VRz-2&y-1=4:S^{Spectral} {Vault}^;
!!VRz-2&y-1=5:S^{Cave} {of} {Darkness}^;
!!VRz-2&y-1=6:S^{Behemoth} {Tomb}^;
!!VRz-2&y-1=7:S^{Chaos} {Pool}^;
!!VRz-2&y-1=8:S^{Spirit} {Pyre}^;

//Wood
!!VRy-50&y-1=0:S20;
!!VRy-50&y-1=1:S10;
!!VRy-50&y-1=2:S10;
!!VRy-50&y-1=3:S10;
!!VRy-50&y-1=4:S50;
!!VRy-50&y-1=5:S15;
!!VRy-50&y-1=6:S10;
!!VRy-50&y-1=7:S10;
!!VRy-50&y-1=8:S10;

//Mercury
!!VRy-51&y-1=0:S15;
!!VRy-51&y-1=1:S0;
!!VRy-51&y-1=2:S0;
!!VRy-51&y-1=3:S20;
!!VRy-51&y-1=4:S15;
!!VRy-51&y-1=5:S25;
!!VRy-51&y-1=6:S0;
!!VRy-51&y-1=7:S0;
!!VRy-51&y-1=8:S20;

//Ore
!!VRy-52&y-1=0:S20;
!!VRy-52&y-1=1:S25;
!!VRy-52&y-1=2:S10;
!!VRy-52&y-1=3:S10;
!!VRy-52&y-1=4:S20;
!!VRy-52&y-1=5:S15;
!!VRy-52&y-1=6:S40;
!!VRy-52&y-1=7:S10;
!!VRy-52&y-1=8:S10;


//Sulf
!!VRy-53&y-1=0:S15;
!!VRy-53&y-1=1:S15;
!!VRy-53&y-1=2:S0;
!!VRy-53&y-1=3:S0;
!!VRy-53&y-1=4:S0;
!!VRy-53&y-1=5:S15;
!!VRy-53&y-1=6:S0;
!!VRy-53&y-1=7:S15;
!!VRy-53&y-1=8:S0;

//Crystal
!!VRy-54&y-1=0:S15;
!!VRy-54&y-1=1:S20;
!!VRy-54&y-1=2:S20;
!!VRy-54&y-1=3:S0;
!!VRy-54&y-1=4:S0;
!!VRy-54&y-1=5:S0;
!!VRy-54&y-1=6:S20;
!!VRy-54&y-1=7:S15;
!!VRy-54&y-1=8:S0;

//Gems
!!VRy-55&y-1=0:S15;
!!VRy-55&y-1=1:S0;
!!VRy-55&y-1=2:S20;
!!VRy-55&y-1=3:S20;
!!VRy-55&y-1=4:S0;
!!VRy-55&y-1=5:S0;
!!VRy-55&y-1=6:S0;
!!VRy-55&y-1=7:S0;
!!VRy-55&y-1=8:S20;

//Gold
!!VRy-56&y-1=0:S30000;
!!VRy-56&y-1=1:S25000;
!!VRy-56&y-1=2:S20000;
!!VRy-56&y-1=3:S25000;
!!VRy-56&y-1=4:S15000;
!!VRy-56&y-1=5:S25000;
!!VRy-56&y-1=6:S25000;
!!VRy-56&y-1=7:S15000;
!!VRy-56&y-1=8:S30000;

!!IF&y-2=11/y-9=0:M^%Z-2^;


!!VRy-30:S-30;
!!VRy-80:S-80;

!!VRy-30&y-50>0:Sy-30-1;
!!VRy-80&y-50>0:Sy-80-1;
!!VRyy-30&y-50>0:S0;
!!VRyy-80&y-50>0:Sy-50;

!!VRy-30&y-51>0:Sy-30-1;
!!VRy-80&y-51>0:Sy-80-1;
!!VRyy-30&y-51>0:S1;
!!VRyy-80&y-51>0:Sy-51;

!!VRy-30&y-52>0:Sy-30-1;
!!VRy-80&y-52>0:Sy-80-1;
!!VRyy-30&y-52>0:S2;
!!VRyy-80&y-52>0:Sy-52;

!!VRy-30&y-53>0:Sy-30-1;
!!VRy-80&y-53>0:Sy-80-1;
!!VRyy-30&y-53>0:S3;
!!VRyy-80&y-53>0:Sy-53;

!!VRy-30&y-54>0:Sy-30-1;
!!VRy-80&y-54>0:Sy-80-1;
!!VRyy-30&y-54>0:S4;
!!VRyy-80&y-54>0:Sy-54;

!!VRy-30&y-55>0:Sy-30-1;
!!VRy-80&y-55>0:Sy-80-1;
!!VRyy-30&y-55>0:S5;
!!VRyy-80&y-55>0:Sy-55;

!!VRy-30&y-56>0:Sy-30-1;
!!VRy-80&y-56>0:Sy-80-1;
!!VRyy-30&y-56>0:S6;
!!VRyy-80&y-56>0:Sy-56;


!!IF&y-2=10/y-9=0/y-30=-32:Ny-31/y-81/y-32/y-82;
!!IF&y-2=10/y-9=0/y-30=-33:Ny-31/y-81/y-32/y-82/y-33/y-83;
!!IF&y-2=10/y-9=0/y-30=-34:Ny-31/y-81/y-32/y-82/y-33/y-83/y-34/y-84;
!!IF&y-2=10/y-9=0/y-30=-35:Ny-31/y-81/y-32/y-82/y-33/y-83/y-34/y-84/y-35/y-85;
!!IF&y-2=10/y-9=0/y-30=-36:Ny-31/y-81/y-32/y-82/y-33/y-83/y-34/y-84/y-35/y-85/y-36/y-86;
!!IF&y-2=10/y-9=0/y-30=-37:Ny-31/y-81/y-32/y-82/y-33/y-83/y-34/y-84/y-35/y-85/y-36/y-86/y-37/y-87;


!!IF&y-2=10/y-9=0:N^Press {CTRL+ALT+LeftClick} to build the %Z-2^;
!!CA-1:O?y-41;
!!IF&y-2=10/y-9=36/y-40=y-41:Q4^Would you like to build the %Z-2?^;
!!OW:Ry-40/0/?y-60;
!!OW:Ry-40/1/?y-61;
!!OW:Ry-40/2/?y-62;
!!OW:Ry-40/3/?y-63;
!!OW:Ry-40/4/?y-64;
!!OW:Ry-40/5/?y-65;
!!OW:Ry-40/6/?y-66;
!!VRy-60:-y-50;
!!VRy-61:-y-51;
!!VRy-62:-y-52;
!!VRy-63:-y-53;
!!VRy-64:-y-54;
!!VRy-65:-y-55;
!!VRy-66:-y-56;
!!VRy-13&y-60>=0/y-61>=0/y-62>=0/y-63>=0/y-64>=0/y-65>=0/y-66>=0:S1;
!!CA-1&4/y-13=1:R1;
!!TRy-70/y-71/y-72&4/y-13=1:Ty-91/11/y-93/y-94/y-95/y-96/y-97/y-98;
!!FU72&4/y-13=1/18:Dy-70/y-71/y-72;
!!IF&4/y-13=0:M^You do not have enough resources.^;
!!OW&4/y-13=1:Ry-40/0/y-60;
!!OW&4/y-13=1:Ry-40/1/y-61;
!!OW&4/y-13=1:Ry-40/2/y-62;
!!OW&4/y-13=1:Ry-40/3/y-63;
!!OW&4/y-13=1:Ry-40/4/y-64;
!!OW&4/y-13=1:Ry-40/5/y-65;
!!OW&4/y-13=1:Ry-40/6/y-66;

!?FU73;
!!CAx1/x2/x3:M2/x4/x5/x6;

!?CM1&19;
!!CM:R1;
!!CA-1:B3/43;
!!VRy-1&1:S1;
!!CM:I?y-2;
!!VRy-2:-115;
!!CA-1&y-2>-1/y-2<7:M2/y-2/?y-3/?y-4;
!!OW:C?y-5;
!!CA-1:O?y-6;
!!CM:F?y-7;
!!IF:V1/0;
!!IF&y-1=1/y-2>=0/y-2<7/y-4>0/y-5=y-6/y-7=36:V1/1;

!?CM1&19/1;
!!IF:V2/0;
!!CM:I?y-5;
!!VRy-5:-115;
!!OW:C?y-40;
!!CA-1:T?y-1;
!!CA-1:P?y-70/?y-71/?y-72;
!!TRy-70/y-71/y-72:T?y-91/?y-2/?y-93/?y-94/?y-95/?y-96/?y-97/?y-98;
!!CA-1:M2/y-5/?y-6/?y-7;
!!VRy-8&y-1<8:Sy-1+1*14-1;
!!VRy-8&y-1=8:S131;
!!VRy-10:Sy-1+150;
!!VRy-11|y-1=3/y-1=4/y-1=8:S1;
!!VRy-11|y-1=5/y-1=7:S3;
!!VRy-11|y-1=1/y-1=6:S4;
!!VRy-11|y-1=0/y-1=2:S5;
!!MA:Cy-6/y-11/?y-21;
!!MA:Cy-10/y-11/?y-22;
!!VRy-23:Sy-22-y-21;
!!VRy-23:*y-7;
!!MA:Cy-6/6/?y-24;
!!MA:Cy-10/6/?y-25;
!!VRy-26:Sy-25-y-24;
!!VRy-26:*y-7;
!!OW:Ry-40/6/?y-27;
!!VRy-27:-y-26;
!!OW:Ry-40/y-11/?y-28;
!!VRy-28:-y-23;
!!VRy-30&y-27>=0/y-28>=0:S1;
!!IF&y-2=11/y-8=y-6:Q2/6/y-26/y-11/y-23/2^In order to properly train your troops, you will have to spend some resources. Do you still wish them to be upgraded?^;
!!IF&2/y-30=0:M^You do not have enough resources.^;
!!CA-1:P?y-31/?y-32/?y-33;
!!EXy-31/y-32/y-33/y-5/2:E?y-34;
!!EXy-31/y-32/y-33/y-5/2:R?y-35/136/?y-36/?y-37;
!!CA-1&2/y-30=1:M2/y-5/y-10/y-7;
!!UN&2/y-30=1:R4/-1;
!!EXy-31/y-32/y-33/y-5/2:Ey-34;
!!EXy-31/y-32/y-33/y-5/2:Ry-35/136/y-36/y-37;
!!FU73&18/2/y-30=1:Dy-70/y-71/y-72/y-5/y-10/y-7;
!!OW&2/y-30=1:Ry-40/y-11/y-28;
!!OW&2/y-30=1:Ry-40/6/y-27;
!!CM&y-30=1/2:R0;

!?TH0&19;
!!CA-1:B3/43;
!!CA-1:P?y-1/?y-2/?y-3;
!!FU71&-1:Py-1/y-2/y-3;
!!FU71&-1/18:Dy-1/y-2/y-3;

thx man for helping me out.
____________
lolololololololol

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


Promising
Famous Hero
Passed away
posted January 06, 2008 11:26 PM

I'll give it a try tomorrow. I haven't fixed it so don't thank me just yet.
____________
The ultimate WoG tester

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


Promising
Famous Hero
Soul Merchant
posted January 06, 2008 11:35 PM

Also, on the WoG Archives, there are folders in the Files section with ERM scripts. We try to get as many as we can. If there is nothing there you like, we have links that could direct you on the right path to getting what you want. Hope this helps in some small way.
____________

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


Promising
Famous Hero
Passed away
posted January 08, 2008 11:00 AM
Edited by Ste at 23:05, 11 Jan 2008.

Ok, I played a bit with your script and it seems to be working with the ers file I made for it. I added the following lines to the beginning of your script for testing purpose :

!#UN:P78/?v1;     [Check for WoG option]
!#IF&v1=1:M^1^;
!#IF&v1<>1:M^0^;
!#FU69:P;

The ers file has the following values :
Script file number 78
Page number 7
Group number 0
Item number in the group -1
Default state 0
Multiplayer state 0
ERM setup variable 78
Some random text for description, hint, pop up

As far as I can tell the only important values are the first and the last. First says that your script will be in a file called script78.erm and the last says that
!#UN:P78/?v1;
will set v1 to 1 if your script is enabled and 0 otherwise.

P.S.: The ers file should be called script78.ers naturally ;)
____________
The ultimate WoG tester

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


Hired Hero
posted January 10, 2008 05:34 PM
Edited by shimmy at 22:50, 10 Jan 2008.

ok it works with script 78 but a message "0" appears at the start of every round...
This is enoying... if i take out the script from data/s no message but if in data/s, but deactivated message "0" appears.

and 1 more question: anyone made sagamosa scripts compatible with the updated wog scripts?
____________
lolololololololol

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


Promising
Known Hero
posted January 10, 2008 07:29 PM
Edited by BAD at 19:29, 10 Jan 2008.

Quote:


and 1 more question: anyone made sagamosa scripts compatible with the updated wog scripts?


Will be for 3.59 wog..

____________

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


Hired Hero
posted January 10, 2008 10:30 PM

ok, but it'll take a wild untill that apears. And i think that it would not be so hard to see what is rong... an error apears at start of week, thst is all.

P.S. ma bucur sa stiu ca si un roman e in echipa wog.
____________
lolololololololol

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


Promising
Famous Hero
Passed away
posted January 11, 2008 01:44 AM

Quote:
ok it works with script 78 but a message "0" appears at the start of every round...
This is enoying... if i take out the script from data/s no message but if in data/s, but deactivated message "0" appears.

Well, that message can't come from nowhere. Can't you find where in your code does it come from and remove/rewrite it?

Quote:
and 1 more question: anyone made sagamosa scripts compatible with the updated wog scripts?

Sagamosa is working on improving and expanding his scripts but I'm not sure if he's doing it for 4.58f or 4.59 and I can't check right now because my DNS server is seriously messed up and I can't open half of the internet pages
____________
The ultimate WoG tester

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


Responsible
Undefeatable Hero
LummoxLewis
posted January 11, 2008 04:10 AM

This is what Vlaad wrote in some thread in Tribunal for Newcomers:

Quote:
Cool feature, Rhodan.

In addition, to prevent smileys you can write [/smileys ] at the beginning of your post (most useful for WoG scripts).




I have seen with some of the erm scripts posted here, you can see smilies, so this feature might come in handy if you want no smilies to be there and for it to look better.

Hope this helps. And thanks Vlaad

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


Responsible
Supreme Hero
posted January 11, 2008 10:54 PM
Edited by Gnoll_Mage at 22:58, 11 Jan 2008.

!#UN78/?v1;
!#UN:P78/?v1;

Ste, you can get rid of those smileys easily... just type

!#UN:[b][/b]P78/?v1;

that way you can keep them in the rest of your post.
____________

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


Promising
Famous Hero
Passed away
posted January 11, 2008 11:08 PM

The question is whether I want to turn smileys off. I kind of like how the script looks with a bunch of them. I mean how many programming languages have you seen that use smileys?!?
____________
The ultimate WoG tester

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


Responsible
Supreme Hero
posted January 11, 2008 11:22 PM

As you wish - although I think ERM looks weird enough as it is...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0658 seconds