|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted March 07, 2025 02:34 PM |
|
|
|
Depends on the design of mountains. If not huge area, I would place events removing all movement, so you can walk one hex turn.
|
|
bloodsucker

 
     
Legendary Hero
|
posted March 07, 2025 02:50 PM |
|
|
That's a great idea. If the events don't disappear they'll function as a block to the passage. No one will want to lose a dozen days with another hero when he can never reach main, so I don't need another trick to avoid it.
Thanks.
____________
|
|
bloodsucker

 
     
Legendary Hero
|
posted April 28, 2025 11:48 AM |
|
|
I wanted to copy Adventure Pillars Rockfeller to another mod, to make it an hero's specialty but I don't get how it works and there is a ton of code that is just there to locate the option, can you show me what you did?
P.S. I don't want it related to commanders but to a specific hero.
P.P.S. Can I get the total experience the hero will get in BA1? Half of that would be perfect since Karmic Battles give a much higher number then the HP of the original stack.
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted April 28, 2025 05:41 PM |
|
|
1) From what I see, it is scripted here:
!?BA0&1000; Rockfeller bonus
!!BA:H0/?y1;
!!BA:H1/?y2;
!!IF:Wy1;
!!SN&w126>0:W^R99Health^/0;
!!DO45696538/0/6/1&w126>0/y2<0:P;
; Get total health of neutrals
!?FU45696538;
!!SN:W^R99Health^/?y10;
!!BA:M1/x16/?y3/?y4; [If neutrals]
!!FU|y3<0/y4=0:E; [Exit if nothing in slot]
!!MA:Py3/?y5; base HP of the creature
!!VRy6:Sy5*y4; total health for the stack
!!VRy10:+y6; add stack's health to total health: y10;
!!SN:W^R99Health^/y10;
!?BA1&1000;
;Rockfeller
!!HE-1:O?v1;
!!FU&v1<0:E;
!!IF:W-1;
!!FU&w126<1:E;
!!SN:W^R99Health^/?y1;
!!FU&y1<1:E; exit if AI hero
!!VRy1::2; adjust spoils
!!HE-1:B0/?z1;
!!IF:Q1/6/y1/1^Rockfeller bonus: %Z1 managed to pick up %Y1 gold before the monsters could flee^;
!!OW:R-1/6/dy1;
!!UN:R2;
So, now that you see how is working, you need to put Hero ID condition in BA0, remove all conditions from Rockefeller (w vars, SN:W as well), see on which side he is (right/left) then start counting health on the opposite side (!?FU45696538;). Then in BA1 (after battle), set hero ID condition again and give him the resources, if he won the battle
2) I don't know how to change experience from battle.
|
|
bloodsucker

 
     
Legendary Hero
|
posted April 28, 2025 11:39 PM |
|
|
Thank you for answering this trivial question in the middle of the apocalypse.
But if I ask the values of the experience in BA0 and BA1 they will be different, right?
I'll test it, now that I have the computer back working.
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted April 29, 2025 12:28 AM |
|
|
|
No, because BA1 occurs before the experience is given to the hero. I think I tested this by the past, but do it again, compare exp in BA0 and BA1 and see if they are similar, which I do believe.
|
|
bloodsucker

 
     
Legendary Hero
|
posted April 29, 2025 01:35 AM |
|
|
It took me some time to get it right but no, it's not the same value.
*** Rockfeller
!?BA0&1000;
!!BA:H0/?y1;
!!FU&y1<>11:E;
!!HE11:E?y2;
!!SN:W^PrExp^/y2;
!?BA1&1000;
!!HE-1:O?v1;
!!BA:H0/?v2;
!!FU&v1<0:E;
!!FU&v2<>11:E;
!!SN:W^PrExp^/?y1;
!!HE11:E?y2;
!!VRy3:Sy2-y1;
!!VRy3::4;
!!OW:R-1/6/dy3;
!!IF:Q1/6/y3/1^You gained %Y3 gold from this fight.^;
!!UN:R2;
|
|
Orc

 
   
