Heroes of Might and Magic Community
please log in.! Register | Today's Posts | Search! | FAQ/Rules | AvatarList | MemberList | Profile

<a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes

Heroes 1 (Heroes 2 (Heroes 3 (Heroes 4 (Heroes 5 (Heroes 6 ()

Login:     Username:     Password:    
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Era II
Thread: Era II [ This thread is 104 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ]
Bersy
Bersy


Responsible
Supreme Hero
posted June 04, 2012 05:44 AM

I uploaded mod update at the same link.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
RomanZhou
RomanZhou

Tavern Dweller
posted June 04, 2012 07:25 AM

Quote:
I uploaded mod update at the same link.


I'm sorry for disturbing you again for the problem.I download the newer link,but……



 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 04, 2012 10:18 AM

Updated. The only icons left are from Experience screen. They cannot be changed using mods system.
Thanks.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
RomanZhou
RomanZhou

Tavern Dweller
posted June 04, 2012 11:15 AM

Quote:
Updated. The only icons left are from Experience screen. They cannot be changed using mods system.
Thanks.

I see,thank you, I will play the HotA's style first.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
majaczek
majaczek


Famous Hero
Work at Magic Dimmension
posted June 04, 2012 11:31 AM

I suggest having original resources in Mods/WoG and having HoTify as "default mod" (such as "Yona" and "Secondary Skills Scrolling" are). This way ERA users have new DEFs preinstaled, but can disable it easily, and this would be surely known this is a mod and is not part of original WoG (It is not bugfix as replacing catapult DEF is so it probably would be better as a mod but still it is good to include it in official ERA package).

This of course would result in having old pikeman DEFs in stack experience, but you already stated mods already have to know some resources are got directly from homm3wog.pac.

That arises a question - if properly overriding resource via mods mechanism is impossible, are mod installers allowed to inject such resources into "mods/WoG/homm3wog.pac" ? I'm curious if doing so ie. fixes graphic bugs with Stack Experience dialog when using Amethyst?

and since all parts of zvslib unpack resources directly to some directory, it should share common binary function which do so (unless function in source were ie. inline one), so it should be relatively easy to fix by hooking the one and only function. It should follow multi-LOD rule or at least be overridable by loose files (like resources from "/data/zvs/"). And it is good to investigate how much direct the access is - that means if it is possible to redirect these resources without hooking zvslib directly (more general solution would be perhaps more welcome, and could help redirecting another horny resources also).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 04, 2012 12:09 PM

majaczek, I cannot do it at appropriate cost of time. Temporary files are unpacked into Windows temp folder under some picxxx.bmp name, for instance. Overriding does not work with non-heroes folder and I see no reason, why we should support zvslib1.dll. It's better to write DL-analogs like we did in Phoenix 3.62 for leaving artifact dialog.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
majaczek
majaczek


Famous Hero
Work at Magic Dimmension
posted June 04, 2012 05:51 PM

okay. Do you have any examples how to replace hardcoded dialog boxes with custom IF or DL dialogs, separate from the one? For example if I want to  replace commander dialog and commander level-up dialog aside from preparing new dialogues itself? (it seems there is no way for stopping originsl dialog to show, it also seems I would need to tediously rewrite rules which affects which skills can be choosen as a script). Do you see any way to replace Stack Experience window without making a plugin with hooks? (Anyway showing it properly would be tedious work, probably not worth for such portraits until more improvements to be done). I seen MoP has different "default" creature window, how it can be done (even if I have to resort to hooks)?

PS: Is there possibility in ERA hooking API to replace binary function at all instead of enchancing them? It would be nice trying to replace the formula calculating how much exp is needed for level up for hero to one from VCMI (it would be proper solving of phantom levels issue, and it is same for first 40 levels or so), and if I would have time I probably may give it a shot.

PPS: I haven't seen your reply/opinion about making HoTify an included mod (like Yona or "Secondary Skill scrolling"), instead making it integrated with Core mod WoG?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_Of_Light Online
Hero_Of_Light


Promising
Supreme Hero
posted June 05, 2012 06:54 AM

I've noticed in ERA 2 that you replaced the (in my opinion poorly made) animated trees from original WOG with some smoother moving ones and that's really better.

Do you think you can include the animated lakes that Darkloke made as well? They look much better than the animated lakes from original WOG as well.
____________
Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Honorable
Undefeatable Hero
posted June 05, 2012 07:01 AM
Edited by Salamandre at 07:04, 05 Jun 2012.

+1, I agree Darkloke's lakes are perfect. Would be nice to have them.
Uploaded to BOX

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 05, 2012 07:39 AM

Quote:
okay. Do you have any examples how to replace hardcoded dialog boxes with custom IF or DL dialogs, separate from the one?

For Leaving Artifact dialog it's !?CM0. Hooks should be used for others. All WoG dialogs are located in exported zvslib1.dll functions like _InvokeDialogue08. ZVS calls LoadZVSDialogs to obtain all addresses via GetProcAddress. Anyway, if you make fully working dialog, I'll make a plugin for it. No dialog - no discussion, right?

Quote:
Is there possibility in ERA hooking API to replace binary function at all instead of enchancing them?

Baratorch released nice, though a bit complicated dll for creating and applying different sorts of hooks. I usually use a bridge hook and change RetAddr to the wrapper like:

PROCEDURE Ret4; ASSEMBLER; ASM RET 4; END;

It ensures that default code of function will not be executed.

Quote:
PPS: I haven't seen your reply/opinion about making HoTify an included mod (like Yona or "Secondary Skill scrolling"), instead making it integrated with Core mod WoG?

Currently I prefer to have wog dialogs support with updated icons. Mod makers also cannot make two mods. There should be default creatures and changed ones. Such things like un32/un44/twcrport/crports and so on require only one default def for all creatures.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 05, 2012 09:44 AM bonus applied by angelito on 18 Jul 2012.


Just an example.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
majaczek
majaczek


Famous Hero
Work at Magic Dimmension
posted June 06, 2012 02:01 PM

How the marker would look like if embedded in C/C++ code? The plugin for changing levelup condition would surely be at this language since code I want port is in VCMI which is in such and I'm bad at pascal also.

By "complete working dialog" you mean full dialog layout AND ERM code which handles them?
So it should display once calling ERM function and manage to let user make the choice, then apply results?
Well it seems fine once I can change the rules and it would allow to simulate 7th skill by SN:W variable ...
So my desired changes could be done as a script if you only give me a plugin which would disable default dialog (and choice results)?
I'll surely start work on the dialog but please, if you do the plugin leave ?!CO triggers working (so it won't break mods dependent on that and I could just call !!DL dialog from such event).

EDIT: but displaying commander arts in compatible way may be a problem.... If I manage to do this also I want the plugin to generate ERM event when trying to pass artifact to commander which would get the number of artifact and by setting SN:X it may allow default action, cancel action or consume artifact (this would be needed for simulating commander wearing custom artifact which wouldn't be accepted by default command because beeing an commander artifact is so hardcoded, and would allow to wear such artifacts in simulated slots)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 06, 2012 02:10 PM

Just study service.cpp from erm sources. The arguments will be the same.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Spatiphillum
Spatiphillum


Hired Hero
Phytohobbit
posted June 07, 2012 07:38 AM

Maybe there's an answer in this thread, but how to disable autosaves for each day (ex. "Player vs Comp 115")? I'm really tired of cleaning 'Games' folder.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 07, 2012 09:34 AM

You installed HD, I suppose? If yes, then there should be something like hd data folder and setting.ini, where autosaving can be disabled.

If you mean Era's "1 red", "2 green end" and so on, there is an option in WoG Options to disable it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Spatiphillum
Spatiphillum


Hired Hero
Phytohobbit
posted June 07, 2012 11:11 AM

Quote:
You installed HD, I suppose? If yes, then there should be something like hd data folder and setting.ini, where autosaving can be disabled.

If you mean Era's "1 red", "2 green end" and so on, there is an option in WoG Options to disable it.

It was HiRez Mod. Thanks a lot, I thought it was caused by ERA

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 10, 2012 03:29 PM

Version 2.3  June, 10.
----------------------
[+] Added support for negative z, e, y variables to all Era commands.
[+] Added DL-Dialogs editor by GrayFace. It's tool #16 in Era Start Menu.
[+] Added fixed snow objects for adventure map.
[+] Added updated lakes by Darkloke.
[+] Added support for "no secondary skills limit" patch to "battle academy" and "school of wizardry" scripts.
   Author: majaczek.
[*] Era Start Menu now displays current page number in title.
[*] If duplicates are found in zeobjts files, map editor reports error instead of crashing.
[*] Plugin "all war machines in blacksmith.dll.off" is considered deprecated and was removed.
[-] Fixed avwattak.def which caused rare crashes.

Size: 82.6 MB
Download: Direct link

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_Of_Light Online
Hero_Of_Light


Promising
Supreme Hero
posted June 10, 2012 03:45 PM

Quote:

[*] Plugin "all war machines in blacksmith.dll.off" is considered deprecated and was removed.


What do you mean by that? This pluggin doesn't work anymore? Because it would be a shame If it doesn't... I liked it.
____________
Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
master_learn
master_learn


Legendary Hero
walking to the library
posted June 10, 2012 03:46 PM

Horrey for the new version!
____________
"Now VW? I kill spammers
When people can't say hi to demons in the VW - quite!"-Ghost

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Responsible
Supreme Hero
posted June 10, 2012 04:06 PM

Quote:
What do you mean by that? This pluggin doesn't work anymore? Because it would be a shame If it doesn't... I liked it.

Incompatible with HD-mod. I will search for the version by Baratorch probably.

Quote:
Horrey for the new version!

Just a regular update )

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
[ This thread is 104 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ] < Prev Thread . . . Next Thread >
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0699 seconds