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 339 pages long: 1 40 ... 78 79 80 81 82 ... 120 160 200 240 280 320 339 · «PREV / NEXT»
Hero_of_Light
Hero_of_Light


Promising
Supreme Hero
posted May 28, 2011 04:24 PM

Thanks for the artifacts.

Pity on the third slot... It would be nice to be able to use it and have three creatures in one building instead of two.

As for the dwellings... How do you use the DW command? Can you give me an example of how I can make a dwelling give two recruits instead of one?
____________
Not idly do the leaves of Lorien fall.

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


Promising
Famous Hero
feanor on DF2.ru
posted May 28, 2011 04:27 PM

Quote:
Is there a script that enables to have more than two creatures recruitable in each town's building? Because I saw a HotA video of the Pirate town they made and when clicked on a building you could recruit three diferent pirates. Does any one know how they did it? That would be very usefull for third upgrades mods, as you may choose between the three creatures you can recruit.

Hardcoded
Quote:
In addition, that would be cool on the adventure dwellings too (in Golem factory and Elemental Conflux dwellings you can recruit 4 creatures instead of only one).

Hardcoded, but there is a dll that allows set up creatures in dwellings.

Quote:

P.S. Does anyone have a selection of artifact icons? I would like to change a few around.
____________

http://zalil.ru/31140478
H4 icons

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


Admirable
Omnipresent Hero
Wog refugee
posted May 28, 2011 04:38 PM
Edited by Salamandre at 16:45, 28 May 2011.

Quote:

Hardcoded, but there is a dll that allows set up creatures in dwellings.



I think he wanted something simple as this:



ZVSE

!?PI;

!!DW0/0/0:M0/0/1 M1/1/1 M2/2/1 M3/3/1;

Eventually you can replace the last parameter with a variable set up in a time trigger, to fix the weekly growth, also check the subtype of the dwelling if want to work only on a specific one, disable next message etc. I guess the best way would be to implement the script into a function, triggered by !?OB, but not tested.
____________
All my Era II mods

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


Promising
Supreme Hero
posted May 28, 2011 05:26 PM

Yes that's what I've wanted. I don't know how HotA team managed to acomplish this on town in their mod. I guess they edited the exe.

Do you think it would work with a right click trigger on town building that opens this window?
____________
Not idly do the leaves of Lorien fall.

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


Admirable
Omnipresent Hero
Wog refugee
posted May 28, 2011 05:28 PM
Edited by Salamandre at 17:32, 28 May 2011.

Such trick will not work in town screen unless you use ERA and go for a DL script, but there is a lot of work.

____________
All my Era II mods

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


Promising
Supreme Hero
posted May 28, 2011 05:33 PM

Right, OK.

As for the dwelling part...

I get the changing command. But what do the numbers in !!DW0/0/0 stand for?

I guess one of them is dwelling's id. But the rest of them?
____________
Not idly do the leaves of Lorien fall.

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


Admirable
Omnipresent Hero
Wog refugee
posted May 28, 2011 05:37 PM
Edited by Salamandre at 17:52, 28 May 2011.

The coordinates on the map.

1) When visit an object
2) Get the type/subtype (OB998:T/U)
3) If not dwelling, exit
4) Get the coordinates of the object
"The v variables v998, v999, and v1000 always store the position of the object or event that a hero is currently visiting when a corresponding trigger is used"
5) Open function, !!DWv998/v999/v1000 **coordinates
6) Make changes

May require other checks. Disable next message when exiting the function and get back at OB. Check "Other objects" column in ERM help, DW is listed there.
____________
All my Era II mods

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


Adventuring Hero
New Hero
posted May 30, 2011 03:47 PM

Quote:
Quote:

Hardcoded, but there is a dll that allows set up creatures in dwellings.



I think he wanted something simple as this:



ZVSE

!?PI;

!!DW0/0/0:M0/0/1 M1/1/1 M2/2/1 M3/3/1;

Eventually you can replace the last parameter with a variable set up in a time trigger, to fix the weekly growth, also check the subtype of the dwelling if want to work only on a specific one, disable next message etc. I guess the best way would be to implement the script into a function, triggered by !?OB, but not tested.


Would there be a way to make a window like this for a non-creature dwelling? Say a war machine factory with catapult as a fourth creature?

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


Honorable
Legendary Hero
Age of erwins is over
posted June 22, 2011 09:53 AM

Can someone tell me how to change heroes specialties?for example how to give to Clancy diplomacy specialty instead of unicorns?
____________

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


Known Hero
posted June 22, 2011 04:59 PM

What about !!HE22:X1/4;

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


Promising
Supreme Hero
posted June 22, 2011 06:56 PM

Actually, Diplomacy is not a percentage skill so giving a hero diplomacy speciality won't do anything. I know because i used it to my own mod. What you need is this:

!!HE22:X0/4; [Master of Skills: Diplomacy]
!!HE22:S0/0; [loose: Pathfinding]  
!!HE22:S4/3; [Starting Skills: Expert Diplomacy]
!#VRz658:S^Starts with Expert Diplomacy.^;[Set up text]
!!UN:G2/22/2/658;
____________
Not idly do the leaves of Lorien fall.

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


Honorable
Legendary Hero
Age of erwins is over
posted June 23, 2011 11:42 AM

Thanks
____________

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

Tavern Dweller
posted June 25, 2011 05:36 AM
Edited by Itenus at 05:50, 25 Jun 2011.

Salamandre, you have a ERM deathchamber and ERM mithril? Thanks.
____________

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


Honorable
Legendary Hero
Age of erwins is over
posted June 28, 2011 04:09 PM

Can someone tell me how can I make a 3rd upgrade for a unit,I want like Lizard Warrior to upgrade to Lava Sharpshooter.

Also how can I give to fire messenger vampire lord's abilities?
____________

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

Tavern Dweller
posted June 30, 2011 12:39 PM

Yeah, that may be true they are too powerful, but with HOMM for every action, there is a reaction.
____________
car insurance

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


Honorable
Legendary Hero
Age of erwins is over
posted July 01, 2011 09:06 PM

please can someone tell me how to make dwarf and battle dwarf undead?thanks in advance
____________

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


Promising
Known Hero
posted July 01, 2011 11:06 PM

!!MA:X16/262144
!!MA:X17/262144


____________
Hundreds of DEFs

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


Honorable
Legendary Hero
Age of erwins is over
posted July 01, 2011 11:18 PM

thanks
____________

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

Tavern Dweller
posted July 02, 2011 07:57 AM

I want Nightmare walk into the flying. Are they can help?
Thanks you very much all add a topic of questions and answers Heroes III ERM.

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


Honorable
Legendary Hero
Age of erwins is over
posted July 02, 2011 01:50 PM

I need to change Ivor's specialty from wood elves to vampires/vampire lords.Can someone help me?Thanks in advance.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 339 pages long: 1 40 ... 78 79 80 81 82 ... 120 160 200 240 280 320 339 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1437 seconds