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 > MapHaven Guild > Thread: h5 crypts make it in h6
Thread: h5 crypts make it in h6
natalka
natalka


Supreme Hero
Bad-mannered
posted April 08, 2013 08:45 PM
Edited by natalka at 20:50, 08 Apr 2013.

h5 crypts make it in h6

Battle sites...they are so lame and imbalanced - sometimes you get 8 K gold and the other time for killing same power of creatures you get guardian breastplate. So I made my version of battle sites where the army if fixed and the rewards are fixed. Analogues of Treant thicket, dwarven treasury, elemental stockpile and so on.
But the editor didn't allow me to make it the way I see they must be done. I think everybody agrees that corresponding to the army u beat the  reward must grow.
Finally, using scripts and trying lots of times I made it. Here I present you the crypt.





Here is the script I called randomizer. It sets one random integer from 1 to 3. Depending on the integer it increases the army in the crypt where 3 is the fullest





The final script is the rewards script. I put condition that the battle with the crypt must end in victory and when it is a full crypt I managed to give minor random artie not to player(I can`t make it work) but to a tile right next to the crypt. This script moves one hidden (somewhere in the underground where no player can reach anyway) artie to my desired location.




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


Adventuring Hero
posted April 08, 2013 11:18 PM

In your rewards script, maybe you can use the triggers "CreateEntity" (instead of "PlaceEntity"). With "CreateEntity", you don't need to store the artifact in a hidden place.
I succeed to use "CreateEntity" with creatures, but it doesn't control the number of creatures appearing on the map.

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


Supreme Hero
Bad-mannered
posted April 08, 2013 11:35 PM
Edited by natalka at 23:51, 08 Apr 2013.

CreateEntity ok but then you must specify the artifact...I scroll down and find something like minor random ...I test ....ops ..what the heck...what is this artifact with a name random minor which gives nothing... and doesn't have even a picture    

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


Adventuring Hero
posted April 09, 2013 06:16 PM

ok, I didn't test the CreateEntity with random item. Now, I know that it doesn't work. And random items don't work as parameter of any trigger (like GiveItem,...).

 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.0472 seconds