|
|
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
|
|
bbvsdd
Hired Hero
|
posted February 27, 2011 01:08 AM |
|
|
Do they have different syntax or something?
____________
|
|
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
|
|
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 27, 2011 02:43 PM |
|
|
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
|
|
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?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 27, 2011 05:47 PM |
|
|
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
|
|
Baron
Tavern Dweller
|
posted February 27, 2011 06:07 PM |
|
|
OK Got it.
Thanks for your help.
|
|
e-lysander
Known Hero
Lysander
|
posted March 02, 2011 07:58 AM |
|
|
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?
|
|
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 02, 2011 05:58 PM |
|
|
|
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
|
|
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 02, 2011 07:33 PM |
|
|
|
e-lysander
Known Hero
Lysander
|
posted March 02, 2011 09:56 PM |
|
|
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.
|
|
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.
____________
|
|
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.
|
|
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
|
|
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?
|
|
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;
|
|
|