63 changed files with 45434 additions and 125 deletions
-
1.gitignore
-
22Assets/Scripts/Data/QConstants.cs
-
19Assets/Scripts/Data/QExtensions.cs
-
40Assets/Scripts/Game/Entity.cs
-
25Assets/Scripts/Game/GameAssets.cs
-
59Assets/Scripts/Modules/GameModule.Interop.cs
-
59Assets/Scripts/Modules/GameModule.cs
-
21Assets/Scripts/Modules/RenderModule.Interop.cs
-
10Assets/Scripts/Modules/RenderModule.cs
-
37Assets/Scripts/Support/BrushModel.cs
-
143Assets/Scripts/Support/ParticleTrailController.cs
-
3Assets/Scripts/Support/ParticleTrailController.cs.meta
-
5Assets/Scripts/UniQuake.cs
-
151Assets/Scripts/VisualStyle.cs
-
3Assets/Shaders/Quake.shader
-
15Assets/Shaders/QuakeForwardPass.hlsl
-
6Assets/Shaders/QuakeInput.hlsl
-
26Assets/Styles/GLQuake/GLQuake.asset
-
26Assets/Styles/GLQuake/Software.asset
-
0Assets/Styles/Original.meta
-
41Assets/Styles/Original/GLQuake.asset
-
0Assets/Styles/Original/GLQuake.asset.meta
-
0Assets/Styles/Original/Materials.meta
-
2Assets/Styles/Original/Materials/Quake_Entity.mat
-
0Assets/Styles/Original/Materials/Quake_Entity.mat.meta
-
2Assets/Styles/Original/Materials/Quake_Liquid.mat
-
0Assets/Styles/Original/Materials/Quake_Liquid.mat.meta
-
2Assets/Styles/Original/Materials/Quake_World.mat
-
0Assets/Styles/Original/Materials/Quake_World.mat.meta
-
8Assets/Styles/Original/Particles.meta
-
10132Assets/Styles/Original/Particles/BlobExplosion.prefab
-
7Assets/Styles/Original/Particles/BlobExplosion.prefab.meta
-
4864Assets/Styles/Original/Particles/LavaSplash.prefab
-
7Assets/Styles/Original/Particles/LavaSplash.prefab.meta
-
BINAssets/Styles/Original/Particles/Particle.png
-
108Assets/Styles/Original/Particles/Particle.png.meta
-
4864Assets/Styles/Original/Particles/ParticleEffect.prefab
-
7Assets/Styles/Original/Particles/ParticleEffect.prefab.meta
-
9727Assets/Styles/Original/Particles/ParticleExplosion.prefab
-
7Assets/Styles/Original/Particles/ParticleExplosion.prefab.meta
-
4821Assets/Styles/Original/Particles/ParticleTrail.prefab
-
7Assets/Styles/Original/Particles/ParticleTrail.prefab.meta
-
4864Assets/Styles/Original/Particles/RogueExplosion.prefab
-
7Assets/Styles/Original/Particles/RogueExplosion.prefab.meta
-
143Assets/Styles/Original/Particles/RoundParticle.mat
-
8Assets/Styles/Original/Particles/RoundParticle.mat.meta
-
142Assets/Styles/Original/Particles/SquareParticle.mat
-
8Assets/Styles/Original/Particles/SquareParticle.mat.meta
-
4864Assets/Styles/Original/Particles/TeleportSplash.prefab
-
7Assets/Styles/Original/Particles/TeleportSplash.prefab.meta
-
41Assets/Styles/Original/Software.asset
-
0Assets/Styles/Original/Software.asset.meta
-
10Packages/manifest.json
-
12Packages/packages-lock.json
-
4ProjectSettings/ProjectSettings.asset
-
4ProjectSettings/ProjectVersion.txt
-
14engine/Quake/cl_main.c
-
1engine/Quake/client.h
-
2engine/Quake/r_alias.c
-
49engine/Quake/r_part.c
-
10engine/Quake/render.h
-
60engine/UniQuake/game_uniquake.c
-
26engine/Windows/VisualStudio/uniquake.vcxproj
@ -0,0 +1,143 @@ |
|||
using UnityEngine; |
|||
|
|||
public class ParticleTrailController : MonoBehaviour |
|||
{ |
|||
[SerializeField] |
|||
private ParticleSystem effect; |
|||
|
|||
[SerializeField] |
|||
private ParticleTrail type; |
|||
public ParticleTrail Type => type; |
|||
|
|||
public void Initialize(ParticleSystem effect, ParticleTrail type, int interval) |
|||
{ |
|||
this.effect = effect; |
|||
this.type = type; |
|||
|
|||
var main = effect.main; |
|||
var shape = effect.shape; |
|||
|
|||
var emission = effect.emission; |
|||
emission.rateOverDistance = 1.0f / interval; |
|||
|
|||
switch (type) |
|||
{ |
|||
case ParticleTrail.Rocket: |
|||
{ |
|||
main.startLifetime = new ParticleSystem.MinMaxCurve(0.6f, 1.2f); |
|||
shape.scale = new Vector3(6f, 6f, 6f); |
|||
|
|||
var colorOverLifetime = effect.colorOverLifetime; |
|||
colorOverLifetime.enabled = true; |
|||
colorOverLifetime.color = SetupGradients(RocketColorKeys, SmokeColorKeys); |
|||
break; |
|||
} |
|||
case ParticleTrail.Smoke: |
|||
{ |
|||
main.startLifetime = new ParticleSystem.MinMaxCurve(0.2f, 0.8f); |
|||
shape.scale = new Vector3(6f, 6f, 6f); |
|||
|
|||
var colorOverLifetime = effect.colorOverLifetime; |
|||
colorOverLifetime.enabled = true; |
|||
colorOverLifetime.color = SetupGradients(SmokeColorKeys, SmokeColorKeys2); |
|||
break; |
|||
} |
|||
case ParticleTrail.Blood: |
|||
{ |
|||
main.gravityModifierMultiplier = 0.05f; |
|||
main.startColor = new ParticleSystem.MinMaxGradient(BloodColorMin, BloodColorMax); |
|||
|
|||
shape.scale = new Vector3(6f, 6f, 6f); |
|||
break; |
|||
} |
|||
case ParticleTrail.Tracer: |
|||
case ParticleTrail.Tracer2: |
|||
{ |
|||
main.startLifetime = 0.5f; |
|||
main.startColor = type == ParticleTrail.Tracer |
|||
? new ParticleSystem.MinMaxGradient(TracerColorMin, TracerColorMax) |
|||
: new ParticleSystem.MinMaxGradient(Tracer2ColorMin, Tracer2ColorMax); |
|||
|
|||
var velocityOverLifetime = effect.velocityOverLifetime; |
|||
velocityOverLifetime.enabled = true; |
|||
velocityOverLifetime.space = ParticleSystemSimulationSpace.Local; |
|||
velocityOverLifetime.x = new ParticleSystem.MinMaxCurve(-30, 30); |
|||
velocityOverLifetime.y = new ParticleSystem.MinMaxCurve(0, 0); |
|||
velocityOverLifetime.z = new ParticleSystem.MinMaxCurve(30, -30); |
|||
break; |
|||
} |
|||
case ParticleTrail.SlightBlood: |
|||
{ |
|||
main.gravityModifierMultiplier = 0.05f; |
|||
main.startColor = new ParticleSystem.MinMaxGradient(BloodColorMin, BloodColorMax); |
|||
|
|||
shape.scale = new Vector3(6f, 6f, 6f); |
|||
emission.rateOverDistance = 1.0f / (interval + 3); |
|||
break; |
|||
} |
|||
case ParticleTrail.VoreBall: |
|||
{ |
|||
main.startLifetime = 0.3f; |
|||
main.startColor = new ParticleSystem.MinMaxGradient(VoreColorMin, VoreColorMax); |
|||
|
|||
shape.scale = new Vector3(16f, 16f, 16f); |
|||
break; |
|||
} |
|||
} |
|||
} |
|||
|
|||
public void Stop() |
|||
{ |
|||
// Allow the current particles to finish simulation, then auto-destroy the particle effect
|
|||
var main = effect.main; |
|||
Destroy(gameObject, main.startLifetime.constantMax); |
|||
} |
|||
|
|||
private static ParticleSystem.MinMaxGradient SetupGradients(GradientColorKey[] minKeys, GradientColorKey[] maxKeys) |
|||
{ |
|||
return new ParticleSystem.MinMaxGradient |
|||
{ |
|||
mode = ParticleSystemGradientMode.TwoGradients, |
|||
gradientMin = new Gradient { mode = GradientMode.Fixed, colorKeys = minKeys }, |
|||
gradientMax = new Gradient { mode = GradientMode.Fixed, colorKeys = maxKeys }, |
|||
}; |
|||
} |
|||
|
|||
// TODO: these colors ought to be initialized from the Quake palette instead of being hard-coded.
|
|||
// That will allow them to work with custom palettes from total conversions.
|
|||
private static readonly GradientColorKey[] RocketColorKeys = |
|||
{ |
|||
new GradientColorKey(new Color32(223, 171, 39, 255), 0.167f), |
|||
new GradientColorKey(new Color32(191, 119, 47, 255), 0.333f), |
|||
new GradientColorKey(new Color32(91, 91, 91, 255), 0.5f), |
|||
new GradientColorKey(new Color32(75, 75, 75, 255), 0.667f), |
|||
new GradientColorKey(new Color32(63, 63, 63, 255), 0.833f), |
|||
new GradientColorKey(new Color32(47, 47, 47, 255), 1.0f), |
|||
}; |
|||
|
|||
private static readonly GradientColorKey[] SmokeColorKeys = |
|||
{ |
|||
new GradientColorKey(new Color32(91, 91, 91, 255), 0.25f), |
|||
new GradientColorKey(new Color32(75, 75, 75, 255), 0.5f), |
|||
new GradientColorKey(new Color32(63, 63, 63, 255), 0.75f), |
|||
new GradientColorKey(new Color32(47, 47, 47, 255), 1.0f), |
|||
}; |
|||
|
|||
private static readonly GradientColorKey[] SmokeColorKeys2 = |
|||
{ |
|||
new GradientColorKey(new Color32(63, 63, 63, 255), 0.5f), |
|||
new GradientColorKey(new Color32(47, 47, 47, 255), 1.0f), |
|||
}; |
|||
|
|||
private static readonly Color BloodColorMin = new Color32(31, 0, 0, 255); |
|||
private static readonly Color BloodColorMax = new Color32(55, 0, 0, 255); |
|||
|
|||
private static readonly Color TracerColorMin = new Color32(27, 27, 0, 255); |
|||
private static readonly Color TracerColorMax = new Color32(83, 83, 11, 255); |
|||
|
|||
private static readonly Color Tracer2ColorMin = new Color32(147, 31, 7, 255); |
|||
private static readonly Color Tracer2ColorMax = new Color32(239, 191, 119, 255); |
|||
|
|||
private static readonly Color VoreColorMin = new Color32(95, 51, 63, 255); |
|||
private static readonly Color VoreColorMax = new Color32(59, 31, 35, 255); |
|||
} |
|||
@ -0,0 +1,3 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 7220fa57562e4a48b6fc17e6bfc0a945 |
|||
timeCreated: 1628089994 |
|||
@ -1,26 +0,0 @@ |
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 2df0cbad06a6ed5489201e395f9c5bb3, type: 3} |
|||
m_Name: GLQuake |
|||
m_EditorClassIdentifier: |
|||
entityMaterial: {fileID: 2100000, guid: 4d7703ac1adf3534f89b4041b779ff5e, type: 2} |
|||
worldMaterial: {fileID: 2100000, guid: fcbaf32c00bea2344bbb1419c61364b6, type: 2} |
|||
liquidMaterial: {fileID: 2100000, guid: cd59502a1689c0847a1963c60e347987, type: 2} |
|||
pointSampling: 0 |
|||
affineTexturing: 0 |
|||
liquidProperties: |
|||
waterAlpha: 0.8 |
|||
slimeAlpha: 0.85 |
|||
lavaAlpha: 0.9 |
|||
teleAlpha: 1 |
|||
particles: |
|||
explosion: {fileID: 0} |
|||
@ -1,26 +0,0 @@ |
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 2df0cbad06a6ed5489201e395f9c5bb3, type: 3} |
|||
m_Name: Software |
|||
m_EditorClassIdentifier: |
|||
entityMaterial: {fileID: 2100000, guid: 4d7703ac1adf3534f89b4041b779ff5e, type: 2} |
|||
worldMaterial: {fileID: 2100000, guid: fcbaf32c00bea2344bbb1419c61364b6, type: 2} |
|||
liquidMaterial: {fileID: 2100000, guid: cd59502a1689c0847a1963c60e347987, type: 2} |
|||
pointSampling: 1 |
|||
affineTexturing: 1 |
|||
liquidProperties: |
|||
waterAlpha: 1 |
|||
slimeAlpha: 1 |
|||
lavaAlpha: 1 |
|||
teleAlpha: 1 |
|||
particles: |
|||
explosion: {fileID: 0} |
|||
@ -0,0 +1,41 @@ |
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 2df0cbad06a6ed5489201e395f9c5bb3, type: 3} |
|||
m_Name: GLQuake |
|||
m_EditorClassIdentifier: |
|||
entityMaterial: {fileID: 2100000, guid: 4d7703ac1adf3534f89b4041b779ff5e, type: 2} |
|||
worldMaterial: {fileID: 2100000, guid: fcbaf32c00bea2344bbb1419c61364b6, type: 2} |
|||
liquidMaterial: {fileID: 2100000, guid: cd59502a1689c0847a1963c60e347987, type: 2} |
|||
pointSampling: 0 |
|||
affineTexturing: 0 |
|||
liquidProperties: |
|||
waterAlpha: 0.8 |
|||
slimeAlpha: 0.85 |
|||
lavaAlpha: 0.9 |
|||
teleAlpha: 1 |
|||
particles: |
|||
particleMaterial: {fileID: 2100000, guid: 4224080a2fee880419642256cbfaee41, type: 2} |
|||
particleSize: 1.38 |
|||
particleEffect: {fileID: 9150008102338277659, guid: d911d6d226122ae4e97a2fc6f268503d, |
|||
type: 3} |
|||
explosion: {fileID: 9150008102338277659, guid: 94e2cf23692eef24d9a5145b0f705c55, |
|||
type: 3} |
|||
rogueExplosion: {fileID: 9150008102338277659, guid: 0a1fede38a8884d488bcf7625cad527e, |
|||
type: 3} |
|||
blobExplosion: {fileID: 9150008102338277659, guid: 3bc17ebf070910f4592c9491152e94b4, |
|||
type: 3} |
|||
teleportSplash: {fileID: 9150008102338277659, guid: 79bef89ba1457cb42a9fbeaf4acff66f, |
|||
type: 3} |
|||
lavaSplash: {fileID: 9150008102338277659, guid: 4db0c926dce46fe4c90920ecd8c5df2e, |
|||
type: 3} |
|||
particleTrail: {fileID: 9150008102338277659, guid: 6f6d855fe9d5e524b9293af4fd7caf21, |
|||
type: 3} |
|||
@ -0,0 +1,8 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 03879249cd303704eba9c93d55108ba0 |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
10132
Assets/Styles/Original/Particles/BlobExplosion.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 3bc17ebf070910f4592c9491152e94b4 |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
4864
Assets/Styles/Original/Particles/LavaSplash.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 4db0c926dce46fe4c90920ecd8c5df2e |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
|
After Width: 64 | Height: 64 | Size: 1.2 KiB |
@ -0,0 +1,108 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 36f6501e4b60c3d4bab2eb2659039dc4 |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
mipmaps: |
|||
mipMapMode: 0 |
|||
enableMipMap: 0 |
|||
sRGBTexture: 1 |
|||
linearTexture: 0 |
|||
fadeOut: 0 |
|||
borderMipMap: 0 |
|||
mipMapsPreserveCoverage: 0 |
|||
alphaTestReferenceValue: 0.5 |
|||
mipMapFadeDistanceStart: 1 |
|||
mipMapFadeDistanceEnd: 3 |
|||
bumpmap: |
|||
convertToNormalMap: 0 |
|||
externalNormalMap: 0 |
|||
heightScale: 0.25 |
|||
normalMapFilter: 0 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
grayScaleToAlpha: 0 |
|||
generateCubemap: 6 |
|||
cubemapConvolution: 0 |
|||
seamlessCubemap: 0 |
|||
textureFormat: 1 |
|||
maxTextureSize: 2048 |
|||
textureSettings: |
|||
serializedVersion: 2 |
|||
filterMode: 1 |
|||
aniso: 1 |
|||
mipBias: 0 |
|||
wrapU: 0 |
|||
wrapV: 0 |
|||
wrapW: 0 |
|||
nPOTScale: 1 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
spriteExtrude: 1 |
|||
spriteMeshType: 1 |
|||
alignment: 0 |
|||
spritePivot: {x: 0.5, y: 0.5} |
|||
spritePixelsToUnits: 100 |
|||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|||
spriteGenerateFallbackPhysicsShape: 1 |
|||
alphaUsage: 1 |
|||
alphaIsTransparency: 1 |
|||
spriteTessellationDetail: -1 |
|||
textureType: 0 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
4864
Assets/Styles/Original/Particles/ParticleEffect.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: d911d6d226122ae4e97a2fc6f268503d |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
9727
Assets/Styles/Original/Particles/ParticleExplosion.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 94e2cf23692eef24d9a5145b0f705c55 |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
4821
Assets/Styles/Original/Particles/ParticleTrail.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 6f6d855fe9d5e524b9293af4fd7caf21 |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
4864
Assets/Styles/Original/Particles/RogueExplosion.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 0a1fede38a8884d488bcf7625cad527e |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,143 @@ |
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &-826508141333875548 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 11 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
version: 4 |
|||
--- !u!21 &2100000 |
|||
Material: |
|||
serializedVersion: 6 |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: RoundParticle |
|||
m_Shader: {fileID: 4800000, guid: 0406db5a14f94604a8c57ccfbc9f3b46, type: 3} |
|||
m_ShaderKeywords: |
|||
m_LightmapFlags: 4 |
|||
m_EnableInstancingVariants: 0 |
|||
m_DoubleSidedGI: 0 |
|||
m_CustomRenderQueue: 3001 |
|||
stringTagMap: |
|||
RenderType: Transparent |
|||
disabledShaderPasses: |
|||
- SHADOWCASTER |
|||
m_SavedProperties: |
|||
serializedVersion: 3 |
|||
m_TexEnvs: |
|||
- _BaseMap: |
|||
m_Texture: {fileID: 2800000, guid: 36f6501e4b60c3d4bab2eb2659039dc4, type: 3} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _BumpMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailAlbedoMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailMask: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailNormalMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _EmissionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MainTex: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MetallicGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _OcclusionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _ParallaxMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _SpecGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- unity_Lightmaps: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- unity_LightmapsInd: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- unity_ShadowMasks: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
m_Floats: |
|||
- _AlphaClip: 0 |
|||
- _Blend: 0 |
|||
- _BlendOp: 0 |
|||
- _BumpScale: 1 |
|||
- _CameraFadingEnabled: 0 |
|||
- _CameraFarFadeDistance: 2 |
|||
- _CameraNearFadeDistance: 1 |
|||
- _ClearCoatMask: 0 |
|||
- _ClearCoatSmoothness: 0 |
|||
- _ColorMode: 0 |
|||
- _Cull: 2 |
|||
- _Cutoff: 0.5 |
|||
- _DetailAlbedoMapScale: 1 |
|||
- _DetailNormalMapScale: 1 |
|||
- _DistortionBlend: 0.5 |
|||
- _DistortionEnabled: 0 |
|||
- _DistortionStrength: 1 |
|||
- _DistortionStrengthScaled: 0.1 |
|||
- _DstBlend: 10 |
|||
- _EnvironmentReflections: 1 |
|||
- _FlipbookBlending: 0 |
|||
- _FlipbookMode: 0 |
|||
- _GlossMapScale: 0 |
|||
- _Glossiness: 0 |
|||
- _GlossyReflections: 0 |
|||
- _Metallic: 0 |
|||
- _Mode: 0 |
|||
- _OcclusionStrength: 1 |
|||
- _Parallax: 0.005 |
|||
- _QueueOffset: 1 |
|||
- _ReceiveShadows: 1 |
|||
- _Smoothness: 0.5 |
|||
- _SmoothnessTextureChannel: 0 |
|||
- _SoftParticlesEnabled: 0 |
|||
- _SoftParticlesFarFadeDistance: 1 |
|||
- _SoftParticlesNearFadeDistance: 0 |
|||
- _SpecularHighlights: 1 |
|||
- _SrcBlend: 5 |
|||
- _Surface: 1 |
|||
- _WorkflowMode: 1 |
|||
- _ZWrite: 0 |
|||
m_Colors: |
|||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} |
|||
- _BaseColorAddSubDiff: {r: 1, g: 0, b: 0, a: 0} |
|||
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} |
|||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
|||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
|||
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0} |
|||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
|||
m_BuildTextureStacks: [] |
|||
@ -0,0 +1,8 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 4224080a2fee880419642256cbfaee41 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 2100000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,142 @@ |
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &-826508141333875548 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 11 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
version: 4 |
|||
--- !u!21 &2100000 |
|||
Material: |
|||
serializedVersion: 6 |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: SquareParticle |
|||
m_Shader: {fileID: 4800000, guid: 0406db5a14f94604a8c57ccfbc9f3b46, type: 3} |
|||
m_ShaderKeywords: |
|||
m_LightmapFlags: 4 |
|||
m_EnableInstancingVariants: 0 |
|||
m_DoubleSidedGI: 0 |
|||
m_CustomRenderQueue: 2001 |
|||
stringTagMap: |
|||
RenderType: Opaque |
|||
disabledShaderPasses: [] |
|||
m_SavedProperties: |
|||
serializedVersion: 3 |
|||
m_TexEnvs: |
|||
- _BaseMap: |
|||
m_Texture: {fileID: 2800000, guid: 36f6501e4b60c3d4bab2eb2659039dc4, type: 3} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _BumpMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailAlbedoMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailMask: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailNormalMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _EmissionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MainTex: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MetallicGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _OcclusionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _ParallaxMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _SpecGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- unity_Lightmaps: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- unity_LightmapsInd: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- unity_ShadowMasks: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
m_Floats: |
|||
- _AlphaClip: 0 |
|||
- _Blend: 0 |
|||
- _BlendOp: 0 |
|||
- _BumpScale: 1 |
|||
- _CameraFadingEnabled: 0 |
|||
- _CameraFarFadeDistance: 2 |
|||
- _CameraNearFadeDistance: 1 |
|||
- _ClearCoatMask: 0 |
|||
- _ClearCoatSmoothness: 0 |
|||
- _ColorMode: 0 |
|||
- _Cull: 2 |
|||
- _Cutoff: 0.5 |
|||
- _DetailAlbedoMapScale: 1 |
|||
- _DetailNormalMapScale: 1 |
|||
- _DistortionBlend: 0.5 |
|||
- _DistortionEnabled: 0 |
|||
- _DistortionStrength: 1 |
|||
- _DistortionStrengthScaled: 0.1 |
|||
- _DstBlend: 0 |
|||
- _EnvironmentReflections: 1 |
|||
- _FlipbookBlending: 0 |
|||
- _FlipbookMode: 0 |
|||
- _GlossMapScale: 0 |
|||
- _Glossiness: 0 |
|||
- _GlossyReflections: 0 |
|||
- _Metallic: 0 |
|||
- _Mode: 0 |
|||
- _OcclusionStrength: 1 |
|||
- _Parallax: 0.005 |
|||
- _QueueOffset: 1 |
|||
- _ReceiveShadows: 1 |
|||
- _Smoothness: 0.5 |
|||
- _SmoothnessTextureChannel: 0 |
|||
- _SoftParticlesEnabled: 0 |
|||
- _SoftParticlesFarFadeDistance: 1 |
|||
- _SoftParticlesNearFadeDistance: 0 |
|||
- _SpecularHighlights: 1 |
|||
- _SrcBlend: 1 |
|||
- _Surface: 0 |
|||
- _WorkflowMode: 1 |
|||
- _ZWrite: 1 |
|||
m_Colors: |
|||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} |
|||
- _BaseColorAddSubDiff: {r: 1, g: 0, b: 0, a: 0} |
|||
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} |
|||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
|||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
|||
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0} |
|||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
|||
m_BuildTextureStacks: [] |
|||
@ -0,0 +1,8 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 63b15323c45f06d4995fa1512a83cbcd |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 2100000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
4864
Assets/Styles/Original/Particles/TeleportSplash.prefab
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,7 @@ |
|||
fileFormatVersion: 2 |
|||
guid: 79bef89ba1457cb42a9fbeaf4acff66f |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|||
@ -0,0 +1,41 @@ |
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 2df0cbad06a6ed5489201e395f9c5bb3, type: 3} |
|||
m_Name: Software |
|||
m_EditorClassIdentifier: |
|||
entityMaterial: {fileID: 2100000, guid: 4d7703ac1adf3534f89b4041b779ff5e, type: 2} |
|||
worldMaterial: {fileID: 2100000, guid: fcbaf32c00bea2344bbb1419c61364b6, type: 2} |
|||
liquidMaterial: {fileID: 2100000, guid: cd59502a1689c0847a1963c60e347987, type: 2} |
|||
pointSampling: 1 |
|||
affineTexturing: 1 |
|||
liquidProperties: |
|||
waterAlpha: 1 |
|||
slimeAlpha: 1 |
|||
lavaAlpha: 1 |
|||
teleAlpha: 1 |
|||
particles: |
|||
particleMaterial: {fileID: 2100000, guid: 63b15323c45f06d4995fa1512a83cbcd, type: 2} |
|||
particleSize: 1.08 |
|||
particleEffect: {fileID: 9150008102338277659, guid: d911d6d226122ae4e97a2fc6f268503d, |
|||
type: 3} |
|||
explosion: {fileID: 9150008102338277659, guid: 94e2cf23692eef24d9a5145b0f705c55, |
|||
type: 3} |
|||
rogueExplosion: {fileID: 9150008102338277659, guid: 0a1fede38a8884d488bcf7625cad527e, |
|||
type: 3} |
|||
blobExplosion: {fileID: 9150008102338277659, guid: 3bc17ebf070910f4592c9491152e94b4, |
|||
type: 3} |
|||
teleportSplash: {fileID: 9150008102338277659, guid: 79bef89ba1457cb42a9fbeaf4acff66f, |
|||
type: 3} |
|||
lavaSplash: {fileID: 9150008102338277659, guid: 4db0c926dce46fe4c90920ecd8c5df2e, |
|||
type: 3} |
|||
particleTrail: {fileID: 9150008102338277659, guid: 6f6d855fe9d5e524b9293af4fd7caf21, |
|||
type: 3} |
|||
@ -1,2 +1,2 @@ |
|||
m_EditorVersion: 2020.3.14f1 |
|||
m_EditorVersionWithRevision: 2020.3.14f1 (d0d1bb862f9d) |
|||
m_EditorVersion: 2020.3.15f2 |
|||
m_EditorVersionWithRevision: 2020.3.15f2 (6cf78cb77498) |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue