A_SpawnProjectile & similar : Separate X and Y offsets

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: A_SpawnProjectile & similar : Separate X and Y offsets

Re: A_SpawnProjectile & similar : Separate X and Y offsets

by Matt » Thu May 03, 2018 12:33 pm

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.

A_SpawnProjectile & similar : Separate X and Y offsets

by Collegia Titanica » Thu May 03, 2018 10:06 am

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

Top