maybe im just showing my age here but Ive been trying for hours to get my weapon in game and it simply refuses to work.
Ive read all over Google and doom world forums that KEYCONF is no longer used for inserting weapons...tough, cause that's all i know.
i tried using decorate to Swap out the chain gun for my weapon and it's not working, either i get an error on game launch, or the weapon simply will not show up in game.
like it wont even let me select it! Ive been tearing my hair out for hours trying to Google this and finally, i need help. zdoom wiki can be so vague its not funny, i need a persons help, please.
sample of script:
Attempt 1:
ACTOR p90 : Doomweapon
{
Weapon.SelectionOrder 350
Inventory.PickupSound "misc/usgpickup"
Weapon.AmmoGive 50
Weapon.AmmoUse 2
//Weapon.AmmoType "Clip"
Weapon.SlotNumber 4
//Inventory.PickupMessage "Player should not see this message"
// AttackSound "weapons/ubersgf"
States
{
Spawn: // This state is entered when you drop the weapon.
P90S A -1
Stop
Ready: // This state is entered when you have this weapon selected.
P90S A 1 A_WeaponReady
Loop
Deselect: // This state is entered when you deselect the current selected weapon.
P90S A 1 A_Lower
Loop
Select: // This state is entered when you select this weapon.
P90S A 1 A_Raise
Loop
Fire: // The firing state.
P90S AB 4 A_FireCGun
P90S b 0 A_ReFire
Goto Ready
Flash: // The weapons flash.
P90S A 5 A_FireBullets(10,10,15,30,0,1)
Stop
}
}
Attempt 2:
ACTOR P90 : DoomWeapon REPLACES Chaingun
{
Weapon.BobStyle Alpha
}
also, tried adding a playerclass for keyconf, from which to inherit, that did not work either.
maybe im just showing my age here but Ive been trying for hours to get my weapon in game and it simply refuses to work.
Ive read all over Google and doom world forums that KEYCONF is no longer used for inserting weapons...tough, cause that's all i know.
i tried using decorate to Swap out the chain gun for my weapon and it's not working, either i get an error on game launch, or the weapon simply will not show up in game.
like it wont even let me select it! Ive been tearing my hair out for hours trying to Google this and finally, i need help. zdoom wiki can be so vague its not funny, i need a persons help, please.
sample of script:
Attempt 1:
ACTOR p90 : Doomweapon
{
Weapon.SelectionOrder 350
Inventory.PickupSound "misc/usgpickup"
Weapon.AmmoGive 50
Weapon.AmmoUse 2
//Weapon.AmmoType "Clip"
Weapon.SlotNumber 4
//Inventory.PickupMessage "Player should not see this message"
// AttackSound "weapons/ubersgf"
States
{
Spawn: // This state is entered when you drop the weapon.
P90S A -1
Stop
Ready: // This state is entered when you have this weapon selected.
P90S A 1 A_WeaponReady
Loop
Deselect: // This state is entered when you deselect the current selected weapon.
P90S A 1 A_Lower
Loop
Select: // This state is entered when you select this weapon.
P90S A 1 A_Raise
Loop
Fire: // The firing state.
P90S AB 4 A_FireCGun
P90S b 0 A_ReFire
Goto Ready
Flash: // The weapons flash.
P90S A 5 A_FireBullets(10,10,15,30,0,1)
Stop
}
}
Attempt 2:
ACTOR P90 : DoomWeapon REPLACES Chaingun
{
Weapon.BobStyle Alpha
}
also, tried adding a playerclass for keyconf, from which to inherit, that did not work either.
decorate:
ACTOR genericplayer : DOOMPlayer replaces DOOMPlayer
{
Health 100
Radius 16
Height 56
Mass 100
PainChance 255
Speed 1
Player.DisplayName "ethan"
Player.WeaponSlot 1, Fist, Chainsaw
Player.WeaponSlot 2, Pistol
Player.WeaponSlot 3, Shotgun, SuperShotgun
Player.WeaponSlot 4, p90
Player.WeaponSlot 5, RocketLauncher
Player.WeaponSlot 6, PlasmaRifle
Player.WeaponSlot 7, BFG9000
}
Keyconf:
Clearplayerclasses
addplayerclass "generic player"
Share this post
Link to post