This commit is contained in:
Oscar
2025-06-08 23:47:32 +03:00
parent 160429eae6
commit 38754d2b59
45 changed files with 9857 additions and 0 deletions

77
Assets/LaserMesh.vmdl Normal file
View File

@@ -0,0 +1,77 @@
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:modeldoc29:version{3cec427c-1b0e-4d48-a90a-0436f33a6041} -->
{
rootNode =
{
_class = "RootNode"
children =
[
{
_class = "MaterialGroupList"
children =
[
{
_class = "DefaultMaterialGroup"
remaps =
[
]
use_global_default = false
global_default_material = "materials/default.vmat"
},
]
},
{
_class = "RenderMeshList"
children =
[
{
_class = "RenderMeshFile"
filename = "models/LaserMesh/LaserMesh.fbx"
import_translation = [ 0.0, 0.0, 0.0 ]
import_rotation = [ 0.0, 0.0, 0.0 ]
import_scale = 1
align_origin_x_type = "None"
align_origin_y_type = "None"
align_origin_z_type = "None"
parent_bone = ""
import_filter =
{
exclude_by_default = false
exception_list = []
}
},
]
},
{
_class = "ModelModifierList"
children =
[
{
_class = "ModelModifier_ScaleAndMirror"
scale = 0.3937000036239624
mirror_x = false
mirror_y = false
mirror_z = false
flip_bone_forward = false
swap_left_and_right_bones = false
},
]
},
{
_class = "PhysicsShapeList"
children =
[
{
_class = "PhysicsMeshFromRender"
parent_bone = ""
surface_prop = "default"
collision_tags = "solid"
},
]
}
]
model_archetype = ""
primary_associated_entity = ""
anim_graph_name = ""
base_model_name = ""
}
}

146
Assets/Pistol.vmdl Normal file
View File

@@ -0,0 +1,146 @@
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:modeldoc29:version{3cec427c-1b0e-4d48-a90a-0436f33a6041} -->
{
rootNode =
{
_class = "RootNode"
children =
[
{
_class = "MaterialGroupList"
children =
[
{
_class = "DefaultMaterialGroup"
remaps =
[
{
from = "fabric.003.vmat"
to = "materials/pistol/fabric.003.vmat"
},
{
from = "glow.vmat"
to = "materials/pistol/glow.vmat"
},
{
from = "plastic.vmat"
to = "materials/pistol/plastic.vmat"
},
{
from = "metal.1.vmat"
to = "materials/pistol/metal.1.vmat"
},
]
use_global_default = false
global_default_material = "materials/default.vmat"
},
]
},
{
_class = "RenderMeshList"
children =
[
{
_class = "RenderMeshFile"
filename = "models/my_citizen/pistol_new.fbx"
import_translation = [ 0.0, 0.0, 0.0 ]
import_rotation = [ 0.0, 0.0, 0.0 ]
import_scale = 1.0
align_origin_x_type = "None"
align_origin_y_type = "None"
align_origin_z_type = "None"
parent_bone = ""
import_filter =
{
exclude_by_default = false
exception_list = [ ]
}
},
]
},
{
_class = "ModelModifierList"
children =
[
{
_class = "ModelModifier_ScaleAndMirror"
scale = 0.3937
mirror_x = false
mirror_y = false
mirror_z = false
flip_bone_forward = false
swap_left_and_right_bones = false
},
]
},
{
_class = "PhysicsShapeList"
children =
[
{
_class = "PhysicsMeshFromRender"
parent_bone = ""
surface_prop = "default"
collision_tags = "solid"
},
]
},
{
_class = "AnimationList"
children =
[
{
_class = "AnimFile"
name = "pistol_new"
activity_name = ""
activity_weight = 1
weight_list_name = ""
fade_in_time = 0.2
fade_out_time = 0.2
looping = false
delta = false
worldSpace = false
hidden = false
anim_markup_ordered = false
disable_compression = false
disable_interpolation = false
enable_scale = false
source_filename = "models/my_citizen/pistol_new.fbx"
start_frame = -1
end_frame = -1
framerate = -1.0
take = 1
reverse = false
},
{
_class = "AnimFile"
name = "pistol_new1"
activity_name = "Fire"
activity_weight = 1
weight_list_name = ""
fade_in_time = 0.2
fade_out_time = 0.2
looping = false
delta = false
worldSpace = false
hidden = false
anim_markup_ordered = false
disable_compression = false
disable_interpolation = false
enable_scale = false
source_filename = "models/my_citizen/pistol_new.fbx"
start_frame = -1
end_frame = -1
framerate = -1.0
take = 0
reverse = false
},
]
default_root_bone_name = ""
},
]
model_archetype = ""
primary_associated_entity = ""
anim_graph_name = "animgraphs/pistol.vanmgrph"
base_model_name = ""
}
}

