[TF2] Panzer Tank standalone plugin
TF2 didn't seem to have vehicles (to me at least), so instead of messing around with sensitive code that would likely crash everything, I decided to make a vehicle plugin from scratch.
commands list PHP Code:
Tank Features: -Gas power (toggleable from cvar) ~gas can be replenished by medigun or from dispenser ~when gas is depleted, tank player cannot move at all! -Ability to run over people and objects (the code for this is deprecated and i've since made a better system but the purpose of this plugin is to simply release it) -Equipped with an SMG and Right-Click/MOUSE2 launches a rocket which has a 4 second cooldown. -Engineers can fix the tank and reload its SMG turret using their wrench! -Immune to backstabs until very low health. -SMG and rockets from the tank have no damage fall off! -Tanks have are vulnerable to explosives but shrug off bullet and fire damage. For team oriented gamemodes such as VSH/FF2, the plugin also allows you to block certain teams from becoming tanks and you can limit the amount of tanks per team as well! Here's a demonstration video made by a friend to showcase all of these features! http://www.youtube.com/watch?v=nnwbu0Zvsh0 DOWNLOAD ==> https://drive.google.com/file/d/0B3F...ew?usp=sharing PHP Code:
|
Re: [TF2] Panzer Tank standalone plugin
Love it maybe add the actual commands to activiate like sm_ontank sm_offtank sm_forcetank I had to edit the sp file to figure it out.
|
Re: [TF2] Panzer Tank standalone plugin
Yeah, adding the commands to actually use/turn into a tank would be nice.
|
Re: [TF2] Panzer Tank standalone plugin
Quote:
Added! |
Re: [TF2] Panzer Tank standalone plugin
its laggy when i move my view?
|
Re: [TF2] Panzer Tank standalone plugin
Quote:
|
Re: [TF2] Panzer Tank standalone plugin
Is this plugin not public anymore? The download link requires me a permission.
It would be an awesome and enjoyable mod for the server :bacon: |
Re: [TF2] Panzer Tank standalone plugin
The animations for the tank model should really be updated to handle move_x and move_y to point the tank in the direction it's moving. I'll try to find a good example model for this.
|
Re: [TF2] Panzer Tank standalone plugin
Quote:
|
Re: [TF2] Panzer Tank standalone plugin
That's not what I mean; the model itself needs to have the animations set up for move_x and move_y, and then TF2 will natively handle it properly.
If you were to use Utils (which really should be renamed to ModelUtils or AnimUtils or something), the tank's yaw depends on the player's aim, and you'd have to overwrite the player's aim poseparams every frame or something. And even then, the barrel would aim straight forward (relative to the tank body) at all times, rather than turning independently of the tank. |
| All times are GMT -4. The time now is 22:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.