Element Tower Defense

MissKerrigan

Active Member
Hey guys,

I don't know if any of you know/plays element tower defense
I got a few questions about it, if you like to anwser them, I really apreciate


1. In the end wave the fruit appears, but it has over 100.000 hitpoints, how?

2. There is a tower which can be programmed to fire weakest, strongest or farest creeps, how create this option?

3. Sometimes I see towers which shows '3,5 damage'. Why does units taking FOUR damage from these?

4. If 4 players chosing 'very hard' and the other 4 players chosing 'very easy', it will be normal difficoulty, how to create this?

MissKerrigan
 

X-maul

AKA: Demtrod
1.
This can be done with a buff type behavior and in Behavior - Modification under the Unit tab set the Vital Max Bonus to 150,000 this should give a unit which already have 100,000 hp 250,000 hp.

4.
I'm not entirely sure how, but I asume that you will have a number for each option, eg you have Easy = 1, Medium = 2 and Hard = 3. And then every time a person votes, the amount is plussed together, so if two people votes hard, and two votes medium that would make it look like this:
3+3+2+2 = 10, now we devide by the amount of people who have voted (4) to find the average;
10/4 = 2.5

Now we have to decide what the score means;
the most obvious would be to make easy = 1-2, medium = 2-3 and hard 3

Now you will need an if/then/else that checks if the number is both higher than, or equal to 2, and lower than and not equal to 3.

So the final result, in this example, would be medium.

NOTE: This method will work, I'm just not sure that it is the one used in Elemental TD.
 

MissKerrigan

Active Member
well I was already thinking something like that


votes

- very easy = 1
- easy = 2
- normal = 3
- hard = 4
- very hard = 5
- insane = 7


niveau

- number between 8 and 16 = 10% enemy shield
- number between 16 and 20 = 20% enemy shield
- number between 20 and 28 = 30% enemy shield
- number between 28 and 32 = 40% enemy shield
- number between 32 and 40 = 50% enemy shield
- number between 40 or higher = 75% enemy shield


Ok, let's say that 4 players choose easy and 4 players choose normal
The number will be 20 now

1. how do I make the trigger in start? is there any trigger-event that says ' number of integer = 20?

2. what if only 4 players are in the game and choose insane? will the number be 28 now?

3. how to create a dropbox in start which shows the 6 options?


I want create the dropbox just like you see when you pressing the menu
Is this hard to create? or should it just be a few things?

I tried to use a trigger 'create dialog' but NOTHING appear in the game
 

X-maul

AKA: Demtrod
The number will never be over 7 in this example.

When you devide the combined result with the amount of players voting, you will get the average, which CANT be over 7.

So the score would be more like this:
Very Easy = 1-2
Easy = 2-3
Normal = 3-4
Hard = 4-5
Very Hard = 5-6
Insane = 6

(I set Insane to only 6, if it was 7, it would weight too heavy, so it would count more if you voted insane than voting easy)

I made an example map here;
Download
 

MissKerrigan

Active Member
omg are you joking?

I mean that everytime a player votes it ADDS the number to the integer
So you're wrong about the number can't be greater than 7
If there is only ONE player, then the integer can't be greater than 7 that's right

If 4 player chosing easy and 4 players chosing normal then the integer will be 20
Ofcourse the integer starts with the amount of 0

(2 + 2 + 2 + 2 + 3 + 3 + 3 + 3 = 20)

So my problem is that if there are 3 players in the game and voting for insane, the integer is 21, then the enemies getting 30% shield while it has to be 75%
I need to make a trigger anyway that checks the number and makes the right triggers which contains the right niveau

I'm sorry if I made you angry or something but you know I don't mean it like that, it's just my english can't find better words
 

X-maul

AKA: Demtrod
Misskerrigan...
You need the AVERAGE of the voted number. Did you even see the map I attached?
to get the average, you devide the total with the amount of player. If you did not get the average, if you played single player, you would not be able to get more than a total amount of 7 (or 14 if you were 2).

You havent studied math havent you?
 

MerrillPhish

Active Member
I admire that you ask a lot of questions but you need to use your head sometimes.
And it is quite clever to use a female sn and pic to get your questions answered.

After you have the vote sum.
Divide the vote sum by total number of votes cast.
This will return a number between 1-6.
You can determine total number of votes cast by creating a counter variable or something.

Now to determine the difficulty use an if statement.

Using an average will solve your problem no matter how many people voted.
 

MissKerrigan

Active Member
I think I get it

3 players in game:

player 1 votes normal (3)
player 2 votes easy (2)
player 3 votes also normal (3)

now the number get's 2.66? is that ok?


to be clear:

+ means add
- means subtract

does : means divide?

(never heard of divide in english)



o btw! I forgot something: in element defense, weapon speed 1.0 = 1 real second, how they do this? I guess it's in some UI data somewhere?
 

X-maul

AKA: Demtrod
to be clear:

+ means add
- means subtract

does : means divide?

(never heard of divide in english)



o btw! I forgot something: in element defense, weapon speed 1.0 = 1 real second, how they do this? I guess it's in some UI data somewhere?
DID YOU OPEN THE MAP I ATTACHED?

Devide means to split it
so if you devide 10 with 2 it would look like this:
10/2 = 5.
 

MissKerrigan

Active Member
sorry but I can't download your DOWNLOAD thing

it asks me to install a program, my sister said I must not do this, could be any virus
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    I really do not want to move to California otherwise I might consider it.
  • The Helper The Helper:
    yeah California is not anywhere you really want to live
  • The Helper The Helper:
    That is why I did not take the job Blizzard offered me back in the day, there is no way I could have moved my family there on what they were offering, not even close and that was like 20 years ago
  • The Helper The Helper:
    yeah they wanted me on the tech support team when they did not get me they got one of the next MVPs in Dinobot
  • The Helper The Helper:
    Dinobot was one of the youngest of the MVPs tkron probably could have worked for Blizzard but he had a good job in Chicago doing business programming already
  • The Helper The Helper:
    Dinobot probably still works for Blizzard would love to reconnect with that guy
  • The Helper The Helper:
    I wonder what ever happened to Wargasm?
  • The Helper The Helper:
    This new version of Xenforo really is awesome
  • Ghan Ghan:
    Wargasm is still around. He works for the domain registrar where thehelper.net is kept.
  • Varine Varine:
    Is sqrage still around?
  • The Helper The Helper:
    I have not seen him on lately the forum says he was last on 2 years ago
  • The Helper The Helper:
    How are you doing Varine have not seen you around in a minute
  • thewrongvine thewrongvine:
    lol I live in CA
  • thewrongvine thewrongvine:
    I've got some friends in animation department who have been applying for Blizzard, doing interviews and such. They said the workplace seems nice, though now it'd be all remote work I suppose
  • The Helper The Helper:
    good for them I live close to Austin and am trying to get my kids interested in getting into Games but not having much luck. I would never let them move to Cali.
  • The Helper The Helper:
    unless it was huge money
  • The Helper The Helper:
    and even then with the taxes I really could never let them move there
  • thewrongvine thewrongvine:
    Haha fair enough, I have no interest in CA at all as a living place either. Really only here just for the work in LA, but hopefully once I get settled enough in my work, I can move out
  • Ghan Ghan:
    +1
  • jonas jonas:
    " a traditionally-sized California family of one person ":cool:
    +1

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top