Warcraft III resources & community, 2003–2006 · archived

making difficulty for td help

11 posts
#1

making difficulty for td help

plz i need help making difficulty 4 my td map i need it so that easy=50% of units health and noraml=75% and so on if anyone could help let me know plz

plz help
#2
Events
(whatever happens to choose the mode)
Conditions
(whatever conds you need)
Actions
Set UnitLife ( a real var ) to (percentage of life)


NOW

when units spawn, use this

Set Percent Life of Last Created Unit to UnitLife.
#3
There is a trigger function to set the handicaps. I recommend that you try that.
#4
I have the same question, for having a difficulty for my td. Except insted of hp % I want speed % to increase. As i have a round (3 to be precise) which have regeneration on them I cant make it unit hp %. The problem is, however, how to create the dialogue buttons which you see in every single battleships and maul game and how to set those for the handicaps. I tried making dialogue button but screwed up. By the way, speeds are:

Very easy: -20%
Easy: -10%
Norm: No difference
Hard: +10%
Very Hard: +20%
#5
I'm pretty sure there's a form of an upgrade to increase speed for a unit. As for the dialogue buttons, I suggest variables for the dialogues, and from the button selected, raise the upgrade amounts. However, this will mean that you will have to start off the units slower than what you intend.
#6
well i made 5 units, each with a difficulty 'aura', that get spawned at a certain spot when you click/pick acertain button. Also i cannot make it an 'upgrade' because i have 10 players and 2 enemy spawn teams. It is a solo td also, so it wouldnt work.
#7

how for groups

it only works 4 one unit not a group.how would i do a group. i must be doing something minor wrong. plz help
#8
Killler use: whenever units enter regions set life to %s it does to every unit that comes in your spawn zone.
#9
ive done this but it dn't work:
create units easy part 2
Events
Unit - A unit enters unit life <gen>
Conditions
(Owner of MonsterType[level]) Equal to Player 9 (Gray)
(Clicked dialog button) Equal to Easybutton
Actions
Set UnitLife_easy = (Percentage life of MonsterType[level])
Unit - Set life of (Entering unit) to 50.00%
Unit - Set life of MonsterType[level] to 50.00%
(nothing works now) can someone plz help
#10
Well...
Your conditions won't work at all O.o
You are checking to see what dialog button has been pressed, when the event has nothing to do with dialog buttons.

Heres how I would do what I think your trying to do:
At the start have your dialogs (Remember you can't show dialogs on 'Map Int'), lets say the player selects 'Easy'. So you have a trigger that like this:
Event
A dialog button is pressed
Condition
Pressed button = Easy
Action
Set "Difficulty" to 1 (1 = Easy 2 = Normal 3 = Hard)

Now with your region:
Event
Unit enters unit life
Condition
Owner of 'Entering Unit' = Player 9
Action
Unit - Set life of (Entering unit) to 50.00%

I'm at school at the moment, so I hope this works xD

Well then, Good Luck and I hope you get this working.

- Azalgath
#11
thanky you i did used your ide and it works thx so much