|
Thread: How to make my own script | |
|
Orc

 
   
Famous Hero
|
posted August 26, 2016 04:16 AM |
|
|
How to make my own script
Hello
So, I have reach a point where I could roughly understand many of wog scripts (wog 1.58f)
I did like many of the changes wog scripts did (particularly script 37 and scrpit 39 rebalanced hero abilities and specialty boost)
however there are still some changes I did not like in script 37. I also want to add some changes inspired by script 37 (E.g. make neela start with 3 armor, and make Torosar with archery specialty and fiur with offence specialty)
So, I was thinking of making my own script, implementing collection of changes from many scripts and creating few more. I already put some scripts in some maps, but it takes lot of time to do that in each map, so I want to out it all in one script and make it work for all maps. How can I do this? if this is not possible, or very tedious, maybe I can have the script in particular file (OrcScript.erm), and then write a code in each map saying (run OrcScript.erm) is that possible?
I had the solution below in mind, what do you think of it? is it applicable with no problems?
lets say I have script73.erm and I never use it. Is it possible to delete that script, or give it another name, and then write my own script and naming it script73.erm (i.e. change the whole thing in that script). can that work with no problems? I am thinking that the only problem that I will face will be just that that text will be for the old script but the actual thing that will run will all be my changes only. Is that true? or you think something else can pop up?
I am not sure if anything else is needed, but if you think there is something in this regard that I am ignorant about, feel free to put it here too
Thanks!
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted August 26, 2016 08:42 AM |
|
|
I see you are not familiar with Era. Mods support. Which means you modify any erm original script, you place it in your mod, activate your mod and now the modified erm file will have priority over the one from WoG mod.
Check structure of wog revised mod, to understand the pattern. All Era mods available at wakeofgods.org/mods.
|
|
Orc

 
   
Famous Hero
|
posted August 26, 2016 11:44 AM |
|
|
yea... I actually have no idea of this mod :|
is it different than that era II ? I tried installing era 2 but it didnt work
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted August 26, 2016 12:07 PM |
|
|
How that it didn't work? Have troubles double clicking on an executable?
Press twice.
|
|
Orc

 
   
Famous Hero
|
posted August 26, 2016 09:43 PM |
|
|
It gives me error as soon as I click new game single player
It can only run load games
message saying [attempt to read inaccessable data at 0x000000] (i dont know how many zeroes)
and then it showed me the latest executed erm reciever (long code)
|
|
Maurice


Hero of Order
Part of the furniture
|
posted August 27, 2016 01:47 AM |
|
|
Could it be an issue of not having enough rights to run the exe? Did you try running it as a user with admin rights on your PC?
|
|
Salamandre

     
       
Admirable
Omnipresent Hero
Wog refugee
|
posted August 27, 2016 05:39 AM |
|
|
Also make sure the install goes right. You need Heroes complete, install Era 2 over it(specify the exact game path), then open mod manager -an icon is now available on your desktop-, make sure only wog mod is activated before first use, then should work well.
For win 7 and more, the game should not be installed in the path by default,which is Program Files. This was for XP only.
|
|
|