+WEAPON.NOAUTOAIM not working in Zandronum?

General discussion of the port and Doom-related chat.
Post Reply
User avatar
Sicamore
Forum Regular
Posts: 315
Joined: Sun Jun 10, 2012 5:10 pm
Location: Toronto
Clan: Scientific DM Acad
Clan Tag: [SDA]
Contact:

+WEAPON.NOAUTOAIM not working in Zandronum?

#1

Post by Sicamore » Wed Apr 24, 2013 10:11 pm

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.
Last edited by Sicamore on Wed Apr 24, 2013 11:48 pm, edited 1 time in total.
Image

Watermelon
Zandrone
Posts: 1244
Joined: Thu Jun 28, 2012 9:07 pm
Location: Rwanda

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

#2

Post by Watermelon » Wed Apr 24, 2013 10:30 pm

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.

User avatar
Sicamore
Forum Regular
Posts: 315
Joined: Sun Jun 10, 2012 5:10 pm
Location: Toronto
Clan: Scientific DM Acad
Clan Tag: [SDA]
Contact:

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

#3

Post by Sicamore » Wed Apr 24, 2013 10:33 pm

Cleaned up alignment. Best I can do on this tablet. Sorry about that. :/
Last edited by Sicamore on Wed Apr 24, 2013 10:33 pm, edited 1 time in total.
Image

Qent
Retired Staff / Community Team Member
Posts: 1424
Joined: Tue May 29, 2012 7:56 pm
Contact:

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

#4

Post by Qent » Thu Apr 25, 2013 12:16 am


User avatar
Sicamore
Forum Regular
Posts: 315
Joined: Sun Jun 10, 2012 5:10 pm
Location: Toronto
Clan: Scientific DM Acad
Clan Tag: [SDA]
Contact:

RE: +WEAPON.NOAUTOAIM not working in Zandronum?

#5

Post by Sicamore » Thu Apr 25, 2013 4:37 pm

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.
Image

Post Reply