prerelease
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"__type": "Sandbox.ParticleEffect",
|
||||
"__guid": "4e3d505f-af05-4c8f-85ee-c5a264ff23b6",
|
||||
"__enabled": true,
|
||||
"__version": 1,
|
||||
"__version": 3,
|
||||
"Alpha": {
|
||||
"Type": "Curve",
|
||||
"Evaluation": "Life",
|
||||
@@ -46,8 +46,7 @@
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"Constants": "1,0,0,0"
|
||||
]
|
||||
},
|
||||
"ApplyAlpha": false,
|
||||
"ApplyColor": true,
|
||||
@@ -63,6 +62,11 @@
|
||||
"CollisionPrefabChance": 1,
|
||||
"CollisionPrefabRotation": 0,
|
||||
"CollisionRadius": 1,
|
||||
"ConstantMovement": {
|
||||
"X": 0,
|
||||
"Y": 0,
|
||||
"Z": 0
|
||||
},
|
||||
"Damping": 0,
|
||||
"DieOnCollisionChance": 0,
|
||||
"FollowerPrefab": [],
|
||||
@@ -124,29 +128,17 @@
|
||||
"ConstantA": "1,1,1,1",
|
||||
"ConstantB": "1,0,0,1"
|
||||
},
|
||||
"InitialVelocity": {
|
||||
"X": 0,
|
||||
"Y": 0,
|
||||
"Z": 0
|
||||
},
|
||||
"Lifetime": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Particle",
|
||||
"CurveA": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"CurveB": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "0.1,2,0,0"
|
||||
},
|
||||
"LocalSpace": 0,
|
||||
"MaxParticles": 500,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
@@ -166,29 +158,7 @@
|
||||
"Pitch": 0,
|
||||
"PreWarm": 0,
|
||||
"PushStrength": 0,
|
||||
"Roll": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Particle",
|
||||
"CurveA": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"CurveB": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"Constants": "0,360,0,0"
|
||||
},
|
||||
"Roll": 0,
|
||||
"Scale": {
|
||||
"Type": "Curve",
|
||||
"Evaluation": "Life",
|
||||
@@ -230,36 +200,16 @@
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"Constants": "1,0,0,0"
|
||||
]
|
||||
},
|
||||
"SequenceId": 0,
|
||||
"SequenceSpeed": 1,
|
||||
"SequenceTime": 1,
|
||||
"SheetSequence": false,
|
||||
"Space": "World",
|
||||
"StartDelay": 0,
|
||||
"StartVelocity": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Particle",
|
||||
"CurveA": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"CurveB": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "10,70,0,0"
|
||||
},
|
||||
"Stretch": 0,
|
||||
@@ -267,7 +217,11 @@
|
||||
"Timing": "GameTime",
|
||||
"Tint": "1,1,1,1",
|
||||
"UsePrefabFeature": false,
|
||||
"Yaw": 0
|
||||
"Yaw": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "0,360,0,0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.ParticleSpriteRenderer",
|
||||
@@ -302,7 +256,8 @@
|
||||
"Scale": 1,
|
||||
"Shadows": false,
|
||||
"SortMode": "Unsorted",
|
||||
"Texture": "materials/particles/shapes/spark2.vtex"
|
||||
"Texture": "textures/shapes/spark3.vtex",
|
||||
"TextureFilter": "Bilinear"
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.ParticleConeEmitter",
|
||||
|
||||
20
Assets/frictions/Michelin.tire
Normal file
20
Assets/frictions/Michelin.tire
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"Pacejka": {
|
||||
"Lateral": {
|
||||
"B": 16,
|
||||
"C": 1.5100001,
|
||||
"D": 2,
|
||||
"E": -0.8
|
||||
},
|
||||
"Longitudinal": {
|
||||
"B": 16,
|
||||
"C": 1.3,
|
||||
"D": 1.2,
|
||||
"E": 0.5
|
||||
}
|
||||
},
|
||||
"RollResistanceLin": 0.001,
|
||||
"RollResistanceQuad": 1E-06,
|
||||
"__references": [],
|
||||
"__version": 0
|
||||
}
|
||||
@@ -1,20 +1,8 @@
|
||||
{
|
||||
"Pacejka": {
|
||||
"Lateral": {
|
||||
"B": 12,
|
||||
"C": 1.3,
|
||||
"D": 1.8,
|
||||
"E": -1.8
|
||||
},
|
||||
"Longitudinal": {
|
||||
"B": 10.86,
|
||||
"C": 2.15,
|
||||
"D": 2,
|
||||
"E": 0.992
|
||||
}
|
||||
},
|
||||
"RollResistanceLin": 0.001,
|
||||
"RollResistanceQuad": 1E-06,
|
||||
"B": 8.36,
|
||||
"C": 2.15,
|
||||
"D": 0.833,
|
||||
"E": 0.992,
|
||||
"__references": [],
|
||||
"__version": 0
|
||||
}
|
||||
295
Assets/prefabs/particles/tire_smoke.prefab
Normal file
295
Assets/prefabs/particles/tire_smoke.prefab
Normal file
@@ -0,0 +1,295 @@
|
||||
{
|
||||
"RootObject": {
|
||||
"__guid": "67db5230-4e08-4970-ab3c-df73f37dd486",
|
||||
"__version": 1,
|
||||
"Flags": 0,
|
||||
"Name": "tire_smoke",
|
||||
"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": [],
|
||||
"Children": [
|
||||
{
|
||||
"__guid": "83d2bd2a-7d1d-466c-a1a7-cb4771a95da5",
|
||||
"__version": 1,
|
||||
"Flags": 0,
|
||||
"Name": "Smoke",
|
||||
"Position": "0,0,0",
|
||||
"Rotation": "0,0,0,1",
|
||||
"Scale": "1,1,1",
|
||||
"Tags": "particles",
|
||||
"Enabled": true,
|
||||
"NetworkMode": 2,
|
||||
"NetworkInterpolation": true,
|
||||
"NetworkOrphaned": 0,
|
||||
"OwnerTransfer": 1,
|
||||
"Components": [
|
||||
{
|
||||
"__type": "Sandbox.ParticleEffect",
|
||||
"__guid": "6db5eadc-45c0-482f-8da3-f29b79b84cfe",
|
||||
"__enabled": true,
|
||||
"__version": 3,
|
||||
"Alpha": {
|
||||
"Type": "Curve",
|
||||
"Evaluation": "Life",
|
||||
"CurveA": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"in": -4.0000024,
|
||||
"out": 4.0000024,
|
||||
"mode": "Mirrored"
|
||||
},
|
||||
{
|
||||
"x": 0.20812808,
|
||||
"y": 0.475,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 0,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
],
|
||||
"CurveB": [
|
||||
{
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"in": 0,
|
||||
"out": 0,
|
||||
"mode": "Mirrored"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ApplyAlpha": true,
|
||||
"ApplyColor": true,
|
||||
"ApplyRotation": true,
|
||||
"ApplyShape": true,
|
||||
"Bounce": 1,
|
||||
"Brightness": 1,
|
||||
"Bumpiness": 0,
|
||||
"Collision": false,
|
||||
"CollisionIgnore": null,
|
||||
"CollisionPrefab": null,
|
||||
"CollisionPrefabAlign": false,
|
||||
"CollisionPrefabChance": 1,
|
||||
"CollisionPrefabRotation": 0,
|
||||
"CollisionRadius": 1,
|
||||
"ConstantMovement": {
|
||||
"X": 0,
|
||||
"Y": 0,
|
||||
"Z": 0
|
||||
},
|
||||
"Damping": 5,
|
||||
"DieOnCollisionChance": 0,
|
||||
"FollowerPrefab": null,
|
||||
"FollowerPrefabChance": 1,
|
||||
"FollowerPrefabKill": true,
|
||||
"Force": true,
|
||||
"ForceDirection": "0,0,220",
|
||||
"ForceScale": 1,
|
||||
"ForceSpace": "World",
|
||||
"Friction": 1,
|
||||
"Gradient": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Life",
|
||||
"GradientA": {
|
||||
"blend": "Linear",
|
||||
"color": [
|
||||
{
|
||||
"t": 0.5,
|
||||
"c": "1,1,1,1"
|
||||
}
|
||||
],
|
||||
"alpha": []
|
||||
},
|
||||
"GradientB": {
|
||||
"blend": "Linear",
|
||||
"color": [
|
||||
{
|
||||
"t": 0.5,
|
||||
"c": "1,1,1,1"
|
||||
}
|
||||
],
|
||||
"alpha": []
|
||||
},
|
||||
"ConstantA": "0.18317,0.18317,0.18317,1",
|
||||
"ConstantB": "1,1,1,1"
|
||||
},
|
||||
"InitialVelocity": {
|
||||
"X": 0,
|
||||
"Y": 0,
|
||||
"Z": 0
|
||||
},
|
||||
"Lifetime": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "2,3,0,0"
|
||||
},
|
||||
"LocalSpace": 0,
|
||||
"MaxParticles": 25,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"OnParticleCreated": null,
|
||||
"OnParticleDestroyed": null,
|
||||
"OrbitalForce": {
|
||||
"X": 0,
|
||||
"Y": 0,
|
||||
"Z": 0
|
||||
},
|
||||
"OrbitalPull": 0,
|
||||
"PerParticleTimeScale": 1,
|
||||
"Pitch": 0,
|
||||
"PreWarm": 0,
|
||||
"PushStrength": 0,
|
||||
"Roll": 0,
|
||||
"Scale": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "50,60,0,0"
|
||||
},
|
||||
"SequenceId": 0,
|
||||
"SequenceSpeed": 0.5,
|
||||
"SequenceTime": 1,
|
||||
"SheetSequence": true,
|
||||
"StartDelay": 0.025,
|
||||
"StartVelocity": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "10,70,0,0"
|
||||
},
|
||||
"Stretch": 0,
|
||||
"TimeScale": 1,
|
||||
"Timing": "GameTime",
|
||||
"Tint": "1,1,1,1",
|
||||
"UsePrefabFeature": false,
|
||||
"Yaw": {
|
||||
"Type": "Range",
|
||||
"Evaluation": "Seed",
|
||||
"Constants": "0,360,0,0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.ParticleSpriteRenderer",
|
||||
"__guid": "efbb8b5c-15b8-4e3f-ab55-9e7483b1c1f4",
|
||||
"__enabled": true,
|
||||
"__version": 2,
|
||||
"Additive": false,
|
||||
"Alignment": "LookAtCamera",
|
||||
"BlurAmount": 0.5,
|
||||
"BlurOpacity": 0.91,
|
||||
"BlurSpacing": 0.73,
|
||||
"DepthFeather": 0,
|
||||
"FaceVelocity": false,
|
||||
"FogStrength": 1,
|
||||
"LeadingTrail": true,
|
||||
"Lighting": false,
|
||||
"MotionBlur": false,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"Opaque": false,
|
||||
"RenderOptions": {
|
||||
"GameLayer": true,
|
||||
"OverlayLayer": false,
|
||||
"BloomLayer": false,
|
||||
"AfterUILayer": false
|
||||
},
|
||||
"RotationOffset": 0,
|
||||
"Scale": 1,
|
||||
"Shadows": true,
|
||||
"SortMode": "Unsorted",
|
||||
"Sprite": {
|
||||
"$compiler": "embed",
|
||||
"$source": null,
|
||||
"data": {
|
||||
"Animations": [
|
||||
{
|
||||
"Name": "Default",
|
||||
"FrameRate": 15,
|
||||
"Origin": "0.5,0.5",
|
||||
"LoopMode": "Loop",
|
||||
"Frames": [
|
||||
{
|
||||
"Texture": "textures/smoketexturesheet.vtex"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"__references": null
|
||||
},
|
||||
"compiled": null
|
||||
},
|
||||
"StartingAnimationName": "Default",
|
||||
"TextureFilter": "Bilinear"
|
||||
},
|
||||
{
|
||||
"__type": "Sandbox.ParticleSphereEmitter",
|
||||
"__guid": "4c00fdfa-a1eb-4ded-a6b2-fdf448823a6a",
|
||||
"__enabled": true,
|
||||
"Burst": 0,
|
||||
"Delay": 0,
|
||||
"DestroyOnEnd": false,
|
||||
"Duration": 5,
|
||||
"Loop": true,
|
||||
"OnComponentDestroy": null,
|
||||
"OnComponentDisabled": null,
|
||||
"OnComponentEnabled": null,
|
||||
"OnComponentFixedUpdate": null,
|
||||
"OnComponentStart": null,
|
||||
"OnComponentUpdate": null,
|
||||
"OnEdge": false,
|
||||
"Radius": 23.6,
|
||||
"Rate": 5,
|
||||
"RateOverDistance": 0,
|
||||
"Velocity": 0
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
BIN
Assets/sounds/tire/skid.wav
Normal file
BIN
Assets/sounds/tire/skid.wav
Normal file
Binary file not shown.
BIN
Assets/textures/SmokeTextureSheet.png
Normal file
BIN
Assets/textures/SmokeTextureSheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 672 KiB |
18
Assets/textures/smoketexturesheet.vtex
Normal file
18
Assets/textures/smoketexturesheet.vtex
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"Images": null,
|
||||
"Sequences": [
|
||||
{
|
||||
"Source": "textures/smoketexturesheet.png",
|
||||
"IsLooping": true,
|
||||
"FlipBook": true,
|
||||
"Columns": 6,
|
||||
"Rows": 5,
|
||||
"Frames": 30
|
||||
}
|
||||
],
|
||||
"InputColorSpace": "Linear",
|
||||
"OutputFormat": "DXT5",
|
||||
"OutputColorSpace": "Linear",
|
||||
"OutputMipAlgorithm": "None",
|
||||
"OutputTypeString": "2D"
|
||||
}
|
||||
Reference in New Issue
Block a user