| 06-28-2003, 02:21 AM | #1 |
In some Tower Defense maps I see towers with an insane attack speed, like zero cooldown, constantly firing. How can I do this? I want to create a unit with a steady stream of fire, but when I set my cooldown to 0.5, or even 0, it doesn't attack as fast as it does in those tower defense maps. I presume there is some constant value that all cooldowns must be greater than otherwise they become the constant value; but how do those maps get around this? Thanks. |
| 06-28-2003, 04:51 AM | #2 |
They just use a base illusion.. it looks like there are thoausands on the screen when in actuallity maybe only 5 or 6... |
| 06-28-2003, 04:57 AM | #3 |
Either that, or when you set yours you aren't noticing that it is just going back to the minimum. Most units (unless you are using an edited editor) have a minimum attack speed. If this is the case, set it so the unit uses both attacks and then set the first attack information all to zero, non existant, etc. and then set up the second and don't touch the cooldown. 0 cooldown does fire constantly, so it seems that if you were succesfully setting it to 0 it would be good. (this doesn't work on a unit that already has a second attack) |
| 06-28-2003, 05:11 AM | #4 |
Zero cooldown, shouldnt that technically kill any unit instantly? Because if it didn't, then the cooldown would not be zero. |
| 06-28-2003, 05:23 AM | #5 |
No, it really isn't actually 0- if it were that, then it would fire an infinite amount of times in an instant, and obviously that wouldn't work. It's probably just .01 seconds, or just as fast as it can. When firing most projectiles, you can see a gap in between them though. I suggest using the spirit tower projectile, it looks the best. |
| 06-28-2003, 08:07 AM | #6 |
I think it's more like 0.01 actually. The program isn't faster then it could be, and there is always some kind of "security lock" to ensure no game crashes. |
| 06-28-2003, 09:23 AM | #7 |
>there is always some kind of "security >lock" to ensure no game crashes. Unit - Create [any unit] Trigger - Run (this trigger) |
| 06-28-2003, 09:29 AM | #8 |
to make 0" cooldown, just make ur unit based on a unit (tower) which dost have any attacks, cause then it will have 0.0 in cooldown, then u just add the attacks u want...... ps. dont touch with the cooldown, cause then it will set it self to 0.5 automaticly.... hope that helped :D |
| 06-28-2003, 10:38 AM | #9 |
Guest | Just take a scout tower and make it an attacking tower if u do u can set the cooldown of attacks to 0.01:thrust: I think... |
| 06-28-2003, 10:48 AM | #10 |
@ Mr. Thermistor Actually there are much more efficient ways of crashing the game, dummy. But non-triggers. |
