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 354 pages long: 1 40 80 120 160 200 240 280 320 ... 341 342 343 344 345 ... 354 · «PREV / NEXT»
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted January 18, 2018 12:17 AM

RerryR said:
and make it so that they lose the ability after their attack.


Won't that be almost impossible because what if the creature already had the implemented ability? Maybe reserve 8th ability slot only for this script and after special attack clean it.



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


Known Hero
posted January 18, 2018 09:33 AM

Salamandre said:

Won't that be almost impossible because what if the creature already had the implemented ability? Maybe reserve 8th ability slot only for this script and after special attack clean it.



Yes, that would be a good idea.

Also, the abilities sazman mentioned are mostly flagged abilities and cannot be given with the bonus table.
One could do a check if the creature already has that ability and if yes than reroll the dice.

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


Known Hero
posted January 18, 2018 09:57 AM

Salamandre said:

Won't that be almost impossible because what if the creature already had the implemented ability? Maybe reserve 8th ability slot only for this script and after special attack clean it.


Changing the Exp Abilities during battle will make the stack reset its stats. For example, if BM is used to change the stack's defense, this change will be gone after changing EA.

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


Known Hero
posted January 18, 2018 10:01 PM

Big thanks Rerryr! I very appraciate your help with this.

I notice that this script is assignant to red player... so every hero in the red army will have this effect? I want it only to a specific hero, Tyraxor that is

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


Admirable
Omnipresent Hero
Wog refugee
posted January 18, 2018 10:11 PM
Edited by Salamandre at 22:14, 18 Jan 2018.

{~Red} means the color of text in message box

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


Known Hero
posted January 19, 2018 08:33 AM

szaman said:
Big thanks Rerryr! I very appraciate your help with this.

I notice that this script is assignant to red player... so every hero in the red army will have this effect? I want it only to a specific hero, Tyraxor that is


Should work for every hero.
I'll let you figure out how to make it only work for Tyraxor
If you have an idea you can post code and we will help you.

@xericsin I didn't know that with !!BM reset. I'll test on weekend. Thanks

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


Known Hero
posted January 24, 2018 01:11 AM
Edited by xericsin at 01:42, 24 Jan 2018.

Question about the sequence of turns.

I can say there are 2 stages of actions.

The first stage starts right from the beginning of battle.
Stacks move from the fastest to the slowest.

The second stage is for the waiting stacks.
They will start to move from slowest to the fastest.

Question: If one stack triggers BG0, how do I know whether it is in the first or second stage? Then I can determine whether the fastest or the slowest moves first.

Problem: I know when a stack choose to wait, it will get a waiting flag. But this flag will be cleared after all stacks have taken some action. Then I cannot use this flag to determine the stage of action.

Thought: There must be something that tells the programme when the stage changes.

Eidt:
I think I have solved this.

For every creature in a round:
Trigger FU77007 occur once in the first stage.
Trigger FU77006 occur both in the first and second stage.

I can set a v variable to 0 under FU77007 and increase it by 1 under FU77006.

So when under BG0 trigger,
If the variable is 1, then it is in first stage.
If more than 1, then in second stage.

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


Adventuring Hero
Member of the old Wog-team
posted January 24, 2018 06:58 PM

What´s the name of the .txt file that decide spell animation speed?
As it is now it is too fast for my flavour

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


Adventuring Hero
Member of the old Wog-team
posted January 24, 2018 08:16 PM
Edited by blackstomper at 20:17, 24 Jan 2018.

Another question, what files regulates this text?
Picture
It would be nice and convenient to have it set from start, since it always the same for me when I play

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


Known Hero
posted January 28, 2018 06:57 AM
Edited by xericsin at 08:15, 28 Jan 2018.

I am having a problem with Morn battlefields.

When visiting creature banks, the BA:P nearly always returns map level as underground (z=1) even if it is above ground.

Any one has/had the same problem?

And I copied this BA:P to new script. The error remains. Though this can be fixed by crosschecking with HE:P, I just find this error strange.

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


Admirable
Omnipresent Hero
Wog refugee
posted January 28, 2018 10:18 AM

There is nothing modifying the map level in that mod. Before adding any script to it, try to debug your version by adding after

!!BA:P?v2/?v3/?v4;

this:

!!IF:L^%V2, %V3, %V4^;

I tested briefly on creature banks on both map levels and it always return correct.

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


Known Hero
posted February 04, 2018 11:04 AM

Salamandre said:
There is nothing modifying the map level in that mod. Before adding any script to it, try to debug your version by adding after