Famous Hero
|
posted June 19, 2025 04:30 PM |
|
Edited by Orc at 16:30, 19 Jun 2025.
|
Mass fireShield
How do I make Fire Shield mass spell?
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted June 19, 2025 08:48 PM |
|
|
!!SS29:F?y1; fire shield
!!VRy1:&-17; [remove single target flag]
!!VRy1:|64; [add mass spell flag]
!!SS29:Fy1; set spell to mass if upgraded
|
|
Orc

 
   
Famous Hero
|
posted August 19, 2025 09:56 AM |
|
|
Hello,
Is there way to modify curse?
Can we make expert max-1?
Can we make it reduces damage by %
|
|
Orc

 
   
Famous Hero
|
posted August 20, 2025 02:54 PM |
|
|
Manipulating stack experience bonus
Hello,
I enabled stack experience script. I see there are lots of bonuses. Is it possible to change speed increment? is it possible to modify abilities to be gained with level up experience (every unit generally gains different ability)
I have seen some probably relevant scripts? these:
option 736 - battle experience.erm
option 742 - experience without abilities.erm
option 774 - experience exchange.erm
|
|
Avatar

  
    
Promising
Supreme Hero
|
posted August 21, 2025 07:13 AM |
|
|
Scroll down to Editing Stack Experience Defaults
https://www.celestialheavens.com/h3maparchives/wog/wogfeatures.html
____________
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted August 21, 2025 08:56 AM |
|
|
Yes, at the start of the battle, run a loop, check experience levels of each stack, then apply bonuses. But that is not basic ERM, you need some experience.
You can check similar script in The Empire 4, where the stack with curse applied loses 1 damage every turn, or where the stack with bless gains +1 damage every turn.
____________
You must not OFFEND people - Jolly Joker
|
|
Orc

 
   
Famous Hero
|
posted August 24, 2025 01:31 PM |
|
|
Avatar said: Scroll down to Editing Stack Experience Defaults
https://www.celestialheavens.com/h3maparchives/wog/wogfeatures.html
I have that on Era+ mod but I didn't find it in my Era3.94 directory. There is nothing like CreXpBon.txt
|
|
OldHommPlayer

 
Tavern Dweller
|
posted September 09, 2025 12:00 AM |
|
|
Hi,
I have an old WOG 3.58 map that I want to upgrade to ERA. But when I run it, the scripts crash at the beginning of the map creation. It's one of the WOG objects on the map that causes this, but I have no idea which one is it, and there are hundreds of them.
How do I find out which WOG object crashes?
____________
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted September 12, 2025 04:33 AM |
|
|
|
Could you upload the map somewhere so I check?
|
|
Havez77

 
Tavern Dweller
|
posted October 06, 2025 11:02 PM |
|
Edited by Havez77 at 23:03, 06 Oct 2025.
|
Hi guys, we have some strange bug... there was a fix for it, but we forget how to..
Our textboxed will only show the codes, not the text itself, check screen:
Maybe you know the solution? 

|
|
RerryR

  
    
Promising
Supreme Hero
Researching Magic
|
posted October 07, 2025 06:52 AM |
|
|
|
update or reinstall or enabeld GEM mod, perhaps you loaded an older save without the mod. Pressing F12 could also help.
|
|
Havez77

 
Tavern Dweller
|
posted October 08, 2025 01:35 AM |
|
|
RerryR said: update or reinstall or enabeld GEM mod, perhaps you loaded an older save without the mod. Pressing F12 could also help.
Woa! Thank you, relaoding did not help, but uninstall the GEM mod and reload again. 
Thank you and have a nice day!
|
|
bloodsucker

 
     
Legendary Hero
|
posted October 20, 2025 10:42 AM |
|
|
I know this is not exactly ERM but it's necessary for that to work... What is a .json file and how do I edit them? I copied the mod structure from TEW III and now I have the icon and the description from it on a completely different map...
____________
|
|
|
|