init
This commit is contained in:
290
Assets/prefabs/Player.prefab
Normal file
290
Assets/prefabs/Player.prefab
Normal file
@@ -0,0 +1,290 @@
|
||||
{
|
||||
"RootObject": {
|
||||
"__guid": "848f6198-ac9b-4979-b576-8a9bcec445d0",
|
||||
"Flags": 0,
|
||||
"Name": "player",
|
||||
"Tags": "player",
|
||||
"Enabled": true,
|
||||
"Components": [
|
||||
{
|
||||
"__type": "Sandbox.PlayerDresser",
|
||||
"__guid": "f6cb17cb-229f-491d-9606-168d8e0e071a",
|
||||
"BodyRenderer": {
|
||||
"_type": "component",
|
||||
"component_id": "559de9a6-0eab-4676-99e4-9e6c3cdc2a95",
|
||||
"go": "4ee14eb8-86a4-4742-8298-7492b7deccea",
|
||||
"component_type": "SkinnedModelRenderer"
|
||||
},
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.Citizen.CitizenAnimationHelper",
|
||||
"__guid": "6d063f1b-f607-4ef8-bfec-90830c6bf256",
|
||||
"BodyWeight": 1,
|
||||
"EyeSource": null,
|
||||
"EyesWeight": 1,
|
||||
"HeadWeight": 1,
|
||||
"Height": null,
|
||||
"IkLeftFoot": null,
|
||||
"IkLeftHand": null,
|
||||
"IkRightFoot": null,
|
||||
"IkRightHand": null,
|
||||
"LookAt": null,
|
||||
"LookAtEnabled": false,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"Target": {
|
||||
"_type": "component",
|
||||
"component_id": "559de9a6-0eab-4676-99e4-9e6c3cdc2a95",
|
||||
"go": "4ee14eb8-86a4-4742-8298-7492b7deccea",
|
||||
"component_type": "SkinnedModelRenderer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type": "ShrimpleCharacterController.ShrimpleCharacterController",
|
||||
"__guid": "399621ea-a86c-4b3f-9313-d7dcc1d940ba",
|
||||
"__version": 1,
|
||||
"AirAcceleration": 300,
|
||||
"AirDeceleration": 0,
|
||||
"CylinderTrace": false,
|
||||
"Gravity": -850,
|
||||
"GravityEnabled": true,
|
||||
"GripFactorReduction": 1,
|
||||
"GroundAcceleration": 3000,
|
||||
"GroundDeceleration": 3000,
|
||||
"GroundStickDistance": 12,
|
||||
"GroundStickEnabled": true,
|
||||
"IgnoreGroundSurface": false,
|
||||
"IgnoreTags": "",
|
||||
"IgnoreZ": true,
|
||||
"IgnoreZWhenZero": true,
|
||||
"ManuallyUpdate": true,
|
||||
"MaxBounces": 5,
|
||||
"MaxGroundAngle": 60,
|
||||
"MaxUnstuckTries": 20,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"PseudoStepsEnabled": false,
|
||||
"PushEnabled": false,
|
||||
"PushTagsWeight": {
|
||||
"player": 1
|
||||
},
|
||||
"RotateWithGameObject": true,
|
||||
"ScaleAgainstWalls": true,
|
||||
"StepDepth": 2.6,
|
||||
"StepHeight": 26,
|
||||
"StepsEnabled": true,
|
||||
"StepTolerance": 1,
|
||||
"TraceHeight": 72,
|
||||
"TraceWidth": 16,
|
||||
"UnstuckEnabled": true,
|
||||
"UseSceneGravity": false,
|
||||
"UseVectorGravity": true,
|
||||
"VectorGravity": "-97.97028,0,-844.3351",
|
||||
"WallTolerance": 1
|
||||
},
|
||||
{
|
||||
"__type": "Dedugan",
|
||||
"__guid": "c87cabbd-fbf9-4000-9d2c-77d476ae6692",
|
||||
"CameraPivot": {
|
||||
"_type": "gameobject",
|
||||
"go": "0802fa96-3b6e-49e1-a830-a4f57e1b0e2a"
|
||||
},
|
||||
"CamOffsetX": 72,
|
||||
"DuckSpeed": 100,
|
||||
"JumpStrength": 500,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"RunSpeed": 500,
|
||||
"WalkSpeed": 200
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.SphereCollider",
|
||||
"__guid": "ac941436-f43b-4bef-9171-fdee4422f354",
|
||||
"Center": "0,0,44.79994",
|
||||
"Friction": null,
|
||||
"IsTrigger": true,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"OnObjectTriggerEnter": null,
|
||||
"OnObjectTriggerExit": null,
|
||||
"OnTriggerEnter": null,
|
||||
"OnTriggerExit": null,
|
||||
"Radius": 8.499956,
|
||||
"Static": false,
|
||||
"Surface": null,
|
||||
"SurfaceVelocity": "0,0,0"
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.AudioListener",
|
||||
"__guid": "3d54d279-a2b7-4b09-a883-b4f403f93d8f",
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"UseCameraDirection": true
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.ModelPhysics",
|
||||
"__guid": "25d1c64d-a2e0-437e-a1db-833878aa88ce",
|
||||
"__enabled": false,
|
||||
"Locking": {
|
||||
"X": false,
|
||||
"Y": false,
|
||||
"Z": false,
|
||||
"Pitch": false,
|
||||
"Yaw": false,
|
||||
"Roll": false
|
||||
},
|
||||
"Model": "models/citizen/citizen.vmdl",
|
||||
"MotionEnabled": false,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"Renderer": {
|
||||
"_type": "component",
|
||||
"component_id": "559de9a6-0eab-4676-99e4-9e6c3cdc2a95",
|
||||
"go": "4ee14eb8-86a4-4742-8298-7492b7deccea",
|
||||
"component_type": "SkinnedModelRenderer"
|
||||
},
|
||||
"RigidbodyFlags": 0
|
||||
},
|
||||
{
|
||||
"__type": "RagdollController",
|
||||
"__guid": "b7f2be5c-e02c-4797-a561-15790e4a1380",
|
||||
"bodyPhysics": {
|
||||
"_type": "component",
|
||||
"component_id": "25d1c64d-a2e0-437e-a1db-833878aa88ce",
|
||||
"go": "848f6198-ac9b-4979-b576-8a9bcec445d0",
|
||||
"component_type": "ModelPhysics"
|
||||
},
|
||||
"bodyRenderer": {
|
||||
"_type": "component",
|
||||
"component_id": "559de9a6-0eab-4676-99e4-9e6c3cdc2a95",
|
||||
"go": "4ee14eb8-86a4-4742-8298-7492b7deccea",
|
||||
"component_type": "SkinnedModelRenderer"
|
||||
},
|
||||
"isLocked": false,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"__guid": "4ee14eb8-86a4-4742-8298-7492b7deccea",
|
||||
"Flags": 0,
|
||||
"Name": "Body",
|
||||
"Enabled": true,
|
||||
"Components": [
|
||||
{
|
||||
"__type": "Sandbox.SkinnedModelRenderer",
|
||||
"__guid": "559de9a6-0eab-4676-99e4-9e6c3cdc2a95",
|
||||
"AnimationGraph": null,
|
||||
"BodyGroups": 341,
|
||||
"BoneMergeTarget": null,
|
||||
"CreateAttachments": false,
|
||||
"CreateBoneObjects": false,
|
||||
"MaterialGroup": null,
|
||||
"MaterialOverride": null,
|
||||
"Model": "models/citizen/citizen.vmdl",
|
||||
"Morphs": {},
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"Parameters": {
|
||||
"bools": {},
|
||||
"ints": {},
|
||||
"floats": {},
|
||||
"vectors": {},
|
||||
"rotations": {}
|
||||
},
|
||||
"PlaybackRate": 1,
|
||||
"RenderOptions": {
|
||||
"GameLayer": true,
|
||||
"OverlayLayer": false,
|
||||
"BloomLayer": false,
|
||||
"AfterUILayer": false
|
||||
},
|
||||
"RenderType": "On",
|
||||
"Sequence": {
|
||||
"Name": null,
|
||||
"Looping": true
|
||||
},
|
||||
"Tint": "1,1,1,1",
|
||||
"UseAnimGraph": true
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"__guid": "0802fa96-3b6e-49e1-a830-a4f57e1b0e2a",
|
||||
"Flags": 0,
|
||||
"Name": "Pivot",
|
||||
"Position": "0.6190618,-15.4681,52.31483",
|
||||
"Enabled": true,
|
||||
"Components": [],
|
||||
"Children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"__variables": [],
|
||||
"__properties": {
|
||||
"NetworkInterpolation": true,
|
||||
"TimeScale": 1,
|
||||
"WantsSystemScene": true,
|
||||
"Metadata": {},
|
||||
"NavMesh": {
|
||||
"Enabled": false,
|
||||
"IncludeStaticBodies": true,
|
||||
"IncludeKeyframedBodies": true,
|
||||
"EditorAutoUpdate": true,
|
||||
"AgentHeight": 64,
|
||||
"AgentRadius": 16,
|
||||
"AgentStepSize": 18,
|
||||
"AgentMaxSlope": 40,
|
||||
"ExcludedBodies": "",
|
||||
"IncludedBodies": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"ShowInMenu": false,
|
||||
"MenuPath": null,
|
||||
"MenuIcon": null,
|
||||
"DontBreakAsTemplate": false,
|
||||
"ResourceVersion": 1,
|
||||
"__references": [],
|
||||
"__version": 1
|
||||
}
|
||||
Reference in New Issue
Block a user