I find it ridiculous that the firing functions don't have an X (frontward - backward ) compatibility like A_SpawnItemEx does.
Since doom mods are already in the wild,possibly using A_Custom and SpawnProjectile, perhaps a new A_SpawnProjectileEx would suffice ? This should have the x y z as first coordinates like the ItemEx function, as well as a fix for the pitch problem I discussed here:
viewtopic.php?f=2&t=59830
A_SpawnProjectile & similar : Separate X and Y offsets
Moderator: GZDoom Developers
-
- Posts: 83
- Joined: Thu Jan 25, 2018 1:37 pm
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: A_SpawnProjectile & similar : Separate X and Y offsets
Just use (A_)Spawn(ItemEx) to shoot the projectile.
I haven't actually used A_SpawnProjectile at all besides converting a bunch of A_CustomMissiles that I wrote in those days before A_SpawnItemEx could be used instead.
I haven't actually used A_SpawnProjectile at all besides converting a bunch of A_CustomMissiles that I wrote in those days before A_SpawnItemEx could be used instead.