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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info 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 356 pages long: 1 40 80 120 160 200 ... 237 238 239 240 241 ... 280 320 356 · «PREV / NEXT»
Mister_kalu
Mister_kalu


Known Hero
posted October 22, 2014 06:17 PM
Edited by Mister_kalu at 18:21, 22 Oct 2014.

when i get the spell points, on the right corner appears the mini hero with their monsters and the four primary skills. the resource bar also appears until you press some button in the battlefield


edit: right corner

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


Legendary Hero
posted October 22, 2014 06:31 PM

@Salamandre: I need an opinion from the Master.
If I'm able to create what I'm thinking of (and I think I can), the "Neutrals stack experience" will became redundant and conflictous. I still don't know about "Neutrals get help" but probably will need a twist, maybe a total new development. Do you  think it's OK to disable those options from the original WoG screen using UN commands?

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 06:31 PM
Edited by Salamandre at 18:33, 22 Oct 2014.

@Kalu

What you use to give mana? This will not create any bug, can use also with BG, BF:

!?BR&v997>1; each battle round
!!BA:H0/?y1;
!!HEy1:Id50; give left hero 50 mana

@Bloodsucker,

No idea. Try and see. In all my maps all wog is disabled, but in some mods, no. Test is the only advice.

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


Legendary Hero
posted October 22, 2014 07:18 PM
Edited by bloodsucker at 19:24, 22 Oct 2014.

Salamandre said:
@Bloodsucker,

No idea. Try and see. In all my maps all wog is disabled, but in some mods, no. Test is the only advice.


But the last thing I want is to disable WoG and mods. Most of my ideas count with some of the newest mods like Conquistador: Leaders and Invite Tavern.
Does it looks too bad if I skip the f...g dwellings and let angels be hired at Behemoths crag and Phoenix at Portal?

If I create a DO including the not used creatures in the middle of Conflux (122, 124, 126, 128) will it provoke an error that stops the sequence?

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


Known Hero
posted October 22, 2014 07:19 PM

Salamandre said:
@Kalu

What you use to give mana? This will not create any bug, can use also with BG, BF:

!?BR&v997>1; each battle round
!!BA:H0/?y1;
!!HEy1:Id50; give left hero 50 mana

@Bloodsucker,




Ok let me see, HE40 have the following situation about his spell points:
44 available/85 total;
the HE:I receiver shown 44??, how do you get the  number 85? obviously isn't knowledge X 10

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 07:23 PM
Edited by Salamandre at 19:25, 22 Oct 2014.

I don't understand what you want. I just show you how to give mana during battle, after that you make the maths. 85 as total means he may have basic/advanced intelligence, look at skills descriptions.
____________
Era II mods and utilities

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


Known Hero
posted October 22, 2014 07:27 PM

Salamandre said:
I don't understand what you want. I just show you how to give mana during battle, after that you make the maths. 85 as total means he may have basic/advanced intelligence, look at skills descriptions.


nothing, i want both numbers for my custom dialog.

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 07:34 PM

bloodsucker said:
If I create a DO including the not used creatures in the middle of Conflux (122, 124, 126, 128) will it provoke an error that stops the sequence?


It depends of context, not always. Do the loop then see if error...
____________
Era II mods and utilities

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


Legendary Hero
posted October 22, 2014 07:35 PM
Edited by bloodsucker at 19:37, 22 Oct 2014.

Mister_kalu said:
Ok let me see, HE40 have the following situation about his spell points:
44 available/85 total;
the HE:I receiver shown 44??, how do you get the  number 85? obviously isn't knowledge X 10



Intelligence less then expert?

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


Known Hero
posted October 22, 2014 07:43 PM
Edited by Mister_kalu at 19:49, 22 Oct 2014.

bloodsucker said:
Mister_kalu said:
Ok let me see, HE40 have the following situation about his spell points:
44 available/85 total;
the HE:I receiver shown 44??, how do you get the  number 85? obviously isn't knowledge X 10



Intelligence less then expert?


85 is a random number, the total mana points can be increased for many reasons monsters, objects, secondary skills, etc

edit. the fixed total number can only be increased by intelligence maybe

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


