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 ... 12 13 14 15 16 ... 50 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Fnord
Fnord


Promising
Famous Hero
posted September 03, 2006 10:14 PM

Quote:
Thanx What are the ERT files and what should I do to a script to make it appear in the "Wogify Menu" with the option to choose it or not?


ERT files contain text used in scripts. The idea for ERT files was created to make it easier to translate scripts into other languages because it puts all the text into one place. There's a tool option in the ERM scripter that automatically searches a script and creates an ERT file for it, but if you're writing a script just for yourself and your friends, you don't need to make an ERT file.

It's a bit complicated but full instructions on how to make a script appear in the WoG Options menu, are in the "How to edit Zsetup.txt" file in the Data\Text Resources Copy folder.


____________

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


Adventuring Hero
The Arcomage
posted September 06, 2006 08:53 AM

THE REPLAY

I've been experiencing some connection problems but everything is fine now.

@Wogifier: I'll finish the script as soon as I can. School just started, you know...

@Demonpheonix: This script contains some animation bugs, but it should work fine.



ZVSE

[Part 4: Blank Horn Implementation]

!#UN:A170/3/16; [artifact is relic]
!#VRz90:S^Horn of Courage^;
!#UN:A170/9/90; [name the artifact 'Horn of Courage']
!#VRz91:S^{Horn of Courage}

Wearing this item all your troops' moral boosts formidably.^;
!#UN:A170/10/91; [set description]
!#UN:A170/8/0; [does not give a spell]

!?BA0; [when any battle occurs]
!!HE-10:A2/170/0/?v93; [check if the artifact is equiped (attacker)]
!!BH1:N?v95; [check if there is a defendering hero]
!!HE-20&v95<>-1:A2/170/0/?v94; [check if the artifact is equiped (defender)]

!?BR&v93>0; [expert mirth (attacker)]
!!BM0:M49/50/3;
!!BM0:V20;
!!BM1:Bv401; [get number of monsters in stack 1]
!!BM1&v401>0:M49/50/3;
!!BM1&v401>0:V20;
!!BM2:Bv401; [get number of monsters in stack 2]
!!BM2&v401>0:M49/50/3;
!!BM2&v401>0:V20;
!!BM3:Bv401; [get number of monsters in stack 3]
!!BM3&v401>0:M49/50/3;
!!BM3&v401>0:V20;
!!BM4:Bv401; [get number of monsters in stack 4]
!!BM4&v401>0:M49/50/3;
!!BM4&v401>0:V20;
!!BM5:Bv401; [get number of monsters in stack 5]
!!BM5&v401>0:M49/50/3;
!!BM5&v401>0:V20;
!!BM6:Bv401; [get number of monsters in stack 6]
!!BM6&v401>0:M49/50/3;
!!BM6&v401>0:V20;
!!BM7:Bv401; [get number of monsters in stack 7]
!!BM7&v401>0:M49/50/3;
!!BM7&v401>0:V20;
!!BM8:Bv401; [get number of monsters in stack 8]
!!BM8&v401>0:M49/50/3;
!!BM8&v401>0:V20;
!!BM9:Bv401; [get number of monsters in stack 9]
!!BM9&v401>0:M49/50/3;
!!BM9&v401>0:V20;

!?BR&v95<>-1/v94>0; [expert mirth (defender)]
!!BM20:M49/50/3;
!!BM20:V20;
!!BM21:Bv401; [get number of monsters in stack 21]
!!BM21&v401>0:M49/50/3;
!!BM21&v401>0:V20;
!!BM22:Bv401; [get number of monsters in stack 22]
!!BM22&v401>0:M49/50/3;
!!BM22&v401>0:V20;
!!BM23:Bv401; [get number of monsters in stack 23]
!!BM23&v401>0:M49/50/3;
!!BM23&v401>0:V20;
!!BM24:Bv401; [get number of monsters in stack 24]
!!BM24&v401>0:M49/50/3;
!!BM24&v401>0:V20;
!!BM25:Bv401; [get number of monsters in stack 25]
!!BM25&v401>0:M49/50/3;
!!BM25&v401>0:V20;
!!BM26:Bv401; [get number of monsters in stack 26]
!!BM26&v401>0:M49/50/3;
!!BM26&v401>0:V20;
!!BM27:Bv401; [get number of monsters in stack 27]
!!BM27&v401>0:M49/50/3;
!!BM27&v401>0:V20;
!!BM28:Bv401; [get number of monsters in stack 28]
!!BM28&v401>0:M49/50/3;
!!BM28&v401>0:V20;
!!BM29:Bv401; [get number of monsters in stack 29]
!!BM29&v401>0:M49/50/3;
!!BM29&v401>0:V20;

