| @@ -0,0 +1,41 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_FireBulk ADD | ||
| m_Shader: {fileID: 4800000, guid: bccaaca1f83315c4aad8d95e28fd9149, type: 3} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: e6d1dbabd3135d546b6c48db6a6879f3, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.23529412} | ||
| --- !u!1002 &2100001 | ||
| EditorExtensionImpl: | ||
| serializedVersion: 6 |
| @@ -0,0 +1,38 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_FireSparkle ADD | ||
| m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 52c1a422bfc04b543adc653b160af1e6, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} |
| @@ -0,0 +1,38 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_AuraRays ADD | ||
| m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 7bb9dadd2444bf3439822eed5645b2a0, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} |
| @@ -0,0 +1,38 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_RayStraight ADD | ||
| m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 25fe726fd84d1154790a6f91bccc02c5, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} |
| @@ -0,0 +1,34 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_Star4 ADDSOFT | ||
| m_Shader: {fileID: 202, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 1bfdf79f8999b784ba6a9eef9b1a9a23, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} |
| @@ -0,0 +1,41 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX2_WhiteCircle AB | ||
| m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 7b11eec997e4c3044a59e4a2ff710b4e, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 3 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.5019608} | ||
| --- !u!1002 &2100001 | ||
| EditorExtensionImpl: | ||
| serializedVersion: 6 |
| @@ -0,0 +1,42 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX4_PaintHit AB | ||
| m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 9e8ecf28345d6f44d9386600ea414f4d, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} | ||
| data: | ||
| first: | ||
| name: _BaseColor | ||
| second: {r: 0, g: 0, b: 0, a: 0.2509804} |
| @@ -0,0 +1,41 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_IceBulk ADD | ||
| m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: f103820c13bdb524b9416caf8fa215b9, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.23529412} | ||
| --- !u!1002 &2100001 | ||
| EditorExtensionImpl: | ||
| serializedVersion: 6 |
| @@ -0,0 +1,41 @@ | ||
| %YAML 1.1 | ||
| %TAG !u! tag:unity3d.com,2011: | ||
| --- !u!21 &2100000 | ||
| Material: | ||
| serializedVersion: 6 | ||
| m_ObjectHideFlags: 0 | ||
| m_PrefabParentObject: {fileID: 0} | ||
| m_PrefabInternal: {fileID: 0} | ||
| m_Name: CFX3_IceSmoke ADD | ||
| m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} | ||
| m_ShaderKeywords: | ||
| m_LightmapFlags: 5 | ||
| m_CustomRenderQueue: -1 | ||
| stringTagMap: {} | ||
| m_SavedProperties: | ||
| serializedVersion: 2 | ||
| m_TexEnvs: | ||
| data: | ||
| first: | ||
| name: _MainTex | ||
| second: | ||
| m_Texture: {fileID: 2800000, guid: 962c1ab87533f4147a2a711570bea884, type: 3} | ||
| m_Scale: {x: 1, y: 1} | ||
| m_Offset: {x: 0, y: 0} | ||
| m_Floats: | ||
| data: | ||
| first: | ||
| name: _InvFade | ||
| second: 1 | ||
| m_Colors: | ||
| data: | ||
| first: | ||
| name: _Color | ||
| second: {r: 1, g: 1, b: 1, a: 1} | ||
| data: | ||
| first: | ||
| name: _TintColor | ||
| second: {r: 0.5, g: 0.5, b: 0.5, a: 0.23529412} | ||
| --- !u!1002 &2100001 | ||
| EditorExtensionImpl: | ||
| serializedVersion: 6 |
| @@ -0,0 +1,35 @@ | ||
| using UnityEngine; | ||
| using System.Collections; | ||
|
|
||
| [RequireComponent(typeof(ParticleSystem))] | ||
| public class CFX_AutoDestructShuriken : MonoBehaviour | ||
| { | ||
| public bool OnlyDeactivate; | ||
|
|
||
| void OnEnable() | ||
| { | ||
| StartCoroutine("CheckIfAlive"); | ||
| } | ||
|
|
||
| IEnumerator CheckIfAlive () | ||
| { | ||
| while(true) | ||
| { | ||
| yield return new WaitForSeconds(0.5f); | ||
| if(!GetComponent<ParticleSystem>().IsAlive(true)) | ||
| { | ||
| if(OnlyDeactivate) | ||
| { | ||
| #if UNITY_3_5 | ||
| this.gameObject.SetActiveRecursively(false); | ||
| #else | ||
| this.gameObject.SetActive(false); | ||
| #endif | ||
| } | ||
| else | ||
| GameObject.Destroy(this.gameObject); | ||
| break; | ||
| } | ||
| } | ||
| } | ||
| } |
| @@ -0,0 +1,35 @@ | ||
| using UnityEngine; | ||
| using System.Collections; | ||
|
|
||
| // Cartoon FX - (c) 2015, Jean Moreno | ||
|
|
||
| // Drag/Drop this script on a Particle System (or an object having Particle System objects as children) to prevent a Shuriken bug | ||
| // where a system would emit at its original instantiated position before being translated, resulting in particles in-between | ||
| // the two positions. | ||
| // Possibly a threading bug from Unity (as of 3.5.4) | ||
|
|
||
| public class CFX_ShurikenThreadFix : MonoBehaviour | ||
| { | ||
| private ParticleSystem[] systems; | ||
|
|
||
| void OnEnable() | ||
| { | ||
| systems = GetComponentsInChildren<ParticleSystem>(); | ||
|
|
||
| foreach(ParticleSystem ps in systems) | ||
| ps.enableEmission = false; | ||
|
|
||
| StartCoroutine("WaitFrame"); | ||
| } | ||
|
|
||
| IEnumerator WaitFrame() | ||
| { | ||
| yield return null; | ||
|
|
||
| foreach(ParticleSystem ps in systems) | ||
| { | ||
| ps.enableEmission = true; | ||
| ps.Play(true); | ||
| } | ||
| } | ||
| } |
| @@ -0,0 +1,41 @@ | ||
| // Simplified Additive Particle shader. Differences from regular Additive Particle one: | ||
| // - no Tint color | ||
| // - no Smooth particle support | ||
| // - no AlphaTest | ||
| // - no ColorMask | ||
|
|
||
| // Cartoon FX difference: | ||
| // - uses Alpha8 monochrome textures to save up on texture memory size | ||
|
|
||
| Shader "Cartoon FX/Particles Additive Alpha8" | ||
| { | ||
| Properties | ||
| { | ||
| _MainTex ("Particle Texture (Alpha8)", 2D) = "white" {} | ||
| } | ||
|
|
||
| Category | ||
| { | ||
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | ||
| Blend SrcAlpha One | ||
| Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) } | ||
|
|
||
| BindChannels | ||
| { | ||
| Bind "Color", color | ||
| Bind "Vertex", vertex | ||
| Bind "TexCoord", texcoord | ||
| } | ||
|
|
||
| SubShader | ||
| { | ||
| Pass | ||
| { | ||
| SetTexture [_MainTex] | ||
| { | ||
| combine primary, texture * primary | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
| @@ -7,6 +7,7 @@ TagManager: | ||
| - RespawnPoint | ||
| - Player1 | ||
| - Player2 | ||
| - Hielo | ||
| layers: | ||
| - Default | ||
| - TransparentFX | ||