Skip to content

Commit

Permalink
Fixes to the pickup shit, plus some i missed
Browse files Browse the repository at this point in the history
also added floatbob to the spheres
generic cleaned up all the error messages form calling old actors
  • Loading branch information
iamcarrotmaster committed Jun 7, 2023
1 parent 1a1055f commit 2814140
Show file tree
Hide file tree
Showing 68 changed files with 80 additions and 103 deletions.
4 changes: 0 additions & 4 deletions BMAP/Armor.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//Blue Armor
brightmap sprite 4RM2A0 { map "Brightmaps/ITEMS/4RM2A0.png" }
//Health Bonus
brightmap sprite BON1A0 { map "Brightmaps/ITEMS/BON1A0.png" }
brightmap sprite BON1B0 { map "Brightmaps/ITEMS/BON1B0.png" }
Expand All @@ -12,6 +10,4 @@ brightmap sprite BON1H0 { map "Brightmaps/ITEMS/BON1H0.png" }
brightmap sprite BON1I0 { map "Brightmaps/ITEMS/BON1I0.png" }
brightmap sprite BON1J0 { map "Brightmaps/ITEMS/BON1J0.png" }
//Health Pack
brightmap sprite M3DIA0 { map "Brightmaps/ITEMS/M3DIA0.png" }
brightmap sprite MEDPA0 { map "Brightmaps/ITEMS/MEDPA0.png" }
brightmap sprite ST1MA0 { map "Brightmaps/ITEMS/ST1MA0.png" }
1 change: 0 additions & 1 deletion BMAP/Health.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Health pickups
brightmap sprite MEDIA0{map "brightmaps/items/MEDIA0.png"disablefullbright}
brightmap sprite STIMA0{map "brightmaps/items/STIMA0.png"disablefullbright}
brightmap sprite PSTRA0{map "brightmaps/items/PSTRA0.png"disablefullbright}


Expand Down
5 changes: 3 additions & 2 deletions BMAP/Powerups.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
brightmap sprite PVISA0 { map "Brightmaps/ITEMS/PVISA0.png" }
brightmap sprite PSTRA0 { map "Brightmaps/ITEMS/PSTRA0.png" }
brightmap sprite PVISA0 { map "Brightmaps/ITEMS/PVISA.png" }
brightmap sprite PSTRA0 { map "Brightmaps/ITEMS/PSTRA0.png" }
brightmap sprite SUITA0 { map "Brightmaps/ITEMS/SUITA0.png" }
Binary file modified PBTEST.wad
Binary file not shown.
Binary file added SPRITES/ITEMS/Ammo/BROKA0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPRITES/ITEMS/Ammo/GSLNA0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file modified SPRITES/ITEMS/Spheres/MEGAA0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAB0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAC0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAD0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAE0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAF0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAG0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAH0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAI0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/MEGAJ0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULA0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULB0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULC0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULD0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULE0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULF0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULG0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULH0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULI0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/ITEMS/Spheres/SOULJ0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/SFX/DB61A0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/SFX/DB61B0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified SPRITES/SFX/DB61C0.png
Binary file modified SPRITES/SFX/DB61D0.png
Binary file modified SPRITES/SFX/DB61E0.png
Binary file modified SPRITES/SFX/DB61F0.png
Binary file modified SPRITES/SFX/DB61G0.png
Binary file modified SPRITES/SFX/DB61H0.png
Binary file removed SPRITES/SFX/DB61I0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61J0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61K0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61L0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61M0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61N0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61O0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61P0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61Q0.png
Diff not rendered.
Binary file removed SPRITES/SFX/DB61R0.png
Diff not rendered.
Binary file removed SPRITES/WEAPONS/Misc/GSLNA0.png
Diff not rendered.
Diff not rendered.
6 changes: 3 additions & 3 deletions actors/Items/Powerups/SpecialPowerups.dec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Actor UpgradeSpawner
BackpackSpawn:
TNT1 A 0

TNT1 A 0 A_SpawnItemEx("PB_HeavyBackpack",0,0,0,0,0,0,0,288)
//TNT1 A 0 A_SpawnItemEx("PB_HeavyBackpack",0,0,0,0,0,0,0,288)
Stop

SpawnLMG:
Expand Down Expand Up @@ -88,8 +88,8 @@ Actor UpgradeSpawner
SpawnDeagle:
TNT1 A 0
TNT1 A 1 A_JumpIf(GetCvar("pb_nodeagle"), "BackpackSpawn")
TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_RadiusGive("IsNearRevolver", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearRevolver", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_Deagle",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
}
Expand Down
2 changes: 1 addition & 1 deletion actors/Monsters/T2-Pinkies/SPECTRE.dec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ damagefactor "Blood", 0.0 damagefactor "BlueBlood", 0.0 damagefactor "GreenBlood
DamageType Eat
MaxStepHeight 48
MaxDropOffHeight 48
DropItem "NewBlurSphere" 2
DropItem "PB_BlurSphere" 2
RenderStyle Add
Alpha 0.45
Obituary "%o has been sodomized by a Spectre."
Expand Down
2 changes: 1 addition & 1 deletion actors/Monsters/T2-Pinkies/VOIDSPECTRE.dec
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ACTOR PB_VoidSpectre: PB_Demon Replaces Spectre
DamageType Eat
MaxStepHeight 48
MaxDropOffHeight 48
DropItem "NewBlurSphere" 3
DropItem "PB_BlurSphere" 3
Obituary "%o was devoured by a Void Spectre."
DropItem "Demonpickup" 100
+NOBLOODDECALS
Expand Down
18 changes: 10 additions & 8 deletions actors/Player/PLAYER.dec
Original file line number Diff line number Diff line change
Expand Up @@ -521,27 +521,27 @@ ACTOR Doomer : PlayerPawnBase Replaces DoomPlayer
//WEAPON SLOTS FOR THIS PLAYER CLASS

Player.WeaponSlot 1, PB_Axe, PB_Chainsaw , Melee_Attacks
Player.WeaponSlot 2, PB_Pistol, PB_Revolver, PB_MP40, PB_SMG
Player.WeaponSlot 2, PB_Pistol, PB_Revolver, PB_SMG, PB_MP40
Player.WeaponSlot 3, PB_Shotgun , PB_AutoShotgun, PB_SSG
Player.WeaponSlot 4, Rifle, PB_Carbine, PB_ChexRifle
Player.WeaponSlot 5, PB_Minigun, PB_Nailgun, PB_MG42
Player.WeaponSlot 6, PB_SuperGL , PB_RocketLauncher
Player.WeaponSlot 7, PB_M1Plasma, PB_M2Plasma
Player.WeaponSlot 8, PB_CryoRifle , PB_Railgun
Player.WeaponSlot 9, PB_Unmaker, PB_BFG9000
Player.WeaponSlot 0, PB_Flamethrower , Hell_rifle
Player.WeaponSlot 8, PB_CryoRifle , PB_Flamethrower
Player.WeaponSlot 9, PB_Railgun, PB_BFG9000
Player.WeaponSlot 0, Hell_Rifle, PB_Unmaker

Player.StartItem "PB_PDAWeaponContainer",1
Player.StartItem "Rifle"
Player.StartItem "PB_Pistol"
Player.StartItem "Melee_Attacks"
Player.StartItem "CarbineFullAuto"
Player.StartItem "NewClip", 90
Player.StartItem "PB_HighCalMag", 90
Player.StartItem "RifleAmmo", 31
Player.StartItem "LeftRifleAmmo", 31
Player.StartItem "PrimaryPistolAmmo", 16
Player.StartItem "SecondaryPistolAmmo", 16
Player.StartItem "PistolBullets", 60
Player.StartItem "PB_LowCalMag", 60
Player.StartItem "ShotgunAmmo", 9
Player.StartItem "AutoShotgunAmmo", 12
Player.StartItem "LeftASGAmmo",12
Expand Down Expand Up @@ -575,8 +575,8 @@ ACTOR Doomer : PlayerPawnBase Replaces DoomPlayer
Player.StartItem "CryoRifleAmmo", 60
Player.StartItem "HasBuckShot", 1 //Added for proper SG ammo type sorting
Player.StartItem "FragGrenadeSelected", 1
Player.StartItem "HandGrenadeAmmo", 3
Player.StartItem "MiniHellRocketAmmo", 4
Player.StartItem "PB_GrenadeAmmo", 3
Player.StartItem "PB_QuickLauncherAmmo", 4
Player.StartItem "IsPlayingAsProjectBrutality", 1
Player.StartItem "FlamerAmmo", 90
Player.JumpZ 7.4
Expand All @@ -600,13 +600,15 @@ ACTOR Doomer : PlayerPawnBase Replaces DoomPlayer
MARN A 1
StandStill:
MARN A 0
/*
TNT1 A 0
{
if (Height < 54)
{
A_GiveInventory("IsCrouching",1);
}
}
*/
TNT1 A 0 A_Changeflag("NOPAIN", false)
TNT1 A 0 A_TakeInventory("DoNotJump",1)
TNT1 A 0 A_ChangeFlag("PICKUP", true)
Expand Down
2 changes: 1 addition & 1 deletion actors/SPAWNERS/WeaponSpawners/BFG9000WeaponSpawners.dec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Actor BFGWeaponSpawner : SpawnerBase replaces BFG9000
ReplaceToggle:

