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 2 3 4 5 ... 80 160 240 320 400 ... 403 404 405 406 407 · «PREV / NEXT»
bloodsucker
bloodsucker


Legendary Hero
posted November 10, 2023 11:09 AM

Salamandre said:
1 archangel can resurrect 100 HP. So you need to boost the spell accordingly.
That's about what I thought... so, if I increase the power of the spell, following what you did in TEW IV, it will affect the power of the AAs res too?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 10, 2023 01:09 PM

I think it will, but that would affect the spell too, when cast. What I did in TEW4 was give different value for resurrect only on human turn then reverse it for AI. Which is not so easy, as you need to track hero spell cast, and then when archangels turn, so there will be 2 conditions.  

It is doable, but not basic scripting.

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


Legendary Hero
posted November 11, 2023 08:19 AM

I'm ok with that working for everyone, I'm the one with clone and AAs.
____________

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


Legendary Hero
posted November 20, 2023 07:13 PM

I want to create an object that trades 1 creature for 2 of another type (kind of a seer's hut but it can be reused), do I really need to scan all army slots one by one with !!HE:C0 or I'm missing something?  
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 21, 2023 03:45 AM

Not necessarily, there are other ways  (courtesy to Fnord for showing me how to play with erm to get what you're not supposed to)

!?CM0;                   [right click on adventure map]
!!HE-1:C1/12/?y1/?y2;    [get number of angels (ID=12) in hero army y1 = ID, y2 = quantity]
!!IF&y1<>12|y2<2:M^You don't have what I ask^; [if no angels or less than 2 angels, leave]
!!FU&y1<>12|y2<2:E;      [exit]
!!HE-1:C1/12/12/d-2;     [take 2 angels from hero]
!!HE-1:C2/13/1/1;        [give one archangel]
!!UN:R1;                 [redraw map]
!!IF:M^done^;
____________
Era II mods and utilities

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


Legendary Hero
posted November 21, 2023 05:02 AM

Thanks, I was really missing something. I read the Cs a dozen times and concluded the only one that would get the info was C0... I'm dumb.
That's perfect and exactly what I understood couldn't be done.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted November 21, 2023 05:21 AM

No, you were right, erm says the only way is loop through C0. But 8 years ago, I was analyzing Fnord scripts in some map he did, and I noticed an additional way to get it done by reading through the lines - I was like wtf, this guy doesn't abide by the rules, where that comes from. So here it is.
____________
Era II mods and utilities

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


Adventuring Hero
posted November 26, 2023 02:00 AM
Edited by deathstare at 02:02, 26 Nov 2023.

Hello? There's something I really want to know. HD mode has the function to see which point of the battlefield the stack can reach, as shown in the picture. I would like to know if there is a way to check this through ERM.



https://postimg.cc/dhnpRKNX

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


Admirable
Omnipresent Hero
Wog refugee
posted November 26, 2023 06:06 AM

Not with erm. Can I ask why would you need it? HD mod doesn't work in your game?

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


Adventuring Hero
posted November 26, 2023 07:33 AM

Salamandre said:
Not with erm. Can I ask why would you need it? HD mod doesn't work in your game?


I'd like to improve AI so that an archer with empty shots can run away or stick to a a friendly stack without rushing into an enemy group.If there is no other way, I would like to calculate and code myself.

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

Tavern Dweller
posted November 29, 2023 09:24 PM

Changing moat and turret damage

Hi! I’m wondering if anyone could help me, I try to change turret and moat attack/damage values, but can’t find a way to do this &#128577;For me the town conquering should be a lot harder !
Editing the zctrait.txt doesn’t change these values in the game &#9785;&#65039;
____________

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

Tavern Dweller
posted November 29, 2023 09:25 PM

Changing moat and turret damage

Hi! I’m wondering if anyone could help me, I try to change turret and moat attack/damage values, but can’t find a way to do this &#128577;For me the town conquering should be a lot harder !
Editing the zctrait.txt doesn’t change these values in the game &#9785;&#65039;
____________

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


Legendary Hero
posted December 07, 2023 01:44 PM

Hi! I probably won't need an entire script but can someone point me one that places a stack of monsters on a specific location using timers?
____________

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


Adventuring Hero
posted December 07, 2023 02:44 PM

bloodsucker said:
Hi! I probably won't need an entire script but can someone point me one that places a stack of monsters on a specific location using timers?


Try the entire script

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


Admirable
Omnipresent Hero
Wog refugee
posted December 07, 2023 06:47 PM

I think he wants on map, not in battle, thus the use of timer.

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


Legendary Hero
posted December 07, 2023 10:26 PM

Yeah! To respawn guards at a location. I haven't been in front of the computer the hole day but I recalled that your Valley of Infinite Gems in TEW III does that, only in an !!LE. And "week of monsters" may be helpful too. Thanks.
____________

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


Adventuring Hero
posted December 07, 2023 11:52 PM

Something like this?
Quote:
!$LE19/0/0;                             [Triggers on stepping on the event at 19/0/0]
!!VRi^arch_event_19_0_0^:S(TRUE);       [Set the global var to TRUE to enable the real time trigger]

!?TL1&i^arch_event_19_0_0^;             [Triggers after 1 sec]
!!IF:M^Something's burning!^;
!!VRi^arch_event_19_0_0^:S(FALSE);
!!VRi^arch_event_19_0_0a^:S(TRUE);

!?TL2&i^arch_event_19_0_0a^;             [Triggers after 2 sec]
!!IF:M^Here comes the Phoenix!^;
!!UN:I19/1/0/(OBJ_MONSTER)/(MON_PHOENIX)/(OBJ_MONSTER)/(MON_PHOENIX)/0/0;
!!VRi^arch_event_19_0_0a^:S(FALSE);

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


Legendary Hero
posted December 08, 2023 01:31 PM

Thx. I guess that's it, now I just need to make it work.
____________

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


Adventuring Hero
posted December 15, 2023 06:51 PM

I don't remember if this is the right section, not playing since years.

When checking the option "Call to Arms", I press 1 to 7 to instant buy troops from external dwellings, and it works perfectly, but when in a Rampart town, with a Unicorns dwelling is not working. I have tested with Castle and Tower and works with all units. Is that a known bug? Or maybe I have something wrong?

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


Legendary Hero
posted December 15, 2023 07:12 PM

Not the right section, look for the thread for that map (TEW III or Alexander?) but I can remind you in the message that explains how to use the keys it also says it only works for Castle.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 2 3 4 5 ... 80 160 240 320 400 ... 403 404 405 406 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5925 seconds