Raised This Month: $94 Target: $400
 23% 

Railgun Blast


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Team Fortress Classic        Category:   Fun Stuff        Approver:   Hawk552 (427)
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-27-2007 , 20:26   Railgun Blast
Reply With Quote #1

Here is a really fun plugin to play around with. It adds a conc explosion to the hit point of the railgun shot. It's pretty fun beating all the tfc skill maps with this

EDIT:
Made a small little avi of me beating a concmap with this plugin (ignore the crappy music heh).
Watch it on youtube here.

PHP Code:
/*    ========================================================
*    - NAME:
*      + Railgun Blast
*
*    - DESCRIPTION:
*      + This is a fun plugin that adds a 'conc blast'
*      + to the hit point of the railgun shot.
*      + When the shot hits a wall/player/etc it will
*      + create a 'conc blast' and bounce anyone
*      + within the radius a certain distance away
*      + depending on how close they are to the explosion.
*
*    - CREDITS:
*      + The old TF-Tech mod for giving me the idea.
*      + TKG for helping me create a new push function.
*      + Ramono for letting me know to register the entity with a touch.
*
*    -------------
*    Server cvars:
*    -------------
*    - railgunbounce <0/1/2>
*      + Setting to 0 will turn the railgun blast off.
*      + Setting to 1 will turn the railgun blast on and bounce everyone.
*      + Setting to 2 (default) will turn the railgun blast on and bounce only you.
*
*    ---------
*    Versions:
*    ---------
*    2.1 - Remade the push function, thanks TKG! (10-28-2011).
*    2.0 - Remade the plugin to be more optimized (10-27-2011).
*    1.1 - Added the cvar to bounce only yourself (08-30-2007).
*    1.0 - First version made and works (08-21-2007).
*/ 
Attached Files
File Type: sma Get Plugin or Get Source (railgunblast.sma - 1006 views - 5.3 KB)

Last edited by hlstriker; 10-28-2011 at 05:31.
hlstriker is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-27-2007 , 21:24   Re: Railgun Blast
Reply With Quote #2

How is this useful? I don't really get it's purpose. Server owners on TFC have their server(s) set skill_maps because they want a challenge for the players now if you were one of those server owners would you put something like this in your server?

Anyway, nice coding.
X-Script is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-27-2007 , 22:12   Re: Railgun Blast
Reply With Quote #3

Actually yes I have it on my server.

It's usefull if you want to have fun. That's exactly why... Category: Fun Stuff.
hlstriker is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-29-2007 , 12:09   Re: Railgun Blast
Reply With Quote #4

Update: Added a video to demonstrate what this plugin does.
hlstriker is offline
Old 08-30-2007, 13:54
fikstress
This message has been deleted by fikstress.
fikstress
Member
Join Date: Dec 2006
Location: Streets
Old 08-30-2007 , 13:55   Re: Railgun Blast
Reply With Quote #5

doesnt you need a model dont realy understand ? :s \ or is it just a model that is in hl ?
__________________
Hell was full, so i came back.
fikstress is offline
Send a message via ICQ to fikstress Send a message via MSN to fikstress
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-30-2007 , 20:07   Re: Railgun Blast
Reply With Quote #6

It's not even creating an entity to do this. I just had it play the conc explosion event.
hlstriker is offline
SamuraiBarbi
Senior Member
Join Date: Aug 2006
Location: United States
Old 09-02-2007 , 12:38   Re: Railgun Blast
Reply With Quote #7

this is actually a lot better than the tf-tech version. great job man.
SamuraiBarbi is offline
Send a message via AIM to SamuraiBarbi Send a message via MSN to SamuraiBarbi Send a message via Yahoo to SamuraiBarbi
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 09-02-2007 , 17:14   Re: Railgun Blast
Reply With Quote #8

Looks pritty fun xD
__________________
Um, hi.
Ramono is offline
Lt Llama
Senior Member
Join Date: Aug 2004
Old 09-03-2007 , 18:01   Re: Railgun Blast
Reply With Quote #9

How on earth did you get this brilliant idea hlstriker? TF-tech? Whats that? For any tfc skills freak its obvious this could be really fun. People use whatever they can to get to the end. Once they finished the traditional way, they try something new. This is new . Can you set it on a particular player?

But why limit it to the railgun, cant you make it class based and any gun that class pull out can be used as a conc gun. You already got the hard part done, should be easy to add it for all classes. Hey, you could even let the civvy bang his umbrella and get the same effect.

Can you shoot others with it?

Anyway, gj.
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.
Lt Llama is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 09-03-2007 , 20:47   Re: Railgun Blast
Reply With Quote #10

Thanks SamuraiBarbi, Ramono, and Llama. I actually did get the idea from TF-tech and wanted to recreate it because I thought it would be fun for skill maps.

Also a big thanks to Ramono for telling me about registering a touch to get where the railgun shot entity hits (if you remember me asking a question like that in game).

Any player that plays as engineer (which I know is a banned class in most skill servers using speed runs) can get the railgun. I will be adding a command so admins can give any player the railgun they want soon.

Depending what you set the 'railgunbounce' cvar to will depend who it will bounce. Setting it to 0 will turn it off, setting it to 1 will bounce everyone, setting it to 2 will bounce only yourself.

Last edited by hlstriker; 09-03-2007 at 20:49.
hlstriker 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 08:03.


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