Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERM help and discussion
Thread: ERM help and discussion This Popular Thread is 407 pages long: 1 50 ... 85 86 87 88 89 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
JimV
JimV


Responsible
Supreme Hero
posted August 14, 2011 08:58 PM

Quote:

As for JimV's suggestion, i don't know how that could work, since the Santa Gremlins guards are not given through stack experience. The stack experience gives a bonus to Gremlins guards and so it doesn't really start from zero. I don't know about those EA commands though, maybe they can eliminate it completely?


You're right, sorry, I thought those commands give the SG guards but they only modify them.  Here is a script that will work for WOG or ERA:

ZVSE

* Santa Gremlins with no guards
* uses FU85 & FU86

!?BF;
!!DO85/0/41/1:P; type SG (173)--> 146 (Ballista)

!?FU85; x16-stack
!!BMx16:T?y1; type
!!BMx16&y1=173:T146;

!?BR&v997=0;
!!DO86/0/41/1:P; type 146 with troop slot-->173

!?FU86; x16-stack
!!BMx16:T?y1 O?y2; type, troop slot
!!BMx16&y1=146/y2>-1:T173 E50 U4/16; reset spell casting parameters

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


Responsible
Supreme Hero
posted August 14, 2011 11:09 PM

@JimV

It didn't work. The Gremlins were gone but the Santa Gremlins were turned to Balistas that had 77 - 99 damage and some other weird stuff.

@Aleee

If someone knows any other ERA commands please post them here. It doesn't matter if they solve only a specific problem. There might be others that need the same solution as well.
____________
Not idly do the leaves of Lorien fall.

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


Responsible
Supreme Hero
posted August 15, 2011 12:16 AM
Edited by JimV at 00:30, 15 Aug 2011.

Quote:
@JimV

It didn't work. The Gremlins were gone but the Santa Gremlins were turned to Balistas that had 77 - 99 damage and some other weird stuff.



It works in my test map, under both WoG 3.58f and Era 1.8, with no change to the Santa Gremlin properties, with or without Tactics, with or without a Ballista in the Hero's War Machines.  You probably have some other script which interferes with it - possibly the WoG War Machines script, but more likely a custom script which uses FU85 and/or FU86, or some other script which alters Santa Gremlins.  Try it in a plain test map without wogification - or post your test map somewhere where I can download it and I'll look at it.  (Most script interferences are easy to find by exporting the map text to a text file and then searching it with a text editor, e.g., if there is another !?FU85 or !?FU86 that is an interference, which can fixed by changing the function numbers.)

Edit - P.S. - If your Hero has Tactics, you did press Start Combat before looking at the SG's properties, right?  (During Tactics rounds SG's are still changed to Ballista type, since the addition of guards only happens at the start of combat.)

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


Responsible
Supreme Hero
posted August 15, 2011 01:20 AM

i don't know what went wrong but it doesn't work. It doesn't matter though, cause i made it work through OxFEA's !!UN command.
____________
Not idly do the leaves of Lorien fall.

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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2011 01:25 AM

It works here as well. Both scripts.
____________
Era II mods and utilities

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


posted August 15, 2011 03:24 PM

Hello, i have a idea!
Who can make a new cripts to change skill necromancy of Necropolis town?
Make it slow down to 5%, 10%, 15%?
Because the growth of skeletons is very fast, so that it make Necropolis town too strong!

Who can do it? If anybody can, i thinks... them is king of ERM

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


Promising
Famous Hero
feanor on DF2.ru
posted August 15, 2011 03:34 PM

Quote:
Hello, i have a idea!
Who can make a new cripts to change skill necromancy of Necropolis town?
Make it slow down to 5%, 10%, 15%?
Because the growth of skeletons is very fast, so that it make Necropolis town too strong!

Who can do it? If anybody can, i thinks... them is king of ERM

http://translate.google.ru/translate?js=n&prev=_t&hl=ru&ie=UTF-8&layout=2&eotf=1&sl=ru&tl=en&u=http%3A%2F%2Fforum.df2.ru%2Findex.php%3Fshowtopic%3D6139&act=url

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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2011 03:38 PM

What would be the most effective way to make AI use additional tents and color borders? What type/subtype to give?
____________
Era II mods and utilities

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


Famous Hero
posted August 15, 2011 07:18 PM

Here is the script by polish scripter Altair for upgraded necromancy - skill is rewritten from scratch and allows you to choose amount of resurrected creatures, type of them and the effect of necromancy while using artifacts like Boots of the dead or Coat of the undead king. Awesome work and i think that it should be published to international community.

