AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Railgun Blast (https://forums.alliedmods.net/showthread.php?t=60145)

hlstriker 08-27-2007 19:26

Railgun Blast
 
1 Attachment(s)
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 :P

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).
*/ 


X-Script 08-27-2007 20:24

Re: Railgun Blast
 
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.

hlstriker 08-27-2007 21:12

Re: Railgun Blast
 
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 08-29-2007 11:09

Re: Railgun Blast
 
Update: Added a video to demonstrate what this plugin does.

fikstress 08-30-2007 12:55

Re: Railgun Blast
 
doesnt you need a model dont realy understand ? :s \ or is it just a model that is in hl ?

hlstriker 08-30-2007 19:07

Re: Railgun Blast
 
It's not even creating an entity to do this. I just had it play the conc explosion event.

SamuraiBarbi 09-02-2007 11:38

Re: Railgun Blast
 
this is actually a lot better than the tf-tech version. great job man.

Ramono 09-02-2007 16:14

Re: Railgun Blast
 
Looks pritty fun xD

Lt Llama 09-03-2007 17:01

Re: Railgun Blast
 
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.

hlstriker 09-03-2007 19:47

Re: Railgun Blast
 
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.


All times are GMT -4. The time now is 04:29.

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