This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Super Speed v1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 10-18-2008 , 23:59   Super Speed v1.3
Reply With Quote #1

Super Speed
by Dores
Version 1.3
Features:

When Super Speed is on, all players will walk fast (if speed cvar is more than 1.0) and grenades will fly faster (if cvar is set) and also explode faster(again if the specific cvar is set).
The walking speed cvar's value will be multiplied with the player speed according to the weapon he is holding. If the he's holding a weapons that it's speed is 210.0, and the walking speed cvar is 2, the equation is simply - 210 x 2 (= 420.0).
Same for grenade speed, except you must use decimal numbers as the cvar's value (i.e - instead of 1, 1.0). The maximum speed that can be set to grenades is 2.5. This will affect all grenades (smoke, he and flash).
Setting the grenades' speed as an integer (1 instead of 1.0) might cause troubles and prevent the player from throwing the grenades.

There are also a SemiClip feature, that will make players go through each other to run fast freely(cvar to that as well), and a JumpRecover cvar that will prevent slowing down after a jump.

A player can toggle his own Super Speed by typing /speed in chat (console: say /speed or say_team /speed).

CVars List:

ss_walk <1 | 0> - if set to 1, walking speed will be faster. if 0, walking speed will be normal. (default: 1)

ss_grenade <1 | 0> - if set to 1, grenades will fly faster. 0 will result with normal speed. (default: 1)

ss_walkspeed <speed> - sets the walking speed(if ss_walk is set to 1). if the value set is less than 1 or higher than 7, it would result with normal walking speed. (default: 2)

ss_grenspeed <decimal speed> - sets the grenades' flying speed. can't be less than 1.0 and more thans 2.5 (i.e - 0.9 or 2.6). if the value set is an integer(i.e - 1 instead of 1.0), it might cause troubles and prevent the players from throwing grenades. [default: 1.8]

ss_semiclip <1 | 0> - if set to 1, players will have semiclip and will be able to walk through other players. 0 equals disabled.

ss_fastexplode <1 | 0> - if set to 1, grenades will explode faster(in 0.5 seconds). 0 = OFF.

ss_jumprecover <1 | 0> - if set to 1, players will not slow down after they jump. 0 will reuslt in slowing down when landing from a jump.

ss_t <
1 | 0> - if set to 1, all Terrorists will have Super Speed. 0 means terrorists will not have Super Speed.

ss_ct
<
1 | 0> - if set to 1, all Counter-Terrorists will have Super Speed. 0 means CTs will not have Super Speed.

ss_noads <1 | 0> - if set to 1(default), no plugin ads will be shown.

ss_fastexplodetime <decimal time> - in how much seconds should the grenade explode if the grenade cvar is set to 1. must be decimal (can't be 1, but 1.0) and less or equal to 2.0. if more than 2.0, the explosion time will be 0.5(default).

*NOTE* - if both ss_t's and ss_ct's value will be 0, no players will have Super Speed.

Admin Commands:


amx_ss <1 | 0> - Toggles Super Speed ON <1> or OFF <0>.

Module Required:


FakeMeta

How to install:

First, download the .sma by clicking the get_source button, or the .amxx by clicking the get_plugin button.

get_source
1) Put .sma at <mod>/addons/amxmodx/scripting/.
2) Click on compile.exe
3) Go to scripting/compiled/ and copy/cut super_speed.amxx
4) Put it in <mod>/addons/amxmodx/plugins/.
5) Go to <mod>/addons/amxmodx/configs/ and open plugins.ini
6) At the last line type: super_speed.amxx

get_plugin
Do the above and begin from instruction number 4.

7) Put super_speed.txt at <mod>/addons/amxmodx/data/lang/

Credits(also in the .sma):

