Guide - Tower Defense

H

h0vding

Guest
Click on value and there you can pick number from lover left corner. Or if it is unit variable try looking for function unit type.

dont know if I did correct.. but I changed my variable to "unit group" then I could choose my level 1 creep
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Almost perfect tutorial. Rating: 4.8/5.0

Why almost perfect?

The problem solely lies with, why the creeps won't spawn when I triggers it to. I followed exactly like Andrew said, but the result was, like i said, no creeps are spawned? WHY?? can someone answer this for me? TT
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Isn't it exactly the same as andrew's?

untitledey5.png


Please tell me if its not the same..
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Okay, they will spawn, but one more problem:

They will spawn, but won't move :mad:

EDIT:
No!! double posted!!

EDIT2:
Another thing. From my TD's level 3 onwards, creeps from different levels bunch up into that level 3. so first i kill lv 3, then 4, then 3 again, then 5, etc. its all mixed up!!! im sry, andrew if i ask too much questions becoz im really a noob ;(
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Do all creeps cost at least 1 food? And, make sure the players can't kill right at the spawning point, because, if they kill quickly enough, the food of the bad guys reaches zero before the new creep for that wave is created.

For the moving part, did You do everything like I showed?

Andrew is never wrong.

That's not true. After all, I am only a human.
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Do all creeps cost at least 1 food? And, make sure the players can't kill right at the spawning point, because, if they kill quickly enough, the food of the bad guys reaches zero before the new creep for that wave is created.

For the moving part, did You do everything like I showed?

I got it... it works now!! i forgot the "food" part XD tyty andrew +rep (already did it 2 times ><||)
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
No problem.


To future Readers of this tutorial, before You ask something, please make sure you have read the note's and double checked everything - that everything You have done looks what I have done(in the tutorial). This concept has proven itself as a working one, so, please double check Your triggers before posting


I should make a faq...

Q1,
My trigger doesn't work, what's wrong? (Never mind the brilliant punctuation and grammar, it's usually along these lines: "my triger dosnt work!!111")
A1,
"Doesn't work" is not a very good problem description.

Q2,
I made the trigger, but the creeps will not spawn! (Again, completely ignore the perfect grammar, it's usually told like this: "my unitss wont spawn, :banghead: :banghead:" )
A2,
Did You follow the trigger posted in the tutorial absolutely right, if not, double check.

And etc.

No, I am not angry at anyone.

Think before You ask. Think again, before You post.
 
D

Dundacious

Guest
Help

When my spawns are running through the course everytime they get to a certain point, they go back to their start and do the whole process over. why is this?? what do i do?? :( :confused:
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Let me guess, the creeps are owned by a neutral player? Go to Advanced > Gameplay Constants and change the "Creep - Guard Return Distance" and "Creep - Return Time (sec)" to something high, 9999 should do.
 
D

Dundacious

Guest
Thanks!!!

Let me guess, the creeps are owned by a neutral player? Go to Advanced > Gameplay Constants and change the "Creep - Guard Return Distance" and "Creep - Return Time (sec)" to something high, 9999 should do.

THANK YOU SOOOOO MUCH
 

Sooda

Diversity enchants
Reaction score
318
AndrewGosu said:
elmstfreddie said:
Andrew is never wrong.
That's not true. After all, I am only a human.
What proves again Andrewgosu was right. It means he is never wrong :rolleyes:
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Andrew, please do something about this..

You see, for me, your "region" triggers doesn't work!! Why is that so? I got the same problem here again, when the creeps just stay at one spot and do nothing, instead of moving into the next checkpoint. I don't care if its the easy way or difficult way, I just want my triggers to work!! Please and thank you so much.

EDIT: I read your FAQ, I double-checked my triggers, exactly the same. Then I disabled them (making it non-existent) and I tried to do this:

Code:
Checkpoint 001
   EVENTS
      Unit - A unit enters Creep Spawn 001 <gen>
   CONDITIONS
      (Owner of (Triggering Unit)) Equals to hostileCreeps
   ACTIONS
      Unit - Order (Triggering Unit) to Move To (Center of Region 002 <gen>)

Code:
Checkpoint 002
   EVENTS
      Unit - A unit enters Region 002 <gen>
   CONDITIONS
      (Owner of (Triggering Unit)) Equals to hostileCreeps
   ACTIONS
      Unit - Order (Triggering Unit) to Move To (Center of Region 003 <gen>)

And so on...

But with this way, the moment the creeps step onto the region, it moves to the next region.
So for example, if I am the player and I maze around the 1st checkpoint, in no time all my towers will reach the 2nd checkpoint and when the creep reaches the start of the maze(the 2nd checkpoint), he will step on the checkpoint and move to the 3rd checkpoint, completely ignoring the 1st checkpoint.

PLEASE help me Andrew!! TT
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Are You ordering Your creeps to move to the next region, when they enter the "spawn" region? Are You sure? Have You initialized the region variables right*?



*
set ExampleRegion[0] = Spawn <gen>
set ExampleRegion[1] = CheckPoint 1 <gen>
set ExampleRegion[2] = CheckPoint 2 <gen>
...
etc.
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Are You ordering Your creeps to move to the next region, when they enter the "spawn" region? Are You sure? Have You initialized the region variables right*?



*
set ExampleRegion[0] = Spawn <gen>
set ExampleRegion[1] = CheckPoint 1 <gen>
set ExampleRegion[2] = CheckPoint 2 <gen>
...
etc.

Well, I didn't use "set ExampleRegion[0] = Spawn <gen>" but I used "set regionArray[1] = Spawn <gen>", instead of "0". Is that the problem?
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Probably, yes, because all units start with a custom value of 0, not 1. Unless You set it to 1 right after an unit enters the playable map area.
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Okay, I'll try it. If it works, expect a rep! :p

EDIT: It works!

As promised, a rep. :p

EDIT2: Oh my.. sry andrew i got cant giv any rep to u they say "you must spread some rep before you can give it to andrewgosu again". must i wait? or i go add more rep and i come back? or what??
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top