@supersonic: I've written an Adventure Map Creation Tutorial you can find at 'games.groups.yahoo.com/groups/tnth3group' in Files section. I'm also working on a project called ERM Box that contains a dozen wizards that can do some useful things for you. Wait till I complete it.

TNT, Supreme Master Arcomage of WR.

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


Adventuring Hero
Revealer of Enlightment
posted September 11, 2006 05:09 PM

@ TNT

I would like a little hange in the blank artifacts' scripts. If it doesn't cause you too much trouble, and easy to be solved, would you please add 'fire shield' into the spells provided by the blank shield? If it is too difficult to solve, leave it, it's not important. THX in advanve
____________
Only errors exist. If something is working, the error is erroneous.

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


Adventuring Hero
The Arcomage
posted September 11, 2006 06:10 PM

@Wogifier

It's quite easy. I'll add it.

SMA.

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


Adventuring Hero
Revealer of Enlightment
posted September 11, 2006 06:33 PM

Thanx a lot, TNT...
____________
Only errors exist. If something is working, the error is erroneous.

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


Known Hero
posted September 14, 2006 10:09 PM

Hello. Could be someone so nice to make a ERM script to make a Ghost as a upgrade of Wraight... I would be very thankful and gladful.
Thx

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


Responsible
Supreme Hero
Forgotten but not Forsaken
posted September 15, 2006 08:29 AM
Edited by bigjocker at 08:30, 15 Sep 2006.

ZVSE

!#MA:U61/159;



If i'm not wrong with wraigh's number. But I can't see the point of it...Because Ghost is weaker than Wraigh
____________
HoMM3Lite

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


Promising
Famous Hero
posted September 15, 2006 08:29 AM

Quote:
Hello. Could be someone so nice to make a ERM script to make a Ghost as a upgrade of Wraight... I would be very thankful and gladful.
Thx


ZVSE

!#MA:U61/159;


____________

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


Responsible
Supreme Hero
Forgotten but not Forsaken
posted September 15, 2006 08:31 AM

Yuo're  too late Fnord It seems we were writing messages at the same time
____________
HoMM3Lite

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


Promising
Famous Hero
posted September 15, 2006 09:34 AM

Quote:
Yuo're  too late Fnord It seems we were writing messages at the same time


Oops..I guess you beat me by a few seconds.


____________

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


Known Hero
posted September 15, 2006 10:08 AM

Thx guys very much. I personaly find it not logical too. But it is for my friend and he just love those ghosts... [Homm2 player] So he wanted to buy some.

And one guestion. U will be able to UPG the UPGed Wraight ? [dunno the name] So the ghost will be 3rd UPG ?
And the population ? As in destoyed town ?

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


Promising
Famous Hero
posted September 15, 2006 08:05 PM

Quote:
Thx guys very much. I personaly find it not logical too. But it is for my friend and he just love those ghosts... [Homm2 player] So he wanted to buy some.

And one guestion. U will be able to UPG the UPGed Wraight ? [dunno the name] So the ghost will be 3rd UPG ?
And the population ? As in destoyed town ?


You would be able to upgrade Wraith-->Ghost at a Hill Fort, or if you enable the "Universal Upgrade" WoGify option, you could also upgrade it at any town with an upgraded L3 dwelling built.


____________

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


Known Hero
God of Shadows
posted September 15, 2006 09:32 PM

A good script thnx
____________
The Legendary God Of Mighty Shadows and Undead
_____________________
Keeper of the balance between evil and good

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


Known Hero
posted September 16, 2006 08:26 AM

Ghost

