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 407 pages long: 1 50 100 150 200 250 ... 251 252 253 254 255 ... 300 350 400 407 · «PREV / NEXT»
bloodsucker
bloodsucker


Legendary Hero
posted January 05, 2015 04:52 PM

Salamandre said:
well, you can find examples of this in dragon slaughter mod (tds) or conquistador.


Did u changed Conquistador after first Leaders update? It says the maximum number will remain at 4000 and I don't recall to have ever fight a bigger number (except in TDS, of course). Also, I looked for the code there and while there are parts I can't even begin to understand (one unusually undocumented), I couldn't point where it was.

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


Adventuring Hero
posted January 06, 2015 01:44 AM
Edited by hcl at 05:41, 06 Jan 2015.

Thx again, sal!

last but not least, is it possible to add a new timer to an already running game?
eg: new mod with new timer, activating the mod, start homm, load game?

for me it doesnt look like, only works if i hook an existing one.

p.s

How do i determine if a stack of creatures is placed by a hero (if the hardcoded option is set)?

found that placed creatures even grow, thought they get the no-growth option but that is not the case. maybe "exploitable" kinda, leaving the stack, let is grow , get it back -> profit.

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


Admirable
Omnipresent Hero
Wog refugee
posted January 06, 2015 09:19 AM

Timers are set in instructions, and instructions run at game start. Change them to receivers:

!#TM22:S1/1/999/255;  this will not work if added, too late

Use this, add code, press F12:
!?CM0; when click everywhere
!!TM22:S1/1/999/255; this will enable the timer.

Now you can delete this code, press F12 and continue game, timer will be activated.

Monsters, normally you have:
O#; Set/Check/Get the grow checkbox.
  if #=1 then the amount of monsters won't grow, if not 1, they will

So it can be used to check if stack was added by player. But if player didn't change checkbox, then no way.


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


Famous Hero
posted January 06, 2015 12:22 PM
Edited by Khadras at 12:28, 06 Jan 2015.

How to modify recruitment town screen

Hi! I want to see in left down part of town screen how many creatures remains unrecruited, not creatures growth. I see that into a mod, and i don't know what file i must modify. Can someone help me? I installed last hd launcher and it has modified town screen and i guess i need a modification there too.

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


Adventuring Hero
posted January 06, 2015 02:42 PM

Khadras said:
Hi! I want to see in left down part of town screen how many creatures remains unrecruited, not creatures growth. I see that into a mod, and i don't know what file i must modify. Can someone help me? I installed last hd launcher and it has modified town screen and i guess i need a modification there too.


thats part of HDmod and should be discussed here:

http://heroescommunity.com/viewthread.php3?TID=33708&pagenumber=1

but to answer you

open Hdmod -> chose the right exe -> go to tweaks section ->
find and set:



<UI.Ext.TownMgr> = 1 , 1
<UI.Ext.TownMgr.AvailableInsteadGrowth> = 1


and you get the #available_creatures instead of #growt in townscreen


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


Adventuring Hero
posted January 06, 2015 03:14 PM
Edited by hcl at 15:15, 06 Jan 2015.

Salamandre said:

..
!?CM0; when click everywhere
!!TM22:S1/1/999/255; this will enable the timer.



bah, i thought
!!TMxy:S ...;  and
!?TMxy;
would work already when set as receiver on its own instead of instruction. So the click is the trick, nice!
 
Salamandre said:

Monsters, normally you have:
O#; Set/Check/Get the grow checkbox.
  if #=1 then the amount of monsters won't grow, if not 1, they will



yea, i know, i used the O thing alrd in
!!MOv1/v2/v3:O?y1  , and _hoped_ salva had coded his leave stack thing
that way.

problem is, that the hardcoded script (Option 002)doesnt seem to set the checkbox to 1, and since there are no other flags for that, the only way (just a first idea) may be to check all squares around the player all the time if there are new stacks suddenly and mark them properly.



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


Admirable
Omnipresent Hero
Wog refugee
posted January 06, 2015 03:26 PM

The best way to learn erm is to play the existing mods. TDS is flagging all monsters on day 1, by setting their square value (PO). Later in game, to make difference between original stacks and stacks issued from "week of", you just check the PO. If modified, monster is original, if returns 0, monster is new.

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


Known Hero
posted January 06, 2015 03:42 PM

Mister_kalu said:
Salamandre, do you have the script to remove an object from the map, but not instantly. like a normal vanish when you pick some item, that means gradually


i know you have the answer

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


Admirable
Omnipresent Hero
Wog refugee
posted January 06, 2015 03:43 PM

Such thing does not exist. erm has nothing to do with the way defs are displayed in game.

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


Known Hero
posted January 06, 2015 04:15 PM

Salamandre said:
Such thing does not exist. erm has nothing to do with the way defs are displayed in game.


yes ,at least ,doesn't appear on the help, but,  what are you doing, when some items needs to be eliminated like a normal use? are you using  UN and nothing else? seems to be plane and artificial. again this is a puzzle it can only be solved with "black magic"

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


Admirable
Omnipresent Hero
Wog refugee
posted January 06, 2015 04:17 PM

I think piles of resources and artifacts are coded differently in the source code. ERM has only one command to delete objects (UN:O) and it is instant. You should ask VCMI guys for that, I have no clue about.
____________
Era II mods and utilities

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


Hired Hero
posted January 07, 2015 03:54 PM
Edited by chelseaperfect at 15:57, 07 Jan 2015.

How to do fix this bug?

I'm making a map size 252x252 in ERA II
I'm going to finish this work but my map have a bug:
When I make more ONLY one object, my map notify the bug in load game time and game out
I think my map exceeding object?
Can you help me, please

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


Admirable
Omnipresent Hero
Wog refugee
posted January 07, 2015 06:34 PM

Try this in instructions first:

ZVSE

!#UN:C4892718/1/183; 65000 objects allowed

If still error, then indeed your map could be too stuffed.


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


Known Hero
posted January 08, 2015 01:28 AM

i have one question, maybe simple

for example my hero is in the position v998/v999/v1000 in a marletto tower,or any other object with "of one visit " learning Stone, star axis... many others.


how do you get the number of a specific object in the map, is with UN: U?

i need this number to use !!HE:V

the Miscellaneous Object Receivers doesn't have help about some of this objects, i don't know why.

thaks

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


Adventuring Hero
posted January 08, 2015 03:00 AM

mister_kalu said:
i have one question, maybe simple

for example my hero is in the position v998/v999/v1000 in a marletto tower,or any other object with "of one visit " learning Stone, star axis... many others.


how do you get the number of a specific object in the map, is with UN: U?

i need this number to use !!HE:V

the Miscellaneous Object Receivers doesn't have help about some of this objects, i don't know why.

thaks


OB:C get it.
!!OB998:C?y1;

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


Hired Hero
posted January 08, 2015 03:04 AM

Salamandre said:
Try this in instructions first:

ZVSE

!#UN:C4892718/1/183; 65000 objects allowed

If still error, then indeed your map could be too stuffed.



I had your help scrip, but still error. Maybe my map had >65000 obj :(. Maybe I remove the unimportant parts of the map.

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


Known Hero
posted January 08, 2015 03:31 AM

Hawaiing said:
mister_kalu said:
i have one question, maybe simple

for example my hero is in the position v998/v999/v1000 in a marletto tower,or any other object with "of one visit " learning Stone, star axis... many others.


how do you get the number of a specific object in the map, is with UN: U?

i need this number to use !!HE:V

the Miscellaneous Object Receivers doesn't have help about some of this objects, i don't know why.

thaks


OB:C get it.
!!OB998:C?y1;


Yes man thank you , so what is the meaning of control Word? number of??

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


Adventuring Hero
posted January 08, 2015 04:09 AM
Edited by Hawaiing at 04:16, 08 Jan 2015.

mister_kalu said:

Yes man thank you , so what is the meaning of control Word? number of??



!?OB23;
!!OB998:C?y1;
!!HExx:V1/y1/?y2;[Marletto tower visited or not]

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


Admirable
Omnipresent Hero
Wog refugee
posted January 08, 2015 09:39 AM

chelseaperfect said:

I had your help scrip, but still error. Maybe my map had >65000 obj


Put this script in your map:

ZVSE

!?CM0;
!!VRv2:S0;
!!DO15555/2/231/1:P;
!!IF:M^%V2^;


!?FU15555;
!!UN:Ux16/-1/?y1;
!!VRv2&y1>0:+y1;

Start game, right click anywhere, you will get a number. Write here that number.

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


Hired Hero
posted January 08, 2015 05:53 PM

Salamandre said:
chelseaperfect said:

I had your help scrip, but still error. Maybe my map had >65000 obj


Put this script in your map:

ZVSE

!?CM0;
!!VRv2:S0;
!!DO15555/2/231/1:P;
!!IF:M^%V2^;


!?FU15555;
!!UN:Ux16/-1/?y1;
!!VRv2&y1>0:+y1;

Start game, right click anywhere, you will get a number. Write here that number.


That number is 3744.What is problem?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 50 100 150 200 250 ... 251 252 253 254 255 ... 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.4994 seconds