Different Railgun sounds
Moderator: GZDoom Developers
-
- Lead GZDoom+Raze Developer
- Posts: 49193
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Different Railgun sounds
There should be a method that a railgun monster or weapon can play a custom railgun sound. Today I wanted to make a second railgun monster for the monster pack when I found out that there is no way to play anything but 'weapons/railgf' as a railgun's sound. If the AttackSound of a monster/weapon is defined that should be used instead.
-
- Posts: 1067
- Joined: Fri Nov 28, 2003 9:39 pm
- Location: A long time ago in a galaxy far, far away...
Speaking of railguns, allow me to dig up an old thread I started about improved monster railgun aiming. Monsters currently can't miss when they fire their railguns, making it very difficult for players to dodge them. In this thread, Graf suggested adding two new functions, A_RailAim and A_RailFire to separate the aiming and firing mechanisms. This way, it would be done like quake 2 gladiators, who give the player a chance to dodge their railguns.
http://forum.zdoom.org/viewtopic.php?t= ... gun+aiming
http://forum.zdoom.org/viewtopic.php?t= ... gun+aiming
-
-
- Posts: 26696
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
-
- Posts: 1067
- Joined: Fri Nov 28, 2003 9:39 pm
- Location: A long time ago in a galaxy far, far away...
But since the aiming is done at the same time as the firing in the A_MonsterRail code pointer, giving the monsters a longish "aim time" still wouldn't allow the player to dodge, unfortunately. A_FaceTarget is only used to make the sprite look like it's facing you. The missiles, railguns, etc. are always aimed at the target when they are created.
-
-
- Posts: 26696
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Absolutely! It doesn't allow you to dodge, it allows you to get into cover so that you can't be hit. I guess, in some ways, that's actually more "realistic".
I'm not arguing against your suggestion, just pointing out what I do to make such an enemy more playable. ie, I give the player a reasonable warning that the bad guy is about to fire so that they can get out of the way before he does fire.
50
I'm not arguing against your suggestion, just pointing out what I do to make such an enemy more playable. ie, I give the player a reasonable warning that the bad guy is about to fire so that they can get out of the way before he does fire.
50
-
- Lead GZDoom+Raze Developer
- Posts: 49193
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 2914
- Joined: Fri Dec 05, 2003 11:02 pm
-
-
- Posts: 10773
- Joined: Sun Jul 20, 2003 12:15 pm