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 372 pages long: 1 50 100 150 200 250 300 350 ... 355 356 357 358 359 ... 372 · «PREV / NEXT»
PIGGYChu620
PIGGYChu620


Hired Hero
posted December 24, 2018 09:16 AM

majaczek said:
PIGGYChu620 said:
I downloaded many mods containing new objects.
And most of them are assigned as "Decorative Object", even if it's under the Artifact category.
I tried to change it into Artifact using


!#OB46/46/0:T5;
!#OB46/46/0:U170;


And it just crash the game when I tried to pick it up!
So, could somebody be so kind and teach me how to use it properly, please!?
Much appreciated!!!


use plugins
for artifacts use Emerald
for monsters use Amethyst
then prepare txt files for plugins

Could you be so kind and give me the link to download those 2 plugins please!?
I can't find it in 100+ Mod.
Also it would be great if you could direct me to some tutorials teaching me how to prepare those txt files.
Much appreciated!!!

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

Tavern Dweller
posted December 25, 2018 04:28 AM

How to increase limits of number creatures?, limits in slots of heroes is 32k, and limits of number wandering creatures is 4k.
Sorry for my English

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


Hired Hero
posted December 25, 2018 11:58 AM

I am not sure if this was asked before, but is it possible to detect which hero won a battle (even if the battle was AI only)? And is it possible to detect if the hero that lost surrendered/retreated or ACTUALLY lost
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

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


Admirable
Omnipresent Hero
Wog refugee
posted December 25, 2018 05:04 PM
Edited by Salamandre at 17:25, 25 Dec 2018.

ZVSE

; battle AI vs AI, check results
!?BA1&-1000;
!!BA:H0/?y1 H1/?y2; get heroes ID
!!HEy1:B0/?z2 O?y3; get attacker name and owner
!!if&y2>-1:; if there was a defender
!!HEy2:B0/?z3 O?y4;
!!IF&y3>-1:M^AI battle ended between %Z2 and %Z3, %Z2 is victorious^;
!!IF&y4>-1:M^AI battle ended between %Z2 and %Z3, %Z3 is victorious^;
!!en:;
!!IF&y2<0/y3<0:M^%Z2 lost battle vs neutrals^; if attacker lost vs neutrals

To know if hero surrendered or died, check owner castle tavern slots in previous script.

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


Responsible
Supreme Hero
posted December 26, 2018 11:52 AM
Edited by Hero_of_Light at 11:54, 26 Dec 2018.

This is a repost, but I got no reply back then so...

A while ago I asked for a way to make wolf riders work as upgraded creatures (and not be able to upgrade to wolf raiders anymore). A plugin was made for that purpose.

Can someone make a new plugin to make creature 126 non upgradable too? I would really appreciate it.

To elaborate some more:


!!UN:T8/2/0/126; [Satyrs]
!!UN:T8/2/1/192; [Fawns]
!!MA:O126/8; [Conflux]
!!MA:O192/8; [Conflux]

Creature 126 and 192 are part of my new conflux lineup. On their own, they are not upgradable. However, when they are put in a town's lineup, they are set to its default upgrade. Can this be overridden and have them non upgradable as before?

Please, can somebody help?
____________
Not idly do the leaves of Lorien fall.

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


Hired Hero
posted December 26, 2018 03:46 PM
Edited by PIGGYChu620 at 17:13, 26 Dec 2018.

I have 2 questions:
1. How to take away Emissaries' "Too peaceful to attack"!?
2. How to know when my town is been attacked!? Within all the battle triggers and receivers, I can't find anything related to it. So how can I intercept the battle and doing something to it!?

Much appreciated!!!

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


Hired Hero
posted December 26, 2018 11:08 PM
Edited by DarkAtom at 23:11, 26 Dec 2018.

PIGGYChu620 said:
I have 2 questions:
1. How to take away Emissaries' "Too peaceful to attack"!?
2. How to know when my town is been attacked!? Within all the battle triggers and receivers, I can't find anything related to it. So how can I intercept the battle and doing something to it!?

Much appreciated!!!


2. Are you asking if you can check if it is a siege battle? Yes, that is possible.

!?BA0;
!!BA:S?y1;
* y1 can have one of the following values:
* 0 - ordinary battle
* 1 - siege with Fort
* 2 - siege with Citadel
* 3 - siege with Castle


EDIT: Thanks @Salamandre for the advice, it works!
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

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


Responsible
Supreme Hero
posted December 28, 2018 12:02 AM

Anyone?
____________
Not idly do the leaves of Lorien fall.

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


Hired Hero
posted December 28, 2018 12:08 AM
Edited by DarkAtom at 00:13, 28 Dec 2018.

Hero_of_Light said:
This is a repost, but I got no reply back then so...

A while ago I asked for a way to make wolf riders work as upgraded creatures (and not be able to upgrade to wolf raiders anymore). A plugin was made for that purpose.

Can someone make a new plugin to make creature 126 non upgradable too? I would really appreciate it.

To elaborate some more:


!!UN:T8/2/0/126; [Satyrs]
!!UN:T8/2/1/192; [Fawns]
!!MA:O126/8; [Conflux]
!!MA:O192/8; [Conflux]

Creature 126 and 192 are part of my new conflux lineup. On their own, they are not upgradable. However, when they are put in a town's lineup, they are set to its default upgrade. Can this be overridden and have them non upgradable as before?

Please, can somebody help?


How can you make ID 126 a creature? What name should I put for the creature defs to make it? I would really appreciate to know that because it seems useful.

EDIT: Also, I think that to make a creature non-upgradable you have to do this:

