Element Tower Defense

MissKerrigan

Active Member
Reaction score
23
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
Reaction score
201
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
Reaction score
23
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
Reaction score
201
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
Reaction score
23
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
Reaction score
201
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
Reaction score
10
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
Reaction score
23
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
Reaction score
201
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
Reaction score
23
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.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top