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

[TF2] Medic Secondary Fire With Heal Gun


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
|-BGZ-| RICH@RD
Junior Member
Join Date: Aug 2009
Location: Winterpeg Manitoba
Old 08-26-2009 , 12:40   [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #1

I'm not a skilled coder (yet) but I was thinking of an idea where the medics could use right-click to supply ammo to their teammates. Is this something that is within the abilities of sourcemod? If possible also adding maybe a grey colored beam that leads to the player just like the blue one when you heal someone. This is just an idea for any of you go-getter coders.
__________________
|-BGZ-| RICH@RD is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 08-26-2009 , 14:35   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #2

Good news, its possible to do, but I don't know about the grey beam. Theme messed around with supplying a medic beam in his randomizer plugin. Looks like it was possible. (Nevery personally tried the plugin) I'm not sure whether you can change the render color of a particle.
pheadxdll is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-26-2009 , 14:39   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #3

You can always create a new particle and send it to the clients via the downloads table.
bl4nk is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 08-27-2009 , 03:21   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #4

Oooh that sounds cool. And useful. But it should take away from your uber.
noodleboy347 is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 08-27-2009 , 03:50   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #5

Quote:
Originally Posted by bl4nk View Post
You can always create a new particle and send it to the clients via the downloads table.
You cant precache a beam with a plugin, it wont precache on the client. Only available methods are a) have the clients all add it to their manifest or b) create a custom map, and pack it into the maps manifest.

Either way is not a good solution, so they gray beam is pretty much out. You could figure out other cool effects to do though.
__________________
CrimsonGT is offline
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 08-27-2009 , 09:56   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #6

Quote:
Originally Posted by CrimsonGT View Post
Only available methods are a) have the clients all add it to their manifest or b) create a custom map, and pack it into the maps manifest.
It's possible but once the client downloads your particle manifest that's it you can't add or change any more particles but anyways this is how you would do it.

Have a particle manifest with the map name:
It would be saved in the maps folder
Code:
cp_dustbowl_particles.txt
In that manifest place the particle(s) name:
Code:
particles_manifest
{
  "file"  "!particles/toxictrail.pcf"
}
Use this plugin to have it download when a new client connects:
http://forums.alliedmods.net/showthread.php?t=69005

Modify SM_Downloader's Download.ini:
Code:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)
maps/cp_dustbowl_particles.txt
That'll be all, this is the end effect:
http://a.imagehost.org/0033/ctf_bball2_fixed0003.jpg

Come to think of it I really don't know if SM_Downloader is necessary, bah I don't feel like messing with it but that method has worked for me for about a month.
__________________
FoxMulder is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 08-27-2009 , 10:19   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #7

Seems pretty weak. You have to hope your the first plugin to do that to the client, or else they wont see it.
__________________
CrimsonGT is offline
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 08-27-2009 , 10:26   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #8

Quote:
Originally Posted by CrimsonGT View Post
Seems pretty weak. You have to hope your the first plugin to do that to the client, or else they wont see it.
lol
__________________
FoxMulder is offline
|-BGZ-| RICH@RD
Junior Member
Join Date: Aug 2009
Location: Winterpeg Manitoba
Old 08-28-2009 , 12:51   Re: [TF2] Medic Secondary Fire With Heal Gun
Reply With Quote #9

Quote:
Originally Posted by noodleboy347 View Post
Oooh that sounds cool. And useful. But it should take away from your uber.
Yeah that's a good idea too. For every positive there should be a negative to keep it balanced.
__________________
|-BGZ-| RICH@RD 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 06:02.


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