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

[TF2] Soldier Tribute Statue Spawner


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MrSkullbeef
Junior Member
Join Date: May 2013
Location: Sweden
Plugin ID:
7076
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Adds the Soldier Tribute Statue to non-official TF2 maps
    Old 05-01-2020 , 20:51   [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #1

    Today, Valve added a Soldier statue as a tribute to the voice actor Rick May who passed away earlier in April. The statues are present on every official TF2 map for the duration of May, but not on community maps unless someone manually puts them there. So I figured I'd quickly make a plugin to make that happen.

    To install, simply put rick_statue.smx in your plugins folder, and create a file called rick_statue.txt in your configs folder, with the following format:

    HTML Code:
    "RickStatue"
    {
            "trade_map1"
            {
                    "x_origin" "-795.0"
                    "y_origin" "-1200.0"
                    "z_origin" "-11135"
                    "x_angle" "0.0"
                    "y_angle" "90.0"
                    "z_angle" "0.0"
            }
            "trade_map2"
            {
                    "x_origin" "-326.0"
                    "y_origin" "502.0"
                    "z_origin" "-351"
                    "x_angle" "0.0"
                    "y_angle" "-180.0"
                    "z_angle" "0.0"
            }
    }
    The coordinates and viewing angles can easily be retrieved using this plugin, or simply using getpos in console. If you do the latter, you will need to resize yourself to a size close to 0, or the z coordinate will be wrong (it'll be on eye-level height instead of on the ground).
    Attached Files
    File Type: sp Get Plugin or Get Source (rick_statue.sp - 527 views - 1.2 KB)
    File Type: smx rick_statue.smx (4.5 KB, 182 views)

    Last edited by MrSkullbeef; 05-02-2020 at 15:04.
    MrSkullbeef is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 05-02-2020 , 01:56   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #2

    Confirmed working. Nice Job!
    PC Gamer is offline
    epicwindow
    Senior Member
    Join Date: Jan 2018
    Old 05-02-2020 , 04:00   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #3

    hmm is it possible to automatically put one at spawns?
    __________________
    My FF2 server @[]
    TL;DR my server aims for quality then quantity
    epicwindow is offline
    Mr_panica
    Senior Member
    Join Date: Jan 2017
    Location: Russia, Saint-Petersburg
    Old 05-02-2020 , 07:57   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #4

    I did this initially with the hexprops plugin and the PhysicsGun plugin.
    But now I transferred the coordinates to this plugin, thanks)
    __________________
    Sorry for my English.
    Mr_panica is offline
    B_CANSIN
    Senior Member
    Join Date: Aug 2011
    Location: B_CANSIN's SERVERS
    Old 05-02-2020 , 14:42   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #5

    hmm also can you add to compiled .smx ?
    Because of
    Plugin failed to compile! Please try contacting the author.
    B_CANSIN is offline
    MrSkullbeef
    Junior Member
    Join Date: May 2013
    Location: Sweden
    Old 05-02-2020 , 15:04   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #6

    Quote:
    Originally Posted by B_CANSIN View Post
    hmm also can you add to compiled .smx ?
    Because of
    Plugin failed to compile! Please try contacting the author.
    I think the "Get Plugin" works now, but in case it doesn't I also uploaded the compiled .smx.
    MrSkullbeef is offline
    B_CANSIN
    Senior Member
    Join Date: Aug 2011
    Location: B_CANSIN's SERVERS
    Old 05-02-2020 , 15:53   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #7

    Quote:
    Originally Posted by MrSkullbeef View Post
    I think the "Get Plugin" works now, but in case it doesn't I also uploaded the compiled .smx.
    Thank you also this so great plunig to have its meaningfull
    heres test image
    B_CANSIN is offline
    Sappykun
    Member
    Join Date: Nov 2019
    Old 05-03-2020 , 02:04   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #8

    I edited this plugin to add the ability to spawn a statue wherever you're looking. It also prints the coordinates of the placed statue so you can add it more easily to the config file.

    Uses a bit of code copied from Coordinate Printer.

    I may build on this later, or if someone else want to take a stab, they can go for it. I think this L4D2 Respawn Rescue Closet plugin would be a good resource, since it's the same general idea but with portapotties.

    Here's what I was planning on adding/my feature request list:
    • Automatically update and save the config file when a statue is placed
    • Allow for more than one statue per map
    • Allow statues to be removed from a map
    Attached Files
    File Type: sp Get Plugin or Get Source (rick_statue_eyepos.sp - 433 views - 2.5 KB)
    Sappykun is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 05-03-2020 , 15:08   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #9

    Works great Sappykun. Thanks! I look forward to the option to remove a statue, even if it is the one you just placed, or maybe the one you are currently looking at.

    Issue: You place a statue to get coordinates, but the placement isn't quite right. You want to place it again but the first statue is in the way.

    Proposed solution: Add a command to remove the statue you are looking at.
    PC Gamer is offline
    DrFallen
    AlliedModders Donor
    Join Date: Jul 2013
    Location: ./root
    Old 06-07-2020 , 15:59   Re: [TF2] Soldier Tribute Statue Spawner
    Reply With Quote #10

    Has anyone found a way to just spawn the statue in the official maps without finding co-ords now that Valve has disabled it.
    DrFallen 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:21.


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