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: Creature Bank Creator for ERA 3
Thread: Creature Bank Creator for ERA 3
RerryR
RerryR


Promising
Famous Hero
Researching Magic
posted June 25, 2020 08:47 PM
Edited by RerryR at 12:46, 27 Jun 2020.

Creature Bank Creator for ERA 3

Creature Bank Creator for ERA 3 (Beta)

Thanks to Berseker and his new release of ERA 3 I was able to create a script/mod that allows to turn map objects into creature banks.
The goal of the project was to simulate a fully functional CB with only ERM code. This script will allow modders to easily create new CB and distribute them.
My hope is that creative people will use it and share their work or port creature banks of HotA or Tide of War to ERA, so they are available for everyone.

What is currently possible with this script:
- turn most objects available in the map editor into a CB. Transmuted objects can lose their original functionality, so I recommend to use blank objects for now.
- you can set custom sounds and battlefields
- replace map objects with your new CB, so they will appear on random maps
- fully flexibility by setting type of guards and number of guards
- setting a lot of possible rewards.
- CB can spawn in different sizes (Small,Medium,Large,Huge)
- CB can be revisited
- CB guards can grow over time

This is a "beta" version of the template. So please report bugs so I can improve it. In theory, this template can be expanded with anything you can imagine. Ofc if you are good with ERM you can even add your own scripts.
How much more time I will invest depends on your feedback and reports.

I made a video that explains how this template should be used:
How to create new creature banks in a few minutes with ERA 3

How to use this template in short:
1) Download Mod and activate in Mod Manager
2) Open Map Editor and look for an object that should become your CB
3) Place that object on your test map
4) Open ERM Editor and load one of the blank templates New_CB_000.erm
5) Make all settings in the erm file. until line 130 *Start of Script*
6) Save and start your map. Test if all settings work by visiting your CB with a hero
7) If you want to use your CB on a random map look for objects that should be replaced. Choose up to 6 different ones. Also, place these on your test map and check if they get replaced correctly. The yellow square should match in the coordinates. If it does not use the x-Offset setting until it does. This will prevent unaccessible CB
8) For new CB use a new template with a different number

Keep in mind that this Mod requires at least ERA 3.02 to work.

Download: Dropbox

I know that the newest ERA is still in development and not widely used but this will change in the future. So please see this as a long term project.
Many thanks to Berserker for his support and ERA!


Some impressions from planetavril Forgotten Fields mod:


Commander Headquaters CB from Anti-Victor

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


Legendary Hero
posted June 26, 2020 12:18 AM

Cool.
____________
The only reason i argue with you people is because i don't want the bullsnow you all spout to be so easily spread to the impressionable without another sane voice challenging you.  -  Fred79

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


Known Hero
posted June 26, 2020 03:50 AM

Awesome!!

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


Famous Hero
posted June 26, 2020 08:37 AM
Edited by planetavril at 20:40, 26 Jun 2020.

Fantastic


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


Admirable
Omnipresent Hero
Wog refugee
posted June 26, 2020 01:06 PM

Maybe this?

RerryR said:
Keep in mind that this Mod requires at least ERA 3.02 to work.

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


Famous Hero
posted June 26, 2020 02:02 PM

yes,is installed


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


Known Hero
posted June 26, 2020 02:27 PM

planetavril said:
yes,is installed



And is the Forgotten Fields mod compatible with ERA 3?
____________

Heroes 3 Wake of Gods Portal

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


Honorable
Supreme Hero
posted June 26, 2020 02:32 PM

Perry, you'd better get rid of !?TM2 in favor of !?FU(OnEveryDay), as we discussed ealier. TM2 is defined in WoG Scripts mod.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Honorable
Supreme Hero
posted June 26, 2020 02:33 PM

Liso1, most mods should be compatible with possible edge cases, caused by rewriting the core ERM engine.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

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


Legendary Hero
posted June 26, 2020 02:42 PM
Edited by bloodsucker at 14:42, 26 Jun 2020.

I don't have Era installed so I can't test this but one can place stacks in fixed positions and not only add more stacks? Right?
____________
The only reason i argue with you people is because i don't want the bullsnow you all spout to be so easily spread to the impressionable without another sane voice challenging you.  -  Fred79

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


Famous Hero
posted June 26, 2020 03:47 PM

Liso1 said:
planetavril said:
yes,is installed



And is the Forgotten Fields mod compatible with ERA 3?


now yes,tested on era 3.02

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


Promising
Famous Hero
Researching Magic
posted June 26, 2020 04:10 PM
Edited by RerryR at 12:40, 27 Jun 2020.

Thanks guys

@planetavril I will remove the dependency on WoG Scripts mod, I just forgot about this TM trigger. Thanks for trying out, you can report back if this template suits all your needs.

@Bersy yes I remember the discussion as it would have been yesterday

@bloodsucker You can also change the position of the creature you place. No problem. Also, the type and amount of creature guards is 100% customizable. You can place up to 8 different stacks.

Edit:
Answering a few questions that reached me so far:

Q:Also wanna ask. What about decorative objects?
Cuz they dont have subtype
So I can only use objects that have subtype I gues?"
A: Yes currently only objects that have a type and subtye can be used. I dont know how decorative objects are handeled. If anybody knows he can tell me


Q: Can I put a random commander artifact as reward?  
A: Yes. In the erm file search for:
 !!VRy13&y14>-1:Sy14;        
 !!UN:N0/2/y13;

and replace with:

 !!VRy13&y14>-1:Sy14;                  
 !!VRy13:R0/146/155; Generate Artifact in the Range from x1 to x2
 !!UN:N0/2/y13;
Make sure artifact reward is enabled.




Q: random creature from say lvl 2 to 4?  
A: I can offer random creature like this. In the erm file search for:
 !!UN:N3/1/y8/2;
 !!UN&y9=1:N3/2/y4/1;

and replace with:

 !!UN:N3/1/y8/2;
 !!VRy4:R0/0/13; Generate Creature in the Range from x1 to x2
 !!UN&y9=1:N3/2/y4/1;
Make sure creature reward is enabled. This is very nice for giving only castle creatures as reward.

For level range write something like this
 !!UN:N3/1/y8/2;
 !!VRy4:R0/0/13; Generate Creature in the Range from x1 to x2
 !!VRy80:S0R8*14+y4; Generate Creature from lvlx
 !!VRy4:Sy80;
 !!UN&y9=1:N3/2/y4/1;


Q: Damn this is so easy for Erm-noobs like me xD
A: Yes


Commander Headquaters CB

I will update the template at some point, but likely not today.




 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0463 seconds