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

[Any] Explosive Oildrum Spawner [v1.2]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ktm
Member
Join Date: Aug 2012
Plugin ID:
3201
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Spawns an explosive oildrum from Half-Life 2 wherever you are looking.
    Old 08-27-2012 , 02:37   [Any] Explosive Oildrum Spawner [v1.2]
    Reply With Quote #1

    [ANY] Explosive Oildrum Spawner!
    by KTM

    Description:

    This plugin uses a prop_physics_override to spawn an explosive oildrum from the game Half-Life 2 wherever you are looking!

    Commands/Cvars:
    • sm_spawndrum: Spawns an explosive oildrum at your crosshair. Admin flag slay needed to use this command.
    • explosive_oildrum_version: version number. Currently 1.2.
    Games this plugin works with:

    This plugin should only work with source 2009 games such as CSS, TF2, HLDM, and any other games that contain HL2's Default resources. I wasn't sure what game category to put it under, so I set it to any game.

    Changelog:
    Quote:
    • 8/26/2012 - release of plugin. version 1.0
    • 8/28/2012 - release of version 1.2. Fixed the problem where drums were not staying upright when spawned. Cleaned up the code. Changed halo color to red as I felt it fit better. Removed server/chat spam when spawning multiple drums in a quick succession.
    Special thanks to:
    • HyperKiLLeR: for a lot of the reference material I used when making this.
    • The Alliedmodder's community: For being an awesome place to learn!

    Thank you guys for checking this plugin out. This is the first plugin I have released to the public. Any suggestions/ideas you guys have would be wonderful to hear. Hopefully you guys will enjoy it!

    -KTM

    Total downloads before version 1.2: 36
    Attached Files
    File Type: sp Get Plugin or Get Source (oildrum.sp - 1847 views - 3.0 KB)

    Last edited by ktm; 03-19-2013 at 14:50.
    ktm is offline
    SlimeCounty
    SourceMod Donor
    Join Date: Jun 2011
    Old 08-27-2012 , 05:23   Re: [Any] Explosive Oildrum Spawner
    Reply With Quote #2

    Very cool plugin, tested it out in TF2, worked wonderfully thanks!
    Only issue we ran into is that the barrels rarely spawn upright, and if a player touches a barrel that's rolling they get stuck until the barrel model passes their player model. Still a very cool plugin to play around with, makes me want to mess around with the source and have barrels spawn in the water on 2fort every few minutes or so...
    __________________
    SlimeCounty is offline
    ktm
    Member
    Join Date: Aug 2012
    Old 08-27-2012 , 13:34   Re: [Any] Explosive Oildrum Spawner
    Reply With Quote #3

    Thanks man.

    I will though try to screw around with the plugin and see if I can make the barrels more solid. If you could get this plugin to spawn barrels inside of the water of 2fort every few minutes or so, that would be amazing.

    Last edited by ktm; 08-27-2012 at 20:49.
    ktm is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 08-27-2012 , 14:04   Re: [Any] Explosive Oildrum Spawner
    Reply With Quote #4

    Interesting.. add database support like the auto pumpkins spawner - could just place them around the map to spawn at timed instances for even more fun.
    Horsedick is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 08-28-2012 , 19:27   Re: [Any] Explosive Oildrum Spawner
    Reply With Quote #5

    Oh god, imagine all the chaos this will cause...
    __________________
    NameUser is offline
    Send a message via Skype™ to NameUser
    ktm
    Member
    Join Date: Aug 2012
    Old 08-28-2012 , 23:04   Re: [Any] Explosive Oildrum Spawner
    Reply With Quote #6

    Quote:
    Originally Posted by NameUser View Post
    Oh god, imagine all the chaos this will cause...
    That is the goal.

    Anyways guys, I've gone ahead and released version 1.2. In version 1.2 I have fixed the problem where drum rarely stayed upright after being spawned. I also removed the server/chat spamming that happened whenever you spawned a massive amount of barrels at once. Besides those major changes, I made a few minor changes which cleaned up the code, and I also changed the color of the halo that spawns when you spawn a drum to red. I felt it fit better then a bright green halo. The download is in the main post!

    Hopefully that will have fixed a few of the issues you guys had. Also, if someone wants to take this plugin and incorporate some of the set pumpkin spawn point plugin be my guest. Sadly I don't have the knowledge nor skills to do so yet.
    ktm is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 08-29-2012 , 10:04   Re: [Any] Explosive Oildrum Spawner [v1.2]
    Reply With Quote #7

    Can you add a feature which also spawns regular barrels? Or no?
    __________________
    NameUser is offline
    Send a message via Skype™ to NameUser
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 08-29-2012 , 10:23   Re: [Any] Explosive Oildrum Spawner [v1.2]
    Reply With Quote #8

    Quote:
    Originally Posted by NameUser View Post
    Can you add a feature which also spawns regular barrels? Or no?
    That was my suggestion - he would have to implement it with a database setup like Darth has his pumpkins in the auto spawner - I was looking at that code to this and Darth's could be altered with these props but I'm not sure of what else needs to be changed in it.
    Horsedick is offline
    ktm
    Member
    Join Date: Aug 2012
    Old 08-29-2012 , 12:54   Re: [Any] Explosive Oildrum Spawner [v1.2]
    Reply With Quote #9

    Quote:
    Originally Posted by NameUser View Post
    Can you add a feature which also spawns regular barrels? Or no?
    By that do you mean drums that do not explode? I could easily add the non-explosive version of the explosive drum, or any other barrel/drum models as a command. There are on the other hand plugins already out there that let you add such props easily to their set up already. I recommend you check out EntControl by LeGone if you want to spawn normalized things.

    Quote:
    Originally Posted by Horsedick View Post
    That was my suggestion - he would have to implement it with a database setup like Darth has his pumpkins in the auto spawner - I was looking at that code to this and Darth's could be altered with these props but I'm not sure of what else needs to be changed in it.
    Sadly, I'm just not sure how I would go about that. I'm pretty sure it could be done, as all I would imagine you would have to do is change the entities in darth's plugins to prop_physics_overrides or prop_physics and then set the key values. Thing is this is my first plugin, and I'm kinda learning as I go along. Because of that I have pretty limited knowledge on how to work with sourcepawn. Hopefully as I go I'll get better and be able to add the feature you've been chatting about. Because that sure would be amazing.

    Last edited by ktm; 08-29-2012 at 12:55.
    ktm is offline
    CuriousG
    Senior Member
    Join Date: Feb 2012
    Old 08-31-2012 , 14:15   Re: [Any] Explosive Oildrum Spawner [v1.2]
    Reply With Quote #10

    I got tired of people blowing up my work of art when spawning barrels so I'd go in POV spec mode and start spawning barrels where they are looking. Hilarity ensues.
    CuriousG 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:21.


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