New Necromancy
You can translate comments with google translate.

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


Promising
Famous Hero
posted August 15, 2011 07:20 PM

Could someone explain how to work with custom dialogues? I wrote the dialogue in txt file,
parsed it with !!DL:N, but when I try to show it with !!DL:S (calling it from !?OB trigger) the game crashes with this error message:

Quote:

******************************_Exception_(trace_details)_******************************
### Location: 8 : 28
### Location: 1 : 75
### Location: 1 : 58
### Location: 1 : 50
### Location: 20 : 28
### Location: 20 : 15

EIP = {0x0072920A},  Access Violation. Attempt to {read} the inaccessible data at {0x000A001B}

The Latest Executed ERM Receiver:

DL:S1;


all non zero variables and flags are:

flag999=1
flag1000=1
v998=7 (this is x coordinate of visited object)
v999=5 (this is y coordinate of visited object)

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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2011 07:26 PM

Your error is probably due to the image you use. Can you upload it and the code you used?
____________
Era II mods and utilities

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


Honorable
Supreme Hero
posted August 15, 2011 07:31 PM

And txt template too.

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


Promising
Famous Hero
posted August 15, 2011 08:24 PM
Edited by solitaire345 at 20:24, 15 Aug 2011.

Huh? What image are you talking about?
The code is very simple: just to see if the dialog is shown and how awful does it look

Quote:
ZVSE
!?PI;
!!DL:N^ComDlgs.txt^;

!?OB98;
!!DL:S1;



The template


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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2011 08:28 PM
Edited by Salamandre at 20:52, 15 Aug 2011.

Your template is not readable within Dialog editor. And in your code, the template has no ID assigned, so can't show. From the txt file, it shows the ID is 1, but I can't read it further.
____________
Era II mods and utilities

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


Promising
Famous Hero
posted August 15, 2011 08:59 PM
Edited by solitaire345 at 21:01, 15 Aug 2011.

I fixed the template and code (I fail reading manuals...). Now the dialog background appears, but has no items in it. I guess there's something to do with 'flags' value. Do you know what do flag values mean? Also, could you tell where can I get the dialog editor?

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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2011 09:03 PM
Edited by Salamandre at 21:10, 15 Aug 2011.

HERE

You use abbreviations and I don't think it can work. I uploaded an example of template done with DL editor.

For text, flag is 8, pcx is 2048, def is 16, button is 2.


____________
Era II mods and utilities

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


Promising
Famous Hero
posted August 15, 2011 09:23 PM
Edited by solitaire345 at 21:24, 15 Aug 2011.

Wow.. But it is written in ERM help to use abbreviations. yes, now the dialog shows up fine. Also thanks for the flags values.  

Now another problem: the dialog shows up just once. Do I have to reparse it every time I want to show it?
EDIT: yes, I do.

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


Admirable
Omnipresent Hero
Wog refugee
posted August 15, 2011 09:24 PM
Edited by Salamandre at 21:25, 15 Aug 2011.

You have to parse it just before DL#:S, not in PI.

ERM help is poorly done about DL.
____________
Era II mods and utilities

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


Responsible
Supreme Hero
posted August 16, 2011 07:34 PM

I saw in some mods (using WOG+ERA I believe) that they made use of the four Conflux creatures that were blank in original Heroes (creatures id are 122, 124, 126, 128). Does anyone know how this can be done?

Also, i was browsing these ERA plugins HERE and i found out that the Arsenal.dll makes the Blacksmith sell all three War machines (very kewl dll by the way but that's not my point). When you click on the Blacksmith there is a window that has THREE different items to purchase. I know that HotA team managed to do this also for the regular creatures as well. Is there a way to make this three-creatured window popup on other buildings as well? To make for instance The Training Grounds in Castle sell three creatures instead of two?
____________
Not idly do the leaves of Lorien fall.

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


Promising
Famous Hero
posted August 16, 2011 07:42 PM
Edited by solitaire345 at 19:47, 16 Aug 2011.

To use these creatures you have to do these steps (X denotes a number [1;4]):
1. create unit def called badX (no .def extension needed)
2. create sound files badXwnce, badXattk, badXdfnd, badXmove, badXshot, badXkill
3. create adventure def for these units (any name)
4. script them to your liking.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 50 ... 85 86 87 88 89 ... 100 150 200 250 300 350 400 407 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.4233 seconds