Page 1 of 1

+WEAPON.NOAUTOAIM not working in Zandronum?

Posted: Wed Apr 24, 2013 10:11 pm
by Sicamore
Hello.

Excuse me if I am mistaken, but after numerous times testing my mod in Zandronum I noticed that my weapon was always autoaiming with the projectile it shot, regardless of the flags which I put on the actor. When I went to settings to turn off the autoaim, it stopped, however I am curious as to why the flag did nothing and I had to manually adjust the cvar. Testing in ZDoom, the flag did indeed work and I had no autoaim for the gun.

This brings me to the question - is this a bug or something that I stupidly miscoded? After all, the ST grenade launcher does exist, so it works somewhere. I checked for any possible factors present that could affect this and am certain that what I have is pretty straightforward. Here's the code for the weapon and, if anyone wants to see, the projectile being fired as well:

http://pastebin.com/XwLYRgUQ Weapon

http://pastebin.com/DN8T9Rvq Projectile Bullet

Thanks, and sorry for the spacing.

EDIT:

I have also checked to see if the A_firecustommissile aim parameter is the culprit, and that does nothing.

http://www.sendspace.com/file/wr3gwy

Here's all my settings in the .ini file if you want to see the problem.

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

Posted: Wed Apr 24, 2013 10:30 pm
by Watermelon
Can you clean up the decorate? It's almost unreadable with all those spaces/jumps and is giving me a headache to follow it.

Remember, every time there is a curly bracket, indent everything by one more tab between the start and end. No whitespace between lines of code unless you have a good reason.

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

Posted: Wed Apr 24, 2013 10:33 pm
by Sicamore
Cleaned up alignment. Best I can do on this tablet. Sorry about that. :/

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

Posted: Thu Apr 25, 2013 12:16 am
by Qent

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

Posted: Thu Apr 25, 2013 4:37 pm
by Sicamore
I think it's worth either adopting zdoom's behavior or deprecating the flag for zandronum and using two flags instead that split the direction.