Game Diffuclty Vote Help!!!

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Game Diffuclty Vote Help!!!

Post by Black-Hole »

I want to make a trigger for a Tower Defence game that im making.
There is going to be multable settings for the Diffuculty.
Cakewalk 10% max hp
Noobish 25% max hp
Easy 50% max hp
Normal 100% max hp
Hard 115% max hp
Heroic 125% max hp
Legendary 150% max hp
Insane 175% max hp
suicidal 200% max hp
Super Pro 250% max hp

There is another trigger i need help on.
One of the game types in my game is called Selective the user can only make 3 towers that they chose. The only problem im having is how to make it so the towers they pick are added to there builder.

I know there is a way to make these triggers because ive seen them done before. Can you help me make a voting system with a voting time. I dont care if its in GUI or Custom Script (if its in custom script you need to tell me how to use it step by step)

Thanks for the help.
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Game Diffuclty Vote Help!!!

Post by weirdone2 »

Make a dialog with those settings as options, and then assign the value of the setting to 1 and +1 to the next level setting until the end that will go to a variable. Then when everyone has picked a setting divide the number in the variable by how many people are playing. So for instance:
Cakewalk 10% max hp will add 1 to the variable settingvote
Noobish 25% max hp will add 2 to the variable settingvote
Easy 50% max hp will add 3 to the variable settingvote
Normal 100% max hp will add 4 to the variable settingvote
Hard 115% max hp will add 5 to the variable settingvote
Heroic 125% max hp will add 6 to the variable settingvote
Legendary 150% max hp will add 7 to the variable settingvote
Insane 175% max hp will add 8 to the variable settingvote
suicidal 200% max hp will add 9 to the variable settingvote
Super Pro 250% max hp will add 10 to the variable settingvote
then lets say theirs 5 players and 3 ppl voted cakewalk while 2 others voted legendary so then we have 17 stored in the variable settingvote, that we divide by 5 so we end up with 3 so then we make the game difficulty easy.


Make the towers that you want to be able to be picked and added to hero into abils(based off the mini tower item abil and such), and then when they pick their towers add the corresponding abil to the hero.
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: Game Diffuclty Vote Help!!!

Post by Black-Hole »

How do i make the units get the hp bonus or hp subtraction

Ex: if the first unit has 10 hp on normal, on Suicidal he should have 25.

It would be easy to add triggers that add the Hp at the start of the level but... with 80 levels and 20 extra levels in the game it would take forever. I understand what you are talking about with the trigger you made but i found a good voting trigger im going to use. All i need is how to increase or decrease the units hp by a % number.

Thx
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Game Diffuclty Vote Help!!!

Post by weirdone2 »

The easiest way that comes to my mind first is to have the max hp set at the hardest difficulty and set the hp occording to what difficulty so say the creep has 10 at 100% then set his max hp to 25(max difficulty) and just adjust it accordingly so if you play on normal he will have 10/25 hp when he is created, if you play cakewalk he will have 2.5/25 hp, and so fourth.