AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Zombies (v1.4 08Nov2022) (https://forums.alliedmods.net/showthread.php?t=332261)

PC Gamer 05-02-2021 14:58

[TF2] Zombies (v1.4 08Nov2022)
 
2 Attachment(s)
Description:
This plugin allows players to become a Zombie. Admins with the slay flag can target themselves or other players and make them become a Zombie. The Zombie is purely cosmetic and does not change player abilities.

Player Commands:
!zombie - Use this to toggle Zombie mode on or off
!zombies - (same as above) Use this to toggle Zombie mode on or off

Admin Commands:
!makezombie - Makes YOU a Zombie
!makezombie <target> - Makes target player a Zombie
!makezombies - Makes YOU a Zombie
!makezombies <target> - Makes target player a Zombie
!nozombie - Removes Zombie mode from YOU
!nozombie <target> - Removes Zombie mode from target
!nozombies - Removes Zombie mode from YOU
!nozombies <target> - Removes Zombie mode from target

Command Examples:
!zombie (makes YOU Zombie)
!makezombie Tony (makes player named Tony a Zombie)
!makezombie @red (makes all players on RED team Zombies)

Dependencies:
This plugin requires TF2Attributes by FlaminSarge. Here's a link: https://github.com/FlaminSarge/tf2attributes

Video of the Zombies plugin:


Installation:
Put zombies.smx into the folder: /sourcemod/plugins/
Change map

Change Log:
v1.4 08Nov2022: Fixed bug where Spy in disguise was missing legs.
v1.3 14Apr2022: Fixed bug where player was partly invisible after !nozombie command.
v1.2 11Oct2021: Removed gamedata dependency. No change in functionality.
v1.1 05May2021: Fixed bug identified by CrazyGhostRider.
v1.0 02May2021: Initial release

CrazyGhostRider 05-05-2021 17:13

Re: [TF2] Zombies
 
L 05/06/2021 - 00:12:54: [SM] Exception reported: Property "m_bValidatedAttachedEntity" not found (entity 1/player)
L 05/06/2021 - 00:12:54: [SM] Blaming: test\zombies.smx
L 05/06/2021 - 00:12:54: [SM] Call stack trace:
L 05/06/2021 - 00:12:54: [SM] [0] SetEntProp
L 05/06/2021 - 00:12:54: [SM] [1] Line 134, zombies.sp::Timer_Makezombie2

PC Gamer 05-05-2021 22:51

Re: [TF2] Zombies
 
Plugin in original post updated to version 1.1 which fixes the bug identified by CrazyGhostRider.

Thanks for providing the bug report CrazyGhostRider! You just taught me to review the error logs before releasing a plugin even if the plugin is working as intended.

PC Gamer 10-11-2021 23:04

Re: [TF2] Zombies (v1.2 11Oct2021)
 
Plugin in original post updated to version 1.2 which removes the requirement for a separate gamedata file.

Enjoy!

404UserNotFound 10-13-2021 05:40

Re: [TF2] Zombies
 
Quote:

Originally Posted by CrazyGhostRider (Post 2746047)
L 05/06/2021 - 00:12:54: [SM] Exception reported: Property "m_bValidatedAttachedEntity" not found (entity 1/player)
L 05/06/2021 - 00:12:54: [SM] Blaming: test\zombies.smx
L 05/06/2021 - 00:12:54: [SM] Call stack trace:
L 05/06/2021 - 00:12:54: [SM] [0] SetEntProp
L 05/06/2021 - 00:12:54: [SM] [1] Line 134, zombies.sp::Timer_Makezombie2

lol if you just run my spafixer plugin (https://github.com/404UNFca/TF2Serve...ttachmentFixer) you don't have to code in the validatedattachedentity fix in your own plugins. and if you still want to, just copy the code I did so it only fires on entities that actually have the netprop.

PC Gamer 04-14-2022 05:33

Re: [TF2] Zombies (v1.3 14Apr2022)
 
Plugin in original post updated to version 1.3.

This version fixes a bug where players would be partially invisible after using the command: !nozombie

This version is also SourceMod version 1.11 compatible.

PC Gamer 11-08-2022 18:42

Re: [TF2] Zombies (v1.4 08Nov2022)
 
Plugin in original post updated to version 1.4

This version fixes a bug where Spy players would be partially invisible when disguising.


All times are GMT -4. The time now is 21:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.