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 336 pages long: 1 2 3 4 5 ... 70 140 210 280 ... 332 333 334 335 336 · «PREV
xericsin
xericsin


Known Hero
posted September 01, 2017 07:17 AM
Edited by xericsin at 07:23, 01 Sep 2017.

Thanks Sal.

I didnt make my words clear.

This is what I can do:
Let players specify the targets of effects through clicking.
Let AI randomly cast effects.

This is what I want to have but cant do yet:
I want the Player to randomly cast the effects as AI does, after pressing A for auto combat in the battle.

Then I need to know whether the action is done by a player (I know how) and in auto combat phase (Dont know how).

I have thought of checking mouse click and keyboard input. But that could be complicated and not accurate.

So I am asking is there a simple check on auto combat. (Not quick combat)

****************************************************
and I want to know what is flag 999. Thanks.

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


Adventuring Hero
posted September 01, 2017 10:55 AM

xericsin said:
Thanks Sal.
So I am asking is there a simple check on auto combat. (Not quick combat)


!!UN:C6919200/4/?y1;    [y1 - combatmanager]
!!VRy2:Sy1 +78532;      [y2 - _ptr_ autoCombat]
!!UN:Cy2/1/?y3;         [y3 - autoCombat status]

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


Known Hero
posted September 02, 2017 08:07 AM
Edited by xericsin at 15:35, 02 Sep 2017.

igrik said:

!!UN:C6919200/4/?y1;    [y1 - combatmanager]
!!VRy2:Sy1 +78532;      [y2 - _ptr_ autoCombat]
!!UN:Cy2/1/?y3;         [y3 - autoCombat status]


THis is very nice.Hahaha!
Thx.

*******************************

How can I change the resource types given by the resource silo?

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

Tavern Dweller
posted September 18, 2017 06:52 AM

Is there a way to set a town's external appearance to that of another object? E.g. I have an Era map and have installed the "HotA objects" mod but even if I set the def file directly to the Cove town graphic in the editor it doesn't take. Note I am happy to disable production.

I've had success in the past by having towns internally looking different, which works until a building is built inside.

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


Admirable
Omnipresent Hero
Wog refugee
posted September 18, 2017 08:59 AM

It certainly can be done, but not via editor, as there are more than one defs to be changed. You have to build a mod and place all proper defs inside a .pac file (ancient .lod).

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

Tavern Dweller
posted September 18, 2017 09:21 AM

Alright, thanks for the help Salamandre.

I wasn't aiming for anything too fancy really, just shuffling around creatures for an existing town using ERM stuff, like my 2015 map that I posted on here.

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

Tavern Dweller
posted September 18, 2017 05:50 PM

Is there a reason that
!#MP:S2/^MAINMENU^;

Isn't changing the music of Rampart to the main menu screen? It worked in WoG.

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


Admirable
Omnipresent Hero
Wog refugee
posted September 18, 2017 09:46 PM

Thats because MP receiver was disabled in Era. Use:

ZVSE
;enable MP receiver
!#UN:C5876817/4/496825064;
!#UN:C5876821/1/0;

Then it will work.
____________
All my Era II mods

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


Adventuring Hero
posted September 19, 2017 09:08 AM

; play any MP3 in folder "mp3"
!!VRz1:S^MainMenu^;
!!UN:C6919188/4/?y1;
!!SN:E5877680/2/y1/z1/1/1;
; penult param - play first: off(0), on(1)
; last param - loop: off(0), on(1)

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

Tavern Dweller
posted September 19, 2017 02:43 PM

Thanks guys

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 336 pages long: 1 2 3 4 5 ... 70 140 210 280 ... 332 333 334 335 336 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.8719 seconds