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

Balloon (floating, exploding, balloon animal)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Plugin ID:
640
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-19-2008 , 18:09   Balloon (floating, exploding, balloon animal)
    Reply With Quote #1

    Balloon
    Allows players to release a hydrogen filled balloon doggie that floats slowly up in the air. Explodes after 5 seconds (configurable) or when shot. Almost every paramater can be changed by convar. To damage another player, you'll probably have to shoot the balloon or release it in a hallway/room where the ceiling will hold it down near the players.

    This should work on DOD:S also, but you'll have to use a different model (the balloon animal is a TF2 standard model).

    [IMG]http://img136.**************/img136/1416/cpdustbowl0083cl2.jpg[/IMG]
    [IMG]http://img136.**************/img136/cpdustbowl0083cl2.jpg/1/w800.png[/IMG]

    Requirements:
    Requires the Dukehacks extension version 0.0.1.9 or greater.

    Client commands:

    Console:
    sm_balloon to release a balloon
    or
    bind "h" "sm_balloon" in console to bind a key (h in this example)

    Say:
    !balloon in chat to release a balloon

    Convars:
    PHP Code:
    FORMAT:
    convar_name default_value
     
    description

       sm_balloon_radius  256
       
    radius of explosion
       
      sm_balloon_damage  100.0
       
    damage dealt on explosion
       
      sm_balloon_hspeedmult  0.98
       
    drag multiplier (1.0 to not slow down horizontal speed
       
      sm_balloon_hspeed  300.0
       
    initial horizontal speed of balloon
       
      sm_balloon_vspeed  80.0
       
    vertical speed of balloon
       
      sm_balloon_life  5.0
       
    how long before balloon explodes (in seconds)
       
      
    sm_balloon_delay  30.0
       
    how often players can release a balloon (in seconds)
       
      
    sm_balloon_mdl  "models/player/gibs/gibs_balloon.mdl"
       
    balloon model name
       
      sm_balloon_version  0.0.1.9
       
    plugin version 
    Notes:
    This plugin was created as a quick example of how to use the dukehacks extension to modify physics entity movement. If anyone wants to expand on it please feel free to improve/modify/reuse the code.

    Download:
    Requires the Dukehacks extension version 0.0.1.9 or greater.
    Attached Files
    File Type: sp Get Plugin or Get Source (dhballoon.sp - 858 views - 4.9 KB)
    File Type: smx dhballoon.smx (6.2 KB, 840 views)
    __________________
    "Good grammar is essential, Robin."
    - Batman

    Last edited by L. Duke; 11-19-2008 at 23:13.
    L. Duke is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 11-19-2008 , 18:13   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #2

    Sounds like a fun plugin. I wish that image would load so I can see it without having to set it up on a server.
    bl4nk is offline
    L. Duke
    Veteran Member
    Join Date: Apr 2005
    Location: Walla Walla
    Old 11-19-2008 , 18:14   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #3

    Try again.

    Although it looks much more like a balloon when you watch it float serenely away than it does in a screenshot.
    __________________
    "Good grammar is essential, Robin."
    - Batman
    L. Duke is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Location: The Netherlands
    Old 11-19-2008 , 18:20   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #4

    Lolololol. Nice
    __________________
    Advertisements | REST in Pawn - HTTP client for JSON REST APIs
    Please do not PM me with questions. Post in the plugin thread.
    DJ Tsunami is offline
    boykevin
    Member
    Join Date: Mar 2008
    Old 11-19-2008 , 19:10   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #5

    lol sweet i might try it soon!
    boykevin is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 11-19-2008 , 19:27   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #6

    Approved
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 11-19-2008 , 21:39   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #7

    It doesnt quite make an auto config but thats ok. What command releases a balloon? sm_balloon?
    __________________

    DontWannaName is offline
    L. Duke
    Veteran Member
    Join Date: Apr 2005
    Location: Walla Walla
    Old 11-19-2008 , 23:11   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #8

    Sorry, I forgot to add that to the first post.

    Yes, the command is sm_balloon in the console or say !balloon in chat.
    __________________
    "Good grammar is essential, Robin."
    - Batman
    L. Duke is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 11-20-2008 , 01:49   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #9

    When I set the radius and damage to 0 all I see is the blood spurt in the air.
    __________________

    DontWannaName is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 11-20-2008 , 07:25   Re: Balloon (floating, exploding, balloon animal)
    Reply With Quote #10

    Hello,

    did someone test it on cs:s ?

    cya
    __________________
    Rebell 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 06:07.


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