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 ... 75 76 77 78 79 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted February 27, 2011 01:06 AM

I used map script, I don't mess with universal scripts. Used ID 193 and 196 for sorc and Dracolich. No problems, as it should be.
____________
Era II mods and utilities

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


Hired Hero
posted February 27, 2011 01:08 AM

Do they have different syntax or something?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted February 27, 2011 12:54 PM

Of course, firstly they need wogification (lol, the word is red underlined, and translator propose "uglification" instead, wise), then different syntax. Never did one, I can't help with this.
____________
Era II mods and utilities

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

Tavern Dweller
posted February 27, 2011 01:42 PM

Papyrus handle

Hi.

I am looking for the code that activates papyrus and where to put it?
I guess in timed event but not sure.

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


Admirable
Omnipresent Hero
Wog refugee
posted February 27, 2011 02:43 PM
Edited by Salamandre at 15:17, 27 Feb 2011.

It is easy if you have ERM help, for some ID. Every text placed in the Papyrus can go from simple message activated by visiting an event or an object to complex quests activated by various conditions.
For instance, you can place a text in papyrus by only visiting an object.

Every text has to be stored in a z variable. You can't store two texts in same z variable, so use next (101, 102 etc) for each quest.
example:
!#VRz100:S^I am Baron, and you don't pass until you show me your strength^;

Visit object:

!?OB10/10/0; object at 10/10/0 (example)
!!QW:A1/-1/-1/100; will place in the papyrus quest #1 for any player (-1), any color (-1) with the text stored in z100 var.

Full script, to be placed in a timed event set to day 600.

ZVSE
!#VRz100:S^I am Baron, and you don't pass until you show me your strength^;
!?OB10/10/0; object at 10/10/0, when visit
!!QW:A1/-1/-1/100; give quest


To remove the quest, place a script in another object visit, for example:
!?OB20/20/0; object at 20/20/0
!!QW:A1/-1/-1/-1; Will remove the quest #1


All this can be decorated with sounds, show quest in chat log etc.

Try also this, you will see what I mean:

ZVSE
!#VRz100:S^I am Baron, and you don't pass until you show me your strength^;
!?OB10/10/0; object at 10/10/0, when visit
!!VRz10:S^Chat.wav^;
!!SN:Pz10;
!!VRz1:S^QUEST!^;
!!IF:L1; show "QUEST!" in chat log with sound, so the player knows something was added in the papyrus.
!!QW:A1/-1/-1/100; give quest


____________
Era II mods and utilities

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

Tavern Dweller
posted February 27, 2011 05:16 PM

papyrus

Thanks Salamandre

It worked like a charm until i tryed it with sound and show in chat.
ERM script error. It think it is in the part that will open chat. I removed that part, just to let i play a sound, then it worked.


ZVSE
!#VRz100:S^I am Baron, and you don't pass until you show me your strength^;
!?OB81/89/0; object at 81/89/0, when visit
!!VRz10:S^Chat.wav^;
!!SNz10;
!!QW:A1/-1/-1/100; give quest


Some questions:
1. To remove quest #2 will i type:
!!QW:A1/-1/-1/-2;
Yes or?

2. Is there a limit of how many of these commandlines there can be added in one event in timed events?

3. You meantioned ERM help. when i tryes to open that one from the map editor i get an error that it cant find the .dll file "H3WMapEdPatch.dll". Isnt it supposed to be in Hoom3 root folder, which it is right now, if not, which folder should it be located in or do i have to reg it as a windows .dll?

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


Admirable
Omnipresent Hero
Wog refugee
posted February 27, 2011 05:47 PM
Edited by Salamandre at 18:01, 27 Feb 2011.

It depends on your version, but in general ERM help is opened from erm_s.exe, so try to find this file in H folder.

Don't worry about commands limits, you will unlikely write so many. When you see that any text you write in the event tab is not saved (thousand lines already?), it means you reached the limit. Then open another event, under another name and so on.

To remove quest 2 it is !!QW:A2/-1/-1/-1; The number after "A" is storing the quest number. To give quest 2 it is !!QW:A2/-1/-1/##;
## = z variable which stores the second quest dialog.

Quote:
i tryed it with sound and show in chat. ERM script error.


This is because you have a very old WoG version. IF:L is a new command.
Download ERA and install it over clean Heroes. It will be compatible with all old maps but up to date for scripts, will have all modding tools and the latest editor patch inside as well.

