DarkRP walk and run speed help?

Post Reply
Ferinsha
A semi-regular
A semi-regular
Posts: 19
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Feb 11, 2013 12:28 pm

DarkRP walk and run speed help?

Post by Ferinsha »

Hey guys. I'm just going to get straight to the point. I configured the DarkRP run and walk speeds to my liking in the config but when a player equips and takes out a weapon from Siminov's DOD:S pack (It's the one I use) they start to walk and run twice as fast and their speed still stays like that until they die. I cannot edit the speed from the 'Q' menu because I get an error saying I don't have permission in console. Does anyone know how to fix this?
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: DarkRP walk and run speed help?

Post by dancore »

Did you edit the run speed in game or the lua?
Ferinsha
A semi-regular
A semi-regular
Posts: 19
Joined: Mon Feb 11, 2013 12:28 pm

Re: DarkRP walk and run speed help?

Post by Ferinsha »

I did it through the config.lua
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: DarkRP walk and run speed help?

Post by Sir Nipah »

Take a look a the sweps lua for the weps you are getting the funny speeds with.
Image Garry's Mod veteran.
Ferinsha
A semi-regular
A semi-regular
Posts: 19
Joined: Mon Feb 11, 2013 12:28 pm

Re: DarkRP walk and run speed help?

Post by Ferinsha »

Sir Nipah wrote:Take a look a the sweps lua for the weps you are getting the funny speeds with.
It's all of them except grenades and melee weapons. But I cant find anything related to the speeds. I looked everywhere.
Ferinsha
A semi-regular
A semi-regular
Posts: 19
Joined: Mon Feb 11, 2013 12:28 pm

Re: DarkRP walk and run speed help?

Post by Ferinsha »

I'm just going to use a different pack. Nevermind :)
Glimmo
New to forums
New to forums
Posts: 1
Joined: Sat Jul 29, 2017 2:13 am

Re: DarkRP walk and run speed help?

Post by Glimmo »

To fix the speed you need to go into the shared.lua file for each weapon you want to use. Open it up and at the top you should see:

local Walkspeed = CreateConVar ("sim_walk_speed", "250", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
local Runspeed = CreateConVar ("sim_run_speed", "500", {FCVAR_REPLICATED, FCVAR_ARCHIVE})

What this means is that when the gun is equipped then the walk speed is changed into "250" and the run speed is changed into "500"
The default darkRP run speed is run speed is 240 and the default walk speed is 160 so change the variables like so:

local Walkspeed = CreateConVar ("sim_walk_speed", "160", {FCVAR_REPLICATED, FCVAR_ARCHIVE})
local Runspeed = CreateConVar ("sim_run_speed", "240", {FCVAR_REPLICATED, FCVAR_ARCHIVE})

You have to do this to every single weapon in the pack, since I am running a World War 2 MilitaryRP server I only need to change the variables for guns that are being used. Hope this helped!
Post Reply