This commit is contained in:
Oscar
2025-06-28 18:13:47 +03:00
parent 875d594038
commit 23a35fe3cd
23 changed files with 2579 additions and 607 deletions

View File

@@ -107,38 +107,6 @@
},
"Volume": 1
},
{
"__type": "Sandbox.Weapons.Weapon",
"__guid": "fc38d078-995b-443a-b409-e877618fcf09",
"__enabled": true,
"bloodParticle": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.flesh.mist.prefab"
},
"Cooldown": 0.5,
"Equipped": false,
"GunRenderer": {
"_type": "component",
"component_id": "6017d24d-39d0-4acf-bf9f-010c345fd13d",
"go": "dec3b7f3-79ae-4bb4-b868-8de9d0306ebb",
"component_type": "SkinnedModelRenderer"
},
"MuzzleLight": {
"_type": "gameobject",
"go": "eda01dbe-7e56-4e66-af99-673e197e7dc0"
},
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"particlePrefab": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.metal.prefab"
},
"WeaponDefinition": "items/pistol_test.weapon"
},
{
"__type": "Sasalka.PickupItem",
"__guid": "7350112e-dea3-4c22-b9fc-76eaed3d2e57",
@@ -152,19 +120,6 @@
"OnComponentUpdate": null,
"RequiresHold": false
},
{
"__type": "Sasalka.InventoryItem",
"__guid": "ce60c131-01f0-4aa3-a84c-c93eac1d1c2d",
"__enabled": true,
"Count": 1,
"Definition": "items/pistol_test.weapon",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null
},
{
"__type": "Sandbox.BoxCollider",
"__guid": "8a705640-2966-489e-a41a-2bf6f2cc62f0",
@@ -214,6 +169,41 @@
"OverrideMassCenter": false,
"RigidbodyFlags": 0,
"StartAsleep": false
},
{
"__type": "Sandbox.Weapons.BaseWeapon",
"__guid": "b5ffb918-23a1-419f-a24f-fc29537de2fc",
"__enabled": true,
"BloodParticle": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.flesh.mist.prefab"
},
"Count": 1,
"Definition": "items/pistol_test.weapon",
"EjectShellPrefab": null,
"EjectTransform": null,
"GunRenderer": {
"_type": "component",
"component_id": "6017d24d-39d0-4acf-bf9f-010c345fd13d",
"go": "dec3b7f3-79ae-4bb4-b868-8de9d0306ebb",
"component_type": "SkinnedModelRenderer"
},
"MuzzleFlashPrefab": null,
"MuzzleLight": {
"_type": "gameobject",
"go": "eda01dbe-7e56-4e66-af99-673e197e7dc0"
},
"MuzzleTransform": null,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"ParticlePrefab": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.metal.prefab"
}
}
],
"Children": [
@@ -269,126 +259,6 @@
"Components": [],
"Children": []
},
{
"__guid": "47bb3ba1-b0de-4af4-b639-235a5ad2c312",
"__version": 1,
"Flags": 0,
"Name": "Laser2",
"Position": "11.14736,-0.2659489,3.71905",
"Rotation": "0,0,0,1",
"Scale": "1,0.1,0.1",
"Tags": "",
"Enabled": false,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.SkinnedModelRenderer",
"__guid": "862e0738-e57f-456a-b0c8-ff03a165faf9",
"__enabled": true,
"AnimationGraph": null,
"BodyGroups": 18446744073709551615,
"BoneMergeTarget": null,
"CreateAttachments": false,
"CreateBoneObjects": false,
"MaterialGroup": null,
"MaterialOverride": "materials/pistol/glow_2.vmat",
"Model": "lasermesh.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,
"Blending": false
},
"Tint": "1,1,1,1",
"UseAnimGraph": true
}
],
"Children": []
},
{
"__guid": "a9d8c3d0-cbcb-4ebe-994c-5f4c36f08996",
"__version": 1,
"Flags": 0,
"Name": "Laser",
"Position": "11.14736,-0.2659489,5.71905",
"Rotation": "0,0,0,1",
"Scale": "1,0.1,0.1",
"Tags": "",
"Enabled": false,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.SkinnedModelRenderer",
"__guid": "e1b93001-f96d-474d-bd6f-aaa2acb0d33e",
"__enabled": true,
"AnimationGraph": null,
"BodyGroups": 18446744073709551615,
"BoneMergeTarget": null,
"CreateAttachments": false,
"CreateBoneObjects": false,
"MaterialGroup": null,
"MaterialOverride": "materials/pistol/glow_2.vmat",
"Model": "lasermesh.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,
"Blending": false
},
"Tint": "1,1,1,1",
"UseAnimGraph": true
}
],
"Children": []
},
{
"__guid": "0e9f41d3-8000-4c3c-9cdd-076056da9d0a",
"__version": 1,

View File

@@ -0,0 +1,270 @@
{
"RootObject": {
"__guid": "ce810e36-c1c4-4ea3-be56-46c1d13e5273",
"__version": 1,
"Flags": 0,
"Name": "rifle",
"Position": "0,0,0",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.SkinnedModelRenderer",
"__guid": "b925eab6-e868-4a8b-98d2-253a888c8b61",
"__enabled": true,
"AnimationGraph": null,
"BodyGroups": 3,
"BoneMergeTarget": null,
"CreateAttachments": false,
"CreateBoneObjects": false,
"MaterialGroup": null,
"MaterialOverride": null,
"Model": "models/weapons/sbox_smg_mp5/w_mp5.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,
"Blending": false
},
"Tint": "1,1,1,1",
"UseAnimGraph": true
},
{
"__type": "Sandbox.SoundPointComponent",
"__guid": "7107268f-7ddf-4ecd-95c7-476f0245e407",
"__enabled": true,
"Distance": 2219,
"DistanceAttenuation": true,
"DistanceAttenuationOverride": true,
"Falloff": [
{
"x": 0,
"y": 1,
"in": 3.1415927,
"out": -3.1415927,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
],
"Force2d": false,
"MaxRepeatTime": 1,
"MinRepeatTime": 1,
"Occlusion": false,
"OcclusionOverride": false,
"OcclusionRadius": 32,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Pitch": 1,
"PlayOnStart": false,
"ReflectionOverride": false,
"Reflections": false,
"Repeat": false,
"SoundEvent": "sounds/shoot_sound_1.sound",
"SoundOverride": false,
"StopOnNew": true,
"TargetMixer": {
"Name": "game",
"Id": "fa65adf3-a336-4d2b-9e2f-37f15349175a"
},
"Volume": 1
},
{
"__type": "Sasalka.PickupItem",
"__guid": "bd83be18-ee6a-4de8-b3eb-5faee04b353c",
"__enabled": true,
"Label": "E",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"RequiresHold": false
},
{
"__type": "Sandbox.BoxCollider",
"__guid": "d9bc44c9-fb0c-423f-abe7-313a9004f75f",
"__enabled": true,
"Center": "1.620956,-0.09806705,5.646916",
"Friction": null,
"IsTrigger": false,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"OnObjectTriggerEnter": null,
"OnObjectTriggerExit": null,
"OnTriggerEnter": null,
"OnTriggerExit": null,
"Scale": "22.61082,2.802388,10.66742",
"Static": false,
"Surface": null,
"SurfaceVelocity": "0,0,0"
},
{
"__type": "Sandbox.Rigidbody",
"__guid": "22b20b29-fe55-4216-b753-3e0133f7fdeb",
"__enabled": true,
"AngularDamping": 0,
"Gravity": true,
"LinearDamping": 0,
"Locking": {
"X": false,
"Y": false,
"Z": false,
"Pitch": false,
"Yaw": false,
"Roll": false
},
"MassCenterOverride": "0,0,0",
"MassOverride": 35,
"MotionEnabled": true,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"OverrideMassCenter": false,
"RigidbodyFlags": 0,
"StartAsleep": false
},
{
"__type": "Sandbox.Weapons.BaseWeapon",
"__guid": "d0fd09c4-795e-48f1-a8e0-d842e34a08b4",
"__enabled": true,
"BloodParticle": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.flesh.mist.prefab"
},
"Count": 1,
"Definition": "items/rifle.weapon",
"EjectShellPrefab": null,
"EjectTransform": null,
"GunRenderer": {
"_type": "component",
"component_id": "b925eab6-e868-4a8b-98d2-253a888c8b61",
"go": "ce810e36-c1c4-4ea3-be56-46c1d13e5273",
"component_type": "SkinnedModelRenderer"
},
"MuzzleFlashPrefab": null,
"MuzzleLight": null,
"MuzzleTransform": null,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"ParticlePrefab": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.metal.prefab"
}
}
],
"Children": [
{
"__guid": "7fb74dde-10e5-42fe-a8ee-204e88d9191b",
"__version": 1,
"Flags": 0,
"Name": "Point Light",
"Position": "15.51598,0.00004095561,8.259875",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "light_point,light",
"Enabled": false,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.PointLight",
"__guid": "cff6f843-9ace-46d0-b3bf-cf882762b913",
"__enabled": true,
"Attenuation": 1,
"FogMode": "Enabled",
"FogStrength": 1,
"LightColor": "0.45,1,0,1",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Radius": 400,
"Shadows": true
}
],
"Children": []
}
],
"__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": ""
}
},
"__variables": []
},
"ResourceVersion": 2,
"ShowInMenu": false,
"MenuPath": null,
"MenuIcon": null,
"DontBreakAsTemplate": false,
"__references": [
"facepunch.w_mp5#33703"
],
"__version": 2
}

