Currently I am trying to create a cool wad but I'm running into a bit of a conundrum with this weapon I am trying to add. It's the Super Crossbow, which fits really well with my mediaeval theme. However it doesn't have any sounds, and I know why; it's because the sounds it's trying to use are in Heretic and Doom doesn't have them. The hard part is that I don't own Heretic, and don't really have means to accessing it right now so I was wondering if there was a way to replace the sound it makes when firing? I have other sounds to pull from but I am not sure how to tell the weapon where the sound is to pull from. Any help would be much appreciated!
P.S. The SCB does work, it shoots, all it's sprites are correct.
Here's the script just in case anyone needs it!
//SUPER-CROSSBOW///////////////////////////////
actor SuperCrossbow : Weapon 25102
{
spawnid 33
obituary "%o was splattered by %k's super bow."
radius 20
height 16
attacksound "weapons/sshotf"
inventory.pickupmessage "SUPER CROSSBOW"
weapon.selectionorder 400
weapon.ammotype "CrossbowAmmo"
Weapon.SisterWeapon SuperCrossbowPowered
weapon.kickback 100
weapon.ammouse 2
weapon.ammogive 8
states
{
Ready:
CRB2 ABC 6 A_WeaponReady
loop
Deselect:
CRB2 ABC 1 A_Lower
loop
Select:
CRB2 ABC 1 A_Raise
loop
Fire:
CRB2 A 3
CRB2 D 0 A_PlaySound("weapons/bowshoot")
CRB2 D 0 A_PlaySound("weapons/bowshoot")
CRB2 D 0 A_FireCustomMissile("CrossbowFX1",0,2,7,0)
CRB2 D 0 A_FireCustomMissile("CrossbowFX1",0,0,-7,0)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",2,0,0,10)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",-2,0,0,10)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",2,0,0,-10)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",-2,0,0,-10)
CRB2 D 4
CRB2 E 6
CRB2 E 4
CRB2 F 6
CRB2 F 6
CRB2 G 6
CRB2 G 3
CRB2 H 1
CRB2 H 5 A_ReFire
CRB2 A 4 A_ReFire
goto Ready
Flash:
CRB2 I 4 bright A_Light1
CRB2 J 3 bright A_Light2
CRB2 J 0 bright A_Light0
stop
Spawn:
WBOW B -1
stop
}
}
Question
Brualtman
Currently I am trying to create a cool wad but I'm running into a bit of a conundrum with this weapon I am trying to add. It's the Super Crossbow, which fits really well with my mediaeval theme. However it doesn't have any sounds, and I know why; it's because the sounds it's trying to use are in Heretic and Doom doesn't have them. The hard part is that I don't own Heretic, and don't really have means to accessing it right now so I was wondering if there was a way to replace the sound it makes when firing? I have other sounds to pull from but I am not sure how to tell the weapon where the sound is to pull from. Any help would be much appreciated!
P.S. The SCB does work, it shoots, all it's sprites are correct.
Here's the script just in case anyone needs it!
//SUPER-CROSSBOW///////////////////////////////
actor SuperCrossbow : Weapon 25102
{
spawnid 33
obituary "%o was splattered by %k's super bow."
radius 20
height 16
attacksound "weapons/sshotf"
inventory.pickupmessage "SUPER CROSSBOW"
weapon.selectionorder 400
weapon.ammotype "CrossbowAmmo"
Weapon.SisterWeapon SuperCrossbowPowered
weapon.kickback 100
weapon.ammouse 2
weapon.ammogive 8
states
{
Ready:
CRB2 ABC 6 A_WeaponReady
loop
Deselect:
CRB2 ABC 1 A_Lower
loop
Select:
CRB2 ABC 1 A_Raise
loop
Fire:
CRB2 A 3
CRB2 D 0 A_PlaySound("weapons/bowshoot")
CRB2 D 0 A_PlaySound("weapons/bowshoot")
CRB2 D 0 A_FireCustomMissile("CrossbowFX1",0,2,7,0)
CRB2 D 0 A_FireCustomMissile("CrossbowFX1",0,0,-7,0)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",2,0,0,10)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",-2,0,0,10)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",2,0,0,-10)
CRB2 D 0 A_FireCustomMissile("CrossbowFX3",-2,0,0,-10)
CRB2 D 4
CRB2 E 6
CRB2 E 4
CRB2 F 6
CRB2 F 6
CRB2 G 6
CRB2 G 3
CRB2 H 1
CRB2 H 5 A_ReFire
CRB2 A 4 A_ReFire
goto Ready
Flash:
CRB2 I 4 bright A_Light1
CRB2 J 3 bright A_Light2
CRB2 J 0 bright A_Light0
stop
Spawn:
WBOW B -1
stop
}
}
/////////////////////////////////////////////
Edited by BrualtmanShare this post
Link to post
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.