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 412 pages long: 1 50 100 150 200 250 300 350 ... 398 399 400 401 402 ... 412 · «PREV / NEXT»
Ghost
Ghost


Undefeatable Hero
Therefore I am
posted December 16, 2022 02:26 PM
Edited by Ghost at 14:28, 16 Dec 2022.

Ok



!?OB93/160/0&1000;
!#VRz640:S^Coliseum^;
!#OB93/160/0:Hz640;
!!PO998:N?i;
!!IF&i=>2:M^You already fought here 2 times^;
!!FU&i=>2:E;  
!!VRy90:S150 R8;
!!HE-1:Tv998/v999/v1000/y90/500; // setup battle
!!HE-1:O?i;  //get current hero owner
!!FU&i<0:E;
!!VRy91:S129 T20; random combo
!!SN&y91=130:G8; redo random if Cloak
!!HE-1:Ay91;  //give artifact
!!IF:Q1/8/y91/1^{Congratulation!}

You done well!^;
!!PO998:N?y1;
!!VRy1:+1;
!!PO998:Ny1;

!?OB89/18/0&1000;
!#VRz641:S^Coliseum^;
!#OB89/18/0:Hz641;
!!PO998:N?i;
!!IF&i=>2:M^You already fought here 2 times^;
!!FU&i=>2:E;  
!!VRy90:S150 R8;
!!HE-1:Tv998/v999/v1000/y90/500; // setup battle
!!HE-1:O?i;  //get current hero owner
!!FU&i<0:E;
!!VRy91:S129 T20; random combo
!!SN&y91=130:G8; redo random if Cloak
!!HE-1:Ay91;  //give artifact
!!IF:Q1/8/y91/1^{Congratulation!}

You done well!^;
!!PO998:N?y1;
!!VRy1:+1;
!!PO998:Ny1;

But random WoG artifacts are useful to me.. First I think your or his idea, or script realized it..

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


Admirable
Omnipresent Hero
Wog refugee
posted December 16, 2022 02:37 PM

lol, you added lines to it. My command SN:G is counting lines then goes back to a specified line. You snowed it up.

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


Undefeatable Hero
Therefore I am
posted December 16, 2022 02:49 PM

I'm sorry, I didn't do scripts, Only I added on object name.. Other scripts are untouched.. But Woodmelon's script, when you get everyone Dragon artifacts for you can build yourself COMBO artifact, I've played his map, I remember his script showed also other artifact. No important, when I've tested his script, and I/we also players get a COMBO.. WoG artifacts are only Thus human players vs human players.. I ponder on thing, what I can give to artifact, FF, for example.. or carry to Seer's Hut..

Thanks
____________
Fight MWMs - stand teach

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


Admirable
Omnipresent Hero
Wog refugee
posted December 16, 2022 02:49 PM

Do it this way:

!#VRz641:S^Coliseum^;
!#OB89/18/0:Hz641;
!#VRz640:S^Coliseum^;
!#OB93/160/0:Hz640;

!?OB93/160/0&1000;
!!PO998:N?i;
!!IF&i=>2:M^You already fought here 2 times^;
!!FU&i=>2:E;  
!!VRy90:S150 R8;
!!HE-1:Tv998/v999/v1000/y90/500; // setup battle
!!HE-1:O?i;  //get current hero owner
!!FU&i<0:E;
!!VRy91:S129 T20; random combo
!!SN&y91=130:G8; redo random if Cloak
!!HE-1:Ay91;  //give artifact
!!IF:Q1/8/y91/1^{Congratulation!}

You done well!^;
!!PO998:N?y1;
!!VRy1:+1;
!!PO998:Ny1;

!?OB89/18/0&1000;
!!PO998:N?i;
!!IF&i=>2:M^You already fought here 2 times^;
!!FU&i=>2:E;  
!!VRy90:S150 R8;
!!HE-1:Tv998/v999/v1000/y90/500; // setup battle
!!HE-1:O?i;  //get current hero owner
!!FU&i<0:E;
!!VRy91:S129 T20; random combo
!!SN&y91=130:G8; redo random if Cloak
!!HE-1:Ay91;  //give artifact
!!IF:Q1/8/y91/1^{Congratulation!}