View File

@@ -0,0 +1,166 @@
{
"RootObject": {
"__guid": "4ff6f615-319d-4ec0-a44e-b41f043aba92",
"__version": 1,
"Flags": 0,
"Name": "rifle_ammo",
"Position": "0,0,0",
"Rotation": "0,0,0,1",
"Scale": "0.7,0.7,0.7",
"Tags": "",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.SkinnedModelRenderer",
"__guid": "9ef3a8e5-9305-4390-91ba-9c58981bb8ec",
"__enabled": true,
"AnimationGraph": null,
"BodyGroups": 18446744073709551615,
"BoneMergeTarget": null,
"CreateAttachments": false,
"CreateBoneObjects": false,
"MaterialGroup": null,
"MaterialOverride": null,
"Model": "pr/gta5_ammo_1.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,
"Blending": false
},
"Tint": "1,1,1,1",
"UseAnimGraph": true
},
{
"__type": "Sandbox.BoxCollider",
"__guid": "e8bf0351-5b2f-46be-aba4-6fe5862578e7",
"__enabled": true,
"Center": "0.02521539,-0.003817081,3.401833",
"Friction": null,
"IsTrigger": false,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"OnObjectTriggerEnter": null,
"OnObjectTriggerExit": null,
"OnTriggerEnter": null,
"OnTriggerExit": null,
"Scale": "4.454757,15.74074,6.848438",
"Static": false,
"Surface": null,
"SurfaceVelocity": "0,0,0"
},
{
"__type": "Sasalka.PickupItem",
"__guid": "c22be7d5-6e97-46f1-b4d4-ceadfd9c0c45",
"__enabled": true,
"Label": "E",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"RequiresHold": false
},
{
"__type": "Sandbox.Rigidbody",
"__guid": "d6491a9e-6cdd-4c0f-8153-97b7a4b4a83d",
"__enabled": true,
"AngularDamping": 0,
"Gravity": true,
"LinearDamping": 0,
"Locking": {
"X": false,
"Y": false,
"Z": false,
"Pitch": false,
"Yaw": false,
"Roll": false
},
"MassCenterOverride": "0,0,0",
"MassOverride": 0,
"MotionEnabled": true,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"OverrideMassCenter": false,
"RigidbodyFlags": 0,
"StartAsleep": false
},
{
"__type": "Sasalka.InventoryItem",
"__guid": "07adf41b-f453-45e5-9235-7f372563b8f7",
"__enabled": true,
"Count": 256,
"Definition": "items/rifle.ammo",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null
}
],
"Children": [],
"__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": ""
}
},
"__variables": []
},
"ResourceVersion": 2,
"ShowInMenu": false,
"MenuPath": null,
"MenuIcon": null,
"DontBreakAsTemplate": false,
"__references": [
"gtavteam.gta5ammo1#103232"
],
"__version": 2
}