Raised This Month: $51 Target: $400
 12% 

[TF2] Building Size Randomizer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Plugin ID:
3894
Plugin Version:
1.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Upon building placed, gives it a random size
    Old 09-09-2013 , 13:56   [TF2] Building Size Randomizer
    Reply With Quote #1

    [TF2] Building Size Randomizer

    Description:

    On every building placement randomizes the buildings size

    Cvars:

    sm_buildingresizer_enabled (default: 1) Enable/Disable Plugin
    sm_resizesentry_enabled (deafault: 1) Resize Sentries?
    sm_resizedispenser_enabled (deafault: 1) Resize Dispensers?
    sm_resizeteleporter_enabled (default: 1) Resize Teleporters?
    sm_building_minsize (default: 0.6) Min size the building can randomly get scaled to.
    sm_building_maxsize (default: 2.0) Max size the building can randomly get scaled to.

    Overrides:
    sm_resizebuilding_access - Default "everyone" Players with access to this will be able to have a random building size.

    Changelog:
    • Version 1.0 Initial release.
    • Version 2.0 Did what Asherkin suggested & added the long waited override support
    Attached Files
    File Type: sp Get Plugin or Get Source (buildingresize.sp - 2803 views - 5.2 KB)

    Last edited by Pelipoika; 11-13-2013 at 11:28. Reason: Update
    Pelipoika is offline
    machede
    Member
    Join Date: Nov 2011
    Location: Italia
    Old 09-09-2013 , 13:57   Re: [TF2] Building Size Randomizer
    Reply With Quote #2

    beautiful
    machede is offline
    machede
    Member
    Join Date: Nov 2011
    Location: Italia
    Old 09-09-2013 , 14:16   Re: [TF2] Building Size Randomizer
    Reply With Quote #3

    sm_resizedispenser_enabled 2.0
    character lock on dispenser
    machede is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 09-09-2013 , 14:22   Re: [TF2] Building Size Randomizer
    Reply With Quote #4

    Quote:
    Originally Posted by machede View Post
    sm_resizedispenser_enabled 2.0
    character lock on dispenser
    Do you mean the building is so big you get stuck in it?
    yeah that happens
    Pelipoika is offline
    captaindeterprimary
    AlliedModders Donor
    Join Date: Sep 2012
    Old 09-09-2013 , 16:48   Re: [TF2] Building Size Randomizer
    Reply With Quote #5

    Mother of god...
    __________________
    Last edited by ; Today at 08:20 AM. Reason: Get rid of s
    captaindeterprimary is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 09-09-2013 , 16:52   Re: [TF2] Building Size Randomizer
    Reply With Quote #6

    Can you make a plugin so we can resize buildings we aim at or all?
    __________________
    luki1412 is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    Old 09-10-2013 , 00:17   Re: [TF2] Building Size Randomizer
    Reply With Quote #7

    Quote:
    Originally Posted by luki1412 View Post
    Can you make a plugin so we can resize buildings we aim at or all?
    Should be fairly easy to do. Just convert the random function into an actual command.

    You could probably check out the Resize Players plugin, modify that plugin and pop in the functions from this one.
    404UserNotFound is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 09-10-2013 , 00:46   Re: [TF2] Building Size Randomizer
    Reply With Quote #8

    Quote:
    Originally Posted by Pelipoika View Post
    Do you mean the building is so big you get stuck in it?
    yeah that happens
    There was a netprop that allowed you to set the collision so you don't get stuck on it, i just don't remember.
    __________________
    Chaosxk is offline
    Bjorngomes
    Member
    Join Date: Jun 2013
    Old 09-10-2013 , 04:37   Re: [TF2] Building Size Randomizer
    Reply With Quote #9

    Oh My God.... HUGE BUILDINGS Engineer did it!
    Bjorngomes is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 09-10-2013 , 08:32   Re: [TF2] Building Size Randomizer
    Reply With Quote #10

    Thrs a few for buildables. I think there is a special ne.. Like buildingvecs.. Which im not sure what it does exactly, it might be responsible for teleporting players out of buildables and on top of them when they get stuck inside.

    You can resize the buildable by changing its surroundingvecmns/maxs or specifiedsurroundinfvecmins/maxs.. Smething like that. i remember doing this a while ago when I was making mini level 3 sentries

    Ran into a problem with dispensers though, don't remember exactly what it was, but something didn't play nice with them. I also remember making a mod to align buildables to ground normals.. No good. Sentries get messed up, and dispensers, while they work, get stuck even with some trace work :/
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    Reply



    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 01:26.


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