You done well!^;
!!PO998:N?y1;
!!VRy1:+1;
!!PO998:Ny1;

Now will work
____________
Era II mods and utilities

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


Undefeatable Hero
Therefore I am
posted December 16, 2022 02:52 PM
Edited by Ghost at 14:53, 16 Dec 2022.

Ok I go to mapeditor Then your script seems beauty.. Do you know scripts are beauty..
____________
Fight MWMs - stand teach

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


Famous Hero
posted December 22, 2022 02:43 PM

it is possible to link an .ini document via erm?

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


Undefeatable Hero
Therefore I am
posted December 24, 2022 07:58 AM
Edited by Ghost at 08:00, 24 Dec 2022.

I failed in resources.. I tried v-1 (all colour / current player), V12.. Message came error.. This script is second attempt, both failed..

!#IF:V11/0;
!#VRz960:S^Magical Melodious Cavern (Not Visited)^;
!#OB96/135/0:Hz960;
!?OB96/135/1&11;
!!IF&11:M^Magical Melodious Cavern^;
!?OB96/135/0&-11;
!!IF:Q10^This is Magical Melodious Cavern. Do you want to enter?^;
!!HE-1&10:O?v5;
!!HE-1&10:T63/219/1/168/1200;
!!HE-1&10:O?v100;
!!IF&10/v5=v100:V11/1;
!!IF&11:Q1/3/200/4/200/5/200/7/50/1^You have won the battle with Gorynyches and received:^;
!!VRz960&11:S^Magical Melodious Cavern (Visited)^;
!!OB96/135/0&11:Hz960;
!!FU14&2:P;



If script is succeeded, I make another Magical Melodious Cavern in 91/45/0.. When who is first to enter a Magical Melodious Cavern, and then another Magical Melodious Cavern is visited.. Race Thus the same script, but different y/x/l and Vr & Hz.. Not allowed to computer players..

This is the last script for map.. Thanks!
____________
Fight MWMs - stand teach

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


Admirable
Omnipresent Hero
Wog refugee
posted December 24, 2022 09:52 AM
Edited by Salamandre at 09:54, 24 Dec 2022.

No idea what you want. Looks like you don't know yet syntax basics so you mix anything you get from  other maps, other scripts, triggered functions but no link to that function, so is impossible to get what's about.

Maybe someone else understands the gostich and can provide a solution.

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


Undefeatable Hero
Therefore I am
posted December 24, 2022 10:56 AM
Edited by Ghost at 10:57, 24 Dec 2022.

It worked battle against monsters, but no 200 sulfurs, 200 crystals, 200 gems and 50 mithrils.. Only artifacts I get it.. I changed resources, but no happening..
____________
Fight MWMs - stand teach

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


Admirable
Omnipresent Hero
Wog refugee
posted December 24, 2022 11:14 AM
Edited by Salamandre at 11:21, 24 Dec 2022.

Well, you should have written "script doesn't give resources" instead of "I failed in resources" which could mean several things. I supposed FU14 gave those resources.


!#IF:V11/0;
!#VRz960:S^Magical Melodious Cavern (Not Visited)^;
!#OB96/135/0:Hz960;
!?OB96/135/1&11/1000; added AI block
!!IF&11:M^Magical Melodious Cavern^;
!?OB96/135/0&-11/1000; added AI block
!!IF:Q10^This is Magical Melodious Cavern. Do you want to enter?^;
!!HE-1&10:O?v5;
!!HE-1&10:T63/219/1/168/1200;
!!HE-1&10:O?v100;
!!IF&10/v5=v100:V11/1;
!!IF&11:Q1/3/200/4/200/5/200/7/50/1^You have won the battle with Gorynyches and received:^;
!!OW&11:Rv100/3/200;
!!OW&11:Rv100/4/200;
!!OW&11:Rv100/5/200;
!!OW&11:Rv100/7/50;
!!UN&11:R2;redraw resource status

