Different Railgun sounds

Moderator: GZDoom Developers

Post Reply
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Different Railgun sounds

Post by Graf Zahl »

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.
Cptschrodinger
Posts: 380
Joined: Thu Oct 21, 2004 5:27 pm

Post by Cptschrodinger »

Sounds like a good idea.
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

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
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

I usually give any railgun monsters a long-ish "aim time" in the firing sequence. Once you know the monster, you know it's getting ready to rail you but you have a little bit of time to react and get behind something. That being said, the RailAim is a good idea, as is the sound option.

50
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

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.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

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
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

There should still be an option. The railgun as a monster weapon is a real pain, especially with the default damage of 100. I found the railgunners in the monster pack a real pain and the Rail Elemental from SSD even more. That thing was 100% deadly.
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

Actually, I do believe that the default railgun damage is 150...

(Well, I never actually checked an enemy's railgun damage, but that IS the damage done by player railguns.)
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

The enemy railgun damage can be changed by setting the Damage property of the monster that uses the attack.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”