View File

@@ -0,0 +1,282 @@
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:animgraph2:version{0f7898b8-5471-45c4-9867-cd9c46bcfdb5} -->
{
_class = "CAnimationGraph"
m_nodeManager =
{
_class = "CAnimNodeManager"
m_nodes =
[
{
key =
{
m_id = 80340519
}
value =
{
_class = "CStateMachineAnimNode"
m_sName = "Unnamed"
m_vecPosition = [ -256.0, -192.0 ]
m_nNodeID =
{
m_id = 80340519
}
m_sNote = ""
m_states =
[
{
_class = "CAnimState"
m_transitions =
[
{
_class = "CAnimStateTransition"
m_conditions =
[
{
_class = "CParameterAnimCondition"
m_comparisonOp = 0
m_paramID =
{
m_id = 99224662
}
m_comparisonValue =
{
m_nType = 1
m_data = true
}
},
]
m_blendDuration = 0.2
m_destState =
{
m_id = 52598034
}
m_bReset = true
m_resetCycleOption = "Beginning"
m_flFixedCycleValue = 0.0
m_bBlendCycle = false
m_blendCurve =
{
m_vControlPoint1 = [ 0.5, 0.0 ]
m_vControlPoint2 = [ 0.5, 1.0 ]
}
m_bForceFootPlant = false
m_bDisabled = false
m_bRandomTimeBetween = false
m_flRandomTimeStart = 0.0
m_flRandomTimeEnd = 0.0
},
]
m_tags = [ ]
m_tagBehaviors = [ ]
m_name = "idle"
m_inputConnection =
{
m_nodeID =
{
m_id = 4294967295
}
m_outputID =
{
m_id = 4294967295
}
}
m_stateID =
{
m_id = 556431534
}
m_position = [ -144.0, -96.0 ]
m_bIsStartState = true
m_bIsEndtState = false
m_bIsPassthrough = false
m_bIsRootMotionExclusive = false
m_bAlwaysEvaluate = false
},
{
_class = "CAnimState"
m_transitions =
[
{
_class = "CAnimStateTransition"
m_conditions =
[
{
_class = "CFinishedCondition"
m_comparisonOp = 0
m_option = "FinishedConditionOption_OnFinished"
m_bIsFinished = true
},
{
_class = "CTimeCondition"
m_comparisonOp = 3
m_comparisonValue = 0.1
},
]
m_blendDuration = 0.2
m_destState =
{
m_id = 556431534
}
m_bReset = true
m_resetCycleOption = "Beginning"
m_flFixedCycleValue = 0.0
m_bBlendCycle = false
m_blendCurve =
{
m_vControlPoint1 = [ 0.5, 0.0 ]
m_vControlPoint2 = [ 0.5, 1.0 ]
}
m_bForceFootPlant = false
m_bDisabled = false
m_bRandomTimeBetween = false
m_flRandomTimeStart = 0.0
m_flRandomTimeEnd = 0.0
},
]
m_tags = [ ]
m_tagBehaviors = [ ]
m_name = "shoot"
m_inputConnection =
{
m_nodeID =
{
m_id = 478164850
}
m_outputID =
{
m_id = 4294967295
}
}
m_stateID =
{
m_id = 52598034
}
m_position = [ -16.0, -96.0 ]
m_bIsStartState = false
m_bIsEndtState = false
m_bIsPassthrough = false
m_bIsRootMotionExclusive = false
m_bAlwaysEvaluate = false
},
]
m_bBlockWaningTags = false
m_bLockStateWhenWaning = false
}
},
{
key =
{
m_id = 478164850
}
value =
{
_class = "CSequenceAnimNode"
m_sName = "fire"
m_vecPosition = [ -464.0, -48.0 ]
m_nNodeID =
{
m_id = 478164850
}
m_sNote = ""
m_tagSpans = [ ]
m_sequenceName = "pistol_new"
m_playbackSpeed = 2.0
m_bLoop = false
}
},
{
key =
{
m_id = 1221959074
}
value =
{
_class = "CRootAnimNode"
m_sName = "Unnamed"
m_vecPosition = [ -16.0, -48.0 ]
m_nNodeID =
{
m_id = 1221959074
}
m_sNote = ""
m_inputConnection =
{
m_nodeID =
{
m_id = 80340519
}
m_outputID =
{
m_id = 4294967295
}
}
}
},
]
}
m_pParameterList =
{
_class = "CAnimParameterList"
m_Parameters =
[
{
_class = "CBoolAnimParameter"
m_name = "Fire"
m_id =
{
m_id = 99224662
}
m_previewButton = "ANIMPARAM_BUTTON_NONE"
m_bUseMostRecentValue = false
m_bAutoReset = true
m_bDefaultValue = false
},
]
}
m_pTagManager =
{
_class = "CAnimTagManager"
m_tags = [ ]
}
m_pMovementManager =
{
_class = "CAnimMovementManager"
m_MotorList =
{
_class = "CAnimMotorList"
m_motors = [ ]
}
m_MovementSettings =
{
_class = "CAnimMovementSettings"
m_bShouldCalculateSlope = false
}
}
m_pSettingsManager =
{
_class = "CAnimGraphSettingsManager"
m_settingsGroups =
[
{
_class = "CAnimGraphGeneralSettings"
m_iGridSnap = 16
},
]
}
m_pActivityValuesList =
{
_class = "CActivityValueList"
m_activities = [ ]
}
m_previewModels =
[
"models/my_citizen/pistol_new.vmdl",
]
m_boneMergeModels = [ ]
m_cameraSettings =
{
m_flFov = 60.0
m_sLockBoneName = "Bone"
m_bLockCamera = false
m_bViewModelCamera = false
}
}