ReplaceVanilla:
TNT1 A 1 A_RadiusGive("IsNearBFG", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearBFG", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_BFG9000",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnBuzzsaw:
Expand Down
14 changes: 7 additions & 7 deletions actors/SPAWNERS/WeaponSpawners/ChaingunWeaponSpawners.dec
Original file line number Diff line number Diff line change
Expand Up @@ -70,32 +70,32 @@ Actor ChaingunWeaponSpawner Replaces Chaingun
TNT1 A 0 A_Jump(256, "SpawnPBMinigun")
SpawnLMG:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleLMG",0)
TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_LMG",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnHDMR:
TNT1 A 1
TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("RifleUpgrade",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnTriMinigun:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleMinigunUpgrade", 0, 0, 0, 0)
TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_MinigunUpgrade",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPBCarbine:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponCarbine",0)
TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DropedCarbine",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPBNailgun:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponPB_Nailgun",0)
TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DroppedPB_Nailgun",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnSMG:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponSMG",0)
TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DropedSMG",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPBMinigun:
Expand All @@ -105,7 +105,7 @@ Actor ChaingunWeaponSpawner Replaces Chaingun
ReplaceToggle:
BackpackSpawn: //For the upgrade spawner because I'm lazy
TNT1 A 0 A_SpawnItemEx("DropedMinigun",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
TNT1 A 0 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearHighCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
Stop
SpawnBuzzsaw:
TNT1 A 0 A_Jump(150,"SkipNaziCheck")
Expand Down
12 changes: 6 additions & 6 deletions actors/SPAWNERS/WeaponSpawners/PlasmaRifleWeaponSpawners.dec
Original file line number Diff line number Diff line change
Expand Up @@ -72,34 +72,34 @@ Actor PlasmaWeaponSpawner replaces PlasmaRifle
TNT1 A 0 A_Jump(256, "SpawnPB_PlasmaRifle")
SpawnPB_Railgun:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponRailgun",0)
TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_Railgun",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_CryoRifle:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponFreezer",0)
TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_CryoRifle",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_M2Plasma:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponM2Plasma",0)
TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DropedM2Plasma",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_LightningGun:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponM2Plasma",0)
TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_M2Upgrade",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_Flamethrower:
TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_Flamethrower",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_PlasmaRifle:
ReplaceVanilla:
ReplaceToggle:

