|
|
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 ☹️
____________
|
|
|