29 lines
634 B
Lua
29 lines
634 B
Lua
|
|
AddCSLuaFile()
|
|
|
|
local PLAYER = {}
|
|
|
|
PLAYER.DisplayName = "Benny Player Class"
|
|
|
|
PLAYER.SlowWalkSpeed = 200
|
|
PLAYER.WalkSpeed = 400
|
|
PLAYER.RunSpeed = 600
|
|
PLAYER.CrouchedWalkSpeed = 0.3
|
|
PLAYER.DuckSpeed = 0.3
|
|
PLAYER.UnDuckSpeed = 0.3
|
|
PLAYER.JumpPower = 200
|
|
PLAYER.CanUseFlashlight = false
|
|
PLAYER.MaxHealth = 100
|
|
PLAYER.MaxArmor = 100
|
|
PLAYER.StartHealth = 100
|
|
PLAYER.StartArmor = 0
|
|
PLAYER.DropWeaponOnDie = false
|
|
PLAYER.TeammateNoCollide = true
|
|
PLAYER.AvoidPlayers = true
|
|
PLAYER.UseVMHands = true
|
|
|
|
function PLAYER:SetupDataTables()
|
|
end
|
|
|
|
player_manager.RegisterClass( "player_benny", PLAYER, "player_default" )
|