ReplaceVanilla:
TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearPlasmaWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DropedPlasma",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Actor LauncherWeaponSpawner replaces RocketLauncher
TNT1 A 0 A_Jump(256, "SpawnPB_RocketLauncher")
SpawnPB_SuperGrenadeLauncher:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponSuperGL",0)
TNT1 A 1 A_RadiusGive("IsNearSpecialGrenadeLauncher", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearSpecialGrenadeLauncher", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_SuperGL",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_RocketLauncher:
Expand All @@ -59,7 +59,7 @@ Actor LauncherWeaponSpawner replaces RocketLauncher

ReplaceVanilla:
TNT1 A 0 A_SpawnItemEx("PB_RocketLauncher",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
TNT1 A 0 A_RadiusGive("IsNearRocketLauncher", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearRocketLauncher", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
Stop
SpawnBuzzsaw:
TNT1 A 0 A_Jump(190,"SkipNaziCheck")
Expand Down
14 changes: 7 additions & 7 deletions actors/SPAWNERS/WeaponSpawners/ShotgunWeaponSpawners.dec
Original file line number Diff line number Diff line change
Expand Up @@ -68,26 +68,26 @@ Actor ShotgunWeaponSpawner replaces Shotgun
return A_Jump(256,1);
}
TNT1 A 1 ACS_NamedExecuteAlways("ToggleDragonBreathUpgrade", 0, 0, 0, 0)//Check if Upgrades are disabled
TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_SGMagazine",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnASG:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponASG",0)
TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DropedASG",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnPB_Revolver:
TNT1 A 0 A_JumpIf(GetCvar("pb_nodeagle"), 2)
TNT1 A 0 A_Jump(96, "SpawnDeagle")
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponRevolver",0)
TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_RadiusGive("IsNearRevolver", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearRevolver", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("DropedPB_Revolver",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnDeagle:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleWeaponRevolver",0)
TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_RadiusGive("IsNearRevolver", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearLowCalWeapon", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearRevolver", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_Deagle",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnNormalShotgun:
Expand All @@ -104,7 +104,7 @@ Actor ShotgunWeaponSpawner replaces Shotgun
return A_Jump(256,1);
}
TNT1 A 0 A_SpawnItemEx("PB_Shotgun",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
TNT1 A 0 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
Stop
SpawnSSGClass:
TNT1 A 1 A_SpawnItemEx("SSGWeaponSpawner",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Expand Down
6 changes: 3 additions & 3 deletions actors/SPAWNERS/WeaponSpawners/SuperShotgunWeaponSpawners.dec
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Actor SSGWeaponSpawner replaces SuperShotgun
TNT1 A 0 A_Jump(256,"SpawnSSG")
SpawnQuadSSG:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleQuadSSG", 0, 0, 0, 0)
TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_QuadSG",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnASGDrumMag:
TNT1 A 1 ACS_NamedExecuteAlways("ToggleAutoshotgunUpgrade", 0, 0, 0, 0)
TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 1 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
TNT1 A 0 A_SpawnItemEx("PB_AutoshotgunUpgrade",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
Stop
SpawnSSG:
Expand All @@ -59,7 +59,7 @@ Actor SSGWeaponSpawner replaces SuperShotgun

ReplaceVanilla:
TNT1 A 0 A_SpawnItemEx("DropedPB_SSG",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
TNT1 A 0 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
//TNT1 A 0 A_RadiusGive("IsNearShotgun", 480, RGF_GIVESELF | RGF_CUBE | RGF_MONSTERS | RGF_ITEMS | RGF_NOSIGHT, 1)
Stop
}
}
6 changes: 3 additions & 3 deletions actors/Weapons/Slot6/PLASMA.dec
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ ACTOR PB_M1PlasmaPickup : PB_UpgradeItem
// the M1 Plasma pickup from happen if the ammo count is full.
Pickup:
TNT1 A 0 {
if(CountInv("PB_Cell") == 300 && CountInv("PB_M1Plasma") >=3 && CountInv("GotAPack") < 1 && CountInv("GotAPack_h") < 1) {
if(CountInv("PB_Cell") == 300 && CountInv("PB_M1Plasma") >=3 ) {
return state("FullAmmo");
}
else if(CountInv("PB_Cell") == 600 && CountInv("PB_M1Plasma") >=3 && CountInv("GotAPack") >= 1 && CountInv("GotAPack_h") < 1) {
else if(CountInv("PB_Cell") == 600 && CountInv("PB_M1Plasma") >=3 ) {
return state("FullAmmo");
}
else if(CountInv("PB_Cell") == 800 && CountInv("PB_M1Plasma") >=3 && CountInv("GotAPack") >= 1 && CountInv("GotAPack_h") >= 1) {
else if(CountInv("PB_Cell") == 800 && CountInv("PB_M1Plasma") >=3 ) {
return state("FullAmmo");
}
return state("");
Expand Down
2 changes: 1 addition & 1 deletion actors/Weapons/Slot7/RAILGUN.dec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ACTOR PB_Railgun : PB_Weapon
Weapon.AmmoType2 "RailgunAmmo"
Obituary "%o was pierced by %k's Railgun."
Inventory.PickupSound "PLSDRAW"
Inventory.Pickupmessage "You got the UAC-MKIII Railgun! (Slot 8)"
Inventory.Pickupmessage "You got the UAC-MKIII Railgun! (Slot 9)"
+WEAPON.NOAUTOAIM
+WEAPON.NOAUTOFIRE
+WEAPON.NOALERT
Expand Down
4 changes: 2 additions & 2 deletions actors/Weapons/Slot9/Flamethrower.dec
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Actor PB_FlamethrowerUpgrade : CustomInventory
+INVENTORY.ALWAYSPICKUP
Inventory.PickupSound "FLMDRAW"
Scale 0.5
Inventory.PickupMessage "You got the UAC-M3 Flamethrower upgrade! (Slot 0)"
Inventory.PickupMessage "You got the UAC-M3 Flamethrower upgrade! (Slot 8)"
States
{
Spawn:
Expand Down Expand Up @@ -229,7 +229,7 @@ ACTOR PB_Flamethrower : PB_Weapon
+WEAPON.NOAUTOAIM
+FLOORCLIP
+DONTGIB
Inventory.PickupMessage "You got the UAC-M3 Flamethrower! (Slot 0)"
Inventory.PickupMessage "You got the UAC-M3 Flamethrower! (Slot 8)"
Tag "UAC-M3 Flamethrower"
States
{
Expand Down
2 changes: 1 addition & 1 deletion actors/Weapons/Slot9/Unmaker.dec
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ACTOR PB_Unmaker : PB_Weapon
+WEAPON.NOAUTOFIRE
+WEAPON.AMMO_OPTIONAL
scale .5
Inventory.PickupMessage "You got the sinister Unmaker, the penultimate wrath of Hell itself. (Slot 9)"
Inventory.PickupMessage "You got the sinister Unmaker, the penultimate wrath of Hell itself. (Slot 0)"
PB_WeaponBase.respectItem "RespectUnmaker"
States
{
Expand Down
File renamed without changes
1 change: 1 addition & 0 deletions doomdefs.bm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include BMAP/Ammo.txt
#include BMAP/Armor.txt
#include BMAP/Shields.txt
#include BMAP/Powerups.txt

//Weapons
//Slot 2
Expand Down
Loading

0 comments on commit 2814140

Please sign in to comment.