|
Thread: A few questions | This thread is pages long: 1 2 · «PREV |
|
fnord
Promising
Famous Hero
|
posted October 10, 2003 11:01 AM |
|
|
Quote: thanx Fnord.
marek_dekastello@yahoo.com
Okay, I've just sent them.
|
|
Vlaad
Admirable
Legendary Hero
ghost of the past
|
posted October 21, 2003 06:35 PM |
|
|
My new XL map is finished, but I have two final questions. The following ERM scripts function well with 3.57 but numerous syntax errors occur in 3.57f.
I cannot install the latest patch, but I think it's very bad that new updates overwrite older versions of ERM. A lot of maps on the net are currently not playable because of this. It seems 3.57f didn't just fixed some things - it also introduced some new ERM options, sometimes even opposite of those in 3.57 (see page 1 of this topic).
Anyway, the scripts are:
ZVSE
!?OB116/56/0;
!!HE148:K;
!!HE663;
______________________________
ZVSE
_WARNING_#1=IMPORTANT! This file is not in a plain text format. NEVER use any editor except ERM_S for making any kind of changes!
ERMS_PoweredBy=ERM Scripter v. 2003.3.13.2323
[Hero screen mouse click]
!?CM2;
!!HE-1:N?v1; [Get current hero #]
!!VRz1:S^Can upgrade Orcs or Orc Chieftains and Lizardmen or Lizard Warriors to Sharpshooters.
Sharpshooters may be further upgraded to Lava Sharpshooters.^;
!!FU29750&v1=21; [Call function if Gelu]
----------------------------------------------------------------------------------------------------------------
!?FU29750;
!!CM:I?y1; [Get click location]
!!VRy2:S-1; [Set y2 to -1]
!!VRy3:S-1; [Set y3 to -1]
!!VRy2&y1>=68/y1<=74:Sy1 -68; [If clicked, set troop slot #: y2]
!!HE21&y2>=0:C0/y2/?y3/d; [Type of monster: y3]
!!HE21|y3=88/y3=89/y3=100/y3=101:X6/88/100/137; [Orcs/Chieftains and Lizardmen/Warriors to Sharpshooters]
!!HE21&y3=137:X6/137/137/171; [Sharpshooters to Lava Sharpshooters]
__________________________________
What should they look like in 3.57f?
____________
|
|
fnord
Promising
Famous Hero
|
posted October 22, 2003 09:01 AM |
|
|
Quote: My new XL map is finished, but I have two final questions. The following ERM scripts function well with 3.57 but numerous syntax errors occur in 3.57f.
I cannot install the latest patch, but I think it's very bad that new updates overwrite older versions of ERM. A lot of maps on the net are currently not playable because of this. It seems 3.57f didn't just fixed some things - it also introduced some new ERM options, sometimes even opposite of those in 3.57 (see page 1 of this topic).
The smilies are messing up a few of the lines..I'm not sure what one of them translates to.
If you email me the code, I'll check it out but I didn't notice anything immediately from a quick glance.
|
|
Vlaad
Admirable
Legendary Hero
ghost of the past
|
posted October 22, 2003 08:23 PM |
|
|
Quote: The smilies are messing up a few of the lines..I'm not sure what one of them translates to.
If you email me the code, I'll check it out but I didn't notice anything immediately from a quick glance.
Fnord, please try the option "quote reply" - you'll see my message without the smiles. Thanks.
____________
|
|
faramir
Tavern Dweller
|
posted October 24, 2003 11:24 PM |
|
|
Hi there!
By the way,
could You tell me how to ADD a new spell? I have some interesting homemade scripts but i dunno how to add them to the spellbook.
Thanks!
____________
|
|
fnord
Promising
Famous Hero
|
posted October 25, 2003 09:01 AM |
|
|
Quote:
Quote: The smilies are messing up a few of the lines..I'm not sure what one of them translates to.
If you email me the code, I'll check it out but I didn't notice anything immediately from a quick glance.
Fnord, please try the option "quote reply" - you'll see my message without the smiles. Thanks.
Okay, so what are the scripts doing or not doing when you try them?
And BTW, that Gelu Sharpshooter script was originally written by me for Painted: the Misfit (although it used Gelu, hero number 148 rather than hero number 21) which was made for 3.57f and not an earlier WoG version.
|
|
fnord
Promising
Famous Hero
|
posted October 25, 2003 09:04 AM |
|
|
Quote: By the way,
could You tell me how to ADD a new spell? I have some interesting homemade scripts but i dunno how to add them to the spellbook.
Thanks!
You can't add spells to the existing spell book (Slava hasn't figured out a way to do this yet and it may be impossible).
You'll have to find an alternative way to let a hero use them such as right-clicking on the spell book to bring up a list or something.
|
|
Vlaad
Admirable
Legendary Hero
ghost of the past
|
posted October 25, 2003 10:10 AM |
|
|
Quote: Okay, so what are the scripts doing or not doing when you try them?
Working fine for my 3.57, but do not function for 3.57f they were written for!
Quote: And BTW, that Gelu Sharpshooter script was originally written by me for Painted: the Misfit (although it used Gelu, hero number 148 rather than hero number 21) which was made for 3.57f and not an earlier WoG version.
I know it's your script (thanks for that one and dozens of others ), I just applied it to Ivor (#21) and cut out the part with Elves and Archers since Gelu already had it.
Thanks for help!
____________
|
|
faramir
Tavern Dweller
|
posted October 25, 2003 01:07 PM |
|
|
You can't add spells to the existing spell book
Oh, i didn't mean to add a spell to a spell book, but to make a NEW spell, which doesn't already exist. Reading the forum, I figured that it's possible.
Thanks!
____________
|
|
|