|
|
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?
____________
|
|
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.
|
|
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.
____________
|
|
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?
____________
|
|
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
|
|
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.
____________
|
|
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
|
|
deathstare
Adventuring Hero
|
posted November 26, 2023 02:00 AM |
|
|
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
|
|
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?
|
|
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.
|
|
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 🙁For me the town conquering should be a lot harder !
Editing the zctrait.txt doesn’t change these values in the game ☹️
____________
|
|
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 🙁For me the town conquering should be a lot harder !
Editing the zctrait.txt doesn’t change these values in the game ☹️
____________
|
|
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?
____________
|
|
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
|
|
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.
|
|
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.
____________
|
|
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);
|
|
bloodsucker
Legendary Hero
|
posted December 08, 2023 01:31 PM |
|
|
Thx. I guess that's it, now I just need to make it work.
____________
|
|
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?
|
|
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.
____________
|
|
|