AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Spy Improvements (v1.3) (https://forums.alliedmods.net/showthread.php?t=143048)

Matheus28 11-13-2010 16:43

[TF2] Spy Improvements (v1.3)
 
1 Attachment(s)
Introduction
This plugin gives some improvements for the spy class:
  • They walk faster when they are cloaked
  • They can press R when they are disguised with a slower class to use their normal speed

I am planning to add more features yet. If I have time, some day, in the future, or maybe never :)

ConVars
  • sm_spyi_admin "0" - If 1, only admins with with access to sm_spyi will be able to use the improvements
  • sm_spyi_cloaked_speed "350" - Spy speed when he is cloaked, 300 = Disabled

max42 11-13-2010 17:11

Re: [TF2] Spy Improvements
 
looks good :D anyway to make this admin only thou ?

Matheus28 11-13-2010 17:13

Re: [TF2] Spy Improvements
 
Quote:

Originally Posted by max42 (Post 1348752)
looks good :D anyway to make this admin only thou ?

Okay, wait a minute :3

EDIT: Done

psychonic 01-31-2011 09:09

Re: [TF2] Spy Improvements (v1.2)
 
@ Matheus28

Your player loop is skipping the last client slot on line 47. Should loop through <= MaxClients instead of just <.

Also, CheckCommandAccess should be used instead of hardcoding an admin flag check.

Matheus28 01-31-2011 09:56

Re: [TF2] Spy Improvements (v1.2)
 
Okay, I am a little busy these days, no time to fix some other plugins.

Should I create a command so admins can override or simply use CheckCommandAccess to check the Reservation flag?

psychonic 01-31-2011 10:02

Re: [TF2] Spy Improvements (v1.2)
 
Quote:

Originally Posted by Matheus28 (Post 1403747)
Okay, I am a little busy these days, no time to fix some other plugins.

Should I create a command so admins can override or simply use CheckCommandAccess to check the Reservation flag?

You can give CheckCommandAccess a command string as a parameter. The command doesn't have to exist; it will just be used for admin_overrides.

Edit: and actually, if overrides were supported, you wouldn't even need the adminonly cvar. Users can handle that through the overrides file as well. "" for all or "flag(s)" for whatever flag or flags they want it available to.

Matheus28 01-31-2011 10:12

Re: [TF2] Spy Improvements (v1.3)
 
Updated.

Edit: Thanks

mrjelle88 03-15-2013 10:00

Re: [TF2] Spy Improvements (v1.3)
 
Hi,

I know this is an old thread, but if you ever decide to update this plugin I have one feature I would love to see in the update. I'm not sure whether this is possible to add or not, but I'd like to see auto godmode in cloak (except when people walk into you because then the spy becomes visible).

Other then that I love your plugin :)

CuriousG 03-15-2013 13:24

Re: [TF2] Spy Improvements (v1.3)
 
Quote:

Originally Posted by mrjelle88 (Post 1913098)
Hi,

I know this is an old thread, but if you ever decide to update this plugin I have one feature I would love to see in the update. I'm not sure whether this is possible to add or not, but I'd like to see auto godmode in cloak (except when people walk into you because then the spy becomes visible).

Other then that I love your plugin :)

If anything they should be more susceptible to damage when cloaked and not the other way around.

MeatwadMeatwad 10-22-2022 18:53

Re: [TF2] Spy Improvements (v1.3)
 
I know this is a really old plugin, but I like the ideas it has a lot so I wanna see it get fixed up.
The problem I find with this is that anything that modifies speed (like speed boost and mannpower runes) do nothing to change how fast spy moves. I doubt OP will be around to update this so if anyone else has the time and knowhow to fix it I would greatly appreciate your efforts.
Also I noticed that I have to change the speed value in the source to match up with spy's post meet your match speed change so updating that for this hypothetical update is no brainer.


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

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