View File

@@ -0,0 +1,42 @@
// THIS FILE IS AUTO-GENERATED
Layer0
{
shader "shaders/complex.shader"
//---- PBR ----
F_SPECULAR 1
//---- Ambient Occlusion ----
g_flAmbientOcclusionDirectDiffuse "0.000"
g_flAmbientOcclusionDirectSpecular "0.000"
TextureAmbientOcclusion "materials/default/default_ao.tga"
//---- Color ----
g_flModelTintAmount "1.000"
g_vColorTint "[1.000000 1.000000 1.000000 1.000000]"
TextureColor "textures/Pistol/Fabric080_1K-PNG_Color.png"
//---- Fade ----
g_flFadeExponent "1.000"
//---- Fog ----
g_bFogEnabled "1"
//---- Metalness ----
g_flMetalness "0.000"
//---- Normal ----
TextureNormal "textures/Pistol/Fabric080_1K-PNG_NormalGL_norm.png"
//---- Roughness ----
g_flRoughnessScaleFactor "2.000"
TextureRoughness "textures/Pistol/Fabric080_1K-PNG_Roughness.png"
//---- Texture Coordinates ----
g_nScaleTexCoordUByModelScaleAxis "0"
g_nScaleTexCoordVByModelScaleAxis "0"
g_vTexCoordOffset "[0.000 0.000]"
g_vTexCoordScale "[1.000 1.000]"
g_vTexCoordScrollSpeed "[0.000 0.000]"
}

View File

@@ -0,0 +1,51 @@
// THIS FILE IS AUTO-GENERATED
Layer0
{
shader "shaders/complex.shader"
//---- PBR ----
F_SELF_ILLUM 1
F_SPECULAR 1
//---- Ambient Occlusion ----
g_flAmbientOcclusionDirectDiffuse "0.000"
g_flAmbientOcclusionDirectSpecular "0.000"
TextureAmbientOcclusion "materials/default/default_ao.tga"
//---- Color ----
g_flModelTintAmount "1.000"
g_vColorTint "[0.019608 0.000000 1.000000 1.000000]"
TextureColor "materials/default/default_color.tga"
//---- Fade ----
g_flFadeExponent "1.000"
//---- Fog ----
g_bFogEnabled "1"
//---- Metalness ----
g_flMetalness "0.000"
//---- Normal ----
TextureNormal "materials/default/default_normal.tga"
//---- Roughness ----
g_flRoughnessScaleFactor "0.000"
TextureRoughness "materials/default/default_rough.tga"
//---- Self Illum ----
g_flSelfIllumAlbedoFactor "1.000"
g_flSelfIllumBrightness "10.000"
g_flSelfIllumScale "16.000"
g_vSelfIllumScrollSpeed "[0.000 0.000]"
g_vSelfIllumTint "[0.054902 0.043137 0.807843 1.000000]"
TextureSelfIllumMask "[1.000000 1.000000 1.000000 0.000000]"
//---- Texture Coordinates ----
g_nScaleTexCoordUByModelScaleAxis "0"
g_nScaleTexCoordVByModelScaleAxis "0"
g_vTexCoordOffset "[0.000 0.000]"
g_vTexCoordScale "[1.000 1.000]"
g_vTexCoordScrollSpeed "[0.000 0.000]"
}

