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 396 pages long: 1 50 100 150 200 250 300 350 ... 384 385 386 387 388 ... 396 · «PREV / NEXT»
Ghost
Ghost


Legendary Hero
Therefore I am
posted October 09, 2020 12:52 AM

RerryR said:
Ghost said:



sorry I have a really hard time to understand what you need.

All I can say is that you must improve your scripts by adding comments and structure it more clearly by separating instructions from Triggers. If you want to avoid AI using objects always use flag 1000 as condition -> &1000


!#VRz982:S^Cursed Hill Fort (upgrade creatures)^; //Instructions dont need a trigger
!#OB227/112/1:Hz982; // Instruction for setting description


!?OB227/112/1; //Object Trigger
!!MA:U61/159; //Set Upgrade for creature 61
!!MA:U111/157; ...
!!MA:U157/168; ...
!!HE-1:D; Call upgrade dialog for hero's army (no parameters)



I don't want to avoid AI. ÁI visits to Cursed Hill Fort, and message shows AI's armies, I can't help to upgrade their troops. I don't want message, I want AI can upgrade creatures.

Ok I write a comments
____________
Fight MWMs - stand teach

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


Promising
Supreme Hero
Researching Magic
posted October 09, 2020 08:09 AM
Edited by RerryR at 08:18, 09 Oct 2020.

@Ghost

I see.
You can try with this command
HE :C1/#1/$2/$3
Change monsters by type
All monsters of type #1 will change into:
 $2 - type: Format C
 $3 - number.



!?OB227/112/1&-1000; //Object Trigger only for computer player

!!HE-1:C1/61/159/d0; //Upgrade all 61-Wraith to 159-Ghost in the current heroes Army
!!HE-1:C1/157/168/d0; //Upgrade all 157-Hell Hydra to 168-Gorynych in the current heroes Army

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


Legendary Hero
Therefore I am
posted October 09, 2020 08:20 AM

Ok later on I test then.

Now's sad attempt, I tried !!EA96:L756000;

I quote from ERM help reads

Set/get an experience scale and limit.
 This sets the stack experience needed for a creature to reach rank 10, and from this number the experience needed for each rank up to 10 is also derived and automatically calculated by the game (as a percentage of this total).
Example:
********
!!EA141:L30000; [Set rank 10 experience for Mummies to 30000 points]
********

And sad script doesn't work. Is something missing? Give full script, when I can't find about ERM help.
____________
Fight MWMs - stand teach

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


Promising
Supreme Hero
Researching Magic
posted October 09, 2020 08:34 AM
Edited by RerryR at 08:35, 09 Oct 2020.

Works for me, full script:

!#EA118:L50000; [Set rank 10 experience for 118-Pixies to 50000 points at map start]

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


Legendary Hero
Therefore I am
posted October 09, 2020 12:31 PM

RerryR said:
Works for me, full script:

!#EA118:L50000; [Set rank 10 experience for 118-Pixies to 50000 points at map start]


It also doesn't work.

I left unfinished educational science, I think to create "Easiest ERM script tutorial" thread.

Comment is done*. Now I test whether AI upgrades troops.

*My style:

1.)

Above Z starts WoG that the timed event is a script.

2.)

!?PI means post Instruction

3.)

!#UN is a UNIVERSAL COMMANDS

!#UN = Set WOG options

Example of !#UN5 says

!#UN5/0 WoGify random WoG maps
!#UN5/1 WoGify ALL WoG maps
!#UN5/2 WoGify ALL RoE, AB, SoD and WoG maps
!#UN5/3 WoGify ALL maps but ASK before WoGifying

but EA doesn't work.
____________
Fight MWMs - stand teach

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


Legendary Hero
Therefore I am
posted October 11, 2020 01:53 PM

Ghost said:
Now's sad attempt, I tried !!EA96:L756000;


Yes it works, I'm happy. Would be problem, and I found wrong 96 format by chance, I tried Ancient Behemoth. Now's WoG got a H4 "stack experience".
____________
Fight MWMs - stand teach

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

Tavern Dweller
Strike&Return
posted October 21, 2020 04:29 PM
Edited by VictoryHarpy at 16:31, 21 Oct 2020.

Hi friends,

I have a problem when creating a random map using the map editor. I'll end up having this crash text
Quote:
Exception EAccessViolation in module h3wmaped.exe at 00029E1B.
Access violation at address 00429E1B in module "h3wmaped.exe" Read of address 00000000.
Trying the second or the third time will usually work. Is there a solution for this ?

BTW, I'm running Era gaming build v3.0.4 and Third Upgrades Modv 2.2.0 for ERA 3.

The game is installed as C:GOG GamesHoMM 3 Complete and running on Windows 10.

Great community by the way guys, thank you!
____________

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


Honorable
Supreme Hero
posted October 21, 2020 08:03 PM

Try disabling Third Upgrades mod before generation.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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

Tavern Dweller
Strike&Return
posted October 21, 2020 09:18 PM

Thank you Bersy, that seems to did it.

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


Legendary Hero
Therefore I am
posted October 24, 2020 02:44 PM
Edited by Ghost at 16:07, 24 Oct 2020.

Werewolves to Goblin Knights

I ask you

!!EA194:B6/1/87/61/0/5/10/15/20/25/30/35/40/45/50; [194 Werewolf 87 Magic Resistance]