Legendary Hero
posted October 22, 2014 08:10 PM
Edited by bloodsucker at 20:49, 22 Oct 2014.

@Salamandre: you once told me to always use TM2 for daily checks, I see TM91 used in TDS Palace and TM38 in Emerald Tower. Is there a conventional weekly timer? Would you recommend any?


Is this code correct, I know I should have used the steps on the DO but it seemed extremely complicated and hard to test
---
**Monsters below level 8 are stronger 25%

!#TM38:S1/999/7/255;
!?TM38
!!DO724321/0/131/1:P;
!!DO724321/137/144/1:P;
!!DO724321/159/159/1:P; **** Ghosts
!!DO724321/164/173/1:P;
!!DO724321/192/195/1:P;

**Monsters above level 8 are stronger 15%
!!DO724322/132/135/1:P;
!!DO724322/151/158/1:P;
!!DO724322/193/193/1:P; **** Dracoliches


!?FU724321;
!!FU&x16=12/x16=13/x16=36/x16=37/x16=63/x16=64/x16=67/x16=122/x16=124/x16=126/x16=128:E;
** excludes players army and some not used monsters just for safety
!!MA:Ax16/?y1 Dx16/?y2 Ex16/?y3 Mx16/?y4 Px16/?y5;
!!VRy1:*125:100;
!!VRy2:*125:100;
!!VRy3:*125:100;
!!VRy4:*125:100;
!!VRy5:*125:100;
!!MA:Ax16/y1 Dx16/y2 Ex16/y3 Mx16/y4 Px16/y5;

!?FU724322;
!!FU&x16=154:E;  *** excludes Blood Dragons
** excludes players army and some not used monsters just for safety
!!MA:Ax16/?y1 Dx16/?y2 Ex16/?y3 Mx16/?y4 Px16/?y5;
!!VRy1:*115:100;
!!VRy2:*115:100;
!!VRy3:*115:100;
!!VRy4:*115:100;
!!VRy5:*115:100;
!!MA:Ax16/y1 Dx16/y2 Ex16/y3 Mx16/y4 Px16/y5;

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


Famous Hero
posted October 22, 2014 09:11 PM

Hi,

is there any erm command to check the skill numbers per hero limit? Or maybe even set it?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 09:26 PM
Edited by Salamandre at 21:29, 22 Oct 2014.

Bloodsucker,

Vars and timers can be used as long as they are free. To find out which are not claimed, you must use total commander, commands/search, then  enter the text to search, from era/mods folder naturally. In my example, the search is for !?TM2 and will display in lower box all the mods/erm files using it.



Siegfried

Normally the limit is 8. There is a script increasing this limit to 12, then a plugin in era for unlimited (you get all 28 skills). You can set a custom limit by using !?HL trigger. Once you hero reaches x level or whatever condition, prohibit him to learn more skills.

As far as I remember, HE:S are the receivers for secondary skills

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


Legendary Hero
posted October 22, 2014 09:51 PM

Salamandre said:
To find out which are not claimed, you must use total commander, commands/search

Thank you.

!!MA:Ax16/?y1 Dx16/?y2 Ex16/?y3 Mx16/?y4 Px16/?y5;
!!VRy1:*125:100;
!!VRy2:*125:100;
!!VRy3:*125:100;
!!VRy4:*125:100;
!!VRy5:*125:100;
!!MA:Ax16/y1 Dx16/y2 Ex16/y3 Mx16/y4 Px16/y5;


I'm sure this runned cause HP is the last parameter and I could check it was increased but I think this operations are by default rounded down so the others weren't changed for level 1 monsters. How can I make it round up or say at least 1?
The only solution I see is
!!VRy1:*125:100+1;

but I have to test it,

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 09:59 PM
Edited by Salamandre at 22:09, 22 Oct 2014.

Well, firstly your times is running for all players. So if you have for example 4 players, it will increase your monsters HP by 25% x 4. You must run it only once.

then for less than zero rounded down, is a bit more complicated:

!!MA:Ax16/?y1; check attack
!!VRy2:Sy1*125:100; increase by 25%, store in y2
!!VRy2&y2<1:S1; set y2 to 1 minimum value if result was rounded down to zero or less.
!!MA&y2>1:Ax16/y2; if result more than 1, set to y2
!!MA&y2=1:Ax16/dy2;if result is 1, add 1 to initial attack

Then same thing for all.

____________
Era II mods and utilities

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


Legendary Hero
posted October 22, 2014 10:07 PM

Salamandre said:
!!MA:Ax16/?y1; check attack
!!VRy2:Sy1*125:100; increase by 25%, store in y2
!!VRy2&y2<1:S1; set y2 to 1 minimum value if result was rounded down to zero or less.
!!MA:Ax16/dy2; add y2 to initial attack



Thank you. I tought there was an operator to round up or something and I simply did new it.

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 10:07 PM

Look again, I fixed my script, was wrong.
____________
Era II mods and utilities

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


Legendary Hero
posted October 22, 2014 10:31 PM
Edited by bloodsucker at 22:35, 22 Oct 2014.

Salamandre said:
Look again, I fixed my script, was wrong.


As a matter if fact I think both last lines are useless. If the result was more then 1 y2 stores that result, if it wasn't now stores 1. So it is just pass y2, right?

NO, cause is initial y1+1.

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


Admirable
Omnipresent Hero
Wog refugee
posted October 22, 2014 10:33 PM

If they were useless, I wouldn't write them. Try with real values and see how it goes.
____________
Era II mods and utilities

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


Legendary Hero
posted October 22, 2014 10:46 PM
Edited by bloodsucker at 22:48, 22 Oct 2014.

Salamandre said:
If they were useless, I wouldn't write them. Try with real values and see how it goes.


Sorry.

So I guess is this, right?

!#TM38:S1/999/7/1;
!?TM38
**Monsters below level 8 get 25% per week
!!DO724321/0/131/1:P;
!!DO724321/137/144/1:P;
!!DO724321/159/159/1:P; **** Ghosts
!!DO724321/164/173/1:P;
!!DO724321/192/195/1:P;
**Monsters above level 8 get 15% per week
!!DO724322/132/135/1:P;
!!DO724322/151/158/1:P;
!!DO724322/196/196/1:P; **** Dracoliches


!?FU724321;
!!FU&x16=12/x16=13/x16=36/x16=37/x16=63/x16=64/x16=67/x16=122/x16=124/x16=126/x16=128:E;
** excludes players army and some not used monsters just for safety
!!MA:Ax16/?y1 Dx16/?y2 Ex16/?y3 Mx16/?y4 Px16/?y5;

!!MA:Ax16/?y1; check attack
!!VRy6:Sy1*125:100; increase by 25%, store in y2
!!VRy6&y6<1:S1; set y2 to 1 minimum value if result was rounded down to zero or less.
!!MA&y6>1:Ax16/y6; if result more than 1, set to y2
!!MA&y6=1:Ax16/dy6;if result is 1, add 1 to initial attack

!!MA:Ax16/?y2; check defense
!!VRy7:Sy2*125:100;
!!VRy7&y7<1:S1;
!!MA&y7>1:Ax16/y7;
!!MA&y7=1:Ax16/dy7;

!!MA:Ax16/?y3; check max damage
!!VRy8:Sy3*125:100;
!!VRy8&y7<8:S1;
!!MA&y8>1:Ax16/y8;
!!MA&y8=1:Ax16/dy8;

!!MA:Ax16/?y4; check min damage
!!VRy9:Sy4*125:100;
!!VRy9&y9<1:S1;
!!MA&y9>1:Ax16/y9;
!!MA&y9=1:Ax16/dy9;

!!MA:Ax16/?y5; check health
!!VRy10:Sy5*125:100;
!!VRy10&y10<1:S1;
!!MA&y10>1:Ax16/y10;
!!MA&y10=1:Ax16/dy10;

!!MA:Ax16/y6 Dx16/y7 Ex16/y8 Mx16/y9 Px16/y10;
---
Didn't do it for big ones cause result will always be higher then one.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 356 pages long: 1 40 80 120 160 200 ... 237 238 239 240 241 ... 280 320 356 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1407 seconds