View File

@@ -0,0 +1,36 @@
// THIS FILE IS AUTO-GENERATED
Layer0
{
shader "shaders/glass_scope.shader"
//---- Fog ----
g_bFogEnabled "0"
//---- Glass ----
g_flBlurAmount "0.696"
g_flIridescence "821.429"
g_flIridescenceScale "10.000"
g_flRefractionStrength "1.009"
g_flSightDistanceScale "4.167"
g_vSightLightColor "[0.019608 0.019608 0.458824 1.000000]"
//---- Material ----
g_flTintColor "[1.000000 0.262745 0.000000 0.000000]"
TextureAmbientOcclusion "materials/default/default_ao.tga"
TextureBlendMask "[0.000000 0.000000 0.000000 0.000000]"
TextureColor "[0.254902 0.411765 0.882353 1.000000]"
TextureMetalness "[0.000000 0.000000 0.000000 0.000000]"
TextureNormal "materials/default/default_normal.tga"
TextureRoughness "[1.000000 1.000000 1.000000 0.000000]"
TextureTintMask "[0.983000 0.983000 0.983000 0.000000]"
TextureTranslucency "[0.000000 0.000000 0.000000 0.000000]"
//---- Sight Dot ----
RedDot "materials/default/default_color.tga"
RedDot2 "materials/default/default_color.tga"
RedDot3 "materials/default/default_color.tga"
//---- Translucent ----
g_flOpacityScale "0.054"
}

View File

@@ -0,0 +1,43 @@
// THIS FILE IS AUTO-GENERATED
Layer0
{
shader "shaders/complex.shader"
//---- PBR ----
F_METALNESS_TEXTURE 1
F_SPECULAR 1
//---- Ambient Occlusion ----
g_flAmbientOcclusionDirectDiffuse "0.000"
g_flAmbientOcclusionDirectSpecular "0.000"
TextureAmbientOcclusion "materials/default/default_ao.tga"
//---- Color ----
g_flModelTintAmount "1.000"
g_vColorTint "[1.000000 1.000000 1.000000 1.000000]"
TextureColor "textures/Pistol/Metal055A_1K-PNG_Color.png"
//---- Fade ----
g_flFadeExponent "1.000"
//---- Fog ----
g_bFogEnabled "1"
//---- Metalness ----
TextureMetalness "textures/Pistol/Metal055A_1K-PNG_Metalness.png"
//---- Normal ----
TextureNormal "textures/Pistol/Metal055A_1K-PNG_NormalGL_norm.png"
//---- Roughness ----
g_flRoughnessScaleFactor "1.012"
TextureRoughness "textures/Pistol/Metal055A_1K-PNG_Roughness.png"
//---- Texture Coordinates ----
g_nScaleTexCoordUByModelScaleAxis "0"
g_nScaleTexCoordVByModelScaleAxis "0"
g_vTexCoordOffset "[0.000 0.000]"
g_vTexCoordScale "[1.000 1.000]"
g_vTexCoordScrollSpeed "[0.000 0.000]"
}

View File

