AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION] [CSS] CSS Speed Mod (https://forums.alliedmods.net/showthread.php?t=141109)

Sammy-ROCK! 10-19-2010 15:53

[EXTENSION] [CSS] CSS Speed Mod
 
4 Attachment(s)
This extension allows scripters to edit player's max speed in CSS smoothly. It uses a detour on the function CCSPlayer::GetPlayerMaxSpeed.

Sample that sets maxspeed to 600:
Code:

#include <cssspeedmod>
public GetPlayerMaxSpeed(client, &Float:MaxSpeed)
{
    MaxSpeed = 600.0;
}

Notes:
MaxSpeed's initial value is what the real function returned.
This was not yet tested and linux version is not yet compiled.

Include file
GameData file
Windows Extension file

Source Code

spar13 10-19-2010 19:09

Re: [EXTENSION] [CSS] CSS Speed Mod
 
Attach a zip instead of the 7z archive, people are unable to download attached 7zip archives from the site.

Does this have the same issue as YouzAMenaces extension where the speed change is not fluid?
http://forums.alliedmods.net/showpos...7&postcount=11

Sammy-ROCK! 10-19-2010 20:09

Re: [EXTENSION] [CSS] CSS Speed Mod
 
Done. Thanks for the warning I didn't knew 7z had issues 0.o'

I don't think. I'm detouring a virtual function and returning a different value. So the server actually thinks that this new value is the right one.

psychonic 10-19-2010 20:21

Re: [EXTENSION] [CSS] CSS Speed Mod
 
Quote:

Originally Posted by Sammy-ROCK! (Post 1329790)
I don't think. I'm detouring a virtual function and returning a different value. So the server actually thinks that this new value is the right one.

According to this recent post, part of speed is now clientside, which is what causes the issue even when detouring that function, https://forums.alliedmods.net/showpo...&postcount=886

Sammy-ROCK! 10-19-2010 21:00

Re: [EXTENSION] [CSS] CSS Speed Mod
 
Now if the prediction actually changes the moving speed or it simply shows a random value at cl_showpos is harder to say 0.o'

javalia 11-15-2010 08:29

Re: [EXTENSION] [CSS] CSS Speed Mod
 
somebody should compile it for linuz from this is wonderful mod..

Seta00 11-15-2010 11:08

Re: [EXTENSION] [CSS] CSS Speed Mod
 
If you use Wazz's snippet with my CCSWeaponInfo and change m_fMaxPlayerSpeed you get fluid max speed.
You may will want to do what Wazz says on the first post to change it per-entity.

javalia 11-15-2010 22:15

Re: [EXTENSION] [CSS] CSS Speed Mod
 
1 Attachment(s)
linux bin, compiled by our friendly psychonic

bandit 12-30-2010 11:27

Re: [EXTENSION] [CSS] CSS Speed Mod
 
Hello,
I am a Noob, and I need help
I am not certain where to place all these folders
Do I place the whole CCSSpeedMod folder in the main sourcemod folder
or
do I open CCSSpeedMod and place the folders inside in sourcemod main folder?
Can you please direct me?
btw...I do not have a Linux Server

Thanks

bl4nk 12-30-2010 14:50

Re: [EXTENSION] [CSS] CSS Speed Mod
 
Maxspeed was uncapped in CSS Beta, I don't think this extension is going to be needed any more.


All times are GMT -4. The time now is 20:09.

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