|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 02, 2019 02:57 PM |
|
|
There is a chinese mod HERE which has the script you seek for. But how to download from Baidu, good luck.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 02, 2019 02:59 PM |
|
Edited by RerryR at 15:16, 02 Mar 2019.
|
I found this somewhere in my old folder.
Play around with it.
Edit:
This will show Prayer (0) animation on the first three stacks at attacker side
ZVSE
!?BG0;
!!IF:M^Show Animation Now^;
**first argument - main battle struct
!!UN:C6919200/4/?y10;
**second argument - pointer to fourty byte array: one byte for array. Let's take y20-y28 for it.
!!VRy20:S1 +256*1 +65536*1 +16777216*1; --first three stacks at attacker's side
*!VRy20:S1; First Stack
*!VRy21:S1 +256*1 +65536*1; --first two stacks at attacker's side
*!VRy25:S1 +256*1 +65536*1 +16777216*1; --first one at the side of defender
*!VRy26:S1 +256*1 +65536*1; --first one at the side of defender
**third argument - animation ID (0 - Prayer)
**fourth argument - is damage animation required (0 - no, 1 - yes)
!!SN:E5925584/2/y10/?y20/0/0; **Edit this line to change animation
!!BU:R;
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 02, 2019 03:04 PM |
|
|
it also depends on spells you want. If they have a mass version then you can make them cast by your first stack or your hero, at expert level. BG:A10 or BH:C I think
|
|
Polish_User
Hired Hero
Trying 2 ERM
|
posted March 02, 2019 03:28 PM |
|
|
Salamandre said: it also depends on spells you want. If they have a mass version then you can make them cast by your first stack or your hero, at expert level. BG:A10 or BH:C I think
Thank you for your help!
I've thought about that possiblity, but the Age spll (71) don't have mass variant so I guess I'll play around in that chineese mod and with what RerryR posted.
My main goal in this script is:
1. Display in battle log msg: %ARTIFACT% casts spell 'Age'!
2. Display Hero casting anims.
3. And last but not at least display spll anims /w sound.
As i stated before make it work like the armor of the damned.
|
|
XEricSin
Famous Hero
|
posted March 02, 2019 04:34 PM |
|
|
**VRv600:C0/0/0/0/0/0/0/0/0/0;
**FU16000:P600/x16;
**FU16001:P600/x2/0; //Group spell animation By Hawaiing007
!?FU16000;
**x1 = first v variable to store stacks
**x2 = animation index
**x3 = redraw(0/1)
!!FU|x2<0/x2>40/x2=20:E;
!!VRy3:Sx2 :21 *5 +x1;
!!VRy4:Sx2 %21 :4 +y3;
!!VRy5:Sx2 %21 %4;
!!VRy6&y5=0:S1;
!!VRy6&y5=1:S256;
!!VRy6&y5=2:S65536;
!!VRy6&y5=3:S16777216;
!!VRvy4&y6>0:|y6;
!?FU16001;
!!VRy1:Sx1 *4 +8943204;
!!UN:C6919200/4/?y2;
!!SN:E5925584/2/y2/y1/x2/x3;
==================
Use like this:
!!VRv600:C0/0/0/0/0/0/0/0/0/0; //init variables to store stacks
!!FU16000:P600/0; //add stack 0 to list
!!FU16000:P600/21; //add stack 1 to list
...add more stacks here...
!!FU16001:P600/33/0; //play spell animation 33 on stacks 0 and 21
|
|
Polish_User
Hired Hero
Trying 2 ERM
|
posted March 02, 2019 07:16 PM |
|
|
Okay. I'm quite amazed on what did you manage to pull out guys.
Now I'm just curious what's up with these function adresses in UN:C and SN:E commands, also with these calculations, they aren't explained quite well in the ERM help.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 03, 2019 08:53 PM |
|
Edited by RerryR at 23:02, 03 Mar 2019.
|
Where in my H3 folder can I find an unchanged herospec.txt? In which pac file. Reason is I want to change Eagle Eye Specialists to something else. I think I know how to change the "text" description, not sure about the picture yet.
All files I found so far are from some mods and changed heavily so I cannot use them.
@avatar ty
|
|
avatar
Promising
Supreme Hero
|
posted March 03, 2019 08:59 PM |
|
|
In h3bitmap.lod file.
____________
|
|
Macron1
Supreme Hero
|
posted March 10, 2019 08:41 PM |
|
|
I need town buildings coordinates, that are located in files .era
How can I decompile .era files?
|
|
Hawaiing
Adventuring Hero
|
posted March 12, 2019 04:14 AM |
|
|
Macron1 said: I need town buildings coordinates, that are located in files .era
How can I decompile .era files?
*.era == *.dll
|
|
test
Tavern Dweller
|
posted March 14, 2019 11:13 AM |
|
Edited by test at 11:54, 14 Mar 2019.
|
Hello,
First of all i apologize if this is the wrong thread to post this but since i cant make new posts and I didnt find a help thread for WOG i thought i'd post here.
Its been several years since I last played H3 WOG and me and my friend decided to revisit this awesome mod.
We wanted to play in multiplayer and there is the problem.
Everytime we try playing the game crashes. I am at work atm so cant see the error messages if any.
Can WOG be played in multiplayer at all? If so, any suggestions as to what to do to make it work?
We are using GOG version of Heroes 3 Complete with latest ERA installed.
EDIT: I also have an issue with my mouse which feels very choppy when moving around in-game (both in main menu and in-game). Both of us are on Windows 10.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 14, 2019 07:57 PM |
|
|
WoG Era is in my opinion not really online/multiplayer stable. With certain scripts, you will get sync problems. Hotseat, on the other hand, works very good. Maybe try with TeamViewer to create a hotseat game.
If it lags search in heroes.ini or era.ini for "use only one cpu core" or something like that and disable it.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 16, 2019 12:24 PM |
|
Edited by RerryR at 12:27, 16 Mar 2019.
|
Can I/How can I change the level of Secondary Skill description text in the Hero Screen?
Like Expert to Master? And possibly in the CM trigger?
I already know how to change the name of the skill and each level description.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 16, 2019 12:36 PM |
|
|
it should be in one of the text files, extract them all to a folder then do a search using those terms.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 16, 2019 01:24 PM |
|
|
Thanks, I looked and the obvious choice was sstrais.txt. From the hmm3WoGpac. Changed the description at the top of the file but it had no effect in-game.
In the Hero Screen it still says "Expert"
Only the skill description itself can be changed that way, assuming I did no mistake.
Didn't find another logical place where it could be...
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 16, 2019 01:59 PM |
|
|
Well, I did a search, isolated a few files then found it
SkillLev.txt
Wog pac contains only modified txt files, first look in H3 bitmap.lod and test in vanilla.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 16, 2019 03:10 PM |
|
|
Thanks for your effort! it works now, I didn't check this .lod file.
Unfortunately the solution is not sufficient for my Master/Grandmaster SS level Mod because I see no way to change that line within a trigger.
Maybe if anyone has an idea how that could be archived I would appreciate it.
The goal is to change from Expert to Master in Hero Screen within the !?CM trigger. Any other clever workaround would also be good.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 16, 2019 03:18 PM |
|
|
if you use the txt file, changing exp to master will remove every expert from all heroes, so no way to have master for one then expert for the others. The only solution would be DL, like Sagamosa. Alternative levels using some trigger.
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted March 16, 2019 03:30 PM |
|
|
Yes, it just was the first logical point to tackle the problem but it is as you say, it will change globally. For now, I can work with color coding the skill name, where Yellow can represent the Master and Red the Grandmaster level. If you click on the skill it will show you the right rank anyway.
Maybe a better solution can be found, some readout from .ert file would be ideal. I will also look into Sagmosa, thx.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted March 21, 2019 07:42 PM |
|
|
Hello.
I have some problems with the mod I am creating, though they are not exactly related to erm scripts.
I added some creatures in my mod, some of them shooting some not.
I have a problem with a few of them. Precisely some casters/shooters with war machine flag crash on shooting. I provided shooting animation groups for Creature DEF. I set the shoot count in three crtrait files. I provided DEF files for missles. I created Cranim lines hopefully without errors. what else could I spoil? what exactly cranim file is demanded about to prepare proper shooter?
|
|
|