@@ -0,0 +1,42 @@
// THIS FILE IS AUTO-GENERATED
Layer0
{
shader "shaders/complex.shader"
//---- PBR ----
F_SPECULAR 1
//---- Ambient Occlusion ----
g_flAmbientOcclusionDirectDiffuse "0.000"
g_flAmbientOcclusionDirectSpecular "0.000"
TextureAmbientOcclusion "materials/default/default_ao.tga"
//---- Color ----
g_flModelTintAmount "1.000"
g_vColorTint "[0.141176 0.141176 0.141176 1.000000]"
TextureColor "materials/default/default_color.tga"
//---- Fade ----
g_flFadeExponent "1.000"
//---- Fog ----
g_bFogEnabled "1"
//---- Metalness ----
g_flMetalness "0.000"
//---- Normal ----
TextureNormal "textures/Pistol/Plastic018A_1K-PNG_NormalDX_norm.png"
//---- Roughness ----
g_flRoughnessScaleFactor "0.607"
TextureRoughness "textures/Pistol/Plastic018A_1K-PNG_Roughness.png"
//---- Texture Coordinates ----
g_nScaleTexCoordUByModelScaleAxis "0"
g_nScaleTexCoordVByModelScaleAxis "0"
g_vTexCoordOffset "[0.000 0.000]"
g_vTexCoordScale "[1.000 1.000]"
g_vTexCoordScrollSpeed "[0.000 0.000]"
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,89 @@
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:modeldoc29:version{3cec427c-1b0e-4d48-a90a-0436f33a6041} -->
{
rootNode =
{
_class = "RootNode"
children =
[
{
_class = "MaterialGroupList"
children =
[
{
_class = "DefaultMaterialGroup"
remaps = [ ]
use_global_default = true
global_default_material = "materials/default.vmat"
},
]
},
{
_class = "RenderMeshList"
children =
[
{
_class = "RenderMeshFile"
filename = "models/my_citizen/pistol_1.fbx"
import_translation = [ 0.0, 0.0, 0.0 ]
import_rotation = [ 0.0, 0.0, 0.0 ]
import_scale = 1.0
align_origin_x_type = "None"
align_origin_y_type = "None"
align_origin_z_type = "None"
parent_bone = ""
import_filter =
{
exclude_by_default = true
exception_list =
[
"Laser_low",
"Mag_low",
"Magdown_low",
"Slide_low",
"Trigger_low",
"Barell_low",
"Body_low",
"Button_low",
"Hook_low",
]
}
},
]
},
{
_class = "AnimationList"
children =
[
{
_class = "AnimFile"
name = "shoot"
activity_name = " "
activity_weight = 1
weight_list_name = ""
fade_in_time = 0.2
fade_out_time = 0.2
looping = false
delta = false
worldSpace = false
hidden = false
anim_markup_ordered = false
disable_compression = false
disable_interpolation = false
enable_scale = false
source_filename = "models/my_citizen/shoot.fbx"
start_frame = -1
end_frame = -1
framerate = -1.0
take = 0
reverse = false
},
]
default_root_bone_name = ""
},
]
model_archetype = ""
primary_associated_entity = ""
anim_graph_name = ""
base_model_name = ""
}
}

Binary file not shown.

View File

@@ -0,0 +1,89 @@
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:modeldoc29:version{3cec427c-1b0e-4d48-a90a-0436f33a6041} -->
{
rootNode =
{
_class = "RootNode"
children =
[
{
_class = "MaterialGroupList"
children =
[
{
_class = "DefaultMaterialGroup"
remaps = [ ]
use_global_default = true
global_default_material = "materials/default.vmat"
},
]
},
{
_class = "RenderMeshList"
children =
[
{
_class = "RenderMeshFile"
filename = "models/my_citizen/pistol_new.fbx"
import_translation = [ 0.0, 0.0, 0.0 ]
import_rotation = [ 0.0, 0.0, 0.0 ]
import_scale = 1.0
align_origin_x_type = "None"
align_origin_y_type = "None"
align_origin_z_type = "None"
parent_bone = ""
import_filter =
{
exclude_by_default = true
exception_list =
[
"Barell_low",
"Body_low",
"Button_low",
"Hook_low",
"Laser_low",
"Mag_low",
"Magdown_low",
"Trigger_low",
"Slide_low",
]
}
},
]
},
{
_class = "AnimationList"
children =
[
{
_class = "AnimFile"
name = "pistol_new"
activity_name = ""
activity_weight = 1
weight_list_name = ""
fade_in_time = 0.2
fade_out_time = 0.2
looping = false
delta = false
worldSpace = false
hidden = false
anim_markup_ordered = false
disable_compression = false
disable_interpolation = false
enable_scale = false
source_filename = "models/my_citizen/pistol_new.fbx"
start_frame = -1
end_frame = -1
framerate = -1.0
take = 1
reverse = false
},
]
default_root_bone_name = ""
},
]
model_archetype = ""
primary_associated_entity = ""
anim_graph_name = ""
base_model_name = ""
}
}

BIN
Assets/models/pistol/pistol.fbx LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,111 @@
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:modeldoc29:version{3cec427c-1b0e-4d48-a90a-0436f33a6041} -->
{
rootNode =
{
_class = "RootNode"
children =
[
{
_class = "MaterialGroupList"
children =
[
{
_class = "DefaultMaterialGroup"
remaps =
[
{
from = "metal.1.vmat"
to = "materials/pistol/metal.1.vmat"
},
{
from = "glow.vmat"
to = "materials/pistol/glow.vmat"
},
{
from = "fabric.003.vmat"
to = "materials/pistol/fabric.003.vmat"
},
{
from = "plastic.vmat"
to = "materials/pistol/plastic.vmat"
},
]
use_global_default = false
global_default_material = "materials/default.vmat"
},
]
},
{
_class = "RenderMeshList"
children =
[
{
_class = "RenderMeshFile"
filename = "models/pistol/pistol.fbx"
import_translation = [ 0.0, 0.0, 0.0 ]
import_rotation = [ 0.0, 0.0, 0.0 ]
import_scale = 1.0
align_origin_x_type = "None"
align_origin_y_type = "None"
align_origin_z_type = "None"
parent_bone = ""
import_filter =
{
exclude_by_default = false
exception_list = [ ]
}
},
]
},
{
_class = "ModelModifierList"
children =
[
{
_class = "ModelModifier_ScaleAndMirror"
scale = 0.3937
mirror_x = false
mirror_y = false
mirror_z = false
flip_bone_forward = false
swap_left_and_right_bones = false
},
]
},
{
_class = "AnimationList"
children =
[
{
_class = "AnimFile"
name = "shoot"
activity_name = ""
activity_weight = 1
weight_list_name = ""
fade_in_time = 0.2
fade_out_time = 0.2
looping = false
delta = false
worldSpace = false
hidden = false
anim_markup_ordered = false
disable_compression = false
disable_interpolation = false
enable_scale = false
source_filename = "models/my_citizen/shoot.fbx"
start_frame = -1
end_frame = -1
framerate = -1.0
take = 0
reverse = false
},
]
default_root_bone_name = ""
},
]
model_archetype = ""
primary_associated_entity = ""
anim_graph_name = ""
base_model_name = ""
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,308 @@
{
"RootObject": {
"__guid": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"__version": 1,
"Flags": 0,
"Name": "citizen_enemy",
"Position": "0,0,0",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "",
"Enabled": true,
"NetworkMode": 1,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.NavMeshAgent",
"__guid": "dae8d611-15ad-4020-b1ab-c13b66ff07e9",
"__enabled": true,
"Acceleration": 520,
"AutoTraverseLinks": true,
"Height": 90.799995,
"MaxSpeed": 400,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Radius": 16,
"Separation": 0.22,
"UpdatePosition": true,
"UpdateRotation": true
},
{
"__type": "Enemy",
"__guid": "f1949fb9-f84d-44f2-b7e1-d964942ced50",
"__enabled": true,
"agent": {
"_type": "component",
"component_id": "dae8d611-15ad-4020-b1ab-c13b66ff07e9",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "NavMeshAgent"
},
"AnimationHelper": {
"_type": "component",
"component_id": "984e8c33-bf4a-4058-8cba-2da8bbc75f75",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "CitizenAnimationHelper"
},
"AttackCooldown": 1,
"AttackRadius": 110,
"bloodParticle": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.flesh.mist.prefab"
},
"CurrentState": "Idle",
"DetectionRadius": 600,
"Health": 100,
"HitSound": {
"_type": "component",
"component_id": "88969834-8bec-4a74-8b16-c258c0377501",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "SoundPointComponent"
},
"MaxSpeed": 400,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"RagdollController": {
"_type": "component",
"component_id": "16b8ed44-1abd-4f32-bf92-2bc21b785bc0",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "RagdollController"
},
"renderer": {
"_type": "component",
"component_id": "981fee12-feca-4cff-b1fe-32b783e1a1dc",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "SkinnedModelRenderer"
}
},
{
"__type": "Sandbox.SkinnedModelRenderer",
"__guid": "981fee12-feca-4cff-b1fe-32b783e1a1dc",
"__enabled": true,
"AnimationGraph": null,
"BodyGroups": 341,
"BoneMergeTarget": null,
"CreateAttachments": false,
"CreateBoneObjects": false,
"MaterialGroup": null,
"MaterialOverride": "models/terryisdead/citizen_skin04.vmat",
"Model": "models/terryisdead/citizen_terryisdead.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.Citizen.CitizenAnimationHelper",
"__guid": "984e8c33-bf4a-4058-8cba-2da8bbc75f75",
"__enabled": true,
"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": "981fee12-feca-4cff-b1fe-32b783e1a1dc",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "SkinnedModelRenderer"
}
},
{
"__type": "Sandbox.ModelHitboxes",
"__guid": "63936f84-7057-4c17-bf2a-27702ca5258c",
"__enabled": true,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Renderer": {
"_type": "component",
"component_id": "981fee12-feca-4cff-b1fe-32b783e1a1dc",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "SkinnedModelRenderer"
},
"Target": {
"_type": "gameobject",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0"
}
},
{
"__type": "Sandbox.ModelPhysics",
"__guid": "c3b90741-9d94-4b5e-baa4-6b30b3b107d3",
"__enabled": false,
"Locking": {
"X": false,
"Y": false,
"Z": false,
"Pitch": false,
"Yaw": false,
"Roll": false
},
"Model": "models/terryisdead/citizen_terryisdead.vmdl",
"MotionEnabled": false,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Renderer": {
"_type": "component",
"component_id": "981fee12-feca-4cff-b1fe-32b783e1a1dc",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "SkinnedModelRenderer"
},
"RigidbodyFlags": 0
},
{
"__type": "RagdollController",
"__guid": "16b8ed44-1abd-4f32-bf92-2bc21b785bc0",
"__enabled": true,
"bodyPhysics": {
"_type": "component",
"component_id": "c3b90741-9d94-4b5e-baa4-6b30b3b107d3",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "ModelPhysics"
},
"bodyRenderer": {
"_type": "component",
"component_id": "981fee12-feca-4cff-b1fe-32b783e1a1dc",
"go": "ede7b66f-b9b2-4524-9933-4c2919ff6ae0",
"component_type": "SkinnedModelRenderer"
},
"isLocked": false,
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null
},
{
"__type": "Sandbox.SoundPointComponent",
"__guid": "88969834-8bec-4a74-8b16-c258c0377501",
"__enabled": true,
"Distance": 512,
"DistanceAttenuation": false,
"DistanceAttenuationOverride": false,
"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/hit_sound.sound",
"SoundOverride": false,
"StopOnNew": true,
"TargetMixer": {
"Name": "unknown",
"Id": "00000000-0000-0000-0000-000000000000"
},
"Volume": 1
}
],
"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": [],
"__version": 2
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,385 @@
{
"RootObject": {
"__guid": "dec3b7f3-79ae-4bb4-b868-8de9d0306ebb",
"__version": 1,
"Flags": 0,
"Name": "pistol_1",
"Position": "0,0,0",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "light_spot,light,light_point,weapon",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": false,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.SkinnedModelRenderer",
"__guid": "6017d24d-39d0-4acf-bf9f-010c345fd13d",
"__enabled": true,
"AnimationGraph": "animgraphs/pistol.vanmgrph",
"BodyGroups": 18446744073709551615,
"BoneMergeTarget": null,
"CreateAttachments": false,
"CreateBoneObjects": false,
"MaterialGroup": null,
"MaterialOverride": null,
"Model": "pistol.vmdl",
"Morphs": {},
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Parameters": {
"bools": {
"Fire": true
},
"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.Weapons.Weapon",
"__guid": "c8d294ad-32d0-413a-a5cf-c51acaa19920",
"__enabled": true,
"bloodParticle": {
"_type": "gameobject",
"prefab": "prefabs/impacts/impact.flesh.mist.prefab"
},
"BulletOut": {
"_type": "gameobject",
"go": "d81748e9-bc3d-4d68-97b5-5602bf5e0e15"
},
"GunRenderer": {
"_type": "component",
"component_id": "6017d24d-39d0-4acf-bf9f-010c345fd13d",
"go": "dec3b7f3-79ae-4bb4-b868-8de9d0306ebb",
"component_type": "SkinnedModelRenderer"
},
"ImpactDecal": null,
"ImpactSound": null,
"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"
}
},
{
"__type": "Sandbox.SoundPointComponent",
"__guid": "be95c906-5f2f-4239-8fd6-a42a148dea6e",
"__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
}
],
"Children": [
{
"__guid": "eda01dbe-7e56-4e66-af99-673e197e7dc0",
"__version": 1,
"Flags": 0,
"Name": "MuzzleLight",
"Position": "19.65036,0.000002036104,11.18876",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "",
"Enabled": false,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.PointLight",
"__guid": "1e1e54b4-ebf1-4211-9ca9-0eaa37f7bf7e",
"__enabled": true,
"Attenuation": 2.56,
"FogMode": "Enabled",
"FogStrength": 0.19,
"LightColor": "0,0.11667,1,1",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Radius": 160.99942,
"Shadows": true
}
],
"Children": []
},
{
"__guid": "d81748e9-bc3d-4d68-97b5-5602bf5e0e15",
"__version": 1,
"Flags": 0,
"Name": "BulletOut",
"Position": "11.14736,-0.2659489,5.71905",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"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,
"Flags": 0,
"Name": "Light",
"Position": "11.08827,0,3.583341",
"Rotation": "0,0,0,1",
"Scale": "1,1,1",
"Tags": "",
"Enabled": true,
"NetworkMode": 2,
"NetworkInterpolation": true,
"NetworkOrphaned": 0,
"OwnerTransfer": 1,
"Components": [
{
"__type": "Sandbox.SpotLight",
"__guid": "3803bdb5-aa92-46f7-91a6-1dfad9549cf4",
"__enabled": true,
"Attenuation": 1.8,
"ConeInner": 28.06,
"ConeOuter": 33.99,
"Cookie": null,
"FogMode": "Enabled",
"FogStrength": 0.19,
"LightColor": "0.91373,0.98039,1,1",
"OnComponentDestroy": null,
"OnComponentDisabled": null,
"OnComponentEnabled": null,
"OnComponentFixedUpdate": null,
"OnComponentStart": null,
"OnComponentUpdate": null,
"Radius": 500,
"Shadows": true
}
],
"Children": []
}
],
"__properties": {
"NetworkInterpolation": false,
"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": [],
"__version": 2
}

