InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
1 Attachment(s)
This is a first plugin from me. I came up with the idea for an InstantUber plugin when I found that, firstly, not many people were going medic, and secondly, medics would be alot more useful (eg: getting people out of camping situations) if they spawned with an UberCharge. InstantUber was born.
Before I go on to talk about the plugin, I must thank Antithasys at myTF2 who gave me alot of guidance and support through making the plugin. Antithasys guided me through the plugin helping me with much of the code and explaining what went where and why. I would just like to thank him here for helping. The amount of UberCharge given on spawning is 100% by default but this can be changed in the *.cfg file that will be created when the plugin is loaded onto the server. 1.0 being 100% 0.5 being 50%, etc. Public tracking cvar is in line 21 - edit this to alter the amount of 'UberCharge' given. The plugin has had all errors fixed and has been running smoothly on my server for about a day now. The plugin is quite popular on there and people seem to think it serves a good purpose. Enjoy the plugin, Lord Max & Antithasys |
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
Good job on your first plugin. One tip you may want to explain the CVAR's so that other people do not need to read the source code or fiddle with the plugin to figure it out themselves.
iuber_uberlevel = CreateConVar("iuber_uberlevel", "1.0", "Uber level to give medics on spawn", _, true, 0.0, true, 1.0); -Teddy |
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
Congrats!!!
|
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
http://forums.alliedmods.net/showthread.php?p=570672 this plugin does the same thing already sm_ubercharge "name" or sm_medipacks_ubercharge 100 - Give medics a default UberCharge on spawn released in jan 2008.
|
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
Yes, but it also has a lot of other features that people mite not want, including calls OnGameFrame()
This is just what it says. |
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
I use
sm_cvar weapon_medigun_charge_rate 1 sm_cvar weapon_medigun_chargerelease_rate 8 But I like your plugin becuase i dont have to write it in the mapname.cfg |
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
Can you add a public tracking cvar?
|
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
It's there. Line 21.
|
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
He means to your post.
|
Re: InstantUber - Team Fortress 2 Plugin that gives Medic 100% UberCharge on respawn
Oh, lol. Have to get Lord Max to do that.
|
All times are GMT -4. The time now is 06:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.