!!BA:P?v2/?v3/?v4;

this:

!!IF:L^%V2, %V3, %V4^;

I tested briefly on creature banks on both map levels and it always return correct.


I have tested many times with and without HD.
And I conclude that the problem is caused by HD.

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


Honorable
Supreme Hero
posted February 04, 2018 10:40 PM

@xericsin, is it true for all HD mod versions?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Known Hero
posted February 05, 2018 02:32 AM

At least it happens for both 4.208 and 5.0.

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


Known Hero
posted February 08, 2018 09:49 AM
Edited by xericsin at 10:56, 09 Feb 2018.

About BM:C

I encountered this problem.

In BM1's turn, its hero casts a group buff on the left side. After this spell is cast, in BG1, stack 21 copies this group buff to cast on the right side, using BM21:C?/?/3/?/? command. The 3 means mass cast.

But the group buff is cast on the left side, the acting side. And if the left heroes casts a debuff on the right side, the copied spell is also cast on the right side. So I think mass casts are always treated as done by the current acting side.

Is it possible that @Bersy or someone can add in a check of sides, so that the monsters mass cast group buffs and debuffs on the correct sides?

Edit:
I know BH:C can do the job. But it requires a hero.

Another option is to loop through every stack, check the spell immunity and cast the spell one by one. But the stacks cannot have the buff/debuff animation at the same time.

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


Adventuring Hero
posted February 09, 2018 11:19 PM
Edited by VikingII at 23:20, 09 Feb 2018.

I'm trying to change some heroes specialty, for example, Ivor instead buff only elves, to buff the Archery skill (as the Knight Orrin).

Here is an answer:
Baronus said:
ZVSE
!#HEn1:Xn2/n3

n1 hero number
n2 kind of ability
n3 ability details

see ERM help and mods. Which n2 is Orrin. I dont know.


So, I have found this:

ZVSE
!#HE21:X1/Archery

which 21 is Ivor, 1 is Archery, and... instead n3 I copied Archery (I don't know if this is the "ability details" you've said).

But having this, how to put it into the game? should I make a mod with the mod manager or other application? Thank you

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


Admirable
Omnipresent Hero
Wog refugee
posted February 10, 2018 12:07 AM

Look, there are dozens of mods out there, changing specialties and even script the order skills are offered. All you need is open their erm file then search for ":X0/" segment, or whatever you look for, check first in Erm manual, for the appropriate code, then you will get many results to analyze until you understand how it works, copy/paste them, modify to your likes etc.

Then it looks to me redundant to ask about how to put them in the game, you have 120+ era mods showing you how to do that; reproduce their structure, or even simpler: take one, delete all files you don't need then replace in its erm file with your codes. Rename it to whatever you want, you can even create a compressed mod by using mod manager's appropriate feature. Good luck.


VikingII said:

So, I have found this:

ZVSE
!#HE21:X1/Archery

which 21 is Ivor, 1 is Archery, and... instead n3 I copied Archery (I don't know if this is the "ability details" you've said).



I don't know where you found such thing, but is pure rubbish. That is not a valid erm code. Check manual for correct syntax, skills are not represented by their name, but by their ID.
____________
Era II mods and utilities

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


Adventuring Hero
posted February 10, 2018 01:30 AM
Edited by VikingII at 05:38, 11 Feb 2018.

Salamandre said:
there are dozens of mods out there, changing specialties

I will do that until I learn better about how to make a mod from scratch. I've downloaded most mods in this page but didn't found any mod that changes specialties, is there another page like Nexusmods with a good search engine? Or please, can you link to a mod that do that?


Edit: Solved here http://heroescommunity.com/viewthread.php3?TID=44945

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

Tavern Dweller
posted February 10, 2018 09:05 PM

Too huge wandering monster(WoG+era)

I have the issue where,whatever map i choose,the enemies i encounter are Hordes or Throngs and rarely Lots or several.What can i do?The game seems to hard even though i put it on the easiest difficulty.Is there a setting i can make?
____________

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


Adventuring Hero
posted February 11, 2018 05:43 AM

rrusualex said:
I have the issue where,whatever map i choose,the enemies i encounter are Hordes or Throngs and rarely Lots or several.What can i do?The game seems to hard even though i put it on the easiest difficulty.Is there a setting i can make?

Happened something like this to me with some WoG options, I don't remember which, maybe one of the "AI stack experience difficulty". Check carefully all wog settings, especially those related to wandering creatures.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 354 pages long: 1 40 80 120 160 200 240 280 320 ... 341 342 343 344 345 ... 354 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1562 seconds