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

Pipe Bomb Model Changer (beer bottles, watermelons, etc.)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Plugin ID:
558
Plugin Version:
0.0.1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    changes the model of the pipe bomb on TF2
    Old 09-30-2008 , 16:20   Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #1

    Pipe Bomb Model
    changes the model of the pipebomb (selectable by convar)
    to a beer bottle, watermelon, etc.

    Change other projectiles:
    Change stickies and rockets with these plugins by teddyruxpin.

    Requirements:
    Requires the Dukehacks extension version 0.0.1.0 or greater.

    Convars:

    sm_pbm_model "modelname"
    Sets the model to use (a map change is required if the convar changes) It is preferable to set this in the server.cfg or similar location. (default model is a watermelon)

    Examples:


    sm_pbm_model "models/props_junk/watermelon01.mdl"

    [IMG]http://img519.**************/img519/1695/cptest30047bz4.th.jpg[/IMG][IMG]http://img519.**************/images/thpix.gif[/IMG]

    sm_pbm_model "models/props_gameplay/bottle001.mdl"
    [IMG]http://img515.**************/img515/2266/cptest30059sj4.th.jpg[/IMG][IMG]http://img515.**************/images/thpix.gif[/IMG]

    Notes:
    This plugin was created as a quick example of how to use the dukehacks extension. If anyone wants to expand on it (include rockets, syringes, stickies, etc.) please feel free to improve/modify and release your version.

    Download:
    Requires the Dukehacks extension version 0.0.1.0 or greater.
    Attached Files
    File Type: sp Get Plugin or Get Source (dhpipebomb.sp - 1219 views - 1.0 KB)
    File Type: smx dhpipebomb.smx (2.1 KB, 1351 views)
    __________________
    "Good grammar is essential, Robin."
    - Batman

    Last edited by L. Duke; 10-02-2008 at 16:44.
    L. Duke is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 09-30-2008 , 16:25   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #2

    Now that is fun! I want to see water balloons!
    Antithasys is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 09-30-2008 , 17:32   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #3

    Precache stuff should be in OnMapStart() forward. I saw you get model path from a cvar; Don't worry, you can create cvars in OnMapStart() also
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    L. Duke
    Veteran Member
    Join Date: Apr 2005
    Location: Walla Walla
    Old 09-30-2008 , 17:46   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #4

    Yeah, I always do it in OnMapStart, but the cfg wasn't being executed by then so it was requiring two map changes to update the model after the convar changed.

    Technically you can precache them anytime as long as you aren't adding them to the downloadables table.
    __________________
    "Good grammar is essential, Robin."
    - Batman
    L. Duke is offline
    ThatGuy
    Senior Member
    Join Date: Nov 2007
    Old 09-30-2008 , 18:26   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #5

    Genius!
    ThatGuy is offline
    curlefry
    Senior Member
    Join Date: Jun 2008
    Location: Georgia, USA
    Old 09-30-2008 , 19:10   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #6

    Can this plugin be modified so we can set custom skins for anything? (Which is one thing a bunch of people would like/have wanted.)
    __________________
    curlefry is offline
    Send a message via MSN to curlefry
    RAAP
    Member
    Join Date: Jan 2008
    Location: Vancouver, BC, Canada
    Old 09-30-2008 , 19:56   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #7

    Can sombody post a list here of all the available models that can be used with this plugin? I not sure where to look for them!

    Thanks!
    RAAP is offline
    boykevin
    Member
    Join Date: Mar 2008
    Old 09-30-2008 , 21:15   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #8

    hmm sweet! ive been waiting for a tf2 skin changer but this is good! lol watermelon pipebombs ahah
    boykevin is offline
    ifx
    Senior Member
    Join Date: Apr 2008
    Old 10-01-2008 , 04:47   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #9

    This is fucking crazy! Thank you so much!
    ifx is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 10-02-2008 , 02:32   Re: Pipe Bomb Model Changer (beer bottles, watermelons, etc.)
    Reply With Quote #10

    nice work Duke =)

    (will wait for players model changer)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    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 13:17.


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