|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 14, 2011 07:01 AM |
|
|
Well, there is no "one click" way to add what we could not during 10 years. It requires knowing some technical things about how Heroes process defs, pics, codes.
____________
Era II mods and utilities
|
|
bbvsdd
Hired Hero
|
posted February 15, 2011 02:23 AM |
|
|
Okay, can you post what erm code exactly did you write to add that new creature?
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 15, 2011 03:45 AM |
|
|
|
ddpro
Known Hero
HC Adventurer From China
|
posted February 15, 2011 04:22 AM |
|
Edited by ddpro at 04:23, 15 Feb 2011.
|
Never do I use ERA
____________
A jewel is just a pebble that found a way to shine.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 15, 2011 04:26 AM |
|
|
Well, you will
The old wog is no more in download, at least for us. ERA is offering so many more possibilities. And the fact that this pluggin not yet working has nothing to do with ERA.
____________
Era II mods and utilities
|
|
ddpro
Known Hero
HC Adventurer From China
|
posted February 15, 2011 05:03 AM |
|
|
Quote: Well, you will
The old wog is no more in download, at least for us. ERA is offering so many more possibilities. And the fact that this pluggin not yet working has nothing to do with ERA.
Thanks
I'll try ERA as soon as I have time to do that. By now I'm still a little too busy to try pluggins for WoG
____________
A jewel is just a pebble that found a way to shine.
|
|
bbvsdd
Hired Hero
|
posted February 16, 2011 05:06 AM |
|
|
How do you import a script into a wog map?
I am of course, trying to import the adding-creature-197-to-hero script but I get error message everytime I try to put it in as a .txt file.
Help ~~
____________
|
|
solitaire345
Promising
Famous Hero
|
posted February 16, 2011 09:49 AM |
|
|
Copy the contents of txt file into a timed event in the map. And make sure that the first line contains letters ZVSE. Also you can set it's occurence day to something high to avoid message box with your script
____________
|
|
bbvsdd
Hired Hero
|
posted February 17, 2011 03:12 AM |
|
|
so I put the following in Day 1 of a map. As a test, I put gave a hero 1 archangel but nothing happened. I don't even need era for this so clearly I didn't do something right.
ZVSE
!#HE146:C0/0/13/1;
The above code was put into the message box but the game didn't give me an angel. The hero I put in is #146 (Catherine).
____________
|
|
Aleee
Known Hero
|
posted February 17, 2011 06:33 AM |
|
|
Make sure that ZVSE isn't the title of the message box. Its place is exactly in the box. Also you'll need Catharine standing on a map at the very beginning of the game (set up in the editor).
In general, this piece of code is correct. Something is wrong with the way you integrate it in a particular map.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 17, 2011 08:14 AM |
|
|
The code will not work if you checked "customize" in armies. Leave your hero as it comes from editor and set the time event to day >300 to be sure you don't see the code popping.
____________
Era II mods and utilities
|
|
Aleee
Known Hero
|
posted February 17, 2011 02:29 PM |
|
|
Oh, right. If you do need customization you can use a post-instruction instead of an instruction.
ZVSE
!?PI;
!!HE146:C0/0/13/1;
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 17, 2011 02:32 PM |
|
|
|
Aleee
Known Hero
|
posted February 17, 2011 02:41 PM |
|
|
Well, I used it once. There was a window for the password at the beginning of the map (right after PI-trigger) and in case it was correct I used HE:C, otherwise standard settings were active. Of course it can be done with HE:C only, but I was following the line of the least resistance (and the least amount of code). And also I've just showed our newcomer what post-instruction is.
These are lame excuses, right?
|
|
bbvsdd
Hired Hero
|
posted February 19, 2011 12:08 AM |
|
|
Okay, it seems like the amethyst.cfg is now causing some problems to the WOG. Wog won't even run at all when the above-mentioned cfg is in the data folder.
____________
|
|
bbvsdd
Hired Hero
|
posted February 19, 2011 12:45 AM |
|
Edited by bbvsdd at 01:35, 19 Feb 2011.
|
Okay I've got the script uploaded and now at least I can see creature 197 being added, but I have to put creature numbers in amethyst.cfg back to 196 or else WOG won't run.
However, I run into an error every time immediately after combat loaded:
Attempt to divide an integer value by an integer divisor of zero.
The Latest Executed ERM Receiver:
IF&v997=0:V786/0; //if asmodeus sends devils there will be no random hero
!?BG0&781/v846=1/1000;
Looks like the creature stats were all 0s.....
Is it because the config was set to 196 that WOG won't pull the last line of zcrtrait.txt?
How can I get this to work if WOG doesn't even RUN when amethyst.cfg is set to 197? double-clicking on h3wog.exe produce absolutely no reaction.
____________
|
|
OxFEA
Promising
Famous Hero
feanor on DF2.ru
|
posted February 19, 2011 02:19 PM |
|
|
Quote: double-clicking on h3wog.exe produce absolutely no reaction.
Add some empty strings to ZCRTRAIT and CRANIM
|
|
bbvsdd
Hired Hero
|
posted February 19, 2011 10:53 PM |
|
|
I already added an entire line to those two files with full animations copied from dracolich etc. but the game still doesn't run...
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted February 19, 2011 11:41 PM |
|
|
I don't get what is so hard:
1) Required: ERA version, on WoG 3.58 WILL NOT WORK.
2) Add the files from OxFea pack in the recommended folders
3) Increase "Creatures" value in DATA/amethyst.cfg
3) Use my code to add the creature
Nothing more.
____________
Era II mods and utilities
|
|
bbvsdd
Hired Hero
|
posted February 20, 2011 12:41 AM |
|
|
1) Done
2) Done
3) WOG Won't run if creature number is 197 in that cfg. It runs no problem if the number is 196
4) Done
You see a problem?
____________
|
|
|