TF2 Medigun

Information :

The Medigun is the secondary weapon of the Medic. It can heal injured allies as well as disguised spies, and will boost the total health of the target to 150% (also called overhealing). As the Medic keeps his beam focused on a teammate, his ÜberCharge bar will gradually fill. The ÜberCharge meter will fill faster when healing injured teammates or teammates whose health is not at 150%.

The Medigun beam will stay locked onto its target as long as the wielding Medic keeps the attack button held down and keeps within range of the target. -TF2 wiki

Picture :

http://img76.imageshack.us/img76/7150/gmconstruct0004qb0.jpg

Changelog :

v1.01 (thanks to nubcakez for pointing these out)
*Fixed the medigun beam healing the origin of the map
*Fixed some particle issues
*Fixed choppy movement
*Fixed persistent Übercharge
*Added übercharge bulge effect
*Added a maximum healing range

v1.0
*Initial release

Issues :

*No Kritzkrieg
*You can heal through walls

These issues will all be corrected in coming updates. Furthermore, this is my first scripted weapon, so there’s bound to be some inefficient coding in it. My main exercise with this SWep was to figure out how particle effects work. (cpoints, etc.)

Download link :

v1.01
http://www.garrysmod.org/img/?t=dll&id=41216
v1.0
http://www.garrysmod.org/img/?t=dll&id=36797

AWESOME! When will the next version be released?

Someone actually made this. I would kiss the ground you walk on but i can’t so heres a lua king instead.

Edit:

SOMEONE REPORTED THIS? Freaking Turds.

You mean it’s been done already? Or do you mean “thank god someone made this”?

:love:

I mean THANK GOD!!!

I can’t believe someone reported it.

I know right. Garrysmod.org needs to ban this guy. Probably has an IP scrambler

It happened the moment I posted it, so it must be the system. I’m also working on a Team Fortress 2 sentry gun that has working animations and correct muzzle flash effects. I think I’ll release the next version after I create a suitable HUD (aherm rip it from TF2), add in the BLU version and add Mister Royzo’s non-working SWep icons.

I didn’t think my first swep would get me this much attention, gee whiz.

Fantastic work for a first SWEP. In particular, good job figuring out the info_particle_system stuff.

Thank you.

Hex editing helped me very much on that particle system matter. I’m currently working on a complete list of every single particle of all EP2-based games. (They all work, even the dispenser healing beam, despite what people are stating on FP, they just require some cpoints.)

Awesome, now my collection of TF2 weapons is complete.

I have a near complete list for Tf2 particles. You don’t need to hex edit. Maybe I should write a guide.

medicgun_beam_red_muzzle
medicgun_beam_red_drips
medicgun_beam_red_healing
medicgun_beam_red_pluses
medicgun_beam_red_invun
medicgun_beam_red_trail
medicgun_beam_red_invulnbright
medicgun_beam_red_invunglow
medicgun_invulnstatus_fullcharge_red
medic_hadcharge_red
medic_hadcharge_electric_red
medic_hadcharge_flashes_red
medicgun_beam_blue_muzzle
medicgun_beam_blue_drips
medicgun_beam_blue_healing
medicgun_beam_blue_pluses
medicgun_beam_blue_invun
medicgun_beam_blue_trail
medicgun_beam_blue_invulnbright
medicgun_beam_blue_invunglow
medicgun_invulnstatus_fullcharge_blue
medic_hadcharge_blue
medic_hadcharge_electric_blue
medic_hadcharge_flashes_blue
medic_hadcharge_flash
medic_hadcharge_electric
medic_hadcharge_flashes

Most, if not all medicgun particles. Some doesn’t show up.

I don’t know if I’m crazy or not but, are there any muzzleflash effects on your list? I may need them, most of the TF2 SWEPS I downloaded don’t have the muzzleflashes.

muzzle_grenadelauncher
muzzle_grenadelauncher_core
muzzle_grenadelauncher_embers
muzzle_minigun
muzzle_minigun_core
muzzle_minigun_flare
muzzle_minigun_starflash01
muzzle_minigun_smoke
muzzle_minigun_sparks
muzzle_minigun_constant
muzzle_minigun_constant_core
muzzle_minigun_constant_flare
muzzle_minigun_constant_sparks
muzzle_minigun_constant_starflash
muzzle_minigun_constant_smoke
muzzle_pipelauncher
muzzle_pistol
muzzle_pistol_sparks
muzzle_revolver
muzzle_scattergun_flash
muzzle_shotgun
muzzle_shotgun_smoke
muzzle_shotgun_sparks
muzzle_shotgun_flash
muzzle_smg
muzzle_smg_sparks
muzzle_sniperrifle
muzzle_syringe
muzzle_sentry
muzzle_sentry2

That’s all the ones I’ve found.

I have enough faith in humanity to hope that you don’t really mean that.
It’s not really one person. It’s minges going: OH AORNGE BAX CUNTENT I CAN TELL CUZ OF PIK I WILL REPORT SO I SUCK GARIES CUCK

I have all of those and I got all of them working, as well. I also have all TF2 and Episode 2 particles in a list and most of them with pictures. Some of them require cpoints to make them work, so that explains why some of them don’t show up when using regular methods.

EDIT: Hex editing is needed when you want to change the colour. Just so you’d know.

Team Green, anyone :D?

They also don’t have correct tracers or crit tracers. I’m working on a pack that includes ALL TF2 weapons and entities. The medic’s equipment simply was the first I finished.

Well, that means we can have a TF2 vs. GMod match :smiley: