Raised This Month: $252 Target: $400
 63% 

[TF2] Engineer's Workshop


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SirDigby
Junior Member
Join Date: Feb 2016
Plugin ID:
5232
Plugin Version:
1.0.12b
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Customise the Engineer's Buildings in various ways.
    Old 06-07-2016 , 06:16   [TF2] Engineer's Workshop
    Reply With Quote #1

    [TF2] Engineer's Workshop
    v1.0.12 BETA




    Please Note: This plugin is still in a beta phase.
    It is
    CURRENTLY STABLE but there are still minor bugs here and there.
    If you're going to install it anyway, please make sure to have the
    Updater plugin too in order to receive any of the patches I'll be releasing shortly.


    Description:
    Combines the functionality of several plugins specifically for the engineer's buildings. Giving you the ability to:
    • Resize Buildings
    • Damage Scaling for Resized Buildings
    • Set Outlines
    • Set Color
    • Toggle Friendly Sentry Mode
    • Toggle Infinite Ammo
    • Toggle No-Sap
    • Toggle Damage-Scaling
    • Toggle Godmode
    • Teleport Buildings to Crosshair


    The plugin has Overrides to limit access to all Main Menu items, and each Abilities Menu item.
    As well as a CVar to set non-admin limits for resizing buildings.

    If you want, you can also customise the list of colors. Located in engieshop_colors.cfg
    It comes with a default list of 16 colors, and supports 32 in total.



    Installation:
    Extract contents of Engineer's Workshop.zip into /addons/sourcemod/

    Alternatively:
    Install engineersworkshop.smx into /addons/sourcemod/plugins/
    If you instead click “Get Plugin” on the source file, you will not have Updater support!
    Install engieshop_colors.cfg into /addons/sourcemod/configs/
    Install engineersworkshop.phrases.txt into /addons/sourcemod/translations/
    – This will only include english as a language!



    Command List:
    sm_engieshop (Default Flag: b or GENERIC)
    Command to open the Engineer's Workshop Main Menu. The below commands are all available on here.
    sm_rb (Default Flag: b or GENERIC)
    Command to open the Resize Building Menu. Allows Access to Main Menu Option too.
    sm_friendlysentry (Default Flag: b or GENERIC)
    Command to toggle Friendly Sentry Mode. Allows Access to Main Menu Option too.
    sm_buildingoutline (Default Flag: b or GENERIC)
    Command to open the Building Outline Menu. Allows Access to Main Menu Option too.
    sm_engieshop_reload (Default Flag: z or ROOT)
    Command to reload the Color Buildings Config.


    Override List:
    sm_engieshop_color(Default Flag: b or GENERIC)
    Allow access to the Color Buildings option on the main menu.
    sm_engieshop_scale_admin (Default Flag: d or BAN)
    Allow full selection of sizes on the Resize Building Menu.
    sm_engieshop_damage_admin (Default Flag: d or BAN)
    Will be considered an Admin for the Damage-Scaling Cvars
    sm_engieshop_abilities (Default Flag: b or GENERIC)
    Allow access to Abilities Option on Main Menu
    sm_engieshop_ability_ammo (Default Flag: d or BAN)
    Allow access to Infinite Ammo Ability.
    sm_engieshop_ability_nosap (Default Flag: d or BAN)
    Allow access to No-Sap Ability.
    sm_engieshop_ability_god (Default Flag: d or BAN)
    Allow access to Godmode Ability.
    sm_engieshop_ability_dmgtoggle(Default Flag: d or BAN)
    Allow access to Damage Scale Toggle Ability.
    sm_engieshop_ability_tele (Default Flag: d or BAN)
    Allow access to Teleport to Crosshair Ability.


    Cvar List:
    dig_engieshop_version
    Plugin Version – Do NOT Touch.

    sm_engieshop_enabled (Default Value: 1)
    0 – Disabled
    1 – Enabled
    sm_engieshop_scale_bounds (Default Value: “0.25;1.25”)
    Lower and Upper Resize limits for Non-Admins.
    sm_engieshop_collision (Default Value: 1)
    How Resized buildings collide with Players.
    0
    Disabled.
    1 – Ignore Other Players.
    2 – Ignore Other Players, Except for Teleporters.
    sm_engieshop_autoupdate (Default Value: 1)
    Update this plugin Automatically
    (Requires Updater)
    0 – Disabled.
    1 – Enabled.
    sm_engieshop_damage_upscale (Default Value: 0)
    Default setting for Up-Scaling a Resized building’s damage.
    0 – No Up-Scaling.
    1 – Up-Scales for Admins.
    2 – Up-Scales for Non-Admins.
    3 – Up-Scales for Everyone.
    sm_engieshop_damage_downscale (Default Value: 3)
    Default setting for Down-Scaling a Resized building’s damage.
    0 – No Down-scaling.
    1 – Down-scales for Admins.
    2 – Down-scales for Non-Admins.
    3 – Down-scales for Everyone.
    sm_engieshop_cooldown (Default Value: 0.2)
    Cooldown Time for Most Menu-Based Functions in fractions of a second.
    sm_engieshop_color_file (Default Value: “engieshop_colors”)
    Config File for list of Building Colors.



    Changelog:

    Code:
    * v1.0b - Initial Release.
    * v1.0.1b – Changed Version Number Format. Fixed Minor Typos. Updated Color List.
    * v1.0.2b – Patched Numerous Bugs. Fixed Overrides.
    * v1.0.3b – Fixed Outline Menu Bug.
    * v1.0.4b – Fixed Typo in Zero-out loop during OnPluginStart().
    * v1.0.5b – Major Bug Fixes. Added Default Damage-Scaling Cvars. Added sm_engieshop_reload.
    * v1.0.6b – Fixed Godmode not applying properly.
    * v1.0.7b – Fixed Friendly Sentry not blocking Building v Building damage.
    * v1.0.8b – Fixed g_flLastCommand not resetting when a client disconnects.
    * v1.0.9b – Fixed Friendly Sentry removing colors. Fixed a few invalid entity errors.
    * v1.0.10b – Fixed Color Building removing Friendly Sentry alpha setting.
    * v1.0.11b – Fixed Dispenser’s VGUI displaying incorrectly. Credit to pheadxdll.
    * v1.0.12b – Added Spanish Translation. Credit to my friend Rabi.



    Known Bugs:
    • Resized Buildings: When set to default, the hitbox wont revert. This can cause teammates to get stuck in teleporters, and enemies to get stuck in dispensers and sentries.
    • Resized buildings allow you to build inside them. This can be used to trap players.
    • Friendly Sentries can be used as shields from hitscan weapons.
    Please let me know if anything else is broken. I haven’t had a chance to test everything yet.


    Disclaimer:
    I've never attempted to do a project this large before, there's almost certainly bugs. Especially considering this is a beta version. I recommend having the Updater plugin so you can receive patches for any that are found.




    Attached Files
    File Type: zip Engineer's Workshop.zip (47.7 KB, 245 views)
    File Type: smx engineerworkshop.smx (29.0 KB, 85 views)
    File Type: sp Get Plugin or Get Source (engineerworkshop.sp - 72 views - 78.2 KB)
    File Type: cfg engieshop_colors.cfg (910 Bytes, 77 views)
    File Type: txt engineerworkshop.phrases.txt (5.2 KB, 79 views)

    Last edited by SirDigby; 06-18-2016 at 08:21. Reason: Fixing Text.
    SirDigby is offline
    Billy Joe Cobra
    Member
    Join Date: Dec 2014
    Old 06-10-2016 , 13:04   Re: [TF2] Engineer's Workshop
    Reply With Quote #2

    there is a bug, when the Dispensers are big or small, the fuelscreen will extend over the frame of the Dispenser
    Billy Joe Cobra is offline
    SirDigby
    Junior Member
    Join Date: Feb 2016
    Old 06-11-2016 , 05:34   Re: [TF2] Engineer's Workshop
    Reply With Quote #3

    Quote:
    Originally Posted by Billy Joe Cobra View Post
    there is a bug, when the Dispensers are big or small, the fuelscreen will extend over the frame of the Dispenser
    Yeah, that's a known issue. But I haven't found any sort of fix to it on the forums.
    SirDigby is offline
    pheadxdll
    AlliedModders Donor
    Join Date: Jun 2008
    Old 06-11-2016 , 10:42   Re: [TF2] Engineer's Workshop
    Reply With Quote #4

    The dispenser screen scales properly in stop that tank: link
    __________________
    pheadxdll is offline
    SirDigby
    Junior Member
    Join Date: Feb 2016
    Old 06-12-2016 , 04:57   Re: [TF2] Engineer's Workshop
    Reply With Quote #5

    Quote:
    Originally Posted by pheadxdll View Post
    The dispenser screen scales properly in stop that tank: link
    Thank you for that! I knew there had to be a property to change somewhere, but I didnt know what the classname was. Fixed and credited.
    SirDigby is offline
    cheeto1
    Junior Member
    Join Date: May 2016
    Old 06-21-2016 , 13:18   Re: [TF2] Engineer's Workshop
    Reply With Quote #6

    Very nice plugins, haven't seen any bugs yet
    cheeto1 is offline
    Pala4
    Member
    Join Date: Dec 2007
    Old 07-18-2017 , 13:04   Re: [TF2] Engineer's Workshop
    Reply With Quote #7

    You ask me why I made mistakes, everything worked before, and now log

    L 07/18/2017 - 17:43:52: [SM] Exception reported: Property "m_flModelScale" not found (entity 989/instanced_scripted_scene)
    L 07/18/2017 - 17:43:52: [SM] Blaming: engineerworkshop.smx
    L 07/18/2017 - 17:43:52: [SM] Call stack trace:
    L 07/18/2017 - 17:43:52: [SM] [0] SetEntPropFloat
    L 07/18/2017 - 17:43:52: [SM] [1] Line 1927, G:\SteamCMD\tf2\tf\addons\sourcemod\scripting \engineerworkshop.sp::ScaleActiveBuilding
    L 07/18/2017 - 17:43:52: [SM] [2] Line 1905, G:\SteamCMD\tf2\tf\addons\sourcemod\scripting \engineerworkshop.sp::SetBuildingScale
    L 07/18/2017 - 17:43:52: [SM] [3] Line 1785, G:\SteamCMD\tf2\tf\addons\sourcemod\scripting \engineerworkshop.sp::SetAllBuildingScale
    L 07/18/2017 - 17:43:52: [SM] [4] Line 1065, G:\SteamCMD\tf2\tf\addons\sourcemod\scripting \engineerworkshop.sp::ScaleHandler
    Pala4 is offline
    Pala4
    Member
    Join Date: Dec 2007
    Old 05-11-2018 , 08:39   Re: [TF2] Engineer's Workshop
    Reply With Quote #8

    The plug-in was abandoned, although the plug-in is good, can someone fix it?

    L 05/11/2018 - 157:05: [SM] Exception reported: Array index is out of bounds
    L 05/11/2018 - 157:05: [SM] Blaming: engineerworkshop.smx
    L 05/11/2018 - 157:05: [SM] Call stack trace:
    L 05/11/2018 - 157:05: [SM] [1] Line 577, G:\SteamCMD\tf2\tf\addons\sourcemod\scripting \engineerworkshop.sp::OnTakeDamage
    Pala4 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 04:42.


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