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 ... 65 66 67 68 69 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
OxFEA
OxFEA


Promising
Famous Hero
feanor on DF2.ru
posted August 26, 2010 08:51 PM
Edited by OxFEA at 20:53, 26 Aug 2010.

Who removes the catapult? oO
I remove the catapult-artifact. Catapult-creature in siege battles doesn't linked with it.

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


Admirable
Omnipresent Hero
Wog refugee
posted August 26, 2010 09:25 PM

I know, was kidding.

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


Promising
Famous Hero
feanor on DF2.ru
posted August 27, 2010 06:40 AM

Function to change building position:

!!VRy1:S0; //city (e.g. Castle)
!!VRy2:S5; //building ID (e.g Tavern)

!!VRy6:S2; //frames num in new def
!!VRy3:S250; //new x
!!VRy4:S200; //new y

!!VRy5:Sy1 *44 +y2 *6 +6859276;

!!UN:Cy5/2/y6;
!!VRy5:+2;
!!UN:Cy5/2/y3;
!!VRy5:+2;
!!UN:Cy5/2/y4;


For more information try to see this post (with translator)
http://forum.df2.ru/index.php?showtopic=6803&view=findpost&p=192935

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


Admirable
Omnipresent Hero
Wog refugee
posted August 27, 2010 01:16 PM
Edited by Salamandre at 13:20, 27 Aug 2010.

wow, BIG thanks Feanor. It seems that now we can make towns exactly as we like, and no more handcuffed by those x/y coordinates

Where to insert the code? In new map? In Data/s?
The x/y new coordinates are for the center of the object or another location?

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


Promising
Famous Hero
feanor on DF2.ru
posted August 27, 2010 01:31 PM

Quote:
Where to insert the code? In new map? In Data/s?

No matter. It need be called in !?PI and !?GM0 triggers, as any other script with UN:C.

Quote:
The x/y new coordinates are for the center of the object or another location?

Left upper corner of sprite, from left upper corner of screen.

Also, there are table of z-cordinates (depthes) exist. Maybe later I'll write script or Era plugin for changing it.

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


Responsible
Supreme Hero
posted August 27, 2010 01:36 PM

Now that you mentioned town buildings...

Is there a command to change a building's cost on resources?

For example to make the Cyclop's Cave cost 20 wood, 30 ore and 3000 gold instead of its original cost (where will anyone find 20 crystals for this thing?)

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


Admirable
Omnipresent Hero
Wog refugee
posted August 27, 2010 01:36 PM
Edited by Salamandre at 13:38, 27 Aug 2010.

Thank you. Why it needs to know how many frames are in? Usually the original defs have for most of them 1 frame, if not animated, but inserting more frames worked very well, so we could animate every building without telling how many frames are. Is it necessary or optional?

@Hero of Light: this was obvious for balance purpose. With stronghold you can have rocs day 1 and behe day 2, so now if get cyclops day 3, it will be not a town, but a killing machine.

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


Honorable
Legendary Hero
the reckoning is at hand
posted August 27, 2010 01:42 PM
Edited by LizardWarrior at 14:04, 27 Aug 2010.

How do I can eliminate elementals ressistances and vulnerabilities?I need they for Romanian Town.Also who I can make conflux lvl 4 undead and life drainer?

edit:someone can tell me what's wrong with this script?
ZVSE

!!UN:T8/0/0/118 T8/0/1/119;
!!UN:T8/1/0/112 T8/1/1/127;
!!UN:T8/2/0/143 T8/2/1/137;
!!UN:T8/3/0/62 T8/3/1/63;
!!UN:T8/4/0/113 T8/4/1/194;
!!UN:T8/6/0/168 T8/6/1/168;

____________

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


Promising
Famous Hero
feanor on DF2.ru
posted August 27, 2010 02:19 PM

Quote:
Is there a command to change a building's cost on resources?

AFAIK, in pure ERM - no. I saw function for changing building costs, but it was written in assembler. Of course, them can be changed directly in memory - but I forget adresses.
Quote:
Why it needs to know how many frames are in?

Don't know. You may set 999 as value - game willn't crash.
Quote:
How do I can eliminate elementals ressistances and vulnerabilities?

!!UN:C7995184/4/134744072;
!!UN:C7995188/4/134744072;
!!UN:C7995192/4/134744072;
!!UN:C7995196/4/134744072;
clear elemental resistances except fire and mind (flag abilities -try to do them yourself )

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


Honorable
Legendary Hero
the reckoning is at hand
posted August 27, 2010 02:20 PM

thanks
____________

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


Responsible
Supreme Hero
posted August 27, 2010 08:24 PM
Edited by Hero_Of_Light at 22:10, 27 Aug 2010.

Quote:

@Hero of Light: this was obvious for balance purpose. With stronghold you can have rocs day 1 and behe day 2, so now if get cyclops day 3, it will be not a town, but a killing machine.


Yeah OK it was only a suggestion. If I know how to change the building cost I may change the others as well...

Is there a way to change the resource cost or not?

EDIT

Oh I see that it can't be done through ERM... OK I'll try to find another way.

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


Responsible
Supreme Hero
posted August 28, 2010 06:01 PM

Quote:

How do I can eliminate elementals ressistances and vulnerabilities?


!!UN:C7995184/4/134744072;
!!UN:C7995188/4/134744072;
!!UN:C7995192/4/134744072;
!!UN:C7995196/4/134744072;
clear elemental resistances except fire and mind (flag abilities -try to do them yourself )


Actually a better question about it is this:

Is there a way of removing ALL monster flags of a creature? Because If so then the 4 Gods and Santa Gremlins could be usable (those creatures suck). And If there isn't an ERM command about that, might there be a way to replace them?

For instance swordsmen have no monster flags at all (they are only alive) and so If you could find a way to copy this ability and paste it on those creatures, then you can start anew on them...

Does anyone know anything about this?

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


Promising
Famous Hero
feanor on DF2.ru
posted August 28, 2010 09:52 PM

Quote:
Is there a way of removing ALL monster flags of a creature?

No. You need search all non-flag abilities in code.
Quote:
And If there isn't an ERM command about that, might there be a way to replace them?

And what? o_O
All abilities are linked with the creature number.

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


Responsible
Supreme Hero
posted August 28, 2010 11:11 PM

More's the pity...

Oh well, I guess the 4 Gods and Santa Gremlins will have to be useless for EVER.

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


Admirable
Omnipresent Hero
Wog refugee
posted August 28, 2010 11:17 PM
Edited by Salamandre at 01:33, 29 Aug 2010.

Have you tried to change their type in BM/BG trigger? I could change santa gremlins to anything else last time. However, first give full frames to gods, so no crash.

And please, don't talk non sense about what you don't know how to use. There is even a TOP WoG map about only Santa Gremlins

The name is "just another map", and it is fantastic. Only Santa Gremlins in it. There is nothing useless in Heroes-WoG when you know and wish to deal with.

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


Adventuring Hero
Photoshop Nab
posted August 29, 2010 05:21 AM

Quote:
Quote:

@Hero of Light: this was obvious for balance purpose. With stronghold you can have rocs day 1 and behe day 2, so now if get cyclops day 3, it will be not a town, but a killing machine.


Yeah OK it was only a suggestion. If I know how to change the building cost I may change the others as well...

Is there a way to change the resource cost or not?

EDIT

Oh I see that it can't be done through ERM... OK I'll try to find another way.


You looking for this?


This can be done by editing BUILDING.txt file from h3bitmap.lod

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


Responsible
Supreme Hero
posted August 29, 2010 11:29 AM

Yep... Thanks a lot

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


Promising
Famous Hero
feanor on DF2.ru
posted August 29, 2010 04:36 PM
Edited by OxFEA at 16:41, 29 Aug 2010.

!?FU9000;
!!UN:C6919480/4/?y1;
!!VRy1:+128644;
!!UN:Cy1/4/?y2;
!!VRy3:Sx1 *7 + x2 *4 + y2;
!!UN:Cy3/4/x3;

Control of black markets:
x1 - market number (0..31)
x2 - slot number (0..6)
x3 - artifact ID (0..31)

!!FU9000:P0/0/3; - set catapult to 1st slot of 1st market.

For 358F, TE and ERA.

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


Admirable
Omnipresent Hero
Wog refugee
posted August 29, 2010 05:10 PM

How that, market number?

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


Promising
Famous Hero
feanor on DF2.ru
posted August 29, 2010 05:16 PM

Control number of BM (OB:C)

 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 ... 65 66 67 68 69 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5092 seconds