Ok Im very happy of ur help.
But where should I write it ? Into map. Or as a new script ?

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


Promising
Famous Hero
posted September 16, 2006 08:39 AM

Quote:
Ok Im very happy of ur help.
But where should I write it ? Into map. Or as a new script ?


If you wogify the maps, it can be a new script but you must save it with the script editor in the Data\s folder with an unused number under 100 (e.g., script78.erm).

If you don't wogify the maps or only want it in a specific map, you can put it any timed event (the event can be set so it never occurs and so it doesn't occur for any players) in a WoG format map. I think you'll need to open the map in the WoG map editor and save it again to make it WoG format in order for ERM to load this way.

A third option is to save a script (again with the ERM script editor) in the Maps folder using the same name as the map, except that the extension must be .erm instead of .h3m. The map may also need to be a WoG format map (saved in the WoG editor) for this to work though.


____________

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


Adventuring Hero
Revealer of Enlightment
posted September 16, 2006 04:33 PM

Hi all!

Isn't there an ERM script that allows dracolich to be available in Necro? For example, 3rd upgrade or instead of blood dragon?
____________
Only errors exist. If something is working, the error is erroneous.

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


Known Hero
that hasnt been on in a while.
posted September 16, 2006 06:13 PM

Hello people

I tryed the lich king- replace arch mage thing lich king requested.
I get this

ERM syntax Error.
File: erm
Line: 2026
Reason:
"UN;T" - wrong upgrade (0'1)

Any help please?
____________
God, I've havnt been on in a while. I can tell this by the fact that when I looked at my profile, it said I was 13. I'm almost 15 now. God, time flys by, don't you agree?

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


Famous Hero
being digested. E=mc^2, s=vt
posted September 28, 2006 04:49 PM

@ Knight - it should have been UN:T(...), not UN;T(...)
And remeber always to put ; at the back of each line!

Ok, guys. I got this idea, but I think it will be very hard to implement. I think about making a new type of mines. Instead of just going into the mine and getting 1 resource per day, the mine will be an undergorung tunnel, which can end in a small chamber, filled with resources. It is easy to turn the mine into a subterranean tunnel. It is harder, however, to do the next task. I want the resources to respawn, so that every day when a hero comes to a mine, he can "spend time mining". This will make maps much more entertaining and quicker. Of course, I don't want this to be a wogify script, because there are many maps with subterranean terrain and the new mines might collide with it. I just want the new mines screipt to be in my new campaign.
Please, make it someone, coz I can only switch the mine into a subterranean tunnel and then put another subterranean tunnel in the chamber. With the rest, I am stuck!

BTW: After changing a mine into a subterranean tunnel, how can you make it so that it doesn't say "subterranean tunnel", but somethink like "a mine" (right button, or mouseover)
____________
I am having a new style
Big, fat, naughty. Potential girlfriend - pm me.

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


Adventuring Hero
The Arcomage
posted October 01, 2006 11:49 AM

Mine Script

- when mine is visited, teleport hero to a specific location;
- when human has ended his turn, check what's on the location where
  resources should be. If there are no resources on the spot, create
  some;

For mouseover hint:
- initialize a string variable to the hint you want;
- set the hint of an object;

Code Sample (will not work, just shows what should be done):

ZVSE

!#VRz101:S^Extended Mine^; [init hint]
!#OBx/y/l:Hz101; [set hint]

!?OBx/y/l; [when visited]
!!HE-1:Tx1/y1/l1; [teleport current hero]

!?OBx1/y1/l1; [when end portal visited]
!!HE-1:Tx/y/l; [teleport hero back]

*See erm help for details, but the rest should look like this:

!?Mouse Click Trigger;
!!If End Turn button is clicked:get whats on a/b/c;
!!UN If nothing on a/b/c:create $resources$;

TNT, Supreme Master Arcomage of WR.

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


Famous Hero
being digested. E=mc^2, s=vt
posted October 01, 2006 11:55 AM

How about we just turn the mine into a subterranean pass and make a real subterranean pass underground? With chamber filled with gold/resources/whatever.
____________
I am having a new style
Big, fat, naughty. Potential girlfriend - pm me.

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

Page compiled in 0.7336 seconds