What flags are supported for A_FireBullets?

Discuss all aspects related to modding Zandronum here.
Post Reply
TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

What flags are supported for A_FireBullets?

#1

Post by TerminusEst13 » Tue Sep 11, 2012 5:36 pm

See topic, really. I know that flags are accepted, since Zandronum accepts it when I put some numbers in that slot, but the FBF_NORANDOM text on the wiki gets rejected.
So, I'm assuming there's some numerical equivalents for the flags.

What flags and what numbers are supported in the flags slot?

I'd really appreciate any help on this, please.

EDIT:
It seems these are the existing numerical equivalents.
// Flags for A_FireBullets
const int FBF_USEAMMO = 1;
const int FBF_NORANDOM = 2;
const int FBF_EXPLICITANGLE = 4;
const int FBF_NOPITCH = 8;
const int FBF_NOFLASH = 16;

...but none of them seem to work in Zandronum. :\
Last edited by TerminusEst13 on Tue Sep 11, 2012 6:05 pm, edited 1 time in total.

Ijon Tichy
Frequent Poster Miles card holder
Posts: 901
Joined: Mon Jun 04, 2012 5:07 am

RE: What flags are supported for A_FireBullets?

#2

Post by Ijon Tichy » Tue Sep 11, 2012 6:12 pm

TerminusEst13 wrote: See topic, really. I know that flags are accepted, since Zandronum accepts it when I put some numbers in that slot, but the FBF_NORANDOM text on the wiki gets rejected.
So, I'm assuming there's some numerical equivalents for the flags.

What flags and what numbers are supported in the flags slot?

I'd really appreciate any help on this, please.

EDIT:
It seems these are the existing numerical equivalents.
// Flags for A_FireBullets
const int FBF_USEAMMO = 1;
const int FBF_NORANDOM = 2;
const int FBF_EXPLICITANGLE = 4;
const int FBF_NOPITCH = 8;
const int FBF_NOFLASH = 16;

...but none of them seem to work in Zandronum. :\
the flags property was originally the useammo property, and that's what it means in zandronum (it's why FBF_USEAMMO comes first)

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: What flags are supported for A_FireBullets?

#3

Post by TerminusEst13 » Tue Sep 11, 2012 6:47 pm

Well. That's a grand ol' pile of damn.

Thanks.

Post Reply