|
|
JimV
Responsible
Supreme Hero
|
posted June 07, 2012 04:08 AM |
|
|
Era is great for developing new maps and taking advantage of new ERM options, but there are some obstacles when working on an existing game which was not developed under Era. As I understand it, the F12 option only works if the map was wogified, which TDS is not.
The wogification requirement means that Era maps should be scripted using the Era associative memory commands so that each script is completely independent of all other scripts. Otherwise, custom scripts must use only entities (variables, etc.) which are unclaimed by any other active mod (or be prepared to answer numerous complaints from novice users). This is a new requirement which I will have to get used to. I am acustomed to writing all custom scripts and setting the map to disable wogification, so I don't have to worry about interferences with external scripts.
In developing "The King In Yellow", I put my custom scripts in Mods/KingInYellow/Data/s and changed the WoG/Data/s folder name to WoG/Data/No_s, so as to use F12 (with wogification). For the finished version, I loaded all the scripts into Timed Events and disabled wogification, so that there should be no problem using this mod with other mods. For my next Era map, if any, I will try to use assocative memory techniques.
Anyway, there is a learning curve involved.
|
|
Bersy
Honorable
Supreme Hero
|
posted June 07, 2012 08:13 AM |
|
|
No wogification is required, as well as using only SN:W/M commands for global storage
Just create: Mods\Jim\Data\s\load only these scripts.txt and put their a few lines:
first great script.erm
second great script.erm
...
Scripts from other mods will not be loaded while the map is installed as mod.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 07, 2012 12:37 PM |
|
|
I noticed 2.2 works differently. If we don't load settings.dat, we are asked if map should be wogified, we must click yes in order to load main script, otherwise it doesn't. Settings.dat contains by default "wogify all maps and don't ask". But only if we load it.
|
|
jonj
Adventuring Hero
|
posted June 07, 2012 01:26 PM |
|
Edited by jonj at 13:31, 07 Jun 2012.
|
Quote: The patch I made to the previous saved-game was a quick thought which reset the spell count for the Second Henchman of the attacking Hero in battle, which assumed Orrin would always be the attacker, for simplicity. If Orrin is the defender, it would not work.
So... There was a problem? Its gonna be resolve itself when all hero oponent will be defeateted. The other way to avoid this problem- might be only attack hero enemies- not defend against him.
Moreover, thank's again. I know it was quite annoying, but I just try playing fair. There is no satysfaction when you beat up your enemy with overpowered unit. Huh?
|
|
JimV
Responsible
Supreme Hero
|
posted June 07, 2012 03:09 PM |
|
Edited by JimV at 15:28, 07 Jun 2012.
|
Bersy and Salamandre. thanks for the advice. Under Era 2.0 I am convinced that I had to wogify to get my scripts loaded (with the UN:P number set to not wogify, no scripts were loaded), and that when I did wogify I got all the WoG scripts loaded as well as my own. My scripts were in Mods/KingInYellow/Data/s, but they did not have the numbers in front of them as the WoG scripts do in Era. My understanding was that they would be loaded in order of the latest file dates. (The order did not matter to me, I do not use macros.) Probably that was my problem, or else there was something else which I did wrong. When I did wogify, my scripts were loaded, despite having no numbers. Maybe giving them numbers like the WoG scripts would mean they would replace the WoG script of the same number - but I don't have as many scripts as the WoG set, so some WoG numbers would not be replaced. I will read the Era manual again and try again on my next Era map. It is hard to write instructions which can't be misinterpreted - as I know from some complaints about my clues in "The King in Yellow".
Jonj, belated thanks for reporting the Lord of Thunder/Rebirth issue. I am not annoyed to hear of improvements to TDS, but I don't like confusing download sites. A famous naturalist, whose name I forget, made this observation: "The male primate grows morose and savage with age." This observation applies to me, but in my defense, there is a lot to be morose and savage about.
P.S. Great tip about "load only these scripts.txt" - I will use that.
|
|
Bersy
Honorable
Supreme Hero
|
posted June 07, 2012 03:32 PM |
|
|
It's my problem as developer if some concepts are unclear or sophisticated for other people. Just a few words to explain loading rules:
-) At map start/loading Era tries to find file "Data\s\load only these scripts.txt".
-) If this file is found, then only scripts mentioned there together with appropriate "*.ert" files are loaded.
Example:
Quote: main.erm
battle.erm
tds - henchman.erm
-) Otherwise all "*.erm" files are loaded from "Data\s" folder.
-) Sometimes it's necessary to specify loading priority. Without numbers before names it's assumed to be 0. The higher the number is, the earlier loading time is. That's why I named wog default scripts 1..78, where script00 is "78 wog - wogify" and script77 is "1 wog - cheat menu".
Salamandre, wogification means loading erm scripts from Data\s. That's all )
|
|
JimV
Responsible
Supreme Hero
|
posted June 07, 2012 04:19 PM |
|
|
Thanks very much for that clarification. It all seems clear, and very elegant, now.
I am reminded of the Krugman Rules which good economists use:
1. Paul Krugman is always right.
2. If it seems that Krugman might be wrong - refer to #1.
I propose the Bersy Rules:
1. Bersy's systems are always well-conceived so that they provide practical, workable procedures for all necessary situations.
2. If it seems like one of Bersy's systems is lacking in some respect, refer to #1.
|
|
master_learn
Legendary Hero
walking to the library
|
posted June 07, 2012 04:44 PM |
|
|
?
Quote: my clues in "The King in Yellow".
How the process of making King in Yellow goes?If I am not mistaken,you mentioned somewhere that you are testing it already...
|
|
master_learn
Legendary Hero
walking to the library
|
posted June 07, 2012 05:46 PM |
|
|
A little bit
A little bit more offtopic-
You are the author,JimV,why dont you start different thread and give opportunities there for the players to ask you about the map and to comment it in order to be ontopic?
Anyway,congrats about finishing your new map!
|
|
JimV
Responsible
Supreme Hero
|
posted June 07, 2012 06:06 PM |
|
|
You are right, Master_Learn, I will delete that off-topic post.
|
|
Bersy
Honorable
Supreme Hero
|
posted June 07, 2012 06:14 PM |
|
|
I agree that new mod deserves a topic. Just tried and saw nice ideas. Was looking at hero's horse for quite a long until got it. No rider )
|
|
master_learn
Legendary Hero
walking to the library
|
posted June 07, 2012 07:19 PM |
|
|
JimV,forgive me if I offended you!Seems you missed my point!
What I say is that an OFFtopic here can be ONtopic in a NEW tread!
With your blessing even I can start it.(all credit to you)
But now after you deleted it I missed my chance to save the link and to try the map.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 07, 2012 07:48 PM |
|
|
Quote:
Salamandre, wogification means loading erm scripts from Data\s. That's all )
Seems not. Here is what happens:
1) I have several mods with "load only these scripts.txt" + main script.
2) Start game, it asks me wogify or not:
a) I choose NO, main script is ignored
b) I choose YES, main script is loaded
|
|
Bersy
Honorable
Supreme Hero
|
posted June 07, 2012 08:11 PM |
|
|
Val, that is how it should and always worked. I don't see what surprises you.
I also made a bit clumsy mod converting tutorial. Direct link (~60 MB)
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted June 07, 2012 08:24 PM |
|
|
I mean ERA 2.0 acted differently. When start game, settings dat was automatically loaded and it was set to "wogify all and don't ask". Now it is not loaded thus default setting are "ask before wogify". If we load it first, then ok. I only compared issues from both versions.
Therefore my question: does it make any sense to use anymore !#UN:P5/1; or not?
|
|
Bersy
Honorable
Supreme Hero
|
posted June 07, 2012 09:22 PM |
|
|
Nothing changed. Era II settings.dat has option "wogify all maps" on by default. wog.ini has "Options_File_Name=settings.dat" by default. This is checked.
|
|
JimV
Responsible
Supreme Hero
|
posted June 07, 2012 11:25 PM |
|
|
Master_Learn, of course I did not take any offense at your comment. I thought it was very fair. My feeling is that the subject mod does not deserve its own topic (I am a mediocre map-maker, and prone to using words which may be difficult for people who are not native English speakers to understand), and, that being the case, I should have resisted the temptation to promote it here, in someone else's thread.
If people whom one respects advise against some behavior, then one should listen to them. That is the spirit in which I read your comment. Thank you for it.
|
|
master_learn
Legendary Hero
walking to the library
|
posted June 08, 2012 08:18 AM |
|
|
Message
I used the option of sending instant message to you.
____________
"I heard the latest HD version disables playing Heroes. Please reconsider."-Salamandre
|
|
master_learn
Legendary Hero
walking to the library
|
posted June 13, 2012 08:22 PM |
|
|
Experiment
I let myself do experiment a bit what Hidden Race do in battle.
I am with Xarfax in month 1 week3.
I tried demon farming.
When the actual few pit lords farmed demons from dead troop,after battle I got few demons.
I made another experiment-I engaged legion of neutrals with my two henchmen and my comander with air elementals in two groops of 3.
I transformed 3 of the elementals into pit lords and the other 3 into horned demons.
When the horned demons were killed,I raised 2 demons from them.
After the battle I got the air elementals back,with numbers 3 and 2.
At the moment I dont ask any questions,but want to give my appreciation and respect for the work the ERM Masters did with the Race!
____________
"I heard the latest HD version disables playing Heroes. Please reconsider."-Salamandre
|
|
JimV
Responsible
Supreme Hero
|
posted June 13, 2012 11:43 PM |
|
|
The ERM Master would be Woodmelon, of course. Some of the scripts are stand-alone versions of WoG scripts, but the Hidden Race, The Second Henchman, and all the special event scripts (the Game, the Suit of the Celestial Warrior, Leader's abilities, etc.) are Woodmelon's, as far as I know. I learned a lot from reading them.
|
|
|