Create NetworkManager, Client, and Hud
This commit is contained in:
179
Assets/prefabs/player.prefab
Normal file
179
Assets/prefabs/player.prefab
Normal file
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"RootObject": {
|
||||
"__guid": "226bae44-5ffa-4e59-8314-fb7704d99792",
|
||||
"Flags": 0,
|
||||
"Name": "Player Controller",
|
||||
"Position": "-200.7519,-55.49498,1.470044",
|
||||
"Enabled": true,
|
||||
"Components": [
|
||||
{
|
||||
"__type": "Sandbox.PlayerController",
|
||||
"__guid": "f87ac628-ba1d-4ea4-ad35-061fbdd92fbc",
|
||||
"AimStrengthBody": 1,
|
||||
"AimStrengthEyes": 1,
|
||||
"AimStrengthHead": 1,
|
||||
"Body": {
|
||||
"_type": "component",
|
||||
"component_id": "3b090c90-c4ba-48dc-945e-46457cb453b1",
|
||||
"go": "226bae44-5ffa-4e59-8314-fb7704d99792",
|
||||
"component_type": "Rigidbody"
|
||||
},
|
||||
"BodyHeight": 72,
|
||||
"BodyMass": 500,
|
||||
"BodyRadius": 16,
|
||||
"CameraOffset": "256,0,12",
|
||||
"ColliderObject": {
|
||||
"_type": "gameobject",
|
||||
"go": "f45df165-faec-47b8-9e73-d2d0d1d94660"
|
||||
},
|
||||
"DuckedHeight": 36,
|
||||
"DuckedSpeed": 70,
|
||||
"EnableFootstepSounds": true,
|
||||
"EnablePressing": true,
|
||||
"EyeDistanceFromTop": 8,
|
||||
"FootstepMixer": {
|
||||
"Name": "unknown",
|
||||
"Id": "00000000-0000-0000-0000-000000000000"
|
||||
},
|
||||
"FootstepVolume": 1,
|
||||
"HideBodyInFirstPerson": true,
|
||||
"JumpSpeed": 300,
|
||||
"ReachLength": 130,
|
||||
"Renderer": {
|
||||
"_type": "component",
|
||||
"component_id": "5ff01433-a4b1-4ac0-9437-20f18966c556",
|
||||
"go": "e98ba887-3414-4817-a78a-8004711774c5",
|
||||
"component_type": "SkinnedModelRenderer"
|
||||
},
|
||||
"RotateWithGround": true,
|
||||
"RotationAngleLimit": 45,
|
||||
"RotationSpeed": 1,
|
||||
"RunSpeed": 320,
|
||||
"ShowColliderComponents": false,
|
||||
"ShowRigidbodyComponent": false,
|
||||
"ThirdPerson": true,
|
||||
"ToggleCameraModeButton": "view",
|
||||
"UseAnimatorControls": true,
|
||||
"UseButton": "use",
|
||||
"UseCameraControls": true,
|
||||
"UseInputControls": true,
|
||||
"WalkSpeed": 110
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.Rigidbody",
|
||||
"__guid": "3b090c90-c4ba-48dc-945e-46457cb453b1",
|
||||
"AngularDamping": 1,
|
||||
"Gravity": true,
|
||||
"LinearDamping": 0.1,
|
||||
"Locking": {
|
||||
"X": false,
|
||||
"Y": false,
|
||||
"Z": false,
|
||||
"Pitch": true,
|
||||
"Yaw": true,
|
||||
"Roll": true
|
||||
},
|
||||
"MassCenterOverride": "0,0,36",
|
||||
"MassOverride": 500,
|
||||
"MotionEnabled": true,
|
||||
"OverrideMassCenter": true,
|
||||
"RigidbodyFlags": "DisableCollisionSounds",
|
||||
"StartAsleep": false
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.Movement.MoveModeWalk",
|
||||
"__guid": "063da125-6f28-49be-96cd-da5b52cb4007",
|
||||
"GroundAngle": 45,
|
||||
"Priority": 0,
|
||||
"StepDownHeight": 18,
|
||||
"StepUpHeight": 18
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.Movement.MoveModeSwim",
|
||||
"__guid": "72adfaa2-8d48-4eee-9037-16b57c737aaf",
|
||||
"Priority": 10,
|
||||
"SwimLevel": 0.7
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.Movement.MoveModeLadder",
|
||||
"__guid": "bb0f3a51-8973-4f40-af23-60c7c2d1f479",
|
||||
"ClimbableTags": "ladder",
|
||||
"Priority": 5
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"__guid": "e98ba887-3414-4817-a78a-8004711774c5",
|
||||
"Flags": 0,
|
||||
"Name": "Body",
|
||||
"Enabled": true,
|
||||
"Components": [
|
||||
{
|
||||
"__type": "Sandbox.SkinnedModelRenderer",
|
||||
"__guid": "5ff01433-a4b1-4ac0-9437-20f18966c556",
|
||||
"BodyGroups": 341,
|
||||
"CreateAttachments": false,
|
||||
"CreateBoneObjects": false,
|
||||
"Model": "models/citizen/citizen.vmdl",
|
||||
"Morphs": {},
|
||||
"Parameters": {
|
||||
"bools": {},
|
||||
"ints": {},
|
||||
"floats": {},
|
||||
"vectors": {},
|
||||
"rotations": {}
|
||||
},
|
||||
"RenderOptions": {
|
||||
"GameLayer": true,
|
||||
"OverlayLayer": false,
|
||||
"BloomLayer": false,
|
||||
"AfterUILayer": false
|
||||
},
|
||||
"RenderType": "On",
|
||||
"Sequence": {
|
||||
"Name": null
|
||||
},
|
||||
"Tint": "1,1,1,1",
|
||||
"UseAnimGraph": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"__guid": "f45df165-faec-47b8-9e73-d2d0d1d94660",
|
||||
"Flags": 1,
|
||||
"Name": "Colliders",
|
||||
"Enabled": true,
|
||||
"Components": [
|
||||
{
|
||||
"__type": "Sandbox.CapsuleCollider",
|
||||
"__guid": "5d2196ca-4be8-4fb2-84af-09d1e9b29b30",
|
||||
"End": "0,0,45.05097",
|
||||
"Friction": 0,
|
||||
"IsTrigger": false,
|
||||
"Radius": 11.313708,
|
||||
"Start": "0,0,60.68629",
|
||||
"Static": false,
|
||||
"SurfaceVelocity": "0,0,0"
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.BoxCollider",
|
||||
"__guid": "73ed41e5-51cc-4ee4-aac2-87df6bd120c3",
|
||||
"Center": "0,0,18",
|
||||
"Friction": 0,
|
||||
"IsTrigger": false,
|
||||
"Scale": "16,16,36",
|
||||
"Static": false,
|
||||
"SurfaceVelocity": "0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"ShowInMenu": false,
|
||||
"MenuPath": null,
|
||||
"MenuIcon": null,
|
||||
"DontBreakAsTemplate": false,
|
||||
"ResourceVersion": 1,
|
||||
"__references": [],
|
||||
"__version": 1
|
||||
}
|
||||
Reference in New Issue
Block a user