|
Thread: h5 crypts make it in h6 | |
|
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.
|
|
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.
|
|
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
|
|
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,...).
|
|
|