├── LICENSE ├── QMapToUnity ├── Assets │ ├── MapConverter.meta │ ├── MapConverter │ │ ├── ClipMesh.cs │ │ ├── ClipMesh.cs.meta │ │ ├── ConvertMap.cs │ │ ├── ConvertMap.cs.meta │ │ ├── Defaults.meta │ │ ├── Defaults │ │ │ ├── DefaultAreaLightMaterial.mat │ │ │ ├── DefaultAreaLightMaterial.mat.meta │ │ │ ├── DefaultCutoutMaterial.mat │ │ │ ├── DefaultCutoutMaterial.mat.meta │ │ │ ├── DefaultEmissiveMaterial.mat │ │ │ ├── DefaultEmissiveMaterial.mat.meta │ │ │ ├── DefaultMaterial.mat │ │ │ ├── DefaultMaterial.mat.meta │ │ │ ├── DefaultTexture.png │ │ │ └── DefaultTexture.png.meta │ │ ├── DestroyObjectOnSpawn.cs │ │ ├── DestroyObjectOnSpawn.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── ConvertMapSettingsEditor.cs │ │ │ ├── ConvertMapWindow.cs │ │ │ ├── ConvertMapWindow.cs.meta │ │ │ ├── SingleLayerMask.cs │ │ │ └── SingleLayerMask.cs.meta │ │ ├── Extents3D.cs │ │ ├── LevelData.cs │ │ ├── LevelData.cs.meta │ │ ├── MapParser.cs │ │ ├── MapParser.cs.meta │ │ ├── MeshStructs.cs │ │ ├── MeshStructs.cs.meta │ │ ├── QMapLevel.cs │ │ ├── QMapLevel.cs.meta │ │ ├── ScriptableObjects.meta │ │ ├── ScriptableObjects │ │ │ ├── ConvertMapSettings.cs │ │ │ ├── ConvertMapSettings.cs.meta │ │ │ ├── EntityDefinitions.cs │ │ │ ├── EntityDefinitions.cs.meta │ │ │ ├── TextureDefinitions.cs │ │ │ └── TextureDefinitions.cs.meta │ │ ├── SingleLayerMask.cs │ │ ├── SingleLayerMask.cs.meta │ │ ├── UEntity.meta │ │ ├── UEntity │ │ │ ├── UEmptyEntity.cs │ │ │ ├── UEmptyEntity.cs.meta │ │ │ ├── UEntity.cs │ │ │ ├── UEntity.cs.meta │ │ │ ├── UEntityManager.cs │ │ │ └── UEntityManager.cs.meta │ │ ├── UMeshCreator.cs │ │ └── UMeshCreator.cs.meta │ ├── TestGame.meta │ └── TestGame │ │ ├── Entity.meta │ │ ├── Entity │ │ ├── InfoPlayerStart.cs │ │ ├── InfoPlayerStart.cs.meta │ │ ├── InfoPlayerStart.prefab │ │ ├── InfoPlayerStart.prefab.meta │ │ ├── InfoTarget.cs │ │ ├── InfoTarget.cs.meta │ │ ├── InfoTarget.prefab │ │ ├── InfoTarget.prefab.meta │ │ ├── LightPoint.cs │ │ ├── LightPoint.cs.meta │ │ ├── LightPoint.prefab │ │ ├── LightPoint.prefab.meta │ │ ├── LightSun.cs │ │ ├── LightSun.cs.meta │ │ ├── LightSun.prefab │ │ ├── LightSun.prefab.meta │ │ ├── TriggerEnterDispatcher.cs │ │ ├── TriggerEnterDispatcher.cs.meta │ │ ├── TriggerJump.cs │ │ ├── TriggerJump.cs.meta │ │ ├── TriggerJump.prefab │ │ └── TriggerJump.prefab.meta │ │ ├── TestConvertMapSettings.asset │ │ ├── TestConvertMapSettings.asset.meta │ │ ├── TestEntityDefinitions.asset │ │ ├── TestEntityDefinitions.asset.meta │ │ ├── TestGameLightmap.giparams │ │ ├── TestGameLightmap.giparams.meta │ │ ├── TestMap.txt │ │ ├── TestMap.txt.meta │ │ ├── TestScene.meta │ │ ├── TestScene.unity │ │ ├── TestScene.unity.meta │ │ ├── TestScene │ │ ├── LightingData.asset │ │ ├── LightingData.asset.meta │ │ ├── Lightmap-0_comp_dir.png │ │ ├── Lightmap-0_comp_dir.png.meta │ │ ├── Lightmap-0_comp_light.exr │ │ ├── Lightmap-0_comp_light.exr.meta │ │ ├── Lightmap-1_comp_dir.png │ │ ├── Lightmap-1_comp_dir.png.meta │ │ ├── Lightmap-1_comp_light.exr │ │ ├── Lightmap-1_comp_light.exr.meta │ │ ├── Lightmap-2_comp_dir.png │ │ ├── Lightmap-2_comp_dir.png.meta │ │ ├── Lightmap-2_comp_light.exr │ │ ├── Lightmap-2_comp_light.exr.meta │ │ ├── Lightmap-3_comp_dir.png │ │ ├── Lightmap-3_comp_dir.png.meta │ │ ├── Lightmap-3_comp_light.exr │ │ ├── Lightmap-3_comp_light.exr.meta │ │ ├── NavMesh.asset │ │ ├── NavMesh.asset.meta │ │ ├── OcclusionCullingData.asset │ │ ├── OcclusionCullingData.asset.meta │ │ ├── ReflectionProbe-0.exr │ │ └── ReflectionProbe-0.exr.meta │ │ ├── TestTextureDefinitions.asset │ │ ├── TestTextureDefinitions.asset.meta │ │ ├── Trenchbroom.meta │ │ └── Trenchbroom │ │ ├── Q2UTest.meta │ │ ├── Q2UTest │ │ ├── GameConfig.cfg │ │ ├── GameConfig.cfg.meta │ │ ├── Q2UTest.fgd │ │ ├── Q2UTest.fgd.meta │ │ ├── Q2UTestIcon.png │ │ └── Q2UTestIcon.png.meta │ │ ├── Textures.meta │ │ └── Textures │ │ ├── Test.meta │ │ ├── Test │ │ ├── CutRound.png │ │ ├── CutRound.png.meta │ │ ├── CutStraight.png │ │ ├── CutStraight.png.meta │ │ ├── Grey0.png │ │ ├── Grey0.png.meta │ │ ├── Grey1.png │ │ ├── Grey1.png.meta │ │ ├── Grey2.png │ │ ├── Grey2.png.meta │ │ ├── GreyGrid0.png │ │ ├── GreyGrid0.png.meta │ │ ├── GreyGrid1.png │ │ ├── GreyGrid1.png.meta │ │ ├── GreyGrid2.png │ │ ├── GreyGrid2.png.meta │ │ ├── GreyStep0.png │ │ ├── GreyStep0.png.meta │ │ ├── GreyStep1.png │ │ ├── GreyStep1.png.meta │ │ ├── GreyStep2.png │ │ ├── GreyStep2.png.meta │ │ ├── LightCool.png │ │ ├── LightCool.png.meta │ │ ├── LightWarm.png │ │ ├── LightWarm.png.meta │ │ ├── Yellow0.png │ │ ├── Yellow0.png.meta │ │ ├── Yellow1.png │ │ ├── Yellow1.png.meta │ │ ├── Yellow2.png │ │ ├── Yellow2.png.meta │ │ ├── YellowGrid0.png │ │ ├── YellowGrid0.png.meta │ │ ├── YellowGrid1.png │ │ ├── YellowGrid1.png.meta │ │ ├── YellowGrid2.png │ │ └── YellowGrid2.png.meta │ │ ├── Textures.svg │ │ └── Textures.svg.meta ├── Packages │ └── manifest.json └── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── Physics2DSettings.asset │ ├── PresetManager.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityConnectSettings.asset │ ├── VFXManager.asset │ └── XRSettings.asset ├── README.md └── resources ├── Q2UIcon.png ├── Q2UIcon.svg ├── Q2UIconLarge.png ├── Q2UIconSmall.png └── Q2ULargeIcon.svg /QMapToUnity/Assets/MapConverter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d004d310bad6a1c45ba93f93d4f6ebea 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ClipMesh.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4f399adb7a3aac48b2dd57d983eaeca 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ConvertMap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cfd9ec1b592755040a90569144d33a9e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1811edf5949cd549a096322cca7741a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults/DefaultAreaLightMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58cd431112b58104d91501b0a8a6c0f4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults/DefaultCutoutMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef4a82e89cf75114394a3a0144d2aa1d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults/DefaultEmissiveMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee1c7529293c0354a8e896127f1cccc2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults/DefaultMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac385714993be704692eb7cde555cbc0 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults/DefaultTexture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/MapConverter/Defaults/DefaultTexture.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Defaults/DefaultTexture.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29172fb046cbc94438225ba8efc73f11 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 2 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: Android 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | spriteSheet: 95 | serializedVersion: 2 96 | sprites: [] 97 | outline: [] 98 | physicsShape: [] 99 | bones: [] 100 | spriteID: 101 | vertices: [] 102 | indices: 103 | edges: [] 104 | weights: [] 105 | spritePackingTag: 106 | pSDRemoveMatte: 0 107 | pSDShowRemoveMatteOption: 0 108 | userData: 109 | assetBundleName: 110 | assetBundleVariant: 111 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/DestroyObjectOnSpawn.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace QMapToUnity 4 | { 5 | public class DestroyObjectOnSpawn : MonoBehaviour 6 | { 7 | void Start() 8 | { 9 | Destroy(gameObject); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/DestroyObjectOnSpawn.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bc165bceda5138408ee9f5433e9da95 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed3d0f5c14914c147ae6fae52f7da9e0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Editor/ConvertMapSettingsEditor.cs: -------------------------------------------------------------------------------- 1 |  2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace QMapToUnity 6 | { 7 | [CustomEditor(typeof(ConvertMapSettings))] 8 | public class ConvertMapSettingsEditor : Editor 9 | { 10 | public override void OnInspectorGUI() 11 | { 12 | base.OnInspectorGUI(); 13 | 14 | ConvertMapSettings lValue = (ConvertMapSettings)target; 15 | 16 | GUIStyle lHelpStyle = new GUIStyle(); 17 | 18 | lHelpStyle.fontStyle = FontStyle.Bold; 19 | lHelpStyle.alignment = TextAnchor.MiddleLeft; 20 | lHelpStyle.margin = new RectOffset(8, 8, 8, 8); 21 | 22 | 23 | if (lValue == null) 24 | { 25 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Add a [ConvertMapSettings] scriptable object into the field above.", MessageType.None); 26 | } 27 | else if (lValue.MapFile == null) 28 | { 29 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Map file]!", MessageType.Warning); 30 | } 31 | else if (lValue.EntDefs == null) 32 | { 33 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Entity Definitions]!", MessageType.Warning); 34 | } 35 | else if (lValue.TexDefs == null) 36 | { 37 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Texture Definitions]!", MessageType.Warning); 38 | } 39 | else if (lValue.StandardMaterial == null) 40 | { 41 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Default Material]!", MessageType.Warning); 42 | } 43 | else if (lValue.EmissiveMaterial == null) 44 | { 45 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Emissive Material]!", MessageType.Warning); 46 | } 47 | else if (lValue.AreaLightMaterial == null) 48 | { 49 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Area Light Material]!", MessageType.Warning); 50 | } 51 | else if (lValue.CutoutMaterial == null) 52 | { 53 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Cutout Material]!", MessageType.Warning); 54 | } 55 | else 56 | { 57 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "All good to go!", MessageType.Info); 58 | 59 | GUIStyle lButtonStyle = new GUIStyle(); 60 | 61 | lButtonStyle.fontStyle = FontStyle.Bold; 62 | lButtonStyle.alignment = TextAnchor.MiddleLeft; 63 | lButtonStyle.margin = new RectOffset(48, 48, 12, 12); 64 | 65 | if (GUI.Button(GUILayoutUtility.GetRect(GUIContent.none, lButtonStyle, GUILayout.Height(32)), "Convert Map")) 66 | { 67 | ConvertMap.ConvertMapToUnityObjects(lValue); 68 | } 69 | } 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Editor/ConvertMapWindow.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace QMapToUnity 6 | { 7 | public class ConvertMapWindow : EditorWindow 8 | { 9 | [SerializeField] 10 | private ConvertMapSettings m_Settings; 11 | 12 | [MenuItem("Q2U", menuItem = "Q2U/QMapToUnity Window")] 13 | public static void ShowWindow() 14 | { 15 | GetWindow("Convert Map"); 16 | } 17 | 18 | private void OnGUI() 19 | { 20 | minSize = new Vector2(320, 320); 21 | 22 | GUIStyle lLabelStyle = new GUIStyle(); 23 | 24 | lLabelStyle.fontStyle = FontStyle.Bold; 25 | lLabelStyle.alignment = TextAnchor.MiddleLeft; 26 | lLabelStyle.margin = new RectOffset(8, 8, 3, 3); 27 | 28 | EditorGUI.LabelField( 29 | GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(4)), 30 | "", lLabelStyle); 31 | 32 | //m_MapFile = (TextAsset)EditorGUI.ObjectField( 33 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 34 | // "Map file to convert", m_MapFile, typeof(TextAsset), false); 35 | 36 | 37 | //EditorGUI.LabelField( 38 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 39 | // "Definitions", lLabelStyle); 40 | 41 | m_Settings = (ConvertMapSettings)EditorGUI.ObjectField( 42 | GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 43 | "Settings", m_Settings, typeof(ConvertMapSettings), false); 44 | 45 | //m_TexDefs = (TextureDefinitions)EditorGUI.ObjectField( 46 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 47 | // "Textures", m_TexDefs, typeof(TextureDefinitions), false); 48 | 49 | 50 | //EditorGUI.LabelField( 51 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 52 | // "Materials", lLabelStyle); 53 | 54 | //m_DefaultStandardMaterial = (Material)EditorGUI.ObjectField( 55 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 56 | // "Default", m_DefaultStandardMaterial, typeof(Material), false); 57 | 58 | //m_DefaultCutoutMaterial = (Material)EditorGUI.ObjectField( 59 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 60 | // "Cutout", m_DefaultCutoutMaterial, typeof(Material), false); 61 | 62 | //m_DefaultEmissiveMaterial = (Material)EditorGUI.ObjectField( 63 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 64 | // "Emissive", m_DefaultEmissiveMaterial, typeof(Material), false); 65 | 66 | //m_DefaultAreaLightMaterial = (Material)EditorGUI.ObjectField( 67 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 68 | // "Area light", m_DefaultAreaLightMaterial, typeof(Material), false); 69 | 70 | 71 | //EditorGUI.LabelField( 72 | // GUILayoutUtility.GetRect(GUIContent.none, lLabelStyle, GUILayout.Height(16)), 73 | // "Settings", lLabelStyle); 74 | 75 | //GUIStyle lBoolStyle = new GUIStyle(); 76 | 77 | //lBoolStyle.margin = new RectOffset(8, 8, 4, 4); 78 | //lBoolStyle.padding = new RectOffset(2, 2, 0, 0); 79 | //lBoolStyle.alignment = TextAnchor.MiddleLeft; 80 | 81 | //m_AutoGenerateUV2 = EditorGUI.ToggleLeft( 82 | // GUILayoutUtility.GetRect(GUIContent.none, lBoolStyle, GUILayout.Height(12)), 83 | // "Auto generate UV2s", m_AutoGenerateUV2, lBoolStyle); 84 | 85 | //m_UsingHDRPMaterials = EditorGUI.ToggleLeft( 86 | // GUILayoutUtility.GetRect(GUIContent.none, lBoolStyle, GUILayout.Height(12)), 87 | // "Using HDRP Materials", m_UsingHDRPMaterials, lBoolStyle); 88 | 89 | ////m_SaveLevelAsAsset = EditorGUI.ToggleLeft( 90 | //// GUILayoutUtility.GetRect(GUIContent.none, lBoolStyle, GUILayout.Height(12)), 91 | //// "Save level as Asset", m_SaveLevelAsAsset, lBoolStyle); 92 | 93 | //m_SaveLevelAsAsset = false; 94 | 95 | GUIStyle lHelpStyle = new GUIStyle(); 96 | 97 | lHelpStyle.fontStyle = FontStyle.Bold; 98 | lHelpStyle.alignment = TextAnchor.MiddleLeft; 99 | lHelpStyle.margin = new RectOffset(8, 8, 8, 8); 100 | 101 | 102 | if (m_Settings == null) 103 | { 104 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Add a [ConvertMapSettings] scriptable object into the field above.", MessageType.None); 105 | } 106 | else if(m_Settings.MapFile == null) 107 | { 108 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Map file]!", MessageType.Warning); 109 | } 110 | else if (m_Settings.EntDefs == null) 111 | { 112 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Entity Definitions]!", MessageType.Warning); 113 | } 114 | else if (m_Settings.TexDefs == null) 115 | { 116 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Texture Definitions]!", MessageType.Warning); 117 | } 118 | else if (m_Settings.StandardMaterial == null) 119 | { 120 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Default Material]!", MessageType.Warning); 121 | } 122 | else if (m_Settings.EmissiveMaterial == null) 123 | { 124 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Emissive Material]!", MessageType.Warning); 125 | } 126 | else if (m_Settings.AreaLightMaterial == null) 127 | { 128 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Area Light Material]!", MessageType.Warning); 129 | } 130 | else if (m_Settings.CutoutMaterial == null) 131 | { 132 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "Missing [Cutout Material]!", MessageType.Warning); 133 | } 134 | else 135 | { 136 | EditorGUI.HelpBox(GUILayoutUtility.GetRect(GUIContent.none, lHelpStyle, GUILayout.Height(40)), "All good to go!", MessageType.Info); 137 | 138 | GUIStyle lButtonStyle = new GUIStyle(); 139 | 140 | lButtonStyle.fontStyle = FontStyle.Bold; 141 | lButtonStyle.alignment = TextAnchor.MiddleLeft; 142 | lButtonStyle.margin = new RectOffset(48, 48, 12, 12); 143 | 144 | if (GUI.Button(GUILayoutUtility.GetRect(GUIContent.none, lButtonStyle, GUILayout.Height(32)), "Convert Map")) 145 | { 146 | ConvertMap.ConvertMapToUnityObjects(m_Settings); 147 | } 148 | } 149 | } 150 | } 151 | } -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Editor/ConvertMapWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b72b01c4a5a3bea409585cb4f0f285b6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: 7 | - m_PersistentViewDataDictionary: {instanceID: 0} 8 | - m_MapFile: {fileID: 4900000, guid: ae0df25c39fe24d489593b68dc746a30, type: 3} 9 | - m_TexDefs: {fileID: 11400000, guid: 25ee2b7a6c3557443907a920f9f9db38, type: 2} 10 | - m_EntDefs: {fileID: 11400000, guid: 6eced185076c2e94fbefe8d701fc1a61, type: 2} 11 | - m_DefaultStandardMaterial: {fileID: 2100000, guid: ac385714993be704692eb7cde555cbc0, 12 | type: 2} 13 | - m_DefaultCutoutMaterial: {fileID: 2100000, guid: ef4a82e89cf75114394a3a0144d2aa1d, 14 | type: 2} 15 | - m_DefaultEmissiveMaterial: {fileID: 2100000, guid: ee1c7529293c0354a8e896127f1cccc2, 16 | type: 2} 17 | - m_DefaultAreaLightMaterial: {fileID: 2100000, guid: 58cd431112b58104d91501b0a8a6c0f4, 18 | type: 2} 19 | executionOrder: 0 20 | icon: {instanceID: 0} 21 | userData: 22 | assetBundleName: 23 | assetBundleVariant: 24 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Editor/SingleLayerMask.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | [CustomPropertyDrawer(typeof(SingleLayerMask))] 5 | public class SingleLayerMaskPropertyDrawer : PropertyDrawer 6 | { 7 | public override void OnGUI(Rect lPosition, SerializedProperty lProperty, GUIContent lLabel) 8 | { 9 | EditorGUI.BeginProperty(lPosition, GUIContent.none, lProperty); 10 | 11 | SerializedProperty layerIndex = lProperty.FindPropertyRelative("m_LayerIndex"); 12 | 13 | lPosition = EditorGUI.PrefixLabel(lPosition, GUIUtility.GetControlID(FocusType.Passive), lLabel); 14 | 15 | if (layerIndex != null) 16 | { 17 | layerIndex.intValue = EditorGUI.LayerField(lPosition, layerIndex.intValue); 18 | } 19 | 20 | EditorGUI.EndProperty(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Editor/SingleLayerMask.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bf2cc59fc8d10242a0e013949d987d8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/Extents3D.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace QMapToUnity 5 | { 6 | [Serializable] 7 | public struct Extents3D 8 | { 9 | public Vector3 Center; 10 | public Vector3 Size; 11 | 12 | public Vector3 Half; 13 | 14 | public Vector3 Min; 15 | public Vector3 Max; 16 | 17 | private bool m_Valid; 18 | 19 | public Extents3D(Vector3 lCenter, Vector3 lSize) 20 | { 21 | Center = lCenter; 22 | Size = lSize; 23 | 24 | Half = lSize / 2f; 25 | 26 | Min = lCenter - Half; 27 | Max = lCenter + Half; 28 | 29 | m_Valid = true; 30 | } 31 | 32 | public bool IsTouching(Vector3 lPos) 33 | { 34 | if (lPos.x < Min.x || lPos.x > Max.x || 35 | lPos.z < Min.z || lPos.z > Max.z || 36 | lPos.y < Min.y || lPos.y > Max.y ) 37 | return false; 38 | else 39 | return true; 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/LevelData.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace QMapToUnity 4 | { 5 | public class LevelData 6 | { 7 | public QEntity WorldSpawn; 8 | public QEntity[] Entities; 9 | } 10 | 11 | public struct QEntity 12 | { 13 | public string Classname; 14 | public KeyValuePair[] KeyValuePairs; 15 | public QBrush[] Brushes; 16 | } 17 | 18 | public struct QBrush 19 | { 20 | public Plane[] Planes; 21 | 22 | public QBrush(Plane[] lPlanes) 23 | { 24 | Planes = lPlanes; 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/LevelData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c1ee9276f08888469092b5c31343551 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/MapParser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdab86d26fc22df4c96c05ec40238ae2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/MeshStructs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 942343e40785aa949b6a207b3e94880a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/QMapLevel.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace QMapToUnity 4 | { 5 | public class QMapLevel : MonoBehaviour 6 | { 7 | public Extents3D Extents; 8 | 9 | [HideInInspector] 10 | public EntityDefinitions EntDefs; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/QMapLevel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94af76a44e4d2204ab5f537269372c6f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e59e6341c04c15243b3765881e710c93 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects/ConvertMapSettings.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace QMapToUnity 4 | { 5 | [CreateAssetMenu(fileName = "ConvertMapSettings", menuName = "QMapToUnity/Convert Map Settings")] 6 | public class ConvertMapSettings : ScriptableObject 7 | { 8 | public TextAsset MapFile; 9 | 10 | [Header("Definitions")] 11 | public TextureDefinitions TexDefs; 12 | 13 | public EntityDefinitions EntDefs; 14 | 15 | [Header("Materials")] 16 | public Material StandardMaterial; 17 | 18 | public Material CutoutMaterial; 19 | 20 | public Material EmissiveMaterial; 21 | 22 | public Material AreaLightMaterial; 23 | 24 | [Header("Settings")] 25 | public bool AutoGenerateUV2s; 26 | 27 | public bool UsingHDRPMaterials; 28 | 29 | //public bool SaveLevelAsAsset; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects/ConvertMapSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10983e07ee577a74ca8a739afb80b9da 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects/EntityDefinitions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace QMapToUnity 5 | { 6 | [CreateAssetMenu(fileName = "EntityDefinitions", menuName = "QMapToUnity/Entity Definitions")] 7 | public class EntityDefinitions : ScriptableObject 8 | { 9 | public EntDef Worldspawn = new EntDef(MapParser.WORLDSPAWN); 10 | 11 | public EntDef[] Definitions; 12 | 13 | public EntDef GetDefinition(string lClassname) 14 | { 15 | if (lClassname == MapParser.WORLDSPAWN) 16 | return Worldspawn; 17 | else 18 | for (int i = 0; i < Definitions.Length; i++) 19 | if (lClassname == Definitions[i].Classname) 20 | return Definitions[i]; 21 | 22 | Debug.LogWarning(lClassname + " definition could not be found! Defaulting to Worldspawn settings."); 23 | 24 | EntDef lEntDef = new EntDef(Worldspawn, null, true); 25 | 26 | return lEntDef; 27 | } 28 | } 29 | 30 | [Serializable] 31 | public struct EntDef 32 | { 33 | public string Classname; 34 | public UEntity ConvertedPrefab; 35 | public UEntity RuntimePrefab; 36 | 37 | public bool IsStatic; 38 | 39 | [Header("Entity")] 40 | public SingleLayerMask EntLayer; 41 | public bool HasConvexCollider; 42 | public bool IsConvexTrigger; 43 | 44 | [Header("Colliders")] 45 | public SingleLayerMask ColLayer; 46 | public bool HasCollider; 47 | public bool IsTrigger; 48 | 49 | [Header("Meshes")] 50 | public SingleLayerMask MeshLayer; 51 | public bool HasMesh; 52 | 53 | public EntDef(string lClassname) 54 | { 55 | Classname = lClassname; 56 | 57 | ConvertedPrefab = null; 58 | RuntimePrefab = null; 59 | 60 | IsStatic = true; 61 | 62 | EntLayer = new SingleLayerMask(0); 63 | HasConvexCollider = false; 64 | IsConvexTrigger = false; 65 | 66 | ColLayer = new SingleLayerMask(0); 67 | HasCollider = true; 68 | IsTrigger = false; 69 | 70 | MeshLayer = new SingleLayerMask(0); 71 | HasMesh = true; 72 | } 73 | 74 | public EntDef(EntDef lOriginal, string lNewClassname, bool lNullPrefabs = false) 75 | { 76 | Classname = lNewClassname; 77 | 78 | if (lNullPrefabs) 79 | { 80 | ConvertedPrefab = null; 81 | RuntimePrefab = null; 82 | } 83 | else 84 | { 85 | ConvertedPrefab = lOriginal.ConvertedPrefab; 86 | RuntimePrefab = lOriginal.RuntimePrefab; 87 | } 88 | 89 | IsStatic = lOriginal.IsStatic; 90 | 91 | EntLayer = lOriginal.EntLayer; 92 | HasConvexCollider = lOriginal.HasConvexCollider; 93 | IsConvexTrigger = lOriginal.IsConvexTrigger; 94 | 95 | ColLayer = lOriginal.ColLayer; 96 | HasCollider = lOriginal.HasCollider; 97 | IsTrigger = lOriginal.IsTrigger; 98 | 99 | MeshLayer = lOriginal.MeshLayer; 100 | HasMesh = lOriginal.HasMesh; 101 | } 102 | } 103 | } -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects/EntityDefinitions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac72a0b7ce9603d42aec9223c051582d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects/TextureDefinitions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace QMapToUnity 5 | { 6 | [CreateAssetMenu(fileName = "TextureDefinitions", menuName = "QMapToUnity/Texture Definitions")] 7 | public class TextureDefinitions : ScriptableObject 8 | { 9 | public Texture[] Textures; 10 | 11 | public TexDef[] Definitions; 12 | 13 | public bool HasDefinition(string lTextureName, out TexDef lTexDef) 14 | { 15 | for (int i = 0; i < Definitions.Length; i++) 16 | if (lTextureName == Definitions[i].Name) 17 | { 18 | lTexDef = Definitions[i]; 19 | return true; 20 | } 21 | 22 | lTexDef = new TexDef(); 23 | 24 | return false; 25 | } 26 | } 27 | 28 | [Serializable] 29 | public struct TexDef 30 | { 31 | [Header("Main")] 32 | public string Name; 33 | 34 | [Header("Cutout")] 35 | public bool IsCutout; 36 | [Range(0f, 1f)] 37 | public float CutoutAlpha; 38 | 39 | [Header("Emissive")] 40 | public Texture EmissiveTexture; 41 | [ColorUsage(false, true)] 42 | public Color EmissiveColour; 43 | 44 | [Header("Area Light")] 45 | public bool HasAreaLight; 46 | [ColorUsage(false, true)] 47 | public Color AreaColour; 48 | public float AreaDisplacement; 49 | public float AreaSizeScale; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/ScriptableObjects/TextureDefinitions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e321f0360a9aee842abbbf701ecd537a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/SingleLayerMask.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | [Serializable] 5 | public struct SingleLayerMask 6 | { 7 | [SerializeField] 8 | private int m_LayerIndex; 9 | 10 | public SingleLayerMask(int lLayerIndex) 11 | { 12 | m_LayerIndex = lLayerIndex; 13 | } 14 | 15 | public int LayerIndex 16 | { 17 | get { return m_LayerIndex; } 18 | } 19 | 20 | public void Set(int lLayerIndex) 21 | { 22 | if (lLayerIndex > 0 && lLayerIndex < 32) 23 | { 24 | m_LayerIndex = lLayerIndex; 25 | } 26 | } 27 | 28 | public int Mask 29 | { 30 | get { return 1 << m_LayerIndex; } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/SingleLayerMask.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cacecf526a475fa499862136dfc9c3dd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UEntity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d9f954a0862ad44c81721ed269acda5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UEntity/UEmptyEntity.cs: -------------------------------------------------------------------------------- 1 | namespace QMapToUnity 2 | { 3 | public class UEmptyEntity : UEntity 4 | { 5 | public override void SetupChildEntity() { } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UEntity/UEmptyEntity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6be0966d1b2fcd4abc3bdb312359ce0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UEntity/UEntity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9835dae543bfb841821067885356566 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UEntity/UEntityManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace QMapToUnity 5 | { 6 | public class UEntityManager : MonoBehaviour 7 | { 8 | private static UEntityManager s_Instance; 9 | 10 | public static UEntityManager Instance 11 | { 12 | get 13 | { 14 | if (s_Instance == null) 15 | { 16 | GameObject lSingleton = new GameObject(); 17 | s_Instance = lSingleton.AddComponent(); 18 | lSingleton.name = "(singleton) " + typeof(UEntityManager).ToString(); 19 | } 20 | 21 | return s_Instance; 22 | } 23 | } 24 | 25 | public UEntity[] AllEntities { get; private set; } 26 | 27 | public Dictionary ClassnameEntityDictionary { get; private set; } 28 | 29 | public UEntity[] TargetnameEntities { get; private set; } 30 | 31 | protected UEntityManager() { } 32 | 33 | public void SetUp(EntityDefinitions lEntDefs) 34 | { 35 | ConvertAndSetupPrefabs(lEntDefs); 36 | 37 | AllEntities = FindObjectsOfType(); 38 | 39 | for (int i = 0; i < AllEntities.Length; i++) 40 | AllEntities[i].InitialiseEntity(); 41 | 42 | List lUTargetnameEnts = new List(); 43 | 44 | Dictionary> lListDic = new Dictionary>(); 45 | List lListClassnames = new List(); 46 | 47 | for (int i = 0; i < AllEntities.Length; i++) 48 | { 49 | if (AllEntities[i].HasTargetname) 50 | lUTargetnameEnts.Add(AllEntities[i]); 51 | 52 | string lClassname = AllEntities[i].Classname; 53 | 54 | if (!lListDic.ContainsKey(lClassname)) 55 | { 56 | List lNewList = new List(); 57 | 58 | lNewList.Add(AllEntities[i]); 59 | 60 | lListClassnames.Add(lClassname); 61 | 62 | lListDic.Add(lClassname, lNewList); 63 | } 64 | else 65 | { 66 | lListDic[lClassname].Add(AllEntities[i]); 67 | } 68 | } 69 | 70 | TargetnameEntities = lUTargetnameEnts.ToArray(); 71 | 72 | ClassnameEntityDictionary = new Dictionary(lListClassnames.Count); 73 | 74 | for (int i = 0; i < lListClassnames.Count; i++) 75 | { 76 | string lKey = lListClassnames[i]; 77 | 78 | ClassnameEntityDictionary.Add(lKey, lListDic[lKey].ToArray()); 79 | } 80 | } 81 | 82 | private void ConvertAndSetupPrefabs(EntityDefinitions lEntDefs) 83 | { 84 | AllEntities = FindObjectsOfType(); 85 | 86 | for (int i = 0; i < AllEntities.Length; i++) 87 | { 88 | UEntity lOldUEnt = AllEntities[i]; 89 | 90 | EntDef lEntDef = lEntDefs.GetDefinition(lOldUEnt.Classname); 91 | 92 | if (lEntDef.Classname == null) 93 | continue; 94 | 95 | GameObject lNewObject = null; 96 | UEntity lNewUEnt = null; 97 | 98 | if (lEntDef.RuntimePrefab != null) 99 | { 100 | lNewObject = GameObject.Instantiate(lEntDef.RuntimePrefab).gameObject; 101 | lNewObject.name = i + " " + lOldUEnt.Classname; 102 | lNewUEnt = lNewObject.GetComponent(); 103 | lNewUEnt.Extents = lOldUEnt.Extents; 104 | } 105 | else if (lEntDef.ConvertedPrefab == null) 106 | { 107 | lNewObject = new GameObject(i + " " + lOldUEnt.Classname); 108 | lNewUEnt = lNewObject.AddComponent(); 109 | } 110 | else 111 | continue; 112 | 113 | lNewObject.isStatic = lEntDef.IsStatic; 114 | lNewObject.layer = lEntDef.EntLayer.LayerIndex; 115 | 116 | lNewObject.transform.parent = lOldUEnt.transform.parent; 117 | lNewObject.transform.position = lOldUEnt.transform.position; 118 | 119 | Transform[] lTranforms = new Transform[lOldUEnt.transform.childCount]; 120 | 121 | for (int k = 0; k < lTranforms.Length; k++) 122 | lTranforms[k] = lOldUEnt.transform.GetChild(k); 123 | 124 | for (int k = 0; k < lTranforms.Length; k++) 125 | lTranforms[k].parent = lNewObject.transform; 126 | 127 | MeshCollider lCollider = lOldUEnt.GetComponent(); 128 | 129 | if (lCollider != null) 130 | { 131 | MeshCollider lNewCollider = lNewObject.AddComponent(); 132 | lNewCollider.sharedMesh = lCollider.sharedMesh; 133 | lNewCollider.convex = true; 134 | lNewCollider.isTrigger = lCollider.isTrigger; 135 | } 136 | 137 | lNewUEnt.SetupEntity(lOldUEnt); 138 | } 139 | 140 | for (int i = 0; i < AllEntities.Length; i++) 141 | { 142 | UEntity lOldUEnt = AllEntities[i]; 143 | 144 | EntDef lEntDef = lEntDefs.GetDefinition(lOldUEnt.Classname); 145 | 146 | if (lEntDef.Classname != null && lEntDef.ConvertedPrefab == null) 147 | DestroyImmediate(AllEntities[i].gameObject); 148 | } 149 | } 150 | 151 | public void Clear() 152 | { 153 | AllEntities = null; 154 | TargetnameEntities = null; 155 | } 156 | 157 | public T ReturnFirstTargetname(string lTarget) where T : UEntity 158 | { 159 | for (int i = 0; i < TargetnameEntities.Length; i++) 160 | if (TargetnameEntities[i].Targetname == lTarget) 161 | return (T)TargetnameEntities[i]; 162 | 163 | return null; 164 | } 165 | 166 | public UEntity ReturnFirstTargetname(string lTarget) 167 | { 168 | return ReturnFirstTargetname(lTarget); 169 | } 170 | } 171 | } -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UEntity/UEntityManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edccf8857a1c641478f4540fa7754b2f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UMeshCreator.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace QMapToUnity 4 | { 5 | public class UMeshCreator 6 | { 7 | private enum AutoUVDirection 8 | { 9 | XPos, 10 | XNeg, 11 | YPos, 12 | YNeg, 13 | ZPos, 14 | ZNeg, 15 | } 16 | 17 | private static Vector3[] s_Directions = new Vector3[6] 18 | { 19 | Vector3.right, 20 | Vector3.left, 21 | Vector3.up, 22 | Vector3.down, 23 | Vector3.forward, 24 | Vector3.back, 25 | }; 26 | 27 | private static float[] s_DirectionTolerance = new float[6] 28 | { 29 | 0.001f, 30 | 0.001f, 31 | 0.002f, 32 | 0.002f, 33 | 0f, 34 | 0f, 35 | }; 36 | 37 | public static Mesh[] ConvertToMeshes(UMeshData lMeshData) 38 | { 39 | Vector3[] lPosVerts = lMeshData.PosVertices; 40 | Vector3[] lUVVerts = lMeshData.UVVertices; 41 | 42 | int lMeshCount = lMeshData.MeshFaceInfos.Length; 43 | Mesh[] lMeshes = new Mesh[lMeshCount]; 44 | 45 | for (int m = 0; m < lMeshCount; m++) 46 | { 47 | Mesh lMesh = new Mesh(); 48 | 49 | FaceInfo[] lFaceInfos = lMeshData.MeshFaceInfos[m]; 50 | 51 | int lVertCount = 0; 52 | int lTriCount = 0; 53 | 54 | for (int f = 0; f < lFaceInfos.Length; f++) 55 | { 56 | lVertCount += lFaceInfos[f].Indices.Length; 57 | 58 | if (lFaceInfos[f].Indices.Length > 2) 59 | lTriCount += lFaceInfos[f].Indices.Length - 2; 60 | } 61 | 62 | int[] lTriangles = new int[lTriCount * 3]; 63 | 64 | int lTriIndex = 0; 65 | 66 | if (m == 0) 67 | { 68 | for (int i = 0; i < lFaceInfos.Length; i++) 69 | { 70 | for (int j = 0; j < lFaceInfos[i].Indices.Length - 2; j++) 71 | { 72 | lTriangles[lTriIndex++] = lFaceInfos[i].Indices[0]; 73 | lTriangles[lTriIndex++] = lFaceInfos[i].Indices[j + 1]; 74 | lTriangles[lTriIndex++] = lFaceInfos[i].Indices[j + 2]; 75 | } 76 | } 77 | 78 | lMesh.vertices = lMeshData.PosVertices; 79 | lMesh.triangles = lTriangles; 80 | 81 | lMesh.RecalculateNormals(); 82 | lMesh.RecalculateTangents(); 83 | lMesh.RecalculateBounds(); 84 | 85 | lMesh.name = "Collider Mesh"; 86 | 87 | lMeshes[0] = lMesh; 88 | } 89 | else 90 | { 91 | Vector3[] lNewVerts = new Vector3[lVertCount]; 92 | Vector3[] lNormals = new Vector3[lVertCount]; 93 | Vector2[] lUVs = new Vector2[lVertCount]; 94 | 95 | int lVertIndex = 0; 96 | 97 | int[][] lNewIndices = new int[lFaceInfos.Length][]; 98 | 99 | for (int f = 0; f < lFaceInfos.Length; f++) 100 | { 101 | FaceInfo lFaceInfo = lFaceInfos[f]; 102 | Plane lPlane = lFaceInfo.Plane; 103 | TextureData lTexData = lPlane.TextureData; 104 | int[] lIndices = lFaceInfo.Indices; 105 | 106 | float lMinAngle = 360f; 107 | AutoUVDirection lDir = AutoUVDirection.XPos; 108 | 109 | for (int j = 0; j < s_Directions.Length; j++) 110 | { 111 | float lAngle = Vector3.Angle(-lPlane.Normal, s_Directions[j]) - s_DirectionTolerance[j]; 112 | 113 | if (lMinAngle > lAngle) 114 | { 115 | lMinAngle = lAngle; 116 | lDir = (AutoUVDirection)j; 117 | } 118 | } 119 | 120 | lNewIndices[f] = new int[lIndices.Length]; 121 | 122 | for (int j = 0; j < lIndices.Length; j++) 123 | { 124 | Vector3 lVertPos = lPosVerts[lIndices[j]]; 125 | Vector3 lVertUV = lUVVerts[lIndices[j]]; 126 | 127 | //lVertPos.x = (int)((lVertPos.x + 0.5f) * 64f + 0f) / 64f; 128 | //lVertPos.y = (int)((lVertPos.y + 0.5f) * 64f + 0f) / 64f; 129 | //lVertPos.z = (int)((lVertPos.z + 0.5f) * 64f + 0f) / 64f; 130 | 131 | lNewVerts[lVertIndex] = lVertPos; 132 | lNormals[lVertIndex] = -lPlane.Normal; 133 | 134 | lUVs[lVertIndex] = GetProjectionCoord(lDir, lVertUV); 135 | 136 | lUVs[lVertIndex] = Quaternion.Euler(0f, 0f, -lTexData.Angle) * lUVs[lVertIndex]; 137 | 138 | lUVs[lVertIndex] *= lTexData.Scale; 139 | 140 | lUVs[lVertIndex] += lTexData.Offset; 141 | 142 | lNewIndices[f][j] = lVertIndex; 143 | 144 | lVertIndex++; 145 | } 146 | 147 | for (int j = 0; j < lNewIndices[f].Length - 2; j++) 148 | { 149 | lTriangles[lTriIndex++] = lNewIndices[f][0]; 150 | lTriangles[lTriIndex++] = lNewIndices[f][j + 1]; 151 | lTriangles[lTriIndex++] = lNewIndices[f][j + 2]; 152 | } 153 | } 154 | 155 | if (lVertIndex >= 3) 156 | { 157 | lMesh.vertices = lNewVerts; 158 | lMesh.triangles = lTriangles; 159 | lMesh.normals = lNormals; 160 | lMesh.uv = lUVs; 161 | 162 | lMesh.RecalculateTangents(); 163 | lMesh.RecalculateBounds(); 164 | 165 | lMesh.name = "Visible Mesh"; 166 | 167 | lMeshes[m] = lMesh; 168 | } 169 | else 170 | { 171 | lMeshes[m] = null; 172 | } 173 | } 174 | } 175 | 176 | return lMeshes; 177 | } 178 | 179 | private static Vector2 GetProjectionCoord(AutoUVDirection lDir, Vector3 lVertPos) 180 | { 181 | if (lDir == AutoUVDirection.XPos || lDir == AutoUVDirection.XNeg) 182 | { 183 | return new Vector2(lVertPos.z, lVertPos.y); 184 | } 185 | else if (lDir == AutoUVDirection.YPos || lDir == AutoUVDirection.YNeg) 186 | { 187 | return new Vector2(lVertPos.x, lVertPos.z); 188 | } 189 | else if (lDir == AutoUVDirection.ZPos || lDir == AutoUVDirection.ZNeg) 190 | { 191 | return new Vector2(lVertPos.x, lVertPos.y); 192 | } 193 | 194 | return Vector2.zero; 195 | } 196 | } 197 | } -------------------------------------------------------------------------------- /QMapToUnity/Assets/MapConverter/UMeshCreator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8b47d5c6ce66624e9ecc262e6d50876 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9368c7bda8001e546a006674efb88b93 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 786f321534574fc4ebd4da70f8e1153b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoPlayerStart.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using QMapToUnity; 3 | using UnityEngine; 4 | 5 | public class InfoPlayerStart : UEntity 6 | { 7 | [Header("Components")] 8 | [SerializeField] 9 | private CharacterController m_CharController; 10 | 11 | [SerializeField] 12 | private Camera m_Camera; 13 | 14 | [Header("Input")] 15 | [SerializeField] 16 | private KeyCode m_MoveForwardKey = KeyCode.W; 17 | 18 | [SerializeField] 19 | private KeyCode m_MoveBackKey = KeyCode.S; 20 | 21 | [SerializeField] 22 | private KeyCode m_LeftStrafeKey = KeyCode.A; 23 | 24 | [SerializeField] 25 | private KeyCode m_RightStrafeKey = KeyCode.D; 26 | 27 | [SerializeField] 28 | private KeyCode m_JumpKey = KeyCode.Space; 29 | 30 | [SerializeField] 31 | private float m_MouseSensitivity = 2f; 32 | 33 | [Header("Physics")] 34 | [SerializeField] 35 | private float m_GroundAcceleration = 160f; 36 | 37 | [SerializeField] 38 | private float m_AirAcceleration = 10f; 39 | 40 | [SerializeField] 41 | private float m_GroundMaxSpeed = 20f; 42 | 43 | [SerializeField] 44 | private float m_AirMaxSpeed = 100f; 45 | 46 | [SerializeField] 47 | private float m_Friction = 8f; 48 | 49 | [SerializeField] 50 | private float m_JumpHeight = 3f; 51 | 52 | private bool m_Grounded; 53 | 54 | private bool m_JumpQueued; 55 | 56 | private float m_Yaw, m_Pitch; 57 | 58 | private Vector3 m_Velocity; 59 | 60 | public Vector3 Velocity 61 | { 62 | get { return m_Velocity; } 63 | set { m_Velocity = value; } 64 | } 65 | 66 | public override void InitialiseEntity() 67 | { 68 | Vector3 lToVector = transform.forward; 69 | lToVector.y = 0f; 70 | lToVector.Normalize(); 71 | 72 | m_Yaw = Vector3.SignedAngle(Vector3.right, lToVector, Vector3.up) + 90f; 73 | m_Pitch = 0f; 74 | 75 | m_Grounded = false; 76 | m_JumpQueued = false; 77 | 78 | Velocity = Vector3.zero; 79 | } 80 | 81 | private void Start() 82 | { 83 | Cursor.lockState = CursorLockMode.Locked; 84 | Cursor.visible = false; 85 | } 86 | 87 | private void Update() 88 | { 89 | if (Velocity.y > 0.01f) 90 | m_Grounded = false; 91 | 92 | UpdateJump(); 93 | 94 | UpdateMove(); 95 | 96 | UpdateLook(); 97 | } 98 | 99 | private void UpdateJump() 100 | { 101 | if (Input.GetKeyDown(m_JumpKey)) 102 | m_JumpQueued = true; 103 | if (Input.GetKeyUp(m_JumpKey)) 104 | m_JumpQueued = false; 105 | 106 | if (Velocity.y > -1f && m_Grounded && m_JumpQueued) 107 | { 108 | m_Grounded = false; 109 | m_JumpQueued = false; 110 | 111 | float lJumpImpulse = Mathf.Sqrt(2f * Mathf.Abs(Physics.gravity.y) * m_JumpHeight); 112 | 113 | m_Velocity.y = lJumpImpulse; 114 | } 115 | } 116 | 117 | private void UpdateMove() 118 | { 119 | Vector3 lInputDir = Vector3.zero; 120 | 121 | Vector3 lForward = Quaternion.Euler(0f, m_Yaw, 0f) * Vector3.forward; 122 | Vector3 lRight = new Vector3(lForward.z, 0f, -lForward.x); 123 | 124 | if (Input.GetKey(m_LeftStrafeKey)) 125 | lInputDir -= lRight; 126 | if (Input.GetKey(m_RightStrafeKey)) 127 | lInputDir += lRight; 128 | 129 | if (Input.GetKey(m_MoveForwardKey)) 130 | lInputDir += lForward; 131 | if (Input.GetKey(m_MoveBackKey)) 132 | lInputDir -= lForward; 133 | 134 | if (lInputDir.sqrMagnitude < 0.01f) 135 | lInputDir = Vector3.zero; 136 | else if (lInputDir.sqrMagnitude > 1f) 137 | lInputDir = lInputDir.normalized; 138 | 139 | Vector3 lVelHorizontal = Velocity; 140 | lVelHorizontal.y = 0f; 141 | 142 | float lAccel, lMaxSpeed; 143 | 144 | if (m_Grounded) 145 | { 146 | lVelHorizontal -= lVelHorizontal * m_Friction * Time.deltaTime; 147 | 148 | lAccel = m_GroundAcceleration; 149 | lMaxSpeed = m_GroundMaxSpeed; 150 | } 151 | else 152 | { 153 | lAccel = m_AirAcceleration; 154 | lMaxSpeed = m_AirMaxSpeed; 155 | } 156 | 157 | if (lVelHorizontal.sqrMagnitude < lMaxSpeed * lMaxSpeed) 158 | lVelHorizontal += lInputDir * lAccel * Time.deltaTime; 159 | 160 | m_Velocity.x = lVelHorizontal.x; 161 | m_Velocity.z = lVelHorizontal.z; 162 | 163 | m_Velocity.y += Physics.gravity.y * Time.deltaTime; 164 | 165 | Vector3 lDeltaMove = Velocity * Time.deltaTime; 166 | 167 | CollisionFlags lFlags = m_CharController.Move(lDeltaMove); 168 | 169 | if (Velocity.y < 0.01f && 170 | (lFlags & CollisionFlags.Below) == CollisionFlags.Below) 171 | { 172 | m_Grounded = true; 173 | m_Velocity.y = 0f; 174 | } 175 | } 176 | 177 | private void UpdateLook() 178 | { 179 | m_Yaw += Input.GetAxisRaw("Mouse X") * m_MouseSensitivity; 180 | 181 | if (m_Yaw >= 360f) 182 | m_Yaw -= 360f; 183 | else if (m_Yaw < 0f) 184 | m_Yaw += 360f; 185 | 186 | m_Pitch += Input.GetAxisRaw("Mouse Y") * m_MouseSensitivity; 187 | 188 | m_Pitch = Mathf.Clamp(m_Pitch, -90f, 90f); 189 | 190 | m_Camera.transform.rotation = Quaternion.Euler(-m_Pitch, m_Yaw, 0f); 191 | } 192 | } 193 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoPlayerStart.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7693b7cb1dd975a4f981f27b6898c1e0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoPlayerStart.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &3128774714779536709 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 3128774714779536708} 12 | - component: {fileID: 3128774714779536705} 13 | - component: {fileID: 3128774714779536706} 14 | - component: {fileID: 3128774714779536707} 15 | m_Layer: 0 16 | m_Name: Visual 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &3128774714779536708 23 | Transform: 24 | m_ObjectHideFlags: 0 25 | m_CorrespondingSourceObject: {fileID: 0} 26 | m_PrefabInstance: {fileID: 0} 27 | m_PrefabAsset: {fileID: 0} 28 | m_GameObject: {fileID: 3128774714779536709} 29 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 30 | m_LocalPosition: {x: 0, y: 0, z: 0} 31 | m_LocalScale: {x: 1.5, y: 4, z: 1.5} 32 | m_Children: [] 33 | m_Father: {fileID: 3128774716100992407} 34 | m_RootOrder: 0 35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 36 | --- !u!33 &3128774714779536705 37 | MeshFilter: 38 | m_ObjectHideFlags: 0 39 | m_CorrespondingSourceObject: {fileID: 0} 40 | m_PrefabInstance: {fileID: 0} 41 | m_PrefabAsset: {fileID: 0} 42 | m_GameObject: {fileID: 3128774714779536709} 43 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 44 | --- !u!23 &3128774714779536706 45 | MeshRenderer: 46 | m_ObjectHideFlags: 0 47 | m_CorrespondingSourceObject: {fileID: 0} 48 | m_PrefabInstance: {fileID: 0} 49 | m_PrefabAsset: {fileID: 0} 50 | m_GameObject: {fileID: 3128774714779536709} 51 | m_Enabled: 1 52 | m_CastShadows: 1 53 | m_ReceiveShadows: 1 54 | m_DynamicOccludee: 1 55 | m_MotionVectors: 1 56 | m_LightProbeUsage: 1 57 | m_ReflectionProbeUsage: 1 58 | m_RenderingLayerMask: 1 59 | m_RendererPriority: 0 60 | m_Materials: 61 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 62 | m_StaticBatchInfo: 63 | firstSubMesh: 0 64 | subMeshCount: 0 65 | m_StaticBatchRoot: {fileID: 0} 66 | m_ProbeAnchor: {fileID: 0} 67 | m_LightProbeVolumeOverride: {fileID: 0} 68 | m_ScaleInLightmap: 1 69 | m_ReceiveGI: 1 70 | m_PreserveUVs: 0 71 | m_IgnoreNormalsForChartDetection: 0 72 | m_ImportantGI: 0 73 | m_StitchLightmapSeams: 1 74 | m_SelectedEditorRenderState: 3 75 | m_MinimumChartSize: 4 76 | m_AutoUVMaxDistance: 0.5 77 | m_AutoUVMaxAngle: 89 78 | m_LightmapParameters: {fileID: 0} 79 | m_SortingLayerID: 0 80 | m_SortingLayer: 0 81 | m_SortingOrder: 0 82 | --- !u!65 &3128774714779536707 83 | BoxCollider: 84 | m_ObjectHideFlags: 0 85 | m_CorrespondingSourceObject: {fileID: 0} 86 | m_PrefabInstance: {fileID: 0} 87 | m_PrefabAsset: {fileID: 0} 88 | m_GameObject: {fileID: 3128774714779536709} 89 | m_Material: {fileID: 0} 90 | m_IsTrigger: 0 91 | m_Enabled: 1 92 | serializedVersion: 2 93 | m_Size: {x: 1, y: 1, z: 1} 94 | m_Center: {x: 0, y: 0, z: 0} 95 | --- !u!1 &3128774715065609302 96 | GameObject: 97 | m_ObjectHideFlags: 0 98 | m_CorrespondingSourceObject: {fileID: 0} 99 | m_PrefabInstance: {fileID: 0} 100 | m_PrefabAsset: {fileID: 0} 101 | serializedVersion: 6 102 | m_Component: 103 | - component: {fileID: 3128774715065609301} 104 | - component: {fileID: 3128774715065609299} 105 | - component: {fileID: 3128774715065609300} 106 | m_Layer: 0 107 | m_Name: Camera 108 | m_TagString: Untagged 109 | m_Icon: {fileID: 0} 110 | m_NavMeshLayer: 0 111 | m_StaticEditorFlags: 0 112 | m_IsActive: 1 113 | --- !u!4 &3128774715065609301 114 | Transform: 115 | m_ObjectHideFlags: 0 116 | m_CorrespondingSourceObject: {fileID: 0} 117 | m_PrefabInstance: {fileID: 0} 118 | m_PrefabAsset: {fileID: 0} 119 | m_GameObject: {fileID: 3128774715065609302} 120 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 121 | m_LocalPosition: {x: 0, y: 1.5, z: 0} 122 | m_LocalScale: {x: 1, y: 1, z: 1} 123 | m_Children: [] 124 | m_Father: {fileID: 3128774716100992407} 125 | m_RootOrder: 1 126 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 127 | --- !u!20 &3128774715065609299 128 | Camera: 129 | m_ObjectHideFlags: 0 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInstance: {fileID: 0} 132 | m_PrefabAsset: {fileID: 0} 133 | m_GameObject: {fileID: 3128774715065609302} 134 | m_Enabled: 1 135 | serializedVersion: 2 136 | m_ClearFlags: 1 137 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 138 | m_projectionMatrixMode: 1 139 | m_GateFitMode: 2 140 | m_FOVAxisMode: 0 141 | m_SensorSize: {x: 36, y: 24} 142 | m_LensShift: {x: 0, y: 0} 143 | m_FocalLength: 50 144 | m_NormalizedViewPortRect: 145 | serializedVersion: 2 146 | x: 0 147 | y: 0 148 | width: 1 149 | height: 1 150 | near clip plane: 0.3 151 | far clip plane: 1000 152 | field of view: 90 153 | orthographic: 0 154 | orthographic size: 5 155 | m_Depth: 0 156 | m_CullingMask: 157 | serializedVersion: 2 158 | m_Bits: 4294967295 159 | m_RenderingPath: -1 160 | m_TargetTexture: {fileID: 0} 161 | m_TargetDisplay: 0 162 | m_TargetEye: 3 163 | m_HDR: 1 164 | m_AllowMSAA: 1 165 | m_AllowDynamicResolution: 0 166 | m_ForceIntoRT: 0 167 | m_OcclusionCulling: 1 168 | m_StereoConvergence: 10 169 | m_StereoSeparation: 0.022 170 | --- !u!81 &3128774715065609300 171 | AudioListener: 172 | m_ObjectHideFlags: 0 173 | m_CorrespondingSourceObject: {fileID: 0} 174 | m_PrefabInstance: {fileID: 0} 175 | m_PrefabAsset: {fileID: 0} 176 | m_GameObject: {fileID: 3128774715065609302} 177 | m_Enabled: 1 178 | --- !u!1 &3128774716100992408 179 | GameObject: 180 | m_ObjectHideFlags: 0 181 | m_CorrespondingSourceObject: {fileID: 0} 182 | m_PrefabInstance: {fileID: 0} 183 | m_PrefabAsset: {fileID: 0} 184 | serializedVersion: 6 185 | m_Component: 186 | - component: {fileID: 3128774716100992407} 187 | - component: {fileID: 1136459754380680479} 188 | - component: {fileID: 2023529598568540001} 189 | m_Layer: 0 190 | m_Name: InfoPlayerStart 191 | m_TagString: Untagged 192 | m_Icon: {fileID: 0} 193 | m_NavMeshLayer: 0 194 | m_StaticEditorFlags: 0 195 | m_IsActive: 1 196 | --- !u!4 &3128774716100992407 197 | Transform: 198 | m_ObjectHideFlags: 0 199 | m_CorrespondingSourceObject: {fileID: 0} 200 | m_PrefabInstance: {fileID: 0} 201 | m_PrefabAsset: {fileID: 0} 202 | m_GameObject: {fileID: 3128774716100992408} 203 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 204 | m_LocalPosition: {x: 0, y: 0, z: 0} 205 | m_LocalScale: {x: 1, y: 1, z: 1} 206 | m_Children: 207 | - {fileID: 3128774714779536708} 208 | - {fileID: 3128774715065609301} 209 | m_Father: {fileID: 0} 210 | m_RootOrder: 0 211 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 212 | --- !u!114 &1136459754380680479 213 | MonoBehaviour: 214 | m_ObjectHideFlags: 0 215 | m_CorrespondingSourceObject: {fileID: 0} 216 | m_PrefabInstance: {fileID: 0} 217 | m_PrefabAsset: {fileID: 0} 218 | m_GameObject: {fileID: 3128774716100992408} 219 | m_Enabled: 1 220 | m_EditorHideFlags: 0 221 | m_Script: {fileID: 11500000, guid: 7693b7cb1dd975a4f981f27b6898c1e0, type: 3} 222 | m_Name: 223 | m_EditorClassIdentifier: 224 | Classname: 225 | KeyValuePairs: [] 226 | Extents: 227 | Center: {x: 0, y: 0, z: 0} 228 | Size: {x: 0, y: 0, z: 0} 229 | Half: {x: 0, y: 0, z: 0} 230 | Min: {x: 0, y: 0, z: 0} 231 | Max: {x: 0, y: 0, z: 0} 232 | BrushGOs: [] 233 | HasAngle: 0 234 | Angle: 0 235 | HasTarget: 0 236 | Target: 237 | HasTargetname: 0 238 | Targetname: 239 | SpawnFlags: 0 240 | m_CharController: {fileID: 2023529598568540001} 241 | m_Camera: {fileID: 3128774715065609299} 242 | m_MoveForwardKey: 119 243 | m_MoveBackKey: 115 244 | m_LeftStrafeKey: 97 245 | m_RightStrafeKey: 100 246 | m_JumpKey: 32 247 | m_MouseSensitivity: 2 248 | m_GroundAcceleration: 160 249 | m_AirAcceleration: 10 250 | m_GroundMaxSpeed: 20 251 | m_AirMaxSpeed: 100 252 | m_Friction: 8 253 | m_JumpHeight: 3 254 | --- !u!143 &2023529598568540001 255 | CharacterController: 256 | m_ObjectHideFlags: 0 257 | m_CorrespondingSourceObject: {fileID: 0} 258 | m_PrefabInstance: {fileID: 0} 259 | m_PrefabAsset: {fileID: 0} 260 | m_GameObject: {fileID: 3128774716100992408} 261 | m_Material: {fileID: 0} 262 | m_IsTrigger: 0 263 | m_Enabled: 1 264 | serializedVersion: 2 265 | m_Height: 4 266 | m_Radius: 1 267 | m_SlopeLimit: 60 268 | m_StepOffset: 1.5 269 | m_SkinWidth: 0.08 270 | m_MinMoveDistance: 0.001 271 | m_Center: {x: 0, y: 0, z: 0} 272 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoPlayerStart.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2166d508ccdc7aa4b88893d1bbaf9962 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoTarget.cs: -------------------------------------------------------------------------------- 1 | using QMapToUnity; 2 | 3 | public class InfoTarget : UEntity 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoTarget.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e21937794b869204b99d4453cf000074 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoTarget.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &140510949077590557 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 972085566721824217} 12 | - component: {fileID: 957652695669480500} 13 | m_Layer: 0 14 | m_Name: InfoTarget 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!4 &972085566721824217 21 | Transform: 22 | m_ObjectHideFlags: 0 23 | m_CorrespondingSourceObject: {fileID: 0} 24 | m_PrefabInstance: {fileID: 0} 25 | m_PrefabAsset: {fileID: 0} 26 | m_GameObject: {fileID: 140510949077590557} 27 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 | m_LocalPosition: {x: 0, y: 0, z: 0} 29 | m_LocalScale: {x: 1, y: 1, z: 1} 30 | m_Children: [] 31 | m_Father: {fileID: 0} 32 | m_RootOrder: 0 33 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 34 | --- !u!114 &957652695669480500 35 | MonoBehaviour: 36 | m_ObjectHideFlags: 0 37 | m_CorrespondingSourceObject: {fileID: 0} 38 | m_PrefabInstance: {fileID: 0} 39 | m_PrefabAsset: {fileID: 0} 40 | m_GameObject: {fileID: 140510949077590557} 41 | m_Enabled: 1 42 | m_EditorHideFlags: 0 43 | m_Script: {fileID: 11500000, guid: e21937794b869204b99d4453cf000074, type: 3} 44 | m_Name: 45 | m_EditorClassIdentifier: 46 | Classname: 47 | KeyValuePairs: [] 48 | Extents: 49 | Center: {x: 0, y: 0, z: 0} 50 | Size: {x: 0, y: 0, z: 0} 51 | Half: {x: 0, y: 0, z: 0} 52 | Min: {x: 0, y: 0, z: 0} 53 | Max: {x: 0, y: 0, z: 0} 54 | BrushGOs: [] 55 | HasAngle: 0 56 | Angle: 0 57 | HasTarget: 0 58 | Target: 59 | HasTargetname: 0 60 | Targetname: 61 | SpawnFlags: 0 62 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/InfoTarget.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be60f684d22059e46b3296baa6ba0f6a 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightPoint.cs: -------------------------------------------------------------------------------- 1 | using QMapToUnity; 2 | using UnityEngine; 3 | 4 | public class LightPoint : UEntity 5 | { 6 | [SerializeField] 7 | private Light m_Light; 8 | 9 | public override void SetupChildEntity() 10 | { 11 | float lTemp = 0f; 12 | if (GetValue("intensity", out lTemp)) 13 | m_Light.intensity = lTemp; 14 | if (GetValue("range", out lTemp)) 15 | m_Light.range = lTemp; 16 | 17 | int lMode = 0; 18 | if (GetValue("lightMode", out lMode)) 19 | m_Light.lightmapBakeType = (LightmapBakeType)lMode; 20 | if (GetValue("shadowMode", out lMode)) 21 | m_Light.shadows = (LightShadows)lMode; 22 | 23 | Color lColor; 24 | if (GetValue("color", out lColor)) 25 | m_Light.color = lColor; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e18d9dee63985b446826a7dc8065f964 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightPoint.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &140510949077590557 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 972085566721824217} 12 | - component: {fileID: 2547586025721683168} 13 | - component: {fileID: 732500781340360567} 14 | m_Layer: 0 15 | m_Name: LightPoint 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &972085566721824217 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 140510949077590557} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &2547586025721683168 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 140510949077590557} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: e18d9dee63985b446826a7dc8065f964, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | Classname: 48 | KeyValuePairs: [] 49 | Extents: 50 | Center: {x: 0, y: 0, z: 0} 51 | Size: {x: 0, y: 0, z: 0} 52 | Half: {x: 0, y: 0, z: 0} 53 | Min: {x: 0, y: 0, z: 0} 54 | Max: {x: 0, y: 0, z: 0} 55 | BrushGOs: [] 56 | HasAngle: 0 57 | Angle: 0 58 | HasTarget: 0 59 | Target: 60 | HasTargetname: 0 61 | Targetname: 62 | SpawnFlags: 0 63 | m_Light: {fileID: 732500781340360567} 64 | --- !u!108 &732500781340360567 65 | Light: 66 | m_ObjectHideFlags: 0 67 | m_CorrespondingSourceObject: {fileID: 0} 68 | m_PrefabInstance: {fileID: 0} 69 | m_PrefabAsset: {fileID: 0} 70 | m_GameObject: {fileID: 140510949077590557} 71 | m_Enabled: 1 72 | serializedVersion: 9 73 | m_Type: 2 74 | m_Color: {r: 1, g: 0.96008176, b: 0.7971698, a: 1} 75 | m_Intensity: 1 76 | m_Range: 32 77 | m_SpotAngle: 30 78 | m_InnerSpotAngle: 21.80208 79 | m_CookieSize: 10 80 | m_Shadows: 81 | m_Type: 0 82 | m_Resolution: -1 83 | m_CustomResolution: -1 84 | m_Strength: 1 85 | m_Bias: 0.05 86 | m_NormalBias: 0.4 87 | m_NearPlane: 0.2 88 | m_CullingMatrixOverride: 89 | e00: 1 90 | e01: 0 91 | e02: 0 92 | e03: 0 93 | e10: 0 94 | e11: 1 95 | e12: 0 96 | e13: 0 97 | e20: 0 98 | e21: 0 99 | e22: 1 100 | e23: 0 101 | e30: 0 102 | e31: 0 103 | e32: 0 104 | e33: 1 105 | m_UseCullingMatrixOverride: 0 106 | m_Cookie: {fileID: 0} 107 | m_DrawHalo: 0 108 | m_Flare: {fileID: 0} 109 | m_RenderMode: 0 110 | m_CullingMask: 111 | serializedVersion: 2 112 | m_Bits: 4294967295 113 | m_RenderingLayerMask: 1 114 | m_Lightmapping: 4 115 | m_LightShadowCasterMode: 0 116 | m_AreaSize: {x: 1, y: 1} 117 | m_BounceIntensity: 1 118 | m_ColorTemperature: 6570 119 | m_UseColorTemperature: 0 120 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 121 | m_UseBoundingSphereOverride: 0 122 | m_ShadowRadius: 0 123 | m_ShadowAngle: 0 124 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightPoint.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5166d18d6d6a0484d95b574d5c27803d 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightSun.cs: -------------------------------------------------------------------------------- 1 | using QMapToUnity; 2 | using UnityEngine; 3 | 4 | public class LightSun : UEntity 5 | { 6 | [SerializeField] 7 | private Light m_Light; 8 | 9 | private float m_Yaw, m_Pitch = 60f; 10 | 11 | public override void SetupChildEntity() 12 | { 13 | if (!GetValue("yaw", out m_Yaw)) 14 | m_Yaw = 60f; 15 | 16 | if (!GetValue("pitch", out m_Pitch)) 17 | m_Pitch = 60f; 18 | 19 | float lIntensity = 0f; 20 | if (GetValue("intensity", out lIntensity)) 21 | m_Light.intensity = lIntensity; 22 | 23 | int lMode = 0; 24 | if (GetValue("lightMode", out lMode)) 25 | m_Light.lightmapBakeType = (LightmapBakeType)lMode; 26 | if (GetValue("shadowMode", out lMode)) 27 | m_Light.shadows = (LightShadows)lMode; 28 | 29 | Color lColor; 30 | if (GetValue("color", out lColor)) 31 | m_Light.color = lColor; 32 | 33 | transform.rotation = Quaternion.Euler(m_Pitch, m_Yaw, 0f); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightSun.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f740c4c0d762464ebd0dd40b091a746 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightSun.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &140510949077590557 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 972085566721824217} 12 | - component: {fileID: 6083632006029259811} 13 | - component: {fileID: 732500781340360567} 14 | m_Layer: 0 15 | m_Name: LightSun 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &972085566721824217 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 140510949077590557} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &6083632006029259811 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 140510949077590557} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: 5f740c4c0d762464ebd0dd40b091a746, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | Classname: 48 | KeyValuePairs: [] 49 | Extents: 50 | Center: {x: 0, y: 0, z: 0} 51 | Size: {x: 0, y: 0, z: 0} 52 | Half: {x: 0, y: 0, z: 0} 53 | Min: {x: 0, y: 0, z: 0} 54 | Max: {x: 0, y: 0, z: 0} 55 | BrushGOs: [] 56 | HasAngle: 0 57 | Angle: 0 58 | HasTarget: 0 59 | Target: 60 | HasTargetname: 0 61 | Targetname: 62 | SpawnFlags: 0 63 | m_Light: {fileID: 732500781340360567} 64 | --- !u!108 &732500781340360567 65 | Light: 66 | m_ObjectHideFlags: 0 67 | m_CorrespondingSourceObject: {fileID: 0} 68 | m_PrefabInstance: {fileID: 0} 69 | m_PrefabAsset: {fileID: 0} 70 | m_GameObject: {fileID: 140510949077590557} 71 | m_Enabled: 1 72 | serializedVersion: 9 73 | m_Type: 1 74 | m_Color: {r: 1, g: 0.96008176, b: 0.7971698, a: 1} 75 | m_Intensity: 1 76 | m_Range: 10 77 | m_SpotAngle: 30 78 | m_InnerSpotAngle: 21.80208 79 | m_CookieSize: 10 80 | m_Shadows: 81 | m_Type: 0 82 | m_Resolution: -1 83 | m_CustomResolution: -1 84 | m_Strength: 1 85 | m_Bias: 0.05 86 | m_NormalBias: 0.4 87 | m_NearPlane: 0.2 88 | m_CullingMatrixOverride: 89 | e00: 1 90 | e01: 0 91 | e02: 0 92 | e03: 0 93 | e10: 0 94 | e11: 1 95 | e12: 0 96 | e13: 0 97 | e20: 0 98 | e21: 0 99 | e22: 1 100 | e23: 0 101 | e30: 0 102 | e31: 0 103 | e32: 0 104 | e33: 1 105 | m_UseCullingMatrixOverride: 0 106 | m_Cookie: {fileID: 0} 107 | m_DrawHalo: 0 108 | m_Flare: {fileID: 0} 109 | m_RenderMode: 0 110 | m_CullingMask: 111 | serializedVersion: 2 112 | m_Bits: 4294967295 113 | m_RenderingLayerMask: 1 114 | m_Lightmapping: 4 115 | m_LightShadowCasterMode: 0 116 | m_AreaSize: {x: 1, y: 1} 117 | m_BounceIntensity: 1 118 | m_ColorTemperature: 6570 119 | m_UseColorTemperature: 0 120 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 121 | m_UseBoundingSphereOverride: 0 122 | m_ShadowRadius: 0 123 | m_ShadowAngle: 0 124 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/LightSun.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e267b9e4bc97854b920f01242e419d7 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/TriggerEnterDispatcher.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public delegate void TriggerEvent(Collider lCollider); 4 | 5 | public class OnTriggerEnterDispatcher : MonoBehaviour 6 | { 7 | private event TriggerEvent m_OnEnter; 8 | 9 | public event TriggerEvent OnEnter 10 | { 11 | add { m_OnEnter += value; } 12 | remove { m_OnEnter -= value; } 13 | } 14 | 15 | private void OnTriggerEnter(Collider lCollider) 16 | { 17 | m_OnEnter?.Invoke(lCollider); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/TriggerEnterDispatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 700cc8edeafc67942a0fc23c6baa416f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/TriggerJump.cs: -------------------------------------------------------------------------------- 1 | using QMapToUnity; 2 | using UnityEngine; 3 | using UnityEngine.AI; 4 | 5 | public class TriggerJump : UEntity 6 | { 7 | private Vector3 m_JumpVelocity; 8 | 9 | public override void InitialiseEntity() 10 | { 11 | string lTarget; 12 | 13 | if (GetValue("target", out lTarget)) 14 | { 15 | UEntity lEnt = ReturnFirstTargetname(lTarget); 16 | 17 | Vector3 lToTarget = lEnt.transform.position - transform.position; 18 | lToTarget.y *= -1f; 19 | 20 | Vector3 lEndPos = lEnt.transform.position; 21 | 22 | RaycastHit lHit; 23 | 24 | if (Physics.Raycast(lEnt.transform.position, lToTarget.normalized, out lHit, lToTarget.magnitude, LayerMask.NameToLayer("Default"), QueryTriggerInteraction.Ignore)) 25 | { 26 | lEndPos = lHit.point; 27 | } 28 | 29 | GameObject lGO = new GameObject("OffMeshLink"); 30 | lGO.transform.parent = transform; 31 | lGO.transform.localPosition = Vector3.zero; 32 | 33 | GameObject lGO2 = new GameObject("OffMeshLinkChild"); 34 | lGO2.transform.parent = lGO.transform; 35 | lGO2.transform.position = lEndPos; 36 | 37 | OffMeshLink lLink = lGO.AddComponent(); 38 | lLink.startTransform = lGO.transform; 39 | lLink.endTransform = lGO2.transform; 40 | lLink.autoUpdatePositions = true; 41 | } 42 | } 43 | 44 | private void Start() 45 | { 46 | for (int i = 0; i < BrushGOs.Length; i++) 47 | { 48 | OnTriggerEnterDispatcher lOnTrigger = BrushGOs[i].AddComponent(); 49 | lOnTrigger.OnEnter += OnTriggerEnterEvent; 50 | } 51 | 52 | m_JumpVelocity = Vector3.zero; 53 | 54 | string lTarget; 55 | 56 | if (GetValue("target", out lTarget)) 57 | { 58 | UEntity lEnt = UEntityManager.Instance.ReturnFirstTargetname(lTarget); 59 | 60 | if (lEnt != null) 61 | { 62 | Vector3 lDelta = lEnt.transform.position - transform.position; 63 | 64 | float lGravity = Mathf.Abs(Physics.gravity.y); 65 | 66 | m_JumpVelocity.y = Mathf.Sqrt(2f * lGravity * Mathf.Abs(lDelta.y)); 67 | 68 | Vector3 lNorm = lDelta; 69 | 70 | lNorm.y = 0f; 71 | 72 | float lDistance = lNorm.magnitude; 73 | 74 | float lTime = m_JumpVelocity.y / lGravity; 75 | 76 | float lHorezSpeed = lTime > 0f ? lDistance / lTime : 0f; 77 | 78 | lNorm.Normalize(); 79 | 80 | m_JumpVelocity += lNorm * lHorezSpeed; 81 | } 82 | } 83 | } 84 | 85 | private void OnEnable() 86 | { 87 | 88 | } 89 | 90 | private void OnTriggerEnterEvent(Collider lCollider) 91 | { 92 | InfoPlayerStart lPlayer = lCollider.gameObject.GetComponent(); 93 | 94 | if (lPlayer != null) 95 | { 96 | lPlayer.Velocity = m_JumpVelocity; 97 | } 98 | } 99 | } 100 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/TriggerJump.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed101da16e594d3488d72011fa447be9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/TriggerJump.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &6409423876327687118 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 483426550848912215} 12 | - component: {fileID: 7251279878038473107} 13 | m_Layer: 0 14 | m_Name: TriggerJump 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!4 &483426550848912215 21 | Transform: 22 | m_ObjectHideFlags: 0 23 | m_CorrespondingSourceObject: {fileID: 0} 24 | m_PrefabInstance: {fileID: 0} 25 | m_PrefabAsset: {fileID: 0} 26 | m_GameObject: {fileID: 6409423876327687118} 27 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 | m_LocalPosition: {x: 0, y: 0, z: 0} 29 | m_LocalScale: {x: 1, y: 1, z: 1} 30 | m_Children: [] 31 | m_Father: {fileID: 0} 32 | m_RootOrder: 0 33 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 34 | --- !u!114 &7251279878038473107 35 | MonoBehaviour: 36 | m_ObjectHideFlags: 0 37 | m_CorrespondingSourceObject: {fileID: 0} 38 | m_PrefabInstance: {fileID: 0} 39 | m_PrefabAsset: {fileID: 0} 40 | m_GameObject: {fileID: 6409423876327687118} 41 | m_Enabled: 1 42 | m_EditorHideFlags: 0 43 | m_Script: {fileID: 11500000, guid: ed101da16e594d3488d72011fa447be9, type: 3} 44 | m_Name: 45 | m_EditorClassIdentifier: 46 | Classname: 47 | KeyValuePairs: [] 48 | Extents: 49 | Center: {x: 0, y: 0, z: 0} 50 | Size: {x: 0, y: 0, z: 0} 51 | Half: {x: 0, y: 0, z: 0} 52 | Min: {x: 0, y: 0, z: 0} 53 | Max: {x: 0, y: 0, z: 0} 54 | BrushGOs: [] 55 | HasAngle: 0 56 | Angle: 0 57 | HasTarget: 0 58 | Target: 59 | HasTargetname: 0 60 | Targetname: 61 | SpawnFlags: 0 62 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Entity/TriggerJump.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6241a17a330206e4cb6b9ffd22e3cacd 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestConvertMapSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 10983e07ee577a74ca8a739afb80b9da, type: 3} 13 | m_Name: TestConvertMapSettings 14 | m_EditorClassIdentifier: 15 | MapFile: {fileID: 4900000, guid: dccdee50e5c840047a30e03b0b6d0489, type: 3} 16 | TexDefs: {fileID: 11400000, guid: 2147354f173bd644695b49f0d2c5963c, type: 2} 17 | EntDefs: {fileID: 11400000, guid: 51092273f2e04f844b0d962e5d32d107, type: 2} 18 | StandardMaterial: {fileID: 2100000, guid: ac385714993be704692eb7cde555cbc0, type: 2} 19 | CutoutMaterial: {fileID: 2100000, guid: ef4a82e89cf75114394a3a0144d2aa1d, type: 2} 20 | EmissiveMaterial: {fileID: 2100000, guid: ee1c7529293c0354a8e896127f1cccc2, type: 2} 21 | AreaLightMaterial: {fileID: 2100000, guid: 58cd431112b58104d91501b0a8a6c0f4, type: 2} 22 | AutoGenerateUV2s: 1 23 | UsingHDRPMaterials: 0 24 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestConvertMapSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38b9d804923bebd438ef5106218e98bc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestEntityDefinitions.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: ac72a0b7ce9603d42aec9223c051582d, type: 3} 13 | m_Name: TestEntityDefinitions 14 | m_EditorClassIdentifier: 15 | Worldspawn: 16 | Classname: worldspawn 17 | ConvertedPrefab: {fileID: 0} 18 | RuntimePrefab: {fileID: 0} 19 | IsStatic: 1 20 | EntLayer: 21 | m_LayerIndex: 0 22 | HasConvexCollider: 0 23 | IsConvexTrigger: 0 24 | ColLayer: 25 | m_LayerIndex: 0 26 | HasCollider: 1 27 | IsTrigger: 0 28 | MeshLayer: 29 | m_LayerIndex: 0 30 | HasMesh: 1 31 | Definitions: 32 | - Classname: info_player_start 33 | ConvertedPrefab: {fileID: 0} 34 | RuntimePrefab: {fileID: 1136459754380680479, guid: 2166d508ccdc7aa4b88893d1bbaf9962, 35 | type: 3} 36 | IsStatic: 0 37 | EntLayer: 38 | m_LayerIndex: 0 39 | HasConvexCollider: 0 40 | IsConvexTrigger: 0 41 | ColLayer: 42 | m_LayerIndex: 0 43 | HasCollider: 0 44 | IsTrigger: 0 45 | MeshLayer: 46 | m_LayerIndex: 0 47 | HasMesh: 0 48 | - Classname: info_target 49 | ConvertedPrefab: {fileID: 957652695669480500, guid: be60f684d22059e46b3296baa6ba0f6a, 50 | type: 3} 51 | RuntimePrefab: {fileID: 0} 52 | IsStatic: 1 53 | EntLayer: 54 | m_LayerIndex: 0 55 | HasConvexCollider: 0 56 | IsConvexTrigger: 0 57 | ColLayer: 58 | m_LayerIndex: 0 59 | HasCollider: 0 60 | IsTrigger: 0 61 | MeshLayer: 62 | m_LayerIndex: 0 63 | HasMesh: 0 64 | - Classname: light_sun 65 | ConvertedPrefab: {fileID: 6083632006029259811, guid: 8e267b9e4bc97854b920f01242e419d7, 66 | type: 3} 67 | RuntimePrefab: {fileID: 0} 68 | IsStatic: 1 69 | EntLayer: 70 | m_LayerIndex: 0 71 | HasConvexCollider: 0 72 | IsConvexTrigger: 0 73 | ColLayer: 74 | m_LayerIndex: 0 75 | HasCollider: 0 76 | IsTrigger: 0 77 | MeshLayer: 78 | m_LayerIndex: 0 79 | HasMesh: 0 80 | - Classname: light_point 81 | ConvertedPrefab: {fileID: 2547586025721683168, guid: 5166d18d6d6a0484d95b574d5c27803d, 82 | type: 3} 83 | RuntimePrefab: {fileID: 0} 84 | IsStatic: 1 85 | EntLayer: 86 | m_LayerIndex: 0 87 | HasConvexCollider: 0 88 | IsConvexTrigger: 0 89 | ColLayer: 90 | m_LayerIndex: 0 91 | HasCollider: 0 92 | IsTrigger: 0 93 | MeshLayer: 94 | m_LayerIndex: 0 95 | HasMesh: 0 96 | - Classname: trigger_jump 97 | ConvertedPrefab: {fileID: 0} 98 | RuntimePrefab: {fileID: 7251279878038473107, guid: 6241a17a330206e4cb6b9ffd22e3cacd, 99 | type: 3} 100 | IsStatic: 1 101 | EntLayer: 102 | m_LayerIndex: 0 103 | HasConvexCollider: 0 104 | IsConvexTrigger: 0 105 | ColLayer: 106 | m_LayerIndex: 0 107 | HasCollider: 1 108 | IsTrigger: 1 109 | MeshLayer: 110 | m_LayerIndex: 0 111 | HasMesh: 0 112 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestEntityDefinitions.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51092273f2e04f844b0d962e5d32d107 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestGameLightmap.giparams: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1113 &111300000 4 | LightmapParameters: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: TestGameLightmap 10 | serializedVersion: 3 11 | resolution: 0.0625 12 | clusterResolution: 0.125 13 | irradianceBudget: 32 14 | irradianceQuality: 1024 15 | backFaceTolerance: 0.9 16 | isTransparent: 0 17 | modellingTolerance: 0.01 18 | systemTag: -1 19 | edgeStitching: 1 20 | blurRadius: 2 21 | directLightQuality: 64 22 | antiAliasingSamples: 2 23 | pushoff: 0.0001 24 | bakedLightmapTag: -1 25 | limitLightmapCount: 0 26 | maxLightmapCount: 1 27 | AOQuality: 256 28 | AOAntiAliasingSamples: 16 29 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestGameLightmap.giparams.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b11a33d806f6dd54baf75ae546547a21 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestMap.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dccdee50e5c840047a30e03b0b6d0489 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 650ff1b339e4db646af279984ff7a732 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c266040b81379f046aa2fe7e8b619bee 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/LightingData.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/LightingData.asset -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/LightingData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d58e90b98c9865f44a7697e35dbf206e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 112000000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-0_comp_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-0_comp_dir.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-0_comp_dir.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 127721c9edb6b4b42881b8a390f867b6 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 0 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 1 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 3 36 | mipBias: 0 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 2 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-0_comp_light.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-0_comp_light.exr -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-0_comp_light.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4228d5dfc631b30459238f40fb521d67 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 1 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 3 36 | mipBias: 0 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 0 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 6 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 2 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-1_comp_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-1_comp_dir.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-1_comp_dir.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed905e9c058964e469de25dd75fc17ce 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-1_comp_light.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-1_comp_light.exr -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-1_comp_light.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b56f323a460d41549bc9d64f4d4a4ac5 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-2_comp_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-2_comp_dir.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-2_comp_dir.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19ff5f13f3dc8ac4eb4f7b2e42730cf8 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-2_comp_light.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-2_comp_light.exr -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-2_comp_light.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11fdd550416786549b2aaadd1f531a5e 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-3_comp_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-3_comp_dir.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-3_comp_dir.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43e0cfcdb6841b541a9ad77cfdcb83c0 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-3_comp_light.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/Lightmap-3_comp_light.exr -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/Lightmap-3_comp_light.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 271406afd346ebc48a15b151c01d0109 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/NavMesh.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/NavMesh.asset -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/NavMesh.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2588142a3b1984e42b11d110fcad5d5f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 23800000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/OcclusionCullingData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5be1fe0c687ad6d4da9f5f422b7758f7 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 36300000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/ReflectionProbe-0.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/TestScene/ReflectionProbe-0.exr -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestScene/ReflectionProbe-0.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa1fc3b2c4cdd28458c21a6cea07cdd6 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 1 29 | seamlessCubemap: 1 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 2 35 | aniso: 0 36 | mipBias: 0 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 2 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 100 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestTextureDefinitions.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: e321f0360a9aee842abbbf701ecd537a, type: 3} 13 | m_Name: TestTextureDefinitions 14 | m_EditorClassIdentifier: 15 | Textures: 16 | - {fileID: 2800000, guid: 48e7791cf017149488c10677116a681c, type: 3} 17 | - {fileID: 2800000, guid: 669a8278e1397994f80ec24616601ef4, type: 3} 18 | - {fileID: 2800000, guid: 1b9bbd75653db5445b63d14dc30b8973, type: 3} 19 | - {fileID: 2800000, guid: 3ba7496ab908cd24591643076d5da8f1, type: 3} 20 | - {fileID: 2800000, guid: f8dd53d10c5b1834193c538f8c7ba16f, type: 3} 21 | - {fileID: 2800000, guid: 7bcf5604c77b025439d227b49dcc5f9f, type: 3} 22 | - {fileID: 2800000, guid: 45ea9d766d981c24ba107a76c205cfe4, type: 3} 23 | - {fileID: 2800000, guid: f19478cf73877be4789ebec6f79b1865, type: 3} 24 | - {fileID: 2800000, guid: d554e66709d1ee14ca7472b4c5b9d7ad, type: 3} 25 | - {fileID: 2800000, guid: e00d90cceaf500f408978ce47cbb6cba, type: 3} 26 | - {fileID: 2800000, guid: ea9aaa6596b92fc439fa35496928647c, type: 3} 27 | - {fileID: 2800000, guid: 40ded4871d174e144bf79035a388b3cb, type: 3} 28 | - {fileID: 2800000, guid: be7a45978db2ca04e82e593887da17e9, type: 3} 29 | - {fileID: 2800000, guid: ed449af3dc1f34c4290b73d3005ac627, type: 3} 30 | - {fileID: 2800000, guid: 4ee5954912fb18147941ad62313bd3b4, type: 3} 31 | - {fileID: 2800000, guid: 457b296a009e6f247ac35e23fa0ca513, type: 3} 32 | - {fileID: 2800000, guid: 02abf8c403a634b4392568c1a2912ea0, type: 3} 33 | - {fileID: 2800000, guid: a9bf59bb679a01f4c8342cbe3a133b17, type: 3} 34 | - {fileID: 2800000, guid: 051ae601acb72824bb9af5a40f90381d, type: 3} 35 | Definitions: 36 | - Name: CutRound 37 | IsCutout: 1 38 | CutoutAlpha: 0.5 39 | EmissiveTexture: {fileID: 0} 40 | EmissiveColour: {r: 0, g: 0, b: 0, a: 0} 41 | HasAreaLight: 0 42 | AreaColour: {r: 0, g: 0, b: 0, a: 0} 43 | AreaDisplacement: 0 44 | AreaSizeScale: 0 45 | - Name: CutStraight 46 | IsCutout: 1 47 | CutoutAlpha: 0.5 48 | EmissiveTexture: {fileID: 0} 49 | EmissiveColour: {r: 0, g: 0, b: 0, a: 0} 50 | HasAreaLight: 0 51 | AreaColour: {r: 0, g: 0, b: 0, a: 0} 52 | AreaDisplacement: 0 53 | AreaSizeScale: 0 54 | - Name: LightCool 55 | IsCutout: 0 56 | CutoutAlpha: 0 57 | EmissiveTexture: {fileID: 2800000, guid: 40ded4871d174e144bf79035a388b3cb, type: 3} 58 | EmissiveColour: {r: 0.4862745, g: 0.6117647, b: 2.572549, a: 0} 59 | HasAreaLight: 1 60 | AreaColour: {r: 0.99669445, g: 1.2391336, b: 5.145098, a: 0} 61 | AreaDisplacement: 0.25 62 | AreaSizeScale: 1 63 | - Name: LightWarm 64 | IsCutout: 0 65 | CutoutAlpha: 0 66 | EmissiveTexture: {fileID: 2800000, guid: be7a45978db2ca04e82e593887da17e9, type: 3} 67 | EmissiveColour: {r: 2.572549, g: 1.397168, b: 0.49834713, a: 0} 68 | HasAreaLight: 1 69 | AreaColour: {r: 5.145098, g: 2.8015194, b: 0.99669445, a: 0} 70 | AreaDisplacement: 0.25 71 | AreaSizeScale: 1 72 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/TestTextureDefinitions.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2147354f173bd644695b49f0d2c5963c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff16181eb1e83dc408bb106ca51f12f1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0ab3dfc939ba5e4a818dd14f7c7d7f7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/GameConfig.cfg: -------------------------------------------------------------------------------- 1 | { 2 | version: 3, 3 | name: "Q2UTest", 4 | icon: "Q2UTestIcon.png", 5 | 6 | "fileformats": [ 7 | { "format": "Standard", "initialmap": "initial_standard.map" } 8 | ], 9 | 10 | "filesystem": { 11 | "searchpath": ".", 12 | "packageformat": { "extension": "pak", "format": "idpak" } 13 | }, 14 | 15 | "textures": { 16 | "package": { "type": "directory", "root": "textures" }, 17 | "format": { "extensions": ["jpg", "jpeg", "tga", "png"], "format": "image" }, 18 | "attribute": "_tb" 19 | }, 20 | 21 | "entities": { 22 | "definitions": [ "Q2UTest.fgd" ], 23 | "defaultcolor": "0.6 0.6 0.6 1.0", 24 | "modelformats": [ "bsp, mdl, md2" ] 25 | }, 26 | 27 | "tags": { 28 | "brush": [ 29 | { 30 | "name": "Trigger", 31 | "attribs": [ "transparent" ], 32 | "match": "classname", 33 | "pattern": "trigger*", 34 | "texture": "trigger" 35 | } 36 | ], 37 | "brushface": [] 38 | }, 39 | 40 | "faceattribs": { 41 | "surfaceflags": [], 42 | "contentflags": [] 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/GameConfig.cfg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35ad107e316004f46a763bc47c42bc46 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/Q2UTest.fgd: -------------------------------------------------------------------------------- 1 | // 2 | // Q2UTest definition file 3 | // for TrenchBroom 2019.1 and above 4 | // 5 | // Gemi Games 6 | // 7 | 8 | @SolidClass = worldspawn : "Worldspawn" 9 | [ 10 | levelname(string) : "Level Name" 11 | ] 12 | 13 | // Basics 14 | 15 | @baseclass = Angle 16 | [ 17 | angle(integer) : "Angle" 18 | ] 19 | 20 | @baseclass = Targetname 21 | [ 22 | targetname(string) : "Name" 23 | ] 24 | 25 | @baseclass = Target 26 | [ 27 | target(string) : "Target" 28 | ] 29 | 30 | @baseclass base(Angle, Targetname, Target)= ATT [] 31 | 32 | // Actors 33 | 34 | @baseclass size(-16 -16 -48, 16 16 48) color(40 255 40) = ActorClass [] 35 | 36 | @PointClass base(ActorClass, Angle) = info_player_start : "Player start" [] 37 | 38 | // Info 39 | 40 | @PointClass base(Targetname) size(-16 -16 -16, 16 16 16) color(200 50 50) = info_target : "Position Target" [] 41 | 42 | // Lights 43 | 44 | @baseclass size(-16 -16 -16, 16 16 16) color(255 220 160) = Light 45 | [ 46 | intensity(float) : "Intensity" : "1.0" 47 | color(color) : "Colour" : "255 220 160" 48 | 49 | lightMode(choices) : "Light Mode" : 1 = 50 | [ 51 | 0 : "Realtime" 52 | 1 : "Mixed" 53 | 2 : "Baked" 54 | ] 55 | 56 | shadowMode(choices) : "Shadow Mode" : 2 = 57 | [ 58 | 0 : "No Shadows" 59 | 1 : "Hard Shadows" 60 | 2 : "Soft Shadows" 61 | ] 62 | ] 63 | 64 | @PointClass base(Light) = light_point : "Point light" 65 | [ 66 | range(float) : "Range" : "192.0" 67 | ] 68 | 69 | @PointClass base(Light) = light_sun : "Sun light" 70 | [ 71 | yaw(float) : "Yaw" : "60.0" 72 | pitch(float) : "Pitch" : "60.0" 73 | ] 74 | 75 | // Triggers 76 | 77 | @baseclass base(Targetname, Target) = Trigger [] 78 | 79 | @SolidClass base(Trigger) = trigger_jump : "Trigger jump" [] 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/Q2UTest.fgd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b89055f5055bec4da9c17259c1b504f 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/Q2UTestIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/Q2UTestIcon.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Q2UTest/Q2UTestIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bd54a593baa73f4ca57467b2ee8ca1f 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92dc5a24d14b6654bbfa757daeaef02e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b18cc62775cdcfb4bb2a7661845ab742 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/CutRound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/CutRound.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/CutRound.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48e7791cf017149488c10677116a681c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/CutStraight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/CutStraight.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/CutStraight.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 669a8278e1397994f80ec24616601ef4 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey0.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey0.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b9bbd75653db5445b63d14dc30b8973 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey1.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ba7496ab908cd24591643076d5da8f1 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey2.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Grey2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8dd53d10c5b1834193c538f8c7ba16f 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid0.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid0.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bcf5604c77b025439d227b49dcc5f9f 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid1.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ea9d766d981c24ba107a76c205cfe4 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid2.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyGrid2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f19478cf73877be4789ebec6f79b1865 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep0.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep0.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d554e66709d1ee14ca7472b4c5b9d7ad 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep1.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e00d90cceaf500f408978ce47cbb6cba 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep2.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/GreyStep2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea9aaa6596b92fc439fa35496928647c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/LightCool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/LightCool.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/LightCool.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40ded4871d174e144bf79035a388b3cb 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/LightWarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/LightWarm.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/LightWarm.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be7a45978db2ca04e82e593887da17e9 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow0.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow0.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed449af3dc1f34c4290b73d3005ac627 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow1.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ee5954912fb18147941ad62313bd3b4 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow2.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/Yellow2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 457b296a009e6f247ac35e23fa0ca513 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid0.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid0.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02abf8c403a634b4392568c1a2912ea0 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid1.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9bf59bb679a01f4c8342cbe3a133b17 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid2.png -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Test/YellowGrid2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 051ae601acb72824bb9af5a40f90381d 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /QMapToUnity/Assets/TestGame/Trenchbroom/Textures/Textures.svg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2be8eea598f69c74191207d79dc8f039 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /QMapToUnity/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.2.16", 4 | "com.unity.ext.nunit": "1.0.0", 5 | "com.unity.ide.rider": "1.1.0", 6 | "com.unity.ide.vscode": "1.1.0", 7 | "com.unity.package-manager-ui": "2.2.0", 8 | "com.unity.render-pipelines.lightweight": "6.9.1", 9 | "com.unity.test-framework": "1.0.13", 10 | "com.unity.textmeshpro": "2.0.1", 11 | "com.unity.timeline": "1.1.0", 12 | "com.unity.ugui": "1.0.0", 13 | "com.unity.modules.ai": "1.0.0", 14 | "com.unity.modules.androidjni": "1.0.0", 15 | "com.unity.modules.animation": "1.0.0", 16 | "com.unity.modules.assetbundle": "1.0.0", 17 | "com.unity.modules.audio": "1.0.0", 18 | "com.unity.modules.cloth": "1.0.0", 19 | "com.unity.modules.director": "1.0.0", 20 | "com.unity.modules.imageconversion": "1.0.0", 21 | "com.unity.modules.imgui": "1.0.0", 22 | "com.unity.modules.jsonserialize": "1.0.0", 23 | "com.unity.modules.particlesystem": "1.0.0", 24 | "com.unity.modules.physics": "1.0.0", 25 | "com.unity.modules.physics2d": "1.0.0", 26 | "com.unity.modules.screencapture": "1.0.0", 27 | "com.unity.modules.terrain": "1.0.0", 28 | "com.unity.modules.terrainphysics": "1.0.0", 29 | "com.unity.modules.tilemap": "1.0.0", 30 | "com.unity.modules.ui": "1.0.0", 31 | "com.unity.modules.uielements": "1.0.0", 32 | "com.unity.modules.umbra": "1.0.0", 33 | "com.unity.modules.unityanalytics": "1.0.0", 34 | "com.unity.modules.unitywebrequest": "1.0.0", 35 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 36 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 37 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 38 | "com.unity.modules.unitywebrequestwww": "1.0.0", 39 | "com.unity.modules.vehicles": "1.0.0", 40 | "com.unity.modules.video": "1.0.0", 41 | "com.unity.modules.vr": "1.0.0", 42 | "com.unity.modules.wind": "1.0.0", 43 | "com.unity.modules.xr": "1.0.0" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Gravity: {x: 0, y: -50, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 26 | m_ContactPairsMode: 0 27 | m_BroadphaseType: 0 28 | m_WorldBounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 250, y: 250, z: 250} 31 | m_WorldSubdivisions: 8 32 | m_FrictionType: 0 33 | m_EnableEnhancedDeterminism: 0 34 | m_EnableUnifiedHeightmaps: 1 35 | m_DefaultMaxAngularSpeed: 7 36 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 8 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_ShowLightmapResolutionOverlay: 1 27 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.2.4f1 2 | m_EditorVersionWithRevision: 2019.2.4f1 (c63b2af89a85) 3 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | skinWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | skinWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | skinWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | skinWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | skinWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Standalone: 5 227 | WebGL: 3 228 | Windows Store Apps: 5 229 | XboxOne: 5 230 | iPhone: 2 231 | tvOS: 2 232 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /QMapToUnity/ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # QMap2Unity converter 2 | 3 | ## Mostly abandoned for now 4 | 5 | A Unity engine extension that convert a Quake style '.map' file into mesh, collider and entity objects for use in Unity. 6 | 7 | ## Features 8 | - Creates game objects by linking Unity prefabs to Quake classnames 9 | - Quake style entity framework. Use UEntity and UEntityManager to trigger objects with a 'targetname'. 10 | - Select specific Layers and settings for the meshes, colliders and objects using ScriptableObjects 11 | - Automatically create secondary UVs for lightmapping //NOTE: using Unity's built-in method which is quite slow 12 | - Works for both URP Lit and Standard materials 13 | - Select between 3 materials for each texture: standard, alpha cutout or emissive 14 | - Automatically create additional area light meshes on specific textures for greater lighting control 15 | - Constructs texture mapped meshes, per brush convex colliders and total convex colliders set on a per entity basis 16 | - Configure entity parameters inside the TrenchBroom editor for one-button conversions into ready-to-use Unity scenes 17 | 18 | ## Features roadmap 19 | - Custom materials per texture 20 | - Save levels as prefabs 21 | - Automatically bake Navigation Mesh and Occlusion upon conversion 22 | - Automatically generate lighting upon conversion (maybe not with URP?) 23 | 24 | ## Notes 25 | - This extension has only been tested with *.map files created from the Trenchbroom 2.0 Quake engine level editor 26 | - Map files must currently be changed to *.txt files for use with the Unity default TextAsset type 27 | - The map parser can only read texture information that the Quake 2 map format provides and not the Quaternion style texture information that afaik is used for GoldSource engine maps 28 | - Sorry there's no docs! There's a basic demo game included that has the bare bones on how to set up a game. 29 | - Also, the conversion code is an absolute state! 30 | 31 | Email me at ~marios.kalogerouatgemi-games.com~ marioskalogerou@proton.me if you have any questions whatsoever or make anything with it! 32 | -------------------------------------------------------------------------------- /resources/Q2UIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/resources/Q2UIcon.png -------------------------------------------------------------------------------- /resources/Q2UIconLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/resources/Q2UIconLarge.png -------------------------------------------------------------------------------- /resources/Q2UIconSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gemi-Games/QMap2Unity/71580fa7753d49fe039e328b4c37b371f97ee894/resources/Q2UIconSmall.png --------------------------------------------------------------------------------