Raised This Month: $ Target: $400
 0% 

[TF2] Toastmaster code cleanup


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 10-05-2022 , 15:02   [TF2] Toastmaster code cleanup
Reply With Quote #1

Can you recommend any code cleanup or feature enhancement for this plugin?

I'm in the process of cleaning up Halloween plugins in preparation for Scream Fortress. This plugin works just fine as-is. However, if you have any tips for code cleanup or feature ideas I'd love to hear them. I'm eager to learn.

Note: Credit for the Toastmaster model goes to MegapiemanPHD, creator of the TF2 map 'Sinthetic' which is where I obtained the model.

Current plugin functionality:
Target player becomes the Toastmaster (boss from map called 'Sinthetic'). Changes to gray team and can attack players on RED and BLU team. Changes to sniper class with Toastmaster player model. Removes all weapons and uses fists to melee attack. Can cast unlimited lightning spells. Melee attacks have increased range and instantly kills victim.

Command: !betoastmaster (target)

Plugin dependency: TF2Attributes by the talented nosoop. Here's a link: https://github.com/nosoop/tf2attributes

Video of Be the Toastmaster Plugin:


Installation:
Place betoastmaster.txt file in your /sourcemod/gamedata/ folder
Place betoastmaster.smx file in your /sourcemod/plugins/ folder
Change map
Attached Files
File Type: txt betoastmaster.txt (339 Bytes, 27 views)
File Type: sp Get Plugin or Get Source (betoastmaster.sp - 36 views - 27.9 KB)
File Type: smx betoastmaster.smx (19.4 KB, 25 views)
PC Gamer is offline
 



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 21:03.


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