Page 2 of 5

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Oct 11, 2015 6:35 pm
by TheBluePhoenix
Can someone help me to make a trigger which places a block of 5x5 legionaries with a centurion in middle, surrounded by a horizontal file of heavy knights at upper side and a vertical line of spartans at the right side of the legionary block?
Just guide me i will do the rest

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Oct 11, 2015 9:55 pm
by COOLguy
I tried recording one the way you suggested. The quality is AWFUL :x but maybe it'll do for the purpose. :P

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Mon Oct 12, 2015 4:38 am
by TheBluePhoenix
Thanks . I see a email. I will see it and let you know

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Mon Oct 12, 2015 4:55 am
by TheBluePhoenix
hey dev, i also wanted you to make the unit select list of the trigger in alphabetical order. It is haywire at present

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Mon Oct 12, 2015 3:03 pm
by COOLguy
TheBluePhoenix wrote:hey dev, i also wanted you to make the unit select list of the trigger in alphabetical order. It is haywire at present


lol that is for sure. Actually it would be better if the unitType selection for the trigger editor was like the unit production menus.

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Mon Oct 12, 2015 3:57 pm
by TheBluePhoenix
Hmmm possibly that is better. Best : it has only icons of units like in the tcs and structures

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Mon Oct 12, 2015 5:40 pm
by COOLguy
That is what I was talking about :)

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Fri Oct 16, 2015 3:45 pm
by TheBluePhoenix
TheBluePhoenix wrote:Can someone help me to make a trigger which places a block of 5x5 legionaries with a centurion in middle, surrounded by a horizontal file of heavy knights at upper side and a vertical line of spartans at the right side of the legionary block?
Just guide me i will do the rest
Cool guy i was talking for a video on this one

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Oct 18, 2015 8:42 am
by balint
I can help you only with a guide, because I cant record on my phone (I have no root)
What I can think of is there is a trigger which creates units at react area or something called like that. Woth that you select the 5*5 are you want to place the legionaries by adding the top left and bottom right tile of the square in the area x,y in the trigger editor. To the number you write in 25, because thaz much legionaries will fill that area. Agter that make a deleteobj in area trigger where you add to delete the legionarie in the middle of the square. (You need to set both coords to the location of tjat legionarie.) Then you can add the centurion to that tile.

The placing of the other units can be done with the create units at react area trigger to. Just calculate out how much unit dills that area you are filling up.

Sorry for misspelling. It's hard to write with a lagging keyboard :(

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Oct 18, 2015 1:15 pm
by patroid
Edit: first place the centurion and afterwards the legionaires caus
Those units dont ovrrwrite others. Then u dont hav to use the delete trigger.

Patroid

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Oct 18, 2015 1:15 pm
by patroid
Edit: first place the centurion and afterwards the legionaires caus
Those units dont ovrrwrite others. Then u dont hav to use the delete trigger.

Patroid

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Oct 18, 2015 4:16 pm
by balint
That's true :) Thank you Patroid

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sat Oct 24, 2015 12:21 am
by COOLguy
Sorry, it took a little longer than I thought it would. Daniel and I uploaded a basic tutorial video: https://youtu.be/yoNreukGEX0

Please let me know your thoughts! :) I think it's pretty good. ;)

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sat Oct 24, 2015 4:40 am
by TheBluePhoenix
Pretty good??? Its just awesome!!!!!!

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sat Oct 24, 2015 8:13 am
by ejm29
+1 Its a great video Coolguy!
(this might be my new favorite YouTube channel!) :D

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sat Oct 24, 2015 1:12 pm
by COOLguy
Thanks guys! :)

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Fri Nov 06, 2015 5:25 pm
by Hardeep
Hardeep wrote:How can I make it so the unit I apply a obj change ____ become a negative value? I only get positive.
Anyone know? I could use some insight

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sat Nov 07, 2015 2:15 pm
by COOLguy
I don't know. :) I'll ask Daniel.

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sat Nov 07, 2015 7:59 pm
by Stratego (dev)
Mapeditor: this was a bug that you was not able to put in negative values.
it is fixed up on server in 10 minutes.

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 12:19 am
by Hardeep
Daniel (the dev) wrote:Mapeditor: this was a bug that you was not able to put in negative values.
it is fixed up on server in 10 minutes.
All these years... :cry: after emails and posts... AND IT WAS A BUG THAT COULD BE FIXED WITHIN 10 MINUTES!
GOSHDARNET DANIEL :cry:
Ive been requesting this since the Moria map came out!

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 12:20 am
by Hardeep
Also i noticed when using change obj hp it did not work at all, absolutely zero change

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 12:28 am
by Hardeep
And i feel that there should be a trigger for change obj. Conversion resistance for campaign heroes going up against enemy preists, b/c it would suck having to fight against the converted hero knowing full well that you will lose even IF you triumph.
Maybe even conversion range

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 12:53 am
by Hardeep
What happens, i wonder, if two trigger deactivate triggers would be targeted at the same trigger, but be in differnt triggers themselves(not under same cond.)

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 5:41 am
by Stratego (dev)
Hardeep wrote:
Daniel (the dev) wrote:Mapeditor: this was a bug that you was not able to put in negative values.
it is fixed up on server in 10 minutes.
All these years... :cry: after emails and posts... AND IT WAS A BUG THAT COULD BE FIXED WITHIN 10 MINUTES!
GOSHDARNET DANIEL :cry:
Ive been requesting this since the Moria map came out!
oh, sorry to hear that, i must have misunderstand something or just left an email unprocessed (i have tons of them)
- when did u reported me this? can u resend me the email or show the forum post? (maybe that day there are more unprocessed email so i would check)

(and it was not 10 minutes, but about 40 minutes :) )

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 5:44 am
by Stratego (dev)
Hardeep wrote:Also i noticed when using change obj hp it did not work at all, absolutely zero change
you mean
a) you still can not give negative values,
b) or despite you give value it will not change the unit hp on trigger execution?
if the "b", please put a showmessage on the trigger event, sou you can be sure it is executed, and tell me if still there is problem.

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 6:57 am
by Hardeep
Daniel (the dev) wrote:
Hardeep wrote:Also i noticed when using change obj hp it did not work at all, absolutely zero change
you mean
a) you still can not give negative values,
b) or despite you give value it will not change the unit hp on trigger execution?
if the "b", please put a showmessage on the trigger event, sou you can be sure it is executed, and tell me if still there is problem.
B
What do you mean by showmessage, just add a dialog effect that resides in the same trigger or what

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 11:56 am
by Stratego (dev)
showmessage: message toast or dialog.

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 6:55 pm
by Hardeep
Daniel (the dev) wrote:showmessage: message toast or dialog.
Im sure the trigger was executed, because all the changes to actions and attack worked and they were situated with the obj change health trigger effect, the actions and attack changed but no hp

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Sun Nov 08, 2015 7:04 pm
by Stratego (dev)
you have not answered to this: "you still can not give negative values?"
but i presume you can, but with no effect at the end.

Re: Map design - TRIGGERS (eg. if the hero dies)

Posted: Tue Nov 10, 2015 6:51 pm
by Hardeep
Daniel (the dev) wrote:you have not answered to this: "you still can not give negative values?"
but i presume you can, but with no effect at the end.
I dont understand... i see the - symbol if thats what you mean. But do you mean it specifically for the obj change hp? Id imagine it'd do nothing since the increase(+) does nothing, do you want me to try?