Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

[1129] Fireballs made via script only shoot in 8 Compass directions

4 replies · 1,225 views · Started 01 February 2010

This thread included a poll: Is a fix for this needed before 2.5 is released?

Like the title says Fireballs made via script only shoot in 8 Compass directions. I used the Big Tektite Script that lets it so when the Tektite jumps, it will shoot a Fireball at you, but it only shoots the fireball in Link's relative direction and either Vertically, Horizontally, or at a 45 degree angle. You can reproduce this in the Test Quest www.garyshood.com/steven/ZC2.11/BigTektiteDemo.qst. Just go to the room to the right and notice when the tektite jumps, he does what I described before. (if your using Build 1129) Now go back to build 846 and use the same test quest, and notice how the fire balls work fine, shooting straight at link. I don't know what causes this, but it should be fixed.

I took a look at the original script. So the bug here is that CreateEWeapon( 129 ) cannot use eweapon->Angle? ...or there was a bugfix since build 846 that makes it so e->Dir takes precedence over uninitialized e->Angular values?

Can anyone confirm there's anything wrong here with weapon Angles?

I got it. The script doesn't set eweapon->Angular. Must not have been necessary at the time, but it is now.