MegaGlest Forum
Archives (read only) => Vanilla Glest => Bug report => Topic started by: Zoythrus on 18 November 2009, 01:20:27
-
when i begin a game (with GAE 3.2.2, the newest), the defense unit starts at "attack off", so i turn it on and it doesnt fire! why not? (it just sits there like a brick)
-
Well, are any enemies within the attack range?
-
yes, my defense towers do nothing as a bunch of swordman attack them
-
Maybe you're just not seeing a particle effect.
-
no, they dont die (or even get injured), this bug makes defenses a waste of resources
-
Well, I don't know then.
Man, I was just about to try GAE 2.12a for the 15th thousand time, and probably fail, I'm going to wait until they fix this.
-
Did you modify the XMLs by any chance?
-
no
-
besides the defenses not firing, the units will not attack or do anything automatically even if they can! i think the problems are related
-
Have you upgraded to 0.2.12b?
-
yes...right when it came out
-
Then, it's your computer, I've never had that problem.
-
it acts up when it wants too, sometimes it does it, sometimes it doesnt
-
Well you should look at the XML files and see if anything is missing. If not i don't know whats happening.
-
Kris, I'm very sure that he's already done that... ;)
Maybe it could be a problem of low ram caused by that worker pathfinding bug, that probably uses a lot of ram?
-
or just ask, how much ram do you have?
-
2GB
-
Same as my laptop, should work, you bether ask arch...
-
it has been working now, ever since i got megaglest...but now and then it doesnt work, that's why i tell all my turrets to fire (as opposed to "attack off")
-
This thread is old but Zoythrus never said it was fixed so...
1. Defense buildings with "Attack off" and "Attack on" commands will always (in a working game) fire when attacked.
The difference is:
- The Attack On command will make it fire whenever it sees an oposing unit in attack range.
- The Attack Off command will only attack after it's been attacked at least once. Then it will automatically switch to "Attack on" mode and fire at the attacking foe. There is an option in the XML (which you can see ingame by hovering over the Attack Off button) called "Reaction time". This is the time (see Silnarm's explanation on Glest cycles for infos on how this time is "measured") the defense building will take between being attacked and switching to Attack On mode.
The purpose of the Attack Off mode is to hide your base from being discovered by the enemy. As defense buildings usually have higher sight range than movable units, an enemy foe might go by it without actually seeing you. But if the defense tower attacks that "blind" foe... well, the enemy will then get a good tip on your location, won't it...? ;)
2. In any circumstance, the defense building would aloways attack an enemy unit that had attacked it already unless:
- The attacker has a higher range than that of the defense building (if I remember correctly, the Elf archer, at least on Elves 0.8 would be able to beat the range of a Tech Defense tower). But you said your defense building was being attacked by swordmen so... that's not it in this case. :P
- The defense building has a very very very high Reaction time, even on Attack On mode (there's one such option for this command too, I believe). But you said you didn't touch the XML's so... (you are talking about Tech, aren't you?)
- The defense tower has a very very very low attack damage value. If smaller than the attacked unit's armor, it will never take a single HP off of it. :P A very low attack speed or attack delay value might also make it (look) unusable. Again... XML had to have been changed.
3. Either GAE or MG use their own modified Magitech, it's not the original vanilla Glest Magitech in either case!
I would doubt it was this the cause but...
... When you installed GAE (which BTW never had a 3.2.2 version, that's the last vanilla Glest version number :P), did you also install the data package (including the modified Magitech) or just the binaries? Do note the binaries package does include a modified data folder but the tecjs are NOT in there, in no flavour of glest! :P
Regarding MegaGlest that you're using now... could it be it seems like they're not attacking because of the Reaction times...? But then eventually they do attack...? Could it be it in your current megaglest? :look:
-
it appears to be a vanilla glest bug, but it was fixed in MG. the problem is solved, so i will lock this thread.