BIN
Assets/sounds/hit_sound.mp3 LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,52 @@
{
"UI": false,
"Volume": "1",
"Pitch": "1",
"Decibels": 70,
"SelectionMode": "Random",
"Sounds": [
"sounds/hit_sound.vsnd"
],
"Occlusion": true,
"AirAbsorption": true,
"Transmission": true,
"OcclusionRadius": 64,
"DistanceAttenuation": true,
"Distance": 15000,
"Falloff": [
{
"x": 0,
"y": 1,
"in": 0,
"out": -1.8,
"mode": "Mirrored"
},
{
"x": 0.05,
"y": 0.22,
"in": 3.5,
"out": -3.5,
"mode": "Mirrored"
},
{
"x": 0.2,
"y": 0.04,
"in": 0.16,
"out": -0.16,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
],
"DefaultMixer": {
"Name": "unknown",
"Id": "00000000-0000-0000-0000-000000000000"
},
"__references": [],
"__version": 1
}

BIN
Assets/sounds/shoot_sound_1.mp3 LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,52 @@
{
"UI": false,
"Volume": "1",
"Pitch": "1",
"Decibels": 70,
"SelectionMode": "Random",
"Sounds": [
"sounds/shoot_sound_1.vsnd"
],
"Occlusion": true,
"AirAbsorption": true,
"Transmission": true,
"OcclusionRadius": 64,
"DistanceAttenuation": true,
"Distance": 15000,
"Falloff": [
{
"x": 0,
"y": 1,
"in": 0,
"out": -1.8,
"mode": "Mirrored"
},
{
"x": 0.05,
"y": 0.22,
"in": 3.5,
"out": -3.5,
"mode": "Mirrored"
},
{
"x": 0.2,
"y": 0.04,
"in": 0.16,
"out": -0.16,
"mode": "Mirrored"
},
{
"x": 1,
"y": 0,
"in": 0,
"out": 0,
"mode": "Mirrored"
}
],
"DefaultMixer": {
"Name": "unknown",
"Id": "00000000-0000-0000-0000-000000000000"
},
"__references": [],
"__version": 1
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.