____________
Era II mods and utilities

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

Tavern Dweller
posted February 27, 2011 06:07 PM

OK Got it.

Thanks for your help.

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


Known Hero
Lysander
posted March 02, 2011 07:58 AM
Edited by e-lysander at 07:58, 02 Mar 2011.

Hi, I'm trying to turn Wights/Wraiths into classic Mummies/Royal Mummies. I have already turned them into non-fliers, so that works. But what I'm doing is trying to remove the Wight/Wraith regenerate ability, keep the undead ability, but also add a 20% chance to Curse the enemy after an attack.

Here is my code, which seems to only remove the flight ability (but doesn't give a Curse attack or remove regeneration):

Quote:
ZVSE
!?PI;

** Mummy

!!EA60:B5/0/////////////;
!!EA60:B6/0/////////////;
!!EA60:B7/0/////////////;
!!EA60:B8/0/////////////;
!!EA60:B9/0/////////////;
!!EA60:B10/0/////////////;
!!EA60:B11/0/////////////;
!!EA60:B12/0/////////////;

!!EA60:B5/1/107/42/0/0/0/0/1/1/1/1/1/1/1;

** Royal Mummy

!!EA61:B5/0/////////////;
!!EA61:B6/0/////////////;
!!EA61:B7/0/////////////;
!!EA61:B8/0/////////////;
!!EA61:B9/0/////////////;
!!EA61:B10/0/////////////;
!!EA61:B11/0/////////////;
!!EA61:B12/0/////////////;

!!EA61:B5/1/107/42/0/0/0/0/1/1/1/1/1/1/1;


So, what am I doing wrong?

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


Known Hero
posted March 02, 2011 01:20 PM

maybe is impossible to do that, deactivate the natural abilities is in a lot of cases a hard work, i could not do that.

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


Admirable
Omnipresent Hero
Wog refugee
posted March 02, 2011 05:58 PM

Well, anything is possible. Ask what abilities you want to disable HERE.
____________
Era II mods and utilities

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


Known Hero
Lysander
posted March 02, 2011 06:17 PM

Quote:
Well, anything is possible. Ask what abilities you want to disable HERE.


What the hell language is that? LoL

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


Promising
Famous Hero
feanor on DF2.ru
posted March 02, 2011 07:29 PM
Edited by OxFEA at 19:54, 02 Mar 2011.

Hellish, of course.
Russian.

Flight ability is flag ability, so you should use MA:X.

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


Admirable
Omnipresent Hero
Wog refugee
posted March 02, 2011 07:33 PM

You can ask in english, they will not eat you for that.
____________
Era II mods and utilities

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


Known Hero
Lysander
posted March 02, 2011 09:56 PM
Edited by e-lysander at 21:56, 02 Mar 2011.

Quote:
Hellish, of course.
Russian.

Flight ability is flag ability, so you should use MA:X.



Yeah, I've been using that. As I said I was able to disable her flying just fine, but no Curse is to be had and she still regenerates.

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


Hired Hero
posted March 03, 2011 03:25 AM
Edited by bbvsdd at 03:28, 03 Mar 2011.

try !!EA on regeneration but put all 0s on every level, effectively disabling it.
____________

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


Known Hero
Lysander
posted March 04, 2011 06:17 AM

Quote:
try !!EA on regeneration but put all 0s on every level, effectively disabling it.


As you can see, I've already done that, with no results.

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


Promising
Famous Hero
feanor on DF2.ru
posted March 04, 2011 08:35 AM

!?GM0;
!!UN:C4484056/1/255;
!!UN:C4484061/1/255;
!!UN:C4608212/1/47;
!?PI;
!!UN:C4484056/1/255;
!!UN:C4484061/1/255;
!!UN:C4608212/1/47;

disable regeneration and mana draining

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


Known Hero
Lysander
posted March 04, 2011 08:37 AM

Quote:
!?GM0;
!!UN:C4484056/1/255;
!!UN:C4484061/1/255;
!!UN:C4608212/1/47;
!?PI;
!!UN:C4484056/1/255;
!!UN:C4484061/1/255;
!!UN:C4608212/1/47;

disable regeneration and mana draining


Thanks.

What about giving Curse attack?

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


Promising
Famous Hero
feanor on DF2.ru
posted March 04, 2011 09:46 AM

I erred:

Not !!UN:C4608212/1/47; but

!!UN:C4608211/2/37008;

 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 ... 75 76 77 78 79 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5785 seconds