Hi everyone, i havnn't been here for a while.. Then i discovered this GOG patch that made me feel pretty Horny (dat joke ^^).
So I'm back at mapping..
This time i'm making a coop campaign map : 2 keepers against a hero fortress
I'm making this map to be able to play with friends (since we can play on w7 i try to convert some friends of mine to this game) that is not 1v1 because it would be lame for them who never played the game / just did the campaign.
Of course this map will be fully playable to anyone and i'll release a testing version asap and i'll hope some feedback/advices from this community.
So here is my problem :
I basically use hero party to spawn "attacking" heroes, ("defending" heroes are just already on the map).
I use a script like this one (i removed the "when potal not collapsed" for better reading) :
i'll use {} to explicit hierarchy as i can't indent my text
when flag 2 = 1 (repeatable)
{
flag 5 = 1
create HP 1 at AP 1 (should attack keeper1)
flag 5 = 2
create HP 1 at AP 2 (should attack keeper2)
flag 2 = 0
}
flag 2 is my trigger, activated by a timer, reactivated later on, etc...
flag 5 is my "kill player chooser", see below
In order to control wether the HP attacks keeper1 or keeper2, i hung this script :
HP1
(leader) hero creature
when created (repeatable)
{
when flag 5 = 1
{ set objectives "kill player 1" }
when flag 5 = 2
{ set objectives "kill player2" }
}
The objective is to use the same HP to attack keeper1 or keeper2 by spawning 2 instances of this HP, the first one looses his scripts (said in the manual) and keep his order on "kill player 1" this works.
I have a problem in my second HP where only leader of the HP goes to player 2, the other creatures keep going after player1.
So i could make this script for every creatures of every HP but it would be boringly long (20 HP, more than 100 creatures)
The problem is that they say in the manual that the followers do the same thing as the leader of a HP which is not the case here.
Does anyone have a idea about what to do here?
Note : the creatures under an HP have default order (ie. attack player1) should i change this ? And then into what ? A "wait" objective ? (gonna test this right on)
Edit : Does not work, now only leaders attack keeper1/2, all others heroes just wander around (gather over AP1 and the rooms near this point)
Note2 : i'll be re-releasing my other maps as i didnt had enough feedback on them and it's now fully playable (thanks to GoG), i'd like to say i made a final version out of these
Note3 : If you have other coop campaign maps somewhere i'd be thankfull if you can share them cause i didnt found a single one (only 1v1 with heroes inbetween) even in this huge map pack i got from here (i may have not tested everyones)