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 ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods 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 412 pages long: 1 2 3 4 5 ... 80 160 240 320 400 ... 408 409 410 411 412 · «PREV / NEXT»
bloodsucker
bloodsucker


Legendary Hero
posted August 15, 2024 02:54 PM

Should I expect problems from scripting too many battles (like the Ogres in Alexander)?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2024 06:53 PM

No, if they don't overlap, so each battle needs a different flag/conditions.

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


Legendary Hero
posted August 15, 2024 09:28 PM
Edited by bloodsucker at 05:50, 19 Aug 2024.

I know you hate theoretical questions but:

Is it possible (does it make sense) to set battle counters like the ones in Usain mod to ALL AI heroes?
I'm dreaming of making my own Second Henchman but for it to work for AI the way I envision it, I would have to be able to get both the experience and the number of previous battles that hero has.

____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 19, 2024 09:22 AM

In Usain Bolt you have en example on how to keep track of wins, for any hero. So, just play with flag 1000 to determine human/AI.

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


Legendary Hero
posted August 19, 2024 10:47 AM
Edited by bloodsucker at 11:10, 19 Aug 2024.

Another question even more theoretical.
I know AI versus AI battle aren't real battles but do they consider the battle value of a developed Commander?
Cause just Adelaide's commander and her henchman, no Second at this point, are worth way more then the 20 AAs + 75 Hell Steeds + 100 Enchanters + 500 Lava Sharpshooters I have on her, so an AI that has something of this value can win much more then one that hasn't...
____________

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


Legendary Hero
posted August 19, 2024 05:12 PM

Salamandre said:
So, replace ZM174NPC.def with hellstead def (check name) then %V3.def with champion def then should be ok.
But you know the name of the .lod file and where it is, right? Cause I looked in the ones in Data but they don't seem to have this defs.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 04:28 AM

You have to look in WoG data for wog added creatures - like commanders, then in H3 data for original ones.

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


Legendary Hero
posted August 20, 2024 12:08 PM
Edited by bloodsucker at 12:53, 20 Aug 2024.

Ok, I've come to this values...

!!SN:L^era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^CCHAMP.def^/^ZM195Z.def^; Change def
!!SN:L^era.dll^/?y1 Ay1/^RedirectFile^/?y2 Ey2/1/^AVWcvlx0.def^/^ZMM195Z.def^; Change def

CCHAMP I've guessed based on the names in TEW III (I was so unlucky it was the one different...), it works.  
AVWcvlx0 is what's in H3sprite and it seems clearly the small def. It doesn't work.

Do you see why?

P.S. If I buy an Heel Steed, what appears in garrison is a Champion, If I buy a Cavalier and upgrade it, I see an Heel Steed.
Is it possible that the problem is with the town screen and not the def?
I've tried to upgrade the Training Grounds, they still look like Champions.

**
This code works fine but in the end opens a meeting screen of Adelaide with herself. I know I've already seen this happen in other maps but I have no idea why it's happening.

**** Town Giver
!?OB23/13/1;

!!TR23/13/1:E1;

!!IF:M^You have proven your value and the people of Queens Landing accept you as their ruler.^;
!!CA26/20/0:O0;
!!CA26/20/0:M2/0/171/60;              ****************  add creatures to Queens Landing
!!CA26/20/0:M2/1/136/12;
!!CA26/20/0:M2/2/195/20;
!!CA26/20/0:M2/3/138/120;

!!UN:S26/20/0/0/6;
!!UN:L26/20/0/2000;
!!UN:L23/13/1/1000;



____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 01:31 PM

bloodsucker said:

!?OB23/13/1;

!!TR23/13/1:E1;

!!IF:M^You have proven your value and the people of Queens Landing accept you as their ruler.^;
!!CA26/20/0:O0;
!!CA26/20/0:M2/0/171/60;              ****************  add creatures to Queens Landing
!!CA26/20/0:M2/1/136/12;
!!CA26/20/0:M2/2/195/20;
!!CA26/20/0:M2/3/138/120;

!!UN:S26/20/0/0/6;
!!UN:L26/20/0/2000;
!!UN:L23/13/1/1000;





Which line produces the "trade with herself" bug?

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


Legendary Hero
posted August 20, 2024 02:13 PM

None. It returns the focus to her, waits a second then opens the screen.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 02:17 PM
Edited by Salamandre at 14:20, 20 Aug 2024.

Of course, one line is producing the bug (and your answer makes it clear which), it doesn't come from Holy Spirit. You need to learn debugging, so you figure how it works. Try it.

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


Legendary Hero
posted August 20, 2024 02:25 PM
Edited by bloodsucker at 15:01, 20 Aug 2024.

Both the last ones. If I comment both it doesn't happen but it happens with any one active.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 03:08 PM
Edited by Salamandre at 15:13, 20 Aug 2024.

If you remove only the last one, does it happen?

What about this? Tried to disable?

!!TR23/13/1:E1;

Something there is clearly creating a conflict in game mechanics, find which then figure workaround.

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


Legendary Hero
posted August 20, 2024 03:11 PM
Edited by bloodsucker at 15:13, 20 Aug 2024.

Salamandre said:
If you remove only the last one, does it happen?  
Yes. It's disabled.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 03:14 PM

And if you do this, does it occur?

!?CM0; when right click on map
!!TR23/13/1:E1;

!!IF:M^You have proven your value and the people of Queens Landing accept you as their ruler.^;
!!CA26/20/0:O0;
!!CA26/20/0:M2/0/171/60;              ****************  add creatures to Queens Landing
!!CA26/20/0:M2/1/136/12;
!!CA26/20/0:M2/2/195/20;
!!CA26/20/0:M2/3/138/120;

!!UN:S26/20/0/0/6;
!!UN:L26/20/0/2000;
!!UN:L23/13/1/1000;
____________
Era II mods and utilities

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


Legendary Hero
posted August 20, 2024 03:25 PM
Edited by bloodsucker at 15:38, 20 Aug 2024.

No.
Object is a subterranean cartographer set to object 44, I have a bunch of things set to Object 44 (that is awful). Can it be related?

Since I find the objects quite poor, I've been making a ton of decorative objects and others like watering holes, sanctuaries, etc hold code or be something else.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 03:28 PM

ID 44 is a monolith exit. Thats why she meets herself.

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


Legendary Hero
posted August 20, 2024 03:33 PM

Type 63 subtype 44.
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted August 20, 2024 03:50 PM
Edited by Salamandre at 15:51, 20 Aug 2024.

I would try different variants :

Instead of !?, use post object visit !$OB#1/#2/#3
Or, after !?OB#1/#2/#3 I would disable active hero
!!OW:A-1/-1;
[rest of script]

If none works, you have to find another workaround for moving views.

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


Legendary Hero
posted August 20, 2024 04:55 PM
Edited by bloodsucker at 18:09, 20 Aug 2024.

Just to give an idea of what we are talking about...



Most of those stones are other objects. All those similar to the one she's visiting contain dozens of random battles. The Watering Hole are Arenas and the four peaky stones are Schools of Magic. The first Cartographer is a University, the other gives the town, you got the theme...

P.S. Do you know if the small pics of creatures in the bottom left of the Town Screen are a part of this two defs or something else? Cause I saw a def just with small pics of different creatures that I think is related to it.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 412 pages long: 1 2 3 4 5 ... 80 160 240 320 400 ... 408 409 410 411 412 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5634 seconds