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 405 pages long: 1 2 3 4 5 ... 80 160 240 320 ... 401 402 403 404 405 · «PREV
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
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 405 pages long: 1 2 3 4 5 ... 80 160 240 320 ... 401 402 403 404 405 · «PREV
Post New Poll †† Post New Topic †† Post New Reply

Page compiled in 0.6199 seconds