!!MA:U126/-2; (this will make creature with ID-126 non-upgradeable
____________
"If you get scared of doing what's right you might as well lay down and die" - Wulfstan, Heroes of Might and Magic V: Hammers of Fate

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


Admirable
Omnipresent Hero
Wog refugee
posted December 28, 2018 12:16 AM

Hero_of_Light said:
Anyone?


Russian forums for plugins.

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


Responsible
Supreme Hero
posted December 29, 2018 02:02 PM

@DarkAtom

I have tried this command in the past it doesn't work.

The unused creatures 122, 124, 126 and 128 can be used but it is complicated. You must add creature defs named bad1 bad2 bad3 and bad4 (with the .def extension removed) and bad1s.def bad2s.def bad3s.def and bad4s.def (notice the extension is kept here) for the adventure map creatures. You must also add sounds, edit the cprsmal and twcrport defs, edit the creature animation txt etc... It is a lot of work and If I hadn't already done it 6 years ago I wouldn't even bother now.  
____________
Not idly do the leaves of Lorien fall.

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


Adventuring Hero
posted December 30, 2018 05:35 PM

PIGGYChu620 said:
I have 2 questions:
1. How to take away Emissaries' "Too peaceful to attack"!?
2. How to know when my town is been attacked!? Within all the battle triggers and receivers, I can't find anything related to it. So how can I intercept the battle and doing something to it!?

Much appreciated!!!


1.How to take away Emissaries' "Too peaceful to attack"!?

by OxFEA
!?PI;
!!UN:C7718934/4/50000;
!!UN:C7718943/4/50001;
!!UN:C7727325/4/50000;
!!UN:C7727334/4/50001;
!?GM0;
!!UN:C7718934/4/50000;
!!UN:C7718943/4/50001;
!!UN:C7727325/4/50000;
!!UN:C7727334/4/50001;

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


Responsible
Supreme Hero
posted December 30, 2018 10:52 PM
Edited by Hero_of_Light at 22:56, 30 Dec 2018.

Wow thanks! I actually wanted this for quite a time. They do not retaliate though. Is there a command to fix this as well?

Also, can I ask how to change an external dwelling's name? I changed the zcrgn.txt and zcrgn1.txt and nothing happened. Can it be made through ERM? Or am I missing something?
____________
Not idly do the leaves of Lorien fall.

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


Adventuring Hero
posted December 31, 2018 03:18 PM

Hero_of_Light said:
Wow thanks! I actually wanted this for quite a time. They do not retaliate though. Is there a command to fix this as well?



just give them retaliations in each round.

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


Responsible
Supreme Hero
posted December 31, 2018 04:25 PM

How? You mean through Creature Experience Bonus?
____________
Not idly do the leaves of Lorien fall.

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


Promising
Famous Hero
Researching Magic
posted December 31, 2018 04:29 PM

Maybe you can try with !!BMx:R command

R$ ; Number of retaliations for attack (check for Royal Griffin)
Comments:
This is the number of retaliations this stack has left this round. It starts each round at 1 and becomes 0 once the stack retaliates.  
For Royal Griffins it's set to 5000 each round and counts down.

Just an idea, i didnt try it.

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


Responsible
Supreme Hero
posted December 31, 2018 05:18 PM
Edited by Hero_of_Light at 17:21, 31 Dec 2018.

I tried giving it through creature stack bonus but it didn't work.

I used this command. Is this correct?

!!EA160:B11/1/82/43/1/1/1/1/1/1/1/1/1/1/1;  //retaliations

The command you speak of needs a trigger? What would the complete script for that be?
____________
Not idly do the leaves of Lorien fall.

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


Adventuring Hero
posted December 31, 2018 05:28 PM

Hero_of_Light said:
I tried giving it through creature stack bonus but it didn't work.

I used this command. Is this correct?

!!EA160:B11/1/82/43/1/1/1/1/1/1/1/1/1/1/1;  //retaliations

The command you speak of needs a trigger? What would the complete script for that be?


if you like UN:C ,try this

!!UN:C7727329/1/235;
!!UN:C7735193/1/235;

put it !?PI; and !?GM0; trigger.

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


Promising
Famous Hero
Researching Magic
posted December 31, 2018 05:34 PM
Edited by RerryR at 17:36, 31 Dec 2018.

Hero_of_Light said:
I tried giving it through creature stack bonus but it didn't work.

I used this command. Is this correct?

!!EA160:B11/1/82/43/1/1/1/1/1/1/1/1/1/1/1;  //retaliations

The command you speak of needs a trigger? What would the complete script for that be?


With Stack Exp it should work, but your command has an error i guess.

Try this:

!?BA0; *When Combat Starts
!!DO(your_function_name)/0/41/1:P; *Run func from 0-41

!?FU(your_function_name);                                                                      [Function for giving extra abilities]

!!BMx16:T?y1;
!!VRy2:Sx16;                                                                    use stack ID , I set y2 to current stack number
!!VRy2:+1*-1;                                                                   now I add +1 then change to negative  value, we have now number of stack for EA

!!if&y1>=0/y1<=196:; Insert you condition in this line if you want
                       
!!EAy2:F0/?y3;                                                                  [Check for next available bonus line: y3]
!!EAy2&y3>=0:B11/1/82/43/1/1/1/1/1/1/1/1/1/1/1;                     Battle Monster

!!en:;


*I didnt test, you maybe need to change some things, going to New Years Party now

** for BM reciever use any battle trigger like !?BF or !?BA

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


Responsible
Supreme Hero
posted December 31, 2018 05:37 PM

Thanks it worked!
____________
Not idly do the leaves of Lorien fall.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 372 pages long: 1 50 100 150 200 250 300 350 ... 355 356 357 358 359 ... 372 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0867 seconds