Monthly Target: $400 Donations: $126
 31% 

[TF2] Spawn fake halloween gift


Post New Thread Reply   
 
Thread Tools Display Modes
Author
jockersoft
Member
Join Date: Aug 2008
Plugin ID:
2041
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    20 
    Plugin Description:
    Spawns a fake halloween gift
    Old 10-30-2010 , 05:55   [TF2] Spawn fake halloween gift
    Reply With Quote #1

    Admins with the z flag can spawn fake halloween gifts where they are looking at.
    When a player touches a gift, the gift disappears and the player gets stunned.
    Firing at the gift will make it explode.

    Video showing it in action (skip to 1: 35)
    http://www.youtube.com/watch?v=0P7xqtQkAkY


    Commands:
    sm_fakegift - Spawn a fake halloween gift at your crosshair

    Requires SDK Hooks

    Credits:
    based on Geit's Horseless Headless Horsemann, which is based on pheadxdll's Pumpkins, which is based on...
    Attached Files
    File Type: smx fakegift.smx (5.0 KB, 1589 views)
    File Type: sp Get Plugin or Get Source (fakegift.sp - 937 views - 3.0 KB)

    Last edited by jockersoft; 10-30-2010 at 14:15.
    jockersoft is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: Soviet Union
    Old 10-30-2010 , 08:22   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #2

    I cant believe what a gift is a prop_physics_override ... really. I tried to find him by model name, but got nothing ...

    and hell
    it crashed my server
    __________________

    Last edited by Leonardo; 10-30-2010 at 09:11.
    Leonardo is offline
    jockersoft
    Member
    Join Date: Aug 2008
    Old 10-30-2010 , 12:58   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #3

    I used prop_physics_override just to spawn the model, that isn't the class of real gifts since they are controlled by the clients, not the server.

    For the server crash: make sure you have at least SM 1.3.5 and have the gamedata updated for both SM and SDK Hooks.

    Video showing it in action (skip to 1 : 35)
    http://www.youtube.com/watch?v=0P7xqtQkAkY
    jockersoft is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: Soviet Union
    Old 10-30-2010 , 13:38   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #4

    I use SM 1.4.0 :S
    __________________
    Leonardo is offline
    Onedda
    Senior Member
    Join Date: May 2009
    Old 10-30-2010 , 14:48   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #5

    crash`s my windows server as well with latest gamedata sdhooks
    __________________
    Onedda is offline
    jockersoft
    Member
    Join Date: Aug 2008
    Old 10-30-2010 , 15:10   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #6

    did you recompile it or used the .smx i attached?
    jockersoft is offline
    crazydog
    SourceMod Donor
    Join Date: Jan 2006
    Old 10-31-2010 , 02:57   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #7

    The gift doesn't stun people on my server...latest sdk hooks + some kind of recent snapshot of SM.
    crazydog is offline
    Onedda
    Senior Member
    Join Date: May 2009
    Old 10-31-2010 , 06:55   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #8

    got the smx fakegift.smx (5.0 KB, 45 views)
    __________________

    Last edited by Onedda; 10-31-2010 at 08:04.
    Onedda is offline
    WiKer
    Member
    Join Date: Apr 2009
    Old 10-31-2010 , 12:06   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #9

    can you make them better? so people can go throught them like throught a real gift?

    I want to make fake gifts, which will be the same as the original ^^

    Last edited by WiKer; 10-31-2010 at 17:21.
    WiKer is offline
    danmon
    Member
    Join Date: Oct 2010
    Old 10-31-2010 , 16:36   Re: [TF2] Spawn fake halloween gift
    Reply With Quote #10

    Results:
    Filename: fakegift.smx
    Load error: Unable to load plugin (error 1: Unrecognizable file format)

    And i cant recompile it because there is no .sp attached (the 'Get Source' one doesnt work when i try to compile)
    danmon 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 12:42.


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