Raised This Month: $7 Target: $400
 1% 

[TF2] Zombies (v1.4 08Nov2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PC Gamer
Veteran Member
Join Date: Mar 2014
Plugin ID:
7626
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Allows players to become a Zombie. Allows Admins to make target players a Zombie.
Old 05-02-2021 , 14:58   [TF2] Zombies (v1.4 08Nov2022)
Reply With Quote #1

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
Attached Files
File Type: sp Get Plugin or Get Source (zombies.sp - 107 views - 8.2 KB)
File Type: smx zombies.smx (8.2 KB, 145 views)

Last edited by PC Gamer; 11-08-2022 at 18:41.
PC Gamer is offline
CrazyGhostRider
Member
Join Date: Apr 2014
Location: Russia
Old 05-05-2021 , 17:13   Re: [TF2] Zombies
Reply With Quote #2

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
CrazyGhostRider is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-05-2021 , 22:51   Re: [TF2] Zombies
Reply With Quote #3

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 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 10-11-2021 , 23:04   Re: [TF2] Zombies (v1.2 11Oct2021)
Reply With Quote #4

Plugin in original post updated to version 1.2 which removes the requirement for a separate gamedata file.

Enjoy!
PC Gamer is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 10-13-2021 , 05:40   Re: [TF2] Zombies
Reply With Quote #5

Quote:
Originally Posted by CrazyGhostRider View Post
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.

Last edited by 404UserNotFound; 10-13-2021 at 06:45.
404UserNotFound is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 04-14-2022 , 05:33   Re: [TF2] Zombies (v1.3 14Apr2022)
Reply With Quote #6

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.

Last edited by PC Gamer; 04-14-2022 at 05:35.
PC Gamer is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 11-08-2022 , 18:42   Re: [TF2] Zombies (v1.4 08Nov2022)
Reply With Quote #7

Plugin in original post updated to version 1.4

This version fixes a bug where Spy players would be partially invisible when disguising.
PC Gamer is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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