!!VRz960&11:S^Magical Melodious Cavern (Visited)^;
!!OB96/135/0&11:Hz960;
!!FU14&2:P;

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


Hired Hero
posted December 24, 2022 01:07 PM
Edited by martingalindo at 11:57, 25 Dec 2022.

pdesbois said:
... Zealots to do 50% more damage to all 7 infernal *upgrades* only. I got a list of crits from the ERM site, is this code good?

   ZVSE

   !?PI;

   !!EA09:B6/0/////////////;
   !!EA09:B7/0/////////////;
   !!EA09:B8/0/////////////;
   !!EA09:B9/0/////////////;
   !!EA09:B10/0/////////////;
   !!EA09:B11/0/////////////;
   !!EA09:B12/0/////////////;
   !!EA09:B13/0/////////////;


   !!EA09:B6/1/104/43/5/5/5/5/5/5/5/5/5/5/5;
   !!EA09:B7/1/104/45/5/5/5/5/5/5/5/5/5/5/5;
   !!EA09:B8/1/104/47/5/5/5/5/5/5/5/5/5/5/5;
   !!EA09:B9/1/104/49/5/5/5/5/5/5/5/5/5/5/5;
   !!EA09:B10/1/104/51/5/5/5/5/5/5/5/5/5/5/5;
   !!EA09:B11/1/104/53/5/5/5/5/5/5/5/5/5/5/5;
   !!EA09:B12/1/104/55/5/5/5/5/5/5/5/5/5/5/5;

   Now, is it possible to add to description that Zealots "hate / do +50% damage x Infernals" ?

   thx - p



Hi there i want to start doing some edits of the abilities for creatures.

Following the example above: if i want to give the Crusaders Dmg vs undead i should do the same? changing the number of creature that have the skill from 09 (zealot) to 07 (crusader)

Could i give them dmg vs all undead creatures including upgrades and non upgrade?
I should type more all the units or there is a limit for script?


Also i want to give them X1,2 or 120% bonus instead of 150%

So i should do this??
---------------------------------------------------------
ZVSE

!?PI;

!!EA07:B6/0/////////////;
!!EA07:B7/0/////////////;
!!EA07:B8/0/////////////;
!!EA07:B9/0/////////////;
!!EA07:B10/0/////////////;
!!EA07:B11/0/////////////;
!!EA07:B12/0/////////////;
!!EA07:B13/0/////////////;


!!EA07:B6/1/104/56/5/5/5/5/5/5/5/5/5/5/5;
!!EA07:B7/1/104/58/5/5/5/5/5/5/5/5/5/5/5;
!!EA07:B8/1/104/60/5/5/5/5/5/5/5/5/5/5/5;
!!EA07:B9/1/104/62/5/5/5/5/5/5/5/5/5/5/5;
!!EA07:B10/1/104/64/5/5/5/5/5/5/5/5/5/5/5;
!!EA07:B11/1/104/66/5/5/5/5/5/5/5/5/5/5/5;
!!EA07:B12/1/104/68/5/5/5/5/5/5/5/5/5/5/5;

---------------------------------------------------------
If i am not wrong with this code i give them bonus damage 150% to the undead in necropolis for base units.

i should then give them bonus vs upgraded creatures and also vs neutral undead like mommies

Or there is a limit up to only to hate 8 creatures??
-cant i add more than one ceauture in one line of code? Or set a flag for more damage vs creautures flagged as undead??