Ok I waited for percent, but table showed =0 =5 etc, not 0% 5% etc Does it = mean percent? If not, give full script.

EDIT: The solution is !!EA194:B6/1/87/37/0/5/10/15/20/25/30/35/40/45/50;

I found Salamandre's thread

____________
Fight MWMs - stand teach

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


Promising
Supreme Hero
Researching Magic
posted October 24, 2020 04:27 PM
Edited by RerryR at 16:32, 24 Oct 2020.

Ghost,

to check or manipulate the real current chance for creatures to resist a spell (MR) use this example code:
(just hover with a spell over enemy creature)


!?MR2;                                  [Magic Resistance Trigger]

!!MR:N?y1 S?y7;                         [Get Creature Number and Spell Number]
!!BMy1:I?y2 T?y3 P?y4;                  [Get Creature Side]
!!BG:H?y50;                             [Get Casting Hero]
!!BA:Hy2/?y5;                           [Get Hero Number of creature side]
*!FU&y5<0:E;                            [Exit if no Hero]
*!FU&y50=y5:E;                          [Exit for beneficial spells, meaning same hero]  
!!MR:F?y99;                             [Check current MR]
!!IF:L^MR is %Y99^;
*!MR:Fd15;                              [Apply increased resistance chance to that stack temporarily]

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


Legendary Hero
Therefore I am
posted October 24, 2020 05:10 PM

Now I don't use a difficult or special scripts, because I don't understand yet. At the moment basic and easy scripts. Ok I created three fantastic Hexis creatures, dracoliches kept the same. Now I do Salamandre's scripts to all H4 creatures, if find the same format list.

Thanks
____________
Fight MWMs - stand teach

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


Famous Hero
posted October 30, 2020 12:14 PM
Edited by XEricSin at 17:22, 02 Nov 2020.

Hi,

I am trying to modify the battle hint when cursor is hovering over the target.

I need to know the direction or position of attack similar to cavalry's jousting.

Can someone help please? Thanks.

Edit:
Problem solved by Hawaiing.
!!UN:C6919200/4/?y10;
!!VRy12:Sy10+78544;
!!VRy13:Sy10+78548;
!!VRy14:Sy10+78552;
!!UN:Cy12/4/?y22;[&#30446;&#26631;&#23617;&#32929;&#20301;&#32622;]&#32905;&#25615;/&#23556;&#20987;/&#26045;&#27861;&#26102;&#26356;&#26032;&#65292;&#26080;&#30446;&#26631;&#26102;&#20026;-1
!!UN:Cy13/4/?y23;[&#40736;&#26631;&#20301;&#32622;]
!!UN:Cy14/4/?y24;[&#33853;&#33050;&#23617;&#32929;&#20301;&#32622;]&#26080;&#30446;&#26631;&#26102;&#19981;&#26356;&#26032;&#65292;&#38750;&#32905;&#25615;&#26102;&#19981;&#26356;&#26032;
! !IF:L^%Y22 %Y23 %Y24^;
!!SN:W^MM0_Target_Butt^/y22;
!!SN:W^MM0_Cursor_Position^/y23;
!!SN:W^MM0_Attack_Position_Butt^/y24;


Edit:
I remember there is a function to clear the IF:L on the screen.

But I forgot what is was.

Can anyone show me the script please? Thanks.

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

Tavern Dweller
posted November 01, 2020 12:12 PM

Hello everyone, can anyone make a simple script "any mine gives triple amount of resources any time", ore/wood income is 6, gold is 3000, other is 3. Thanks!

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


Famous Hero
posted November 25, 2020 02:13 AM
Edited by XEricSin at 14:05, 25 Nov 2020.

I am posting this crash problem again, but this time with debug folder.

A crash occurs (not always) when entering battle, after music, before battlefield is shown.

This crash location is in  game bug fix extended dll.

Can any warm hearted hero help me look at this, please?
debug
savegame

If this is due to my scripts or settings, I would like to avoid this problem on my side.

Thank you.

More info: It seems crash only happens with hero 139. Crash occurs if hero has creature specialty for creature id >197.

More info: This savegame does not crash on some computers. Could it be some system compatibility issue?

edit: Problem is gone after updating fix dll and amethyst dll

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


Honorable
Supreme Hero
posted November 25, 2020 02:18 AM

Could you make a test savegame? Which Era version do you use?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Famous Hero
posted November 25, 2020 05:22 AM

Bersy said:
Could you make a test savegame? Which Era version do you use?


Uploaded savegame. ERA3.2. Thank you.

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


Honorable
Supreme Hero
posted November 25, 2020 01:51 PM

Seems like you use old buggy BatteSave plugin by igrik. It screws savegames. The plugin should be updated/removed and map restarted (not loaded).
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Famous Hero
posted November 25, 2020 02:03 PM

Bersy said:
Seems like you use old buggy BatteSave plugin by igrik. It screws savegames. The plugin should be updated/removed and map restarted (not loaded).


Just updated fix dll and amethyst dll to newest one.
The problem is resolved!
Thanks for your time, Bersy and igrik and maja.

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


Honorable
Supreme Hero
posted November 26, 2020 08:57 PM

Welcome )
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 396 pages long: 1 50 100 150 200 250 300 350 ... 384 385 386 387 388 ... 396 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1456 seconds