Player class touchups
This commit is contained in:
parent
349d0898b4
commit
caabf115db
|
@ -2,8 +2,17 @@
|
||||||
function GM:PlayerSpawn( ply )
|
function GM:PlayerSpawn( ply )
|
||||||
player_manager.SetPlayerClass( ply, "player_benny" )
|
player_manager.SetPlayerClass( ply, "player_benny" )
|
||||||
ply:SetModel( "models/player/combine_super_soldier.mdl" )
|
ply:SetModel( "models/player/combine_super_soldier.mdl" )
|
||||||
|
ply:SetViewOffset( Vector( 0, 0, 64 ) )
|
||||||
|
ply:SetViewOffsetDucked( Vector( 0, 0, 50 ) )
|
||||||
ply:SetPlayerColor( Vector( 0.275, 0.2, 0.145 ) )
|
ply:SetPlayerColor( Vector( 0.275, 0.2, 0.145 ) )
|
||||||
ply:Give( "benny" )
|
ply:Give( "benny" )
|
||||||
|
|
||||||
|
ply:SetCrouchedWalkSpeed( 0.3 )
|
||||||
|
ply:SetDuckSpeed( 0.1 )
|
||||||
|
ply:SetUnDuckSpeed( 0.1 )
|
||||||
|
ply:SetSlowWalkSpeed( 100 )
|
||||||
|
ply:SetWalkSpeed( 160 )
|
||||||
|
ply:SetRunSpeed( 220 )
|
||||||
end
|
end
|
||||||
|
|
||||||
if SERVER then
|
if SERVER then
|
||||||
|
|
|
@ -6,8 +6,8 @@ local PLAYER = {}
|
||||||
PLAYER.DisplayName = "Benny Player Class"
|
PLAYER.DisplayName = "Benny Player Class"
|
||||||
|
|
||||||
PLAYER.SlowWalkSpeed = 200
|
PLAYER.SlowWalkSpeed = 200
|
||||||
PLAYER.WalkSpeed = 400
|
PLAYER.WalkSpeed = 250
|
||||||
PLAYER.RunSpeed = 600
|
PLAYER.RunSpeed = 280
|
||||||
PLAYER.CrouchedWalkSpeed = 0.3
|
PLAYER.CrouchedWalkSpeed = 0.3
|
||||||
PLAYER.DuckSpeed = 0.3
|
PLAYER.DuckSpeed = 0.3
|
||||||
PLAYER.UnDuckSpeed = 0.3
|
PLAYER.UnDuckSpeed = 0.3
|
||||||
|
|
Loading…
Reference in New Issue