coderiz
hlstriker
MeRcyLeZZ (didn't use any of his codes though)
Exolent[jNr]

Some other people(regardless to the plugin):

connorr
arkshine
zwfgdlc
danielkza
Robert De Niro
Adam Sandler
Ben Stiler

ToDo List:

  1. Create an admin command that removes everyone's Super Speed and give only to the admin(s).
  2. Create a feature that the plugin will read from a specific file the weapons that are restricted from having faster speed (i.e - if the player is holding a knife and according to the file knife is restricted, he won't walk faster untill he switches to another unrestricted weapon).
  3. Create a cvar to set in how much seconds should grenades explode. [DONE]
  4. Add requests and ideas from people to make this lacking-of-features plugin "unique".
  5. Add Multi-Lingual support. [DONE]
NOTE: I know that there's Exolent's speed plugin, but I wanted to make something a bit more "unique". I also know this plugin really lacks of features(only walking speed and grenades), but I was hoping to get ideas from people and add them to the plugin later.

Log:

Version 1.0: First publish.
Version 1.1: Minor code change (thanks connorr).
Version 1.2: Fixed index out of bounds error.
Created a CVar to block in-game plugin ads.
Changed dor123 to Dores. ;-)
Version 1.3: Added Multi-Lingual support.
Added a CVar to set in how much seconds should a grenade explode.

Languages: English.
Espanol - Thanks AntiBots.
Poland - Thanks BeAfraid.
Bulgarian - Thanks seed.
Lithuanian - Thanks hleV.
Dutch - Thanks crazyeffect.
Deutsch - Thanks Silencer123.
Swedish - Thanks yooFluffy.
French - Thanks arkshine.
Latvian - Thanks The_Thing.
br - Thanks bomnacama.

As Exolent always says, IF ANYONE ASKS A QUESTION THAT CAN BE ANSWERED BY THIS POST, HE WILL GET IGNORED! Read The Fucking Manual Smily...
Attached Files
File Type: sma Get Plugin or Get Source (super_speed.sma - 4456 views - 11.7 KB)
File Type: txt super_speed.txt (9.6 KB, 1788 views)
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ

Last edited by Dores; 12-24-2008 at 18:16. Reason: Version 1.3
Dores is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-19-2008 , 03:22   Re: Super Speed
Reply With Quote #2

Instead of saving normal weapon speed, you could use this :
Also you don't need to set/check speed in prethink, hooking CurWeapon would be enough.
PHP Code:
cs_reset_user_maxspeed(id)
{
    new 
Float:maxspeed;
    switch ( 
get_user_weapon(id) )
    {
        case 
CSW_SG550,
            
CSW_AWP,
            
CSW_G3SG1:
            
maxspeed 210.0;
        case 
CSW_M249:
            
maxspeed 220.0;
        case 
CSW_AK47:
            
maxspeed 221.0;
        case 
CSW_M3,
            
CSW_M4A1:
            
maxspeed 230.0;
        case 
CSW_SG552:
            
maxspeed 235.0;
        case 
CSW_XM1014,
            
CSW_AUG,
            
CSW_GALIL,
            
CSW_FAMAS:
            
maxspeed 240.0;
        case 
CSW_P90:
            
maxspeed 245.0;
        case 
CSW_SCOUT:
            
maxspeed 260.0;
        default:
            
maxspeed 250.0;
    }
    
engfunc(EngFunc_SetClientMaxspeedidmaxspeed);
    
set_pev(idpev_maxspeedmaxspeed);

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 10-19-2008 at 03:28.
ConnorMcLeod is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 10-19-2008 , 09:47   Re: Super Speed
Reply With Quote #3

Thanks, I changed it.
Please check the .sma and tell me if I did something wrong...
Thanks alot!

Version 1.1 (minor change) released.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
letgoofmyeggs
Senior Member
Join Date: Aug 2006
Old 11-01-2008 , 12:49   Re: Super Speed
Reply With Quote #4

haha wtf it advertises itself to much. can you make it optional. this is within lyk 5 seconds and it randomly happens

[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: You now don't have Super Speed.
[Super Speed]: You now have Super Speed.
[mrgeneral.NET] Panda (RADIO): Fire in the hole!
bad connectionless packet from 77.76.131.159:1630:
details
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
Unknown command: -power1
Unknown command: -power3
Unknown command: -power4
Unknown command: -power5
Unknown command: -power6
Unknown command: -copyent
Unknown command: -grabent
bad connectionless packet from 77.46.169.72013:
details
[AMXX] You have no access to that command
Type '/music' in chat to listen to 1000s of radio stations. Type '/stopmusic' to turn it off.
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: This server is running the Super Speed plugin. Things are now super fast!
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
bad connectionless packet from 77.46.169.72013:
details
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
Unknown command: -power1
Unknown command: -power3
Unknown command: -power4
Unknown command: -power5
Unknown command: -power6
Unknown command: -copyent
Unknown command: -grabent
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggle your Super Speed, type in chat "/speed".
[Super Speed]: To toggl
letgoofmyeggs is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 11-01-2008 , 19:08   Re: Super Speed
Reply With Quote #5

I don't understand why it happens, but I've created a cvar(ss_noads, default is 1) to block plugin ads anyways.

P.S: Next time, please just show me a little example, and not the whole console output.
Thanks.




Quote:
Originally Posted by Main Post
Version 1.2: Fixed index out of bounds error.
Created a CVar to block in-game plugin ads.
Changed dor123 to Dores. ;-)
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ

Last edited by Dores; 11-01-2008 at 19:11.
Dores is offline
letgoofmyeggs
Senior Member
Join Date: Aug 2006
Old 11-02-2008 , 07:49   Re: Super Speed
Reply With Quote #6

haha that was a little example. yu shulda seen my server logs. il try the update and let yu no how ti works. thanks
letgoofmyeggs is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 11-02-2008 , 17:31   Re: Super Speed v1.3
Reply With Quote #7

Quote:
Originally Posted by Log in main post
Version 1.3: Added Multi-Lingual support.
Added a CVar to set in how much seconds should a grenade explode.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-24-2008 , 15:39   Re: Super Speed v1.3
Reply With Quote #8

Need confirmation that this works.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 12-24-2008 , 17:50   Re: Super Speed v1.3
Reply With Quote #9

Quote:
Originally Posted by Exolent[jNr] View Post
Need confirmation that this works.

Quote:
Originally Posted by Number of downloads
Get Plugin or Get Source (super_speed.sma - 49 views - 11.7 KB)
Does anyone care...?
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
bomnacama
Senior Member
Join Date: Dec 2008
Location: Portugal
Old 12-24-2008 , 18:05   Re: Super Speed v1.3
Reply With Quote #10

[br]
SS_OFF = Super velocidade esta desligada.
SS_GOTSS = Tu tens super velocidade.
SS_GOTSSREMOVED = Ja nao tens super velocidade.
SS_ALRDYENABLED = Super velocidade ja esta activada.
SS_ALRDYDISABLED = Super velocidade ja esta desactivada.
SS_JUSTENABLED = Activaste a super velocidade!
SS_JUSTDISABLED = Desactivaste a super velocidade.
SS_ADMINDISABLED1 = %s Admin desactivou a super velocidade.
SS_ADMINDISABLED2 = %s Admin[%s] desactivou a super velocidade.
SS_ADMINENABLED1 = %s Admin activou a super velocidade!
SS_ADMINENABLED2 = %s Admin[%s] activou a super velocidade!
SS_HELPTEXTRUNNING = Este servidor corre o plugin Super Speed. Esta tudo muito rapido!
SS_HELPTEXTTOGGLE = Para veres a tua velocidade, escreve no chat ^"^x04/speed^x01^".
SS_HELPTEXTHUD = Ester sevidor tem^nSuper Speed^nVersion %s^nby Dores
bomnacama 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 07:54.


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