So I'm making a mega wad with a ton of new weapons, and decided to start with melee. I tried making a baseball bat called the "Radbat" and followed 3 different YouTube tutorials, only to be met with gut-wrenching disappointment when I got the errors fixed. It's stuck as this stupid error texture when in game. Not only that, but I can't pick it up. I wrote it to overwrite the chainsaw in it's own separate character class for the future weapons, but I did everything I possibly could. Tutorials, forums, the wiki, and not one thing mentions what this is. What am I doing wrong and how do I fix it.
actor Radbat : weapon Replaces chainsaw 20000 {
weapon.selectionorder 75
inventory.pickupsound "weapon/getradbat"
inventory.pickupmessage "Now this is Rad"
states
{
spawn:
LRBT A -1
stop
select:
RBTI A 1 A_raise
loop
deselect:
RBTI A 1 A_lower
loop
Ready:
RBTI ABC 4 A_WeaponReady
Loop
fire:
RBTS ABCD 4
goto BatSwing
BatSwing:
RBTS A 4
RBTS B 4
RBTS C 4
RBTS D 4 A_punch
RBTS D 4 A_playsound ("weapon/swingbat",CHAN_WEAPON, 0.7)
RBTS C 4
RBTS B 4
RBTS A 4 A_ReFire("BatSwing")
Goto Ready
}
}
So I'm making a mega wad with a ton of new weapons, and decided to start with melee. I tried making a baseball bat called the "Radbat" and followed 3 different YouTube tutorials, only to be met with gut-wrenching disappointment when I got the errors fixed. It's stuck as this stupid error texture when in game. Not only that, but I can't pick it up. I wrote it to overwrite the chainsaw in it's own separate character class for the future weapons, but I did everything I possibly could. Tutorials, forums, the wiki, and not one thing mentions what this is. What am I doing wrong and how do I fix it.
ACTOR Radrider: DoomPlayer {
Player.weaponslot 1, fist, Radbat
Player.weaponslot 2, pistol
player.weaponslot 3, shotgun, supershotgun
player.weaponslot 4, chaingun
player.weaponslot 5, rocketlauncher
player.weaponslot 6, plasmarifle
player.weaponslot 7, BFG9000
}
actor Radbat : weapon Replaces chainsaw 20000 {
weapon.selectionorder 75
inventory.pickupsound "weapon/getradbat"
inventory.pickupmessage "Now this is Rad"
states
{
spawn:
LRBT A -1
stop
select:
RBTI A 1 A_raise
loop
deselect:
RBTI A 1 A_lower
loop
Ready:
RBTI ABC 4 A_WeaponReady
Loop
fire:
RBTS ABCD 4
goto BatSwing
BatSwing:
RBTS A 4
RBTS B 4
RBTS C 4
RBTS D 4 A_punch
RBTS D 4 A_playsound ("weapon/swingbat",CHAN_WEAPON, 0.7)
RBTS C 4
RBTS B 4
RBTS A 4 A_ReFire("BatSwing")
Goto Ready
}
}
Share this post
Link to post