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 ... 4 5 6 7 8 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
sagamosa
sagamosa


Hired Hero
posted March 29, 2004 10:15 AM

ERM question:

I need to make some changes to the Wog options page. I'm interested how (if at all) you can make some options unclickable when some other options are clicked.

(Example: I think when you click an option: "Heroes start with commanders", the other option "Buy commanders in towns" gets now blacked out and can't be clicked.)
Thanks

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


Promising
Famous Hero
posted March 29, 2004 07:42 PM

Quote:
ERM question:

I need to make some changes to the Wog options page. I'm interested how (if at all) you can make some options unclickable when some other options are clicked.

(Example: I think when you click an option: "Heroes start with commanders", the other option "Buy commanders in towns" gets now blacked out and can't be clicked.)
Thanks


Unfortunately, the only way to do this is in the executable. When I'm setting up WoG Options I have to ask Slava to make any auto-disabling type changes that I need, and the same with defining a group as radio option buttons rather than checkboxes.


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted July 17, 2004 10:42 PM

How could I make trolls vulnerable to fire magic and maybe for acid/-breath too?

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


Adventuring Hero
posted July 18, 2004 09:41 PM

Quote:
How could I make trolls vulnerable to fire magic and maybe for acid/-breath too?


Wait for 3.58, there is a new trigger and reciever for dealing with magic damage. It would be fairly easy to increase any damage taken from Fire (I'm not sure about acid). In fact I have already done something similar, I made Mummies take x2 damage from Fire in one of my scripts.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted July 18, 2004 10:02 PM

Okay, Iīll wait. About that script you have made, is it for 3.58 or can I find it from a certain map of yours?
____________
After all, marriage and murder are not too different - one ends your life and the other is a crime

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted August 11, 2004 10:56 PM

some help with erm

Letīs start. Hereīs what Iīd like to do:
-make every peasant give +1 gold per day for the player owning them.
-make pikeman/halberdier and troglodytes have doubled defense against all cavalry (and like) units (because they have spear).
-have certain creature to be able to cast spell.
-make hate-relationships between creatures (like BDs & titans and efreeti & genies).
-the question above =making trolls vulnerable to fire magic.

If someone who knows erm well could explain me where to start then maybe I could figure the rest of it myself. I have been able to modify some existing scripts to my favor but these thingies are something I canīt do without some good examples. So, from where should I begin, for example to make those halberdiers double their defense against -letīs say- champions?
Thanks in advance!

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


Promising
Famous Hero
Passed away
posted August 11, 2004 11:57 PM
Edited By: Ste on 11 Aug 2004

Quote:
Letīs start. Hereīs what Iīd like to do:
-make every peasant give +1 gold per day for the player owning them.

this code should help you:
ZVSE
********************************************************************************
** Peasant Script v 1.1 by Dieter Averbeck                                    **
** Peasanss gives 1 gold Tax for every Peasant in heroes Army                 **
** (not Peasants at castles)                                                  **
********************************************************************************
** Upkeep (eng) v1.02 by Perfecto R. F.                                       **
** Every day you now need to pay your creatures for their surving             **
** (payment is the Cost of all your creatures in heroes army divided by 500   **
** (not creatures at castles)                                                 **
********************************************************************************
**  Used as info:                                                             **
**  Right click at Adventure Map Options                                      **
********************************************************************************

!#TM81:S2/999/1/255;

!?TM81;

!!FU40600;

!?FU4060;
!!VRv4029:S0;                           [v4029 = default cost of creatures]
!!VRv4030:S0;                           [v4030 = default q-ty of Peasants]

!!DO4057/0/155/1;

!!VRv4029&v4029>0::500;                 [v4029 = cost of creatures divided by 500]
!!VRv4029&v4029<0:S0;                   [just check]
!!VRv1&v4029=0:S0;
!!VRv1&v4029>0:Sv4029*-1;

!!OW:C?y1;                              [y1 = current player]
!!OW&x1=0:Ry1/6/dv1;                    [reduce gold for upkeep]
!!OW&x1=0:Ry1/6/dv4030;                 [peasants tax]
!!OW&x1=0:Ry1/6/?x2;
!!OW&x1=0/x2<0:Ry1/6/0;                 [if gold < 0, set to 0]

!?FU4057;
!!OW:C?y1;                              [y1 = current player]
!!HEx16?y2;                           [y2 = hero's owner]
!!DO4058/0/6/1&y1=y2x16;

!?FU4058;                               [x1 = hero number]
!!HEx1:C0/x16/?y1/?y2;                  [y1 = type of monster, y2 = q-ty]
!!VRv4030&y1=139:+y2;
!!MA&y1<>139/y1>-1: Cy1/6/?y4;          [y4 = cost of gold for monster type y1]
!!VRy4&y1<>139/y1>-1:*y2;
!!VRv4029&y1<>139/y1>-1:+y4;            [v4029 = Upkeep]

!?CM0;

!!FU40601;
!!CM:S?v1 I?v2;                         [Check if it's a right-click on the Adventure options button]
!!CM&v1=14/v2=9:R0;                     [Disable standard right-click message]
!!IF&v1=14/v2=9:Q1/36/v4029/4^Army upkeep is {%V4029} gold per day.^;

Quote:

-have certain creature to be able to cast spell.
-make hate-relationships between creatures (like BDs & titans and efreeti & genies).


this can be easily done through simple script in 3.58. wait a few weeks more

P.S. is : P and is : O without the space
____________
The ultimate WoG tester

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted August 12, 2004 12:03 AM

Thank you Ste for fast response! I appreciate your help.
____________
After all, marriage and murder are not too different - one ends your life and the other is a crime

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


Honorable
Legendary Hero
Back from the Dead
posted August 24, 2004 09:15 PM

How do you make your hero look like a dragon?  (prefreably gold)
____________
How exactly is luck a skill?

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


Promising
Famous Hero
posted August 25, 2004 10:25 AM

Quote:
How do you make your hero look like a dragon?  (prefreably gold)


You need a really big makeup kit and a LOT of pâpier- maché!


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted August 31, 2004 07:51 PM

Okay, I have already started modifying those creature-specialties, and have to thank you for it being so easy!
There are some questions though Iīd like to ask:

What are those "Paladin Monster" etc. things at the bottom of crexpbon.txt? Iīve been trying to make paladin able to cast destroy undead before attack (like lichs cast death ripple), but I guess itīs not possible to do this way??

How could I edit/change the spells (and maybe other abilities too) cast by commanders? Is there a script (not the enhanced commanders-script) where these things  are what I could modify?

Also, is there any way of getting creature cast a spell without performing an attack, like zealots being able to cast bless/prayer to selected friendly stack (like ogre magi)?

And one more question, how could I add text to creature description, without needing to overwrite the whole description itself?
for example: adding "Bloodlust" to vampire description (I have enchanted them with bloodlust), without having to write the whole "Undead. No enemy retaliation. Bloodlust."-text.

Thanks in advance!

____________
After all, marriage and murder are not too different - one ends your life and the other is a crime

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


Promising
Famous Hero
posted August 31, 2004 09:54 PM

Quote:
Okay, I have already started modifying those creature-specialties, and have to thank you for it being so easy!
There are some questions though Iīd like to ask:

What are those "Paladin Monster" etc. things at the bottom of crexpbon.txt? Iīve been trying to make paladin able to cast destroy undead before attack (like lichs cast death ripple), but I guess itīs not possible to do this way??



The Commander "monsters" in crexpbon.txt are only if you set up a battle (with HE:T for example) with Commanders and they're also not set as "real" Commanders. These abilities also applies to the Metamorph if it changes into a Commander in combat.

I don't think there's any way to give abilities to real commanders. If I recall correctly, stack experience was totally disabled for real Commanders to avoid conflicts and errors that could result from mixing the two systems (Commander experience abilities and stack experience abilities).

Quote:

How could I edit/change the spells (and maybe other abilities too) cast by commanders? Is there a script (not the enhanced commanders-script) where these things  are what I could modify?



There is a new battle command (BM:U4) added in 3.58 that lets you change the spell cast by any spell-casting creature (the ones with the spell-book icon in combat). But it only works during a battle so you would have to create a combat script to use it.


Quote:

Also, is there any way of getting creature cast a spell without performing an attack, like zealots being able to cast bless/prayer to selected friendly stack (like ogre magi)?



Other than setting up some sort of mouse click-based casting, or writing a script to cast a spell based on another action (e.g., moving, waiting, defending), there isn't any way that I can think of.

The only way that Slava has been able to give a creature the icon-based spell casting abilities is through hard-coding. It seems that it's not possible to enable this through ERM.

Quote:

And one more question, how could I add text to creature description, without needing to overwrite the whole description itself?
for example: adding "Bloodlust" to vampire description (I have enchanted them with bloodlust), without having to write the whole "Undead. No enemy retaliation. Bloodlust."-text.



First, please note that the space available for descriptions is quite small. It's only two lines and the full space in the window can't even be used.

Now, if the description text has already been modified, you can use the UN:G1 command to determine the index of the z variable that stores the new text. Then you can simple append the extra text to the variable.

But if the creature has a default description only, I don't think there's any way of reading this text, so unfortunately you'll have to set the complete description.

Quote:

Thanks in advance!



I'm not sure how much help this was since most of what you ask is unfortunately not possible, but you're welcome.


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted August 31, 2004 10:26 PM

Thank you Fnord for fast response!
letīs see what I can do with my scripting abilities...

Thereīs one more question still in my mind:
How could I make a new combo-artifact from the following artifacts (I have posted this in some new artifacts-thread): Hellstorm helmet, breastplate of brimstone, shield of damned & sword of hellfire.

I tried to look for an example in the "enhanced artifacts" script, the garb of the forest lord. Unfortunately I donīt understand anything about those variable-thingies..

This is what I have managed to do, by taking example from the garb:
Quote:
*!HEv7057:A2/11/?y10/?y13;                   [check for Sword of Hellfire]
*!FU7032&y5>011/14;                        [handle Sword of Hellfire if found]
*!HEv7057:A2/17/?y10/?y14;                   [check for Shield of Damned]
*!FU7032&y6>017/16;                        [handle Shield of Damned if found]
*!HEv7057:A2/29/?y10/?y15;                   [check for Breastplate of Brimstone]
*!FU7032&y7>029/22;                        [handle Breastplate of Brimstone if found]
*!HEv7057:A2/23/?y10/?y16;                   [check for Hellstorm Helmet]
*!FU7032&y8>023/24;                        [handle Hellstorm Helmet if found]

Only thing Iīve done is just changing some numbers to correspond my requirements.
I donīt know if that does something or not, cause I have no idea what all those numbers mean, so maybe I should start the whole thing from the beginning.

I would like to have the artifact to eliminate morale penalty caused by undead troops for inferno and dungeon troops + allowing all three of them to mix their armies without morale penalty (like angelic alliance). The problem is I donīt know where to start or how to continue..

Thanks for the patience!
____________
After all, marriage and murder are not too different - one ends your life and the other is a crime

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

Tavern Dweller
posted September 01, 2004 10:26 PM
Edited By: HellFast on 1 Sep 2004

Presently, I'm re-arranging a map , with the map editor ...

I've found something that is missing...

it's the Big Green Ball "Dwelling level 8" !!!

I think would be usefull for having a random level 8 dwelling !

there's a chance to see it in next update ??
(or can I make myself with ERM scripts ???)



I've made the .bmp for the green ball ....

http://membres.lycos.fr/michel447a/AVRcgen8.bmp

I will need help for add to my installation  

What I must do now ?

I don't know how to do the avrcgen8.msg and avrcgen8.msk

someone can help me ... guide me ???
(and I imagine that I must do a script file too ??)
____________

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

Tavern Dweller
posted September 03, 2004 03:54 PM

nobody want to help me ????



 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
greek_god_su...
greek_god_superman


Famous Hero
Bringer Of Light
posted September 04, 2004 10:09 PM

Quote:
nobody want to help me ????

Learn to wait. If you are not answered right after you ask something, it doesnīt mean youīre not going to be answered at all.

____________
After all, marriage and murder are not too different - one ends your life and the other is a crime

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


Honorable
Legendary Hero
Back from the Dead
posted September 05, 2004 02:38 AM

question.  how do you open ERM?
____________
How exactly is luck a skill?

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


Famous Hero
Wannabe-Pixelguy
posted September 05, 2004 11:50 AM

Question to you who know ERM:

Is it possible in any way to create a script that removes the "only 1 capitol" thingy? so you can have multiple capitols and more money
____________

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

Tavern Dweller
posted September 13, 2004 03:25 PM

I don't like ERM becouse I don't speak these...

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


Promising
Famous Hero
posted September 14, 2004 01:04 AM

Quote:
Question to you who know ERM:

Is it possible in any way to create a script that removes the "only 1 capitol" thingy? so you can have multiple capitols and more money


I don't think there's any way to remove the limitation but as far as I know you can build additional Capitols anywhere through ERM. So you could have a script that lets you build a 2nd Capitol by some other method (clicking somewhere else I guess).

But, there's already an option in 3.58 called Castle Upgrading that lets you build a Gold Reserve to get additional gold. So why would you need another Capital?


____________

 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 ... 4 5 6 7 8 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5550 seconds