When a monster calls A_CustomRailgun in aim mode 0, no rail will appear unless he already has a target. If he has a target or has had one that hasn't been cleared, the rail will fire in the direction he is facing as it should. Since A_CustomMissile does not behave this way (when using aimmode 2), I figure this is a bug or at least a weird inconsistency.aim determines which aiming mode to use:
* 0: The monster shoots in the direction it is looking.
* 1: The monster aims at its target.
[709] A_CustomRailgun will not fire until target set
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
[709] A_CustomRailgun will not fire until target set
From the wiki:
Last edited by bagheadspidey on Wed Jan 23, 2008 3:15 am, edited 1 time in total.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: [svn(+all?)] A_CustomRailgun will not fire until target set
Are you sure it's fixed? You can test it with the wad in this thread - bind a key to launch the probe and one to fire. When you press the fire button down, two rails should fire followed by a stream of plasma. If the probe has no target, the rails won't fire. Try it in a room with no monsters in sight and in a room with monsters, you will see what I mean. Using revision 709.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [709] A_CustomRailgun will not fire until target set
In case you haven't noticed:
R709 is a few days old and this bug was reported for it. The SVN can't be updated right now.
R709 is a few days old and this bug was reported for it. The SVN can't be updated right now.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: [709] A_CustomRailgun will not fire until target set
heheh, oops - I knew you couldn't get in, but I thought randy still could for some reason. Silly ol' baghead.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: [709] A_CustomRailgun will not fire until target set
I'm assuming Randy has a personal build instead of relying on the SVN?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [709] A_CustomRailgun will not fire until target set
Sure. You can't compile directly out of SVN. You need a local copy.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: [709] A_CustomRailgun will not fire until target set
[fixed]Project Dark Fox wrote:I'm assuming Randy has a personal build which he is referring to when he says [fixed] instead of relying on the SVN?

It just caught me off guard, I'm spoiled by the (usually) excellent response cycle svn offers. Too bad it's not working right now, but I'm sure manc will get his host to straighten it out.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [709] A_CustomRailgun will not fire until target set
Reading the SVN works. But we both can't commit our changes.