|
|
JimV
Responsible
Supreme Hero
|
posted September 08, 2011 04:47 AM |
|
|
Acid Breath can be added via ERM as an experience-based creature ability, as shown in the ERM Help under the EA receiver, with the B parameter, format SE1 code 99 (Cast Non-Direct Damage Spell After Attack), format SE3 spell number 80. See the post "Guide to create unique abilities for your creature", on page 1 of this forum, for explanations and examples.
|
|
fanofheroes
Famous Hero
|
posted September 09, 2011 06:39 PM |
|
|
Ok... I understand I need to re-write the codes, I just have a few questions:
Seeing that I've never done this before and have zero experience,
1) What program do I need to activate to enable editing of the ERM codes and where do i find it?
2) The example Salamandre gave for editing the enchanter's spells in "guide to create creature abilities" is just a little bit more advanced than my understanding. is there a simpler guide or instructions that I could follow?
cheers,
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted September 09, 2011 06:45 PM |
|
|
Open my map Alexander the Great, check for neutral creatures abilities script and copy/paste from there. It covered almost all abilities. Later probably you will feel the need to modify on your own. All you need is finding each creature ID and change regardless (check ERM help).
This is the easiest way, for now...
____________
Era II mods and utilities
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted September 09, 2011 06:47 PM |
|
|
First he should probably know that the scripts are stored as timed events.
A guide can be found here... or in any other place, if you begin to search . There is a plenty of pinned threads for a reason.
____________
The future of Heroes 3 is here!
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted September 09, 2011 06:49 PM |
|
|
I can't believe someone would ask for ERM scripts before he even played and opened a wog map. Scandalous
That guide I made 3 years ago looks very nubish now. I am embarrassed every time someone links it.
____________
Era II mods and utilities
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted September 09, 2011 06:55 PM |
|
|
I think it's quite nonintuitive, especially if you opened many non-WoG maps before. You know, all normal scripting languages store their script in separate file or at least designated container.
____________
The future of Heroes 3 is here!
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted September 09, 2011 07:00 PM |
|
|
This is the case with WoG too, all scripts can be tied to an external file or container. Mapmakers choose separate build-in scripts only because they can identify and work faster in each event. Sagamosa and Phoenix-Mod use a single container. But for that reason, modifying things inside is much harder for the non initiated.
____________
Era II mods and utilities
|
|
fanofheroes
Famous Hero
|
posted September 09, 2011 07:27 PM |
|
|
ok I have a better concept of what ERM does, I also have a version of WOG, but I am downloading the version that has your map "Alexander the great".
I guess I will wait to see once it's downloaded, but is there a file/folder I can open with my current version that will enable me to edit the ERM parameters? if there is, then I can simply delete the scripts and cut and paste the script for "acid breath" for example in the place of, or addition to something else correct?
I only ask this cause I've made simple changes like sound differences and stats, along with finding a workable WOG version that doesn't crash for me. Ideally to start over that process with a new WOG version may be a daunting task that I'd like to avoid.
|
|
Kegolo
Promising
Famous Hero
of infamy
|
posted September 10, 2011 01:01 AM |
|
|
Quote: ok I have a better concept of what ERM does, I also have a version of WOG, but I am downloading the version that has your map "Alexander the great".
I guess I will wait to see once it's downloaded, but is there a file/folder I can open with my current version that will enable me to edit the ERM parameters? if there is, then I can simply delete the scripts and cut and paste the script for "acid breath" for example in the place of, or addition to something else correct?
I only ask this cause I've made simple changes like sound differences and stats, along with finding a workable WOG version that doesn't crash for me. Ideally to start over that process with a new WOG version may be a daunting task that I'd like to avoid.
Not sure if this is what you are asking, but if you open the map, cut the script, then go to the tools folder in your heroes directory and open ERM editor you can write/edit scripts there. If you want it in a map just copy it back or make a brand new script, or else make a wog option (slight learning required)
|
|
fanofheroes
Famous Hero
|
posted September 10, 2011 06:29 PM |
|
|
Thank you Salamandre, when I opened the map i noticed on a tab the ERM functions. I found a function in the map editor in the WOG tab about ERM scripter and I'm assuming that where I can edit the ERM codes?
and if it is, when I try to access the command function, I've been given an error command:
"Exception EOSError in module H3WMapEdPatch.dll at 0000E709
System Error. Code: 2.
The system cannot find the files specified."
So I'm assuming the file I'm looking for must not have been downloaded originally when I downloaded the WOG. Do I have to re-install the entire thing or just download the missing components?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted September 10, 2011 06:45 PM |
|
|
Forget the tab columns, they are about external programs, not map ERM scripts. Just open events and look inside.
____________
Era II mods and utilities
|
|
JimV
Responsible
Supreme Hero
|
posted September 10, 2011 07:38 PM |
|
|
This thread (as I see it) is where experienced scripters answer specific questions from beginning scripters. There are tutorials elsewhere which convert non-scripters to beginning scripters.
The first step is to get the ERM Tools. When I originally downloaded WoG 3.58f from the offical WoG site on Gameplanet, there was an separate download for the ERM Tools, which I think were then installed as an update to WoG, and included the ERM Help HTML file, as well as the ERM Script Editor. That site is gone now. Gnollking's sticky post on page 1 of this forum contains a new link to the ERM Editor, but I don't know if his includes the ERM Help file. However, there are links to download improved versions of the ERM Help file upstream in this thread.
The ERM Help includes tutorials on how to write scripts and incorporate them in maps, as well as an explanation of each ERM command. There is no point in our copying and pasting all this information here when it can be read just as well there (in fact, more easily due to the HTML links and color coding).
|
|
fanofheroes
Famous Hero
|
posted September 10, 2011 08:47 PM |
|
|
thanks to you both. I really appreciate your help and input. And yes I am a beginner, but I'll plug away this afternoon and see what progress I can make following both your advice to best of my abilities.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted September 11, 2011 12:32 PM |
|
|
Solitaire345, seems that last ERA changed several things so I suggest to wait that Berserker translate the manual first then update Help.
____________
Era II mods and utilities
|
|
sprawler
Hired Hero
|
posted September 11, 2011 12:54 PM |
|
|
Hey guys , recently i have been trying some ERM , and i manage to replace the pegasus from rampart with zealot from castle. i have applied this script only to one map , is there a way to make this change global , apply it to whole game (all scenarios and campaign) ??? if not maybe there is such scripting software that allows that like ERM script master ???
i was also thinking about changing pegasus DEF file iwth zealot DEF but i dont think its good idea ,after that change zealot would be flyer unit and close combat
it would be so cool to make some druids in rampart , i think that zealot is the best choice for this , even his energy ball has similar sound like attack of druids
|
|
Neraus
Promising
Legendary Hero
Pain relief cream seller
|
posted September 11, 2011 03:43 PM |
|
|
As far as I remember and as I know you need to save the script in folder
Heroes III\Data\s and name it Script#
(number you want, beware of the numbers already taken since you must not overwrite another script)
I advise you to use numbers up to 78 since they are free
well if you need it in more detail, tell me
____________
Noli offendere Patriam Agathae quia ultrix iniuriarum est.
ANTUDO
|
|
sprawler
Hired Hero
|
posted September 12, 2011 11:17 AM |
|
|
thx for help it worked , now i have another questions .
As you know i have transfered zealot to rampart . He still have "castle" background on portrait and when i double click on portrait(walking animation on castle background).
Is there a way to use ERM to add rampart background to zealot ???
i have found some ERM script but i didnt found any diffrence after puting it in game ,zealot still have castle background
ZVSE
!#MA&v7183=1159/4;
it is said that it makes Ghost a necropilis unit , so i edited it like this :
!#MA&v7183=19/1; 9- is zealot and 1 - is rampart
i have even copied the script to 3 directories :
-data
-data/zvs
-data/s
my previus script that worked had name "script79.erm"
so i named this one "Script80.erm"
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted September 12, 2011 01:31 PM |
|
|
You don't have to add a new script for each and every change you make. Just continue writing commands on the same scripts. As for the command you're looking for it's:
!!MA:O9/1; [Makes Zealots Rampart creatures]
It works like this:
!!MA:O#1/#2;
#1 = creature i.d.
#2 = Town type (0=Castle, 1=Rampart etc).
You can use it to allign any creature to any faction.
____________
Not idly do the leaves of Lorien fall.
|
|
fanofheroes
Famous Hero
|
posted September 12, 2011 08:37 PM |
|
|
Quote: This thread (as I see it) is where experienced scripters answer specific questions from beginning scripters. There are tutorials elsewhere which convert non-scripters to beginning scripters.
Ok i've managed to download ERM script master 1.1.2.7
tinkering with it, I can see where the appropriate scripts can be added from one creature to another. Is this software suitable to perform the tasks I want it to? if so, what folders do i need to have them in so that they are working properly.
|
|
solitaire345
Promising
Famous Hero
|
posted September 12, 2011 09:42 PM |
|
|
Added notes about hero level (the notes for 358f seem to be the same for ERA). Also syntax-highlihted ERM tutorials. Download
____________
|
|
|