Also why there is 11 number 5? i mean that would not make a bonus damage of 155%?? (Never mind i already read about 11 lvls in creautures (

-to reduce the bonus from 150? i should add a 2??
Like for example

!!EA07:B12/1/104/68/2/2/2/2/2/2/2/2/2/2/2;


Thanks for all the help

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


Undefeatable Hero
Therefore I am
posted December 24, 2022 04:35 PM
Edited by Ghost at 16:37, 24 Dec 2022.

@Sal

Your script doesn't work.. I tried artifact, it doesn't work too.. Only ERA II, because I played and tested from ERM help guide.. and I tried the same script, but no artifact.. Ok no worries, when I replaced Danger to Magican Melodious Cavern.. I was surprised that no 20 ghosts but random (IDK about smallest ghosts to maximum 20, of course..) and game demanded exit to Windows, if you want to play again by restore in testing mind, for example, so script can't be realized.. Message says Magican Melodious Cavern, no else.. A map changed tournament class, when he made script, and map has two Magican Melodious Cavern, who will be the first, message reads visited in another Magican Melodious Cavern, because of OB, Vr hasn't been used.. Ok sorry my English, but thank you..
____________
Fight MWMs - stand teach

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


Admirable
Omnipresent Hero
Wog refugee
posted December 24, 2022 05:19 PM

Because you are pasting parts of scripts from other maps and you want them to magically work in your.

Better you ask for a new script by specifying the exact things you want to occur. Without the usual blah blah. Precise.

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


Undefeatable Hero
Therefore I am
posted December 24, 2022 06:22 PM
Edited by Ghost at 18:24, 24 Dec 2022.

@Sal

I can't idea something.. First I need to see script lists and deeper script I don't know yet.. I know how to edit script, because ERM help heips me.. No everyone.. Only my idea was the Grail replaces other artifact.. But Russian gangs gave only number without full script.. Another my idea was legion after thousands +4k.. RerryR doesn't know how.. If list so choose stories with script variation.. Idea can't be realized if script doesn't find from list.. I want be Bersy.. Steal his script skills.. Ok joking..
____________
Fight MWMs - stand teach

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


Undefeatable Hero
Therefore I am
posted December 25, 2022 04:22 AM
Edited by Ghost at 04:24, 25 Dec 2022.

!?OB22/171/1;
!!IF:M^The Cottage stands empty.^;
!#VRz618:S^Cottage^;
!#OB22/171/1:Hz618;

Ok IDK about M1/$; and where is script can add on AI block.. When I start write messages, but now not yet before I know.. Thanks
____________
Fight MWMs - stand teach

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


Admirable
Omnipresent Hero
Wog refugee
posted December 25, 2022 11:30 AM
Edited by Salamandre at 11:31, 25 Dec 2022.

AI block is flag 1000.

!?OB22/171/1&1000;
!!IF:M^The Cottage stands empty.^;
!#VRz618:S^Cottage^;
!#OB22/171/1:Hz618;

Flag 1000 has two meanings, depending on whether its used in a battle trigger or not. For a non-battle trigger, this flag will be set to true when a hero owned by a human player visits a map object or is the subject of a trigger such as a timer or level gain check. If a computer (AI) hero visits an object, flag 1000 will be set to false. Again, you can set this flag yourself but it's probably safest not to, since you may wish to check its value in a script to determine if the subject is a human or AI player.
Therefore, if checking the flag's condition, -1000 means AI and 1000 means Human.

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


Undefeatable Hero
Therefore I am
posted December 26, 2022 08:11 AM
Edited by Ghost at 08:15, 26 Dec 2022.

Salamandre said:
Ghost said:

!!LE8/172/0:G3/159/800; local event, guarded 800 ghosts
!!HE144:070/2; sir mullich vs neutral clavius hero
!?BA0:144/70; sir mullich vs neutral clavius hero

I tried neutral clavius hero with his 800 ghosts in the local event, sir mullich steps on a local trap event..





ZVSE

!?LE8/172/0&1000; event
!!HE-1:N?y1;
!!FU&y1<>144:E; exit if not Mulich
!!IF:V90/1; set flag 90
!!HE-1:T8/172/0/159/800; create battle
!!HE-1:O?y1; after battle reset flag if Mulich alive
!!IF&y1>-1:V90/0;

!?BA0&v998=8/v999=172/v1000=0/90; Battle
!!BA:H1/70; set Clavius defender
!!HE70:F100/100/100/100; set Clavius stats, modify them as you wish
!!HE70:C0/0/159/100 C0/1/159/100 C0/2/159/100 C0/3/159/100 C0/4/159/100 C0/5/159/100 C0/6/159/100; set Clavius army



EDIT

HAH I found bug 93/94/1.. It should be 94/93/1.. Ok now we hope our legendary script will working.. If yes, no message, if no, I write here.. If you want to read..

---------------------------------------------------------------------

Problem! If Tan AI stepped on event.. and our script doesn't work.. Check on script, if wrong.. Even if first hero steps on event, and it appears over 130PS Mot with 4095 ghosts.. If first computer stepped on event, and second hero steps on event, but no happening..

!?LE93/94/1&1000;
!!HE-1:N?y1;
!!FU&y1<>16:E;
!!IF:V90/1;
!!HE-1:T93/94/1/159/4095;
!!HE-1:O?y1;
!!IF&y1>-1:V90/0;
!?BA0&v998=8/v999=172/v1000=0/90;
!!BA:H1/70;

!?LE93/94/1&1000;
!!HE-1:N?y1;
!!FU&y1<>23:E;
!!IF:V90/1;
!!HE-1:T93/94/1/159/4095;
!!HE-1:O?y1;
!!IF&y1>-1:V90/0;
!?BA0&v998=8/v999=172/v1000=0/90;
!!BA:H1/70;

etc they're a great heroes..



Hmm &1000 means AI block, but.. Another what? Without blue event on the map, our script doesn't work too.. If true! I save script for another walkthrough map..
____________
Fight MWMs - stand teach

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


Undefeatable Hero
Therefore I am
posted December 26, 2022 09:35 AM
Edited by Ghost at 09:36, 26 Dec 2022.

Script doesn't work now.. Before script had worked.. Now only ghosts.. and without hero Clavius..

1.) I tried also your script back..
2.) I tried first hero go to the event also first AI..
3.) Disabled and enabled Clavius..

I doubt that I disabled many heroes, but AI or Human player can buy disabled heroes.. It same time I tested Clavius.. It after I enabled many heroes, then Human player and AI can't buy disabled heroes..
____________
Fight MWMs - stand teach

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


Admirable
Omnipresent Hero
Wog refugee
posted December 26, 2022 10:06 AM
Edited by Salamandre at 10:34, 26 Dec 2022.

When you  asked me for Clavius battle, you said:

Ghost said:

!!LE8/172/0:G3/159/800; local event, guarded 800 ghosts
!!HE144:070/2; sir mullich vs neutral clavius hero
!?BA0:144/70; sir mullich vs neutral clavius hero



So I gave you script for event at 8/172/0 coordinates.

Now you complain the following event will not trigger same battle:

!?LE93/94/1&1000;
!!HE-1:N?y1;
!!FU&y1<>23:E;
!!IF:V90/1;
!!HE-1:T93/94/1/159/4095;
!!HE-1:O?y1;
!!IF&y1>-1:V90/0;
!?BA0&v998=8/v999=172/v1000=0/90;
!!BA:H1/70;

Which is normal, my script was for coordinates 8/172/0, you can't just change values in a script then want it to magically work. You don't see that event x/y/z doesn't match BA0 x/y/z?

Erm is not voodoo

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


Undefeatable Hero
Therefore I am
posted December 26, 2022 10:37 AM
Edited by Ghost at 10:38, 26 Dec 2022.

I see..

A old LE was a test, when I know script works.. I choose/chose a new place.. Thanks genius!
____________
Fight MWMs - stand teach

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 412 pages long: 1 50 100 150 200 250 300 350 ... 398 399 400 401 402 ... 412 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.4044 seconds