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 ... 288 289 290 291 292 ... 300 350 400 407 · «PREV / NEXT»
fred79
fred79


Disgraceful
Undefeatable Hero
posted February 25, 2016 11:09 PM

Salamandre said:
Actually there is a fast way to remove all scripted abilities (not hardcoded.

example:

!!DO3561124/6/13/1:P#;  Removes all EA abilities of ID = #
!!DO3561124/6/13/1:P$;  Removes all EA abilities of ID = $
etc, just change the ID at the end.

!?FU3561124;
!!EAx1:Bx16//////////////;


This way you don't need to write any longer EA#:B6/////, EA#:B7//// up to 13.


i saw that you did this before, but i didn't understand it. where does this code fit into the lineup(MA, EA, UN)?

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


Admirable
Omnipresent Hero
Wog refugee
posted February 25, 2016 11:15 PM

Well, when you remove scripted abilities, you always write this:

!!EA172:B6/0/////////////;
!!EA172:B7/0/////////////;
!!EA172:B8/0/////////////;
!!EA172:B9/0/////////////;
!!EA172:B10/0/////////////;
!!EA172:B11/0/////////////;
!!EA172:B12/0/////////////; removes nightmare stack exp abilities

So if you have to process 10 creatures, you will need to write same thing 10 times, and only changing the ID (172)

Mine compresses it in a loop:

!!DO3561124/6/13/1:P172;  Removes all EA abilities of ID = 172

!?FU3561124;
!!EAx1:Bx16//////////////;


So when you need to script next creature EA, lets say ID = 195, just add:

!!DO3561124/6/13/1:P195;  Removes all EA abilities of ID = 195


The function:
!?FU3561124;
!!EAx1:Bx16//////////////;

will process all your requests automatically
____________
Era II mods and utilities

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


Disgraceful
Undefeatable Hero
posted February 25, 2016 11:16 PM

i see. but where does this fit into the script? before or after EA, and i'm assuming before UN:C?

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


Admirable
Omnipresent Hero
Wog refugee
posted February 25, 2016 11:19 PM
Edited by Salamandre at 23:21, 25 Feb 2016.

It doesn't matter, just be sure there is a trigger before (PI, TM, anything)

Just look at first script I gave you yesterday, where I ordered your lines to make sense (they were misplaced between GM and PI). Its easy once you get the idea.
____________
Era II mods and utilities

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


Disgraceful
Undefeatable Hero
posted February 25, 2016 11:23 PM

k. thanks. this'll shorten the script a bit.

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


Adventuring Hero
posted February 26, 2016 04:15 AM

fred79 said:

i am in need of more UN:C magic. this time, i need to remove mirth from creature 192. here is the code that fixes the rest, that has to be compatible:



!!UN:C7727580/4/9999; remove mirth from 192#
!!UN:C7735444/4/9999; remove mirth from 192#

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


Disgraceful
Undefeatable Hero
posted February 26, 2016 10:03 AM
Edited by fred79 at 22:34, 26 Feb 2016.

thank you once again, hawaiing.

---------
question: is death stare just as useless a spell as hypnotize? because i have the spell enabled in EA(you can see it), but the creature's not casting it.

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


Admirable
Omnipresent Hero
Wog refugee
posted February 26, 2016 10:44 PM

Death stare will not work from EA, probably hypnotize neither (didn't test the last, but DS I did). You can leave the abilities as they are then script it manually, not big deal.

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


Disgraceful
Undefeatable Hero
posted February 26, 2016 10:50 PM

well, snow. why would the option be in wog help if it doesn't work?

what do you mean by scripting it manually? i thought that's what i was doing.

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


Admirable
Omnipresent Hero
Wog refugee
posted February 26, 2016 11:08 PM

Testing all 65 spells in 1500 situations (before attack, after attack, on immune creatures, on undead etc) was never completed by anyone, you are welcome to test all situations then correct the ERM help :P

By scripting manually, I mean using battle scripts: when creature attack, check target imunities, hero artifacts and resistence level then simulate death stare or any other spell, by showing its animation with BM:V then calculate casualties on a pattern you wish.

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


Disgraceful
Undefeatable Hero
posted February 26, 2016 11:16 PM

yeah, no. i'll just stick with the fear, and try to add fearless.

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


Responsible
Supreme Hero
posted February 27, 2016 04:06 PM

@ Akuhak, Oxfea, Igrik, gamecreator

OK, I might be getting a bit annoying here, but since some of these users haven't responded yet and OxFea said he would look into it, I will continue to push this matter, in hopes that a solution is near.

Can anyone edit the restore interface pluggin for me and fix some bugs it has? Or If not, make a new one where:

1) This pluggin restores the original SoD interface and I would like to know if it can be edited to restore the original Heroes 3 Complete interface. The reason I asked is that I would like to have the RoE intro playing when I start Heroes. If it's not possible then fine, I just would like to know.

2) This pluggin restores the original SoD campaigns as well, which is pretty much why I want it to work so much. However, I noticed that it doesn't fully restore the campaign videos and keeps the (in my opinion really bad) WoG videos.

To clarify, when WoG came out, the 10 videos from the first two SoD campaigns were replaced with new ones. this pluggin restores original SoD campaigns and videos but it seems to have missed out on EPILOGUES on these campaigns. In New Beggining and Elixir of Life campaigns, the final epilogue is not restored and it is still the WoG video that plays. It seems the author of this pluggin has neglected the epilogues.

Can someone help me? Sorry If I seem to push the matter intensively but it is kind of important for me and if someone knows how to fix it I would be grateful.
____________
Not idly do the leaves of Lorien fall.

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


Disgraceful
Undefeatable Hero
posted February 29, 2016 02:49 AM

i ended up doing some scripting over the weekend. i found a way to remove certain experience attributes directly, which was cool. but i ran into a couple snags:

1. i want a creature to have a chance to cast paralyze, but cannot find it in erm help.

2. i scripted two creatures to hate one another, but how can i find out if hatred abilities actually work? is there a way to provide an accurate comparison, without making test X-trait.txt files?

3. i need UN:C code to remove rocs', thunderbirds', and trolls'(92, 93, 144) regenerate ability. i need the scripts to work with these:

ZVSE

!?PI;
!!MA:X151/d-2; removes fly from diamond dragons
!!MA:X151/d-8; removes breath attack from diamond dragons
!!MA:X156/d-2; removes fly from ghost behemoths
!!MA:X92/d-1; removes 2-hex from rocs
!!MA:X93/d-1; removes 2-hex from thunderbirds
!!MA:X172/d-8; removes breath attack from nightmare
!!MA:X87/d-32768; removes double attack from wolf raider
!!MA:X66/d-1; removes 2-hex from black knights
!!MA:X195/d-1; removes 2-hex from hell steeds
!!MA:X195/d-8; removes breath attack from hell steeds
!!MA:X173/d1024; mind spell immunity for santa gremlins
!!MA:X168/d-128; removes king 1 from gornyches
!!MA:X168/d-524288; removes attack-all from gornyches
!!MA:X168/d-8; removes breath attack from gornyches
!!MA:X192/d2; sylvan centaurs can fly
!!MA:X192/d-4; removes shoot ability from sylvan centaurs
!!MA:X192/d-32768; removes double attack from sylvan centaurs
!!MA:X193/d-4; removes shoot ability from sorceresses
!!MA:X193/d-2; removes fly from sorceresses
!!MA:X193/d65536; no retal against sorceresses
!!MA:X66/d1024; mind spell immunity for black knights
!!MA:X67/d1024; mind spell immunity for dread knights
!!MA:X84/d1024; mind spell immunity for cyber dead
!!MA:X85/d1024; mind spell immunity for cyber zombies
!!MA:X86/d1024; mind spell immunity for mutant trees
!!MA:X87/d1024; mind spell immunity for radiated trees
!!MA:X97/d1024; mind spell immunity for juggernauts
!!MA:X156/d1024; mind spell immunity for dreadnaughts
!!MA:X141/d1024; mind spell immunity for deep ones
!!MA:X144/d1024; mind spell immunity for abyssal deep ones

!!DO3561124/6/13/1:P84; removes goblin stack exp abilities
!!DO3561124/6/13/1:P85; removes hobgoblin stack exp abilites
!!DO3561124/6/13/1:P90; removes ogre stack exp abilities
!!DO3561124/6/13/1:P91; removes ogre mage stack exp abilities
!!DO3561124/6/13/1:P92; removes roc stack abilities
!!DO3561124/6/13/1:P93; removes thunderbird stack abilities
!!DO3561124/6/13/1:P96; removes behemoth stack exp abilities
!!DO3561124/6/13/1:P97; removes ancient behemoth stack exp abilities
!!DO3561124/6/13/1:P156; removes ghost behemoth stack exp abilities
!!DO3561124/6/13/1:P141; removes old mummy stack exp abilities
!!DO3561124/6/13/1:P144; removes troll stack exp abilities
!!DO3561124/6/13/1:P192; removes sylvan centaurs stack exp abilities
!!DO3561124/6/13/1:P193; removes sorceress stack exp abilities

!!EA94:B8/0/75/15/0/0/0/0/0/0/0/0/0/0/0; remove earthquake
!!EA95:B8/0/75/15/0/0/0/0/0/0/0/0/0/0/0; remove earthquake
!!EA86:B6/1/119/66/1/1/1/1/1/1/1/1/1/1/1; blind immunity
!!EA87:B6/1/119/66/1/1/1/1/1/1/1/1/1/1/1; blind immunity
!!EA87:B7/1/99/73/1/1/1/1/1/1/1/1/1/1/1; casts disease
!!EA97:B6/1/119/58/1/1/1/1/1/1/1/1/1/1/1; all spells immune
!!EA156:B6/1/119/58/1/1/1/1/1/1/1/1/1/1/1; all spells immune

!!EA193:B6/1/102/102/1/1/1/1/1/1/1/1/1/1/1; fearless
!!EA193:B7/1/70/43/1/1/1/1/1/1/1/1/1/1/1; causes fear

!!DO3561124/6/13/1:P168; removes gornych stack exp abilities
!!DO3561124/6/13/1:P173; removes santa gremlin stack exp abilities

!!EA173:B6/1/102/70/1/1/1/1/1/1/1/1/1/1/1; fly
!!EA173:B7/1/107/50/100/100/100/100/100/100/100/100/100/100/100/; casts basic sorrow after attack
!!EA173:B8/1/102/82/1/1/1/1/1/1/1/1/1/1/1; no retaliation

!!DO3561124/6/13/1:P172; removes nightmare stack exp abilities

!!EA172:B6/1/75/71/100/100/100/100/100/100/100/100/100/100/100/; casts poison after attack

!!EA142:B6/1/75/71/100/100/100/100/100/100/100/100/100/100/100/; casts poison after attack

!!DO3561124/6/13/1:P66; removes black knight stack exp abilites
!!DO3561124/6/13/1:P195; removes hell steed stack exp abilities

!!EA195:B6/1/115/49/3/3/3/3/3/3/3/3/3/3/3; mirth enchanted

!?FU3561124;
!!EAx1:Bx16//////////////;

EA168:B11/1/104/192/1/1/1/1/1/1/1/1/1/1/1; rocs hate ayssids
EA192:B11/1/104/168/1/1/1/1/1/1/1/1/1/1/1; ayssids hate rocs

!!UN:C7727293/4/9999; removes hell steed fire shield
!!UN:C7735078/4/9999; removes hell steed fire shield
!!UN:C7719484/4/9999; removes hell steed fire wall
!!UN:C7721205/4/222; removes santa gremlin guards
!!UN:C7994557/1/5; removes nightmare death stare
!!UN:C7727580/4/9999; remove mirth from sylvan centaurs
!!UN:C7735444/4/9999; remove mirth from sylvan centaurs
!?GM0;
!!UN:C7727293/4/9999; removes hell steed fire shield
!!UN:C7735078/4/9999; removes hell steed fire shield
!!UN:C7719484/4/9999; removes hell steed fire wall
!!UN:C7721205/4/222; removes santa gremlin guards
!!UN:C7994557/1/5; removes nightmare death stare
!!UN:C7727580/4/9999; remove mirth from sylvan centaurs
!!UN:C7735444/4/9999; remove mirth from sylvan centaurs



sorry if that's too much to read, as i'm not sure what information to include in order to prevent inconsistencies in code.

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


Admirable
Omnipresent Hero
Wog refugee
posted February 29, 2016 09:18 AM

!?FU3561124;
!!EAx1:Bx16//////////////;

is a new trigger. Place it at the very end of your script and do not add anything after it.

So you have

!?PI;
scripts


!?GM0; reload
!!UN:C

!?FU
function

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


Adventuring Hero
posted February 29, 2016 04:47 PM

I'm sorry guys, what is ERM?

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


Disgraceful
Undefeatable Hero
posted March 01, 2016 12:15 AM

Loin said:
I'm sorry guys, what is ERM?


erm is one way to change things about HoMM3, to fit your own preferences. it relies on scripting(coding) to accomplish this. read around, and you will find out more. in wog and era you can find most of what you need to know in "erm help".

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


Adventuring Hero
posted March 01, 2016 04:02 AM

fred79 said:

3. i need UN:C code to remove rocs', thunderbirds', and trolls'(92, 93, 144) regenerate ability. i need the scripts to work with these:




92#rocs', 93#thunderbirds' regenerate ability -->experience
ZVSE
!?FU77007;
!!SN:X?y1/?y2;
!!BMy1:T?y4;
!!SN&y4=144:X?y1/?y2/1; disable 144# regenerate

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


Responsible
Supreme Hero
posted March 01, 2016 11:29 AM

What does the Bank do? I can't find it in WoG options.
____________
Not idly do the leaves of Lorien fall.

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


Disgraceful
Undefeatable Hero
posted March 01, 2016 05:07 PM

Hawaiing said:
fred79 said:

3. i need UN:C code to remove rocs', thunderbirds', and trolls'(92, 93, 144) regenerate ability. i need the scripts to work with these:




92#rocs', 93#thunderbirds' regenerate ability -->experience
ZVSE
!?FU77007;
!!SN:X?y1/?y2;
!!BMy1:T?y4;
!!SN&y4=144:X?y1/?y2/1; disable 144# regenerate


i tried this, but it didn't work. i don't understand the question marks; am i supposed to fill those in, or are they more of a catch-all for scripting?

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


Disgraceful
Undefeatable Hero
posted March 01, 2016 05:50 PM

Hero_Of_Light said:
What does the Bank do? I can't find it in WoG options.


the description is under wog script 5:

Quote:
The Loan Bank lets you loan gold and resources for a fee. Transfer all resources button transfers all resources including gold and mithril to another player. Resource trading post lets you trade resources among players

 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 ... 288 289 290 291 292 ... 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.6192 seconds