Browse Source

Production Menu cont.

bolt_update
laurids 4 years ago
parent
commit
2b638d07d6
20 changed files with 1507 additions and 574 deletions
  1. +482
    -0
      Assets/GWConquest/IconTexture.preset
  2. +8
    -0
      Assets/GWConquest/IconTexture.preset.meta
  3. +200
    -0
      Assets/GWConquest/Prefabs/CostIcon.prefab
  4. +7
    -0
      Assets/GWConquest/Prefabs/CostIcon.prefab.meta
  5. +37
    -3
      Assets/GWConquest/Prefabs/ProductionMenuIcon.prefab
  6. +105
    -105
      Assets/GWConquest/Resources/Database/Units.csv
  7. BIN
      Assets/GWConquest/Resources/UnitIcons/Conscripts.png
  8. +128
    -0
      Assets/GWConquest/Resources/UnitIcons/Conscripts.png.meta
  9. BIN
      Assets/GWConquest/Resources/UnitIcons/Militia.png
  10. +128
    -0
      Assets/GWConquest/Resources/UnitIcons/Militia.png.meta
  11. +112
    -445
      Assets/GWConquest/Scenes/GalaxyMap.unity
  12. +56
    -2
      Assets/GWConquest/Scripts/CSVReader.cs
  13. +5
    -0
      Assets/GWConquest/Scripts/UI/DistrictUI.cs
  14. +2
    -0
      Assets/GWConquest/Scripts/UI/PlanetViewUI.cs
  15. +78
    -3
      Assets/GWConquest/Scripts/UI/ProductionMenu.cs
  16. +10
    -5
      Assets/GWConquest/Scripts/UI/ProductionMenuIcon.cs
  17. +13
    -11
      Assets/GWConquest/Scripts/UnitClass.cs
  18. +8
    -0
      Assets/GWConquest/Scripts/Util.cs
  19. BIN
      Assets/GWConquest/Textures/Icons/Credits.png
  20. +128
    -0
      Assets/GWConquest/Textures/Icons/Credits.png.meta

+ 482
- 0
Assets/GWConquest/IconTexture.preset View File

@ -0,0 +1,482 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!181963792 &2655988077585873504
Preset:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: IconTexture
m_TargetType:
m_NativeTypeID: 1006
m_ManagedTypePPtr: {fileID: 0}
m_ManagedTypeFallback:
m_Properties:
- target: {fileID: 0}
propertyPath: m_ExternalObjects.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_MipMapMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_EnableMipMap
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_sRGBTexture
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LinearTexture
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_FadeOut
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_BorderMipMap
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_MipMapsPreserveCoverage
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AlphaTestReferenceValue
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_MipMapFadeDistanceStart
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_MipMapFadeDistanceEnd
value: 3
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ConvertToNormalMap
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ExternalNormalMap
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_HeightScale
value: 0.25
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_NormalMapFilter
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_IsReadable
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_StreamingMipmaps
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_StreamingMipmapsPriority
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_GrayScaleToAlpha
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_GenerateCubemap
value: 6
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_CubemapConvolution
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SeamlessCubemap
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureFormat
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_MaxTextureSize
value: 2048
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureSettings.m_FilterMode
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureSettings.m_Aniso
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureSettings.m_MipBias
value: -100
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureSettings.m_WrapU
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureSettings.m_WrapV
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureSettings.m_WrapW
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_NPOTScale
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Lightmap
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_CompressionQuality
value: 50
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteMode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteExtrude
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteMeshType
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Alignment
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpritePivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpritePivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpritePixelsToUnits
value: 100
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteBorder.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteBorder.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteBorder.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteBorder.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteGenerateFallbackPhysicsShape
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AlphaUsage
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AlphaIsTransparency
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteTessellationDetail
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureType
value: 8
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureShape
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SingleChannelComponent
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_MaxTextureSizeSet
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_CompressionQualitySet
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_TextureFormatSet
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ApplyGammaDecoding
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.size
value: 4
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_BuildTarget
value: DefaultTexturePlatform
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_MaxTextureSize
value: 8192
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_ResizeAlgorithm
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_TextureFormat
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_TextureCompression
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_CompressionQuality
value: 50
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_CrunchedCompression
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_AllowsAlphaSplitting
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_Overridden
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_AndroidETC2FallbackOverride
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[0].m_ForceMaximumCompressionQuality_BC6H_BC7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_BuildTarget
value: Standalone
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_MaxTextureSize
value: 8192
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_ResizeAlgorithm
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_TextureFormat
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_TextureCompression
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_CompressionQuality
value: 50
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_CrunchedCompression
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_AllowsAlphaSplitting
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_Overridden
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_AndroidETC2FallbackOverride
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[1].m_ForceMaximumCompressionQuality_BC6H_BC7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_BuildTarget
value: iPhone
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_MaxTextureSize
value: 8192
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_ResizeAlgorithm
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_TextureFormat
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_TextureCompression
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_CompressionQuality
value: 50
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_CrunchedCompression
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_AllowsAlphaSplitting
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_Overridden
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_AndroidETC2FallbackOverride
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[2].m_ForceMaximumCompressionQuality_BC6H_BC7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_BuildTarget
value: Android
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_MaxTextureSize
value: 8192
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_ResizeAlgorithm
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_TextureFormat
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_TextureCompression
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_CompressionQuality
value: 50
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_CrunchedCompression
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_AllowsAlphaSplitting
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_Overridden
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_AndroidETC2FallbackOverride
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PlatformSettings.Array.data[3].m_ForceMaximumCompressionQuality_BC6H_BC7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Sprites.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Outline.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_PhysicsShape.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Bones.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_SpriteID
value: 5e97eb03825dee720800000000000000
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_InternalID
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Vertices.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Indices.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Edges.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_Weights.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpriteSheet.m_SecondaryTextures.Array.size
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpritePackingTag
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PSDRemoveMatte
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_PSDShowRemoveMatteOption
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_UserData
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AssetBundleName
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AssetBundleVariant
value:
objectReference: {fileID: 0}

+ 8
- 0
Assets/GWConquest/IconTexture.preset.meta View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 69ad0d58b1e746446bcf2cb877ab7bd0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

+ 200
- 0
Assets/GWConquest/Prefabs/CostIcon.prefab View File

@ -0,0 +1,200 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2060406045218962575
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2060406045218962574}
- component: {fileID: 2060406045218962672}
- component: {fileID: 2060406045218962673}
m_Layer: 5
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2060406045218962574
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406045218962575}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2060406046277770696}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 35, y: 0}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &2060406045218962672
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406045218962575}
m_CullTransparentMesh: 0
--- !u!114 &2060406045218962673
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406045218962575}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 37886999ca665794c9a20cebe80d56cc, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &2060406045324176438
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2060406045324176441}
- component: {fileID: 2060406045324176443}
- component: {fileID: 2060406045324176440}
m_Layer: 5
m_Name: Count
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2060406045324176441
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406045324176438}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2060406046277770696}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -40, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!222 &2060406045324176443
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406045324176438}
m_CullTransparentMesh: 0
--- !u!114 &2060406045324176440
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406045324176438}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: c47f9c9ae53006b46bef8b5c48a002a5, type: 3}
m_FontSize: 18
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 10
--- !u!1 &2060406046277770697
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2060406046277770696}
- component: {fileID: 2060406046277770699}
m_Layer: 5
m_Name: CostIcon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2060406046277770696
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406046277770697}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2060406045218962574}
- {fileID: 2060406045324176441}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -5, y: 0}
m_SizeDelta: {x: 60, y: 35}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &2060406046277770699
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2060406046277770697}
m_CullTransparentMesh: 0

+ 7
- 0
Assets/GWConquest/Prefabs/CostIcon.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: be3e86f45d1d78f43af8665f425f7b85
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 37
- 3
Assets/GWConquest/Prefabs/ProductionMenuIcon.prefab View File

@ -264,9 +264,9 @@ RectTransform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 60.3, y: -4}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 110, y: 68}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &6924224164136034608
@ -290,6 +290,34 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Icon: {fileID: 6924224162615935971}
--- !u!114 &930275647085867419
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8649367179865356552}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Delegates:
- eventID: 0
callback:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 6924224164136034615}
m_MethodName: Highlight
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1001 &6924224162369387222
PrefabInstance:
m_ObjectHideFlags: 0
@ -409,6 +437,12 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 48644caf44a9db343acb000000c25522, type: 3}
--- !u!1 &8649367179865356552 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1738231878797738974, guid: 48644caf44a9db343acb000000c25522,
type: 3}
m_PrefabInstance: {fileID: 6924224162369387222}
m_PrefabAsset: {fileID: 0}
--- !u!224 &8649367179865356553 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 1738231878797738975, guid: 48644caf44a9db343acb000000c25522,


+ 105
- 105
Assets/GWConquest/Resources/Database/Units.csv View File

@ -1,105 +1,105 @@
Full Name Short Name Factory Type Hitpoints Attack Count Damage Penetration Accuracy Attack Timer Armour Evasion Movement Morale Defence Bonus Credit Cost Recruit Cost Ammo Cost Fuel Cost Credit Upkeep Food Upkeep Description
Militia Militia City Ordinary citizens defending their homeland, armed with everything that could be scrounged from storage. They are only rudimentarily trained and will not pose a real threat to any sizable force.
Conscripts Conscripts Infantry These soldiers were pressed into service by the military authorities and armed only with subpar equipment. Consequently, their morale is quite low and they should not be expected to fight very hard.
Light Infantry LightInfantry Infantry
Standard Infantry StandardInfantry Infantry
Heavy Infantry HeavyInfantry Infantry
Motorized Infantry MotorizedInfantry Infantry
Mechanized Infantry MechanizedInfantry Infantry
Pioneer Squad Pioneer Infantry
Scout Vehicle ScoutVehicle Armour
Light Tank LightTank Armour
Medium Tank MediumTank Armour
Heavy Tank HeavyTank Armour
Super Heavy Tank SuperHeavyTank Armour
Tankhunter Tankhunter Armour
Light Anti Tank Gun LightAntiTankGun Armour
Support Vehicle SupportVehicle Armour
Transport Vehicle TransportVehicle Armour
Flak Cannon FlakCannon Armour
Flak Vehicle FlakVehicle Armour
Flak Truck FlakTruck Armour
Light Artillery Gun LightArtilleryGun Armour
Artillery Gun Artillery Gun Armour
Heavy Artillery Gun Heavy Artillery Gun Armour
Super Heavy Artillery Gun Super Heavy Artillery Gun Armour
Mountain Brigade Mountain Brigade Infantry
Heavy Mountain Brigade Heavy Mountain Brigade Infantry
Rocket Artillery Rocket Artillery Armour
Heavy Rocket Artillery Heavy Rocket Artillery Armour
Commando Unit Commando Unit Infantry
Sniper Squad Sniper Squad Infantry
Demolition Squad Demolition Squad Infantry
Tank Hunter Squad Tank Hunter Squad Infantry
Artillery Tank Artillery Tank Armour
Breacher Squad Breacher Squad Infantry
Marine Squad Marine Squad Infantry
Grav-Chute Squad Grav-Chute Squad Infantry
Heavy Anti Tank Gun Heavy Anti Tank Gun Armour
Anti Tank Gun Anti Tank Gun Armour
Rokurant
Heavy Artillery Tank
Siegebreaker Tank
Bulk Transporter
Heavy Transport Vehicle
Voteine
Fast Assault Tank
Hover Tank
Light Hover Tank
Whythler
Jet-Bike Squads
Hover Tank
Wythler Squad
Power Armour Squad
Rabble
Wyth Palace Guard
Assassins
Elysia
Light Commando Vehicle
Elysian Knight Squad
Elysian Mechs
Yar-Kassy
Dervish Assault Squad
Desert Raider Squad
Elite Marksmen Squad
Arca
Scum
Zami
Cryo-Clone Squad
Stunteen
Headtaker Commando
Hareen Cari Immortals
Exan
Clan Warriors
Headtakers
Methaphor
Republican Guard
Green Guard (Elite Mountain Troops)
Noser
Royal Guard
Stalker Squad
Squad Upgrades:
Anti Tank Set
Camoflage Set (Jungle, Desert, Standard Camo)
Anti Tank Rifles
Machine Gun
Multilaser
Flyer Fist
Explosives
Tank Upgrades:
Command and Controll Module
Tank Camo
Tracks (Jungle, Desert)
Full Name,Short Name,Factory Type,Hitpoints,Attack Count,Damage,Penetration,Accuracy,Attack Timer,Armour,Evasion,Movement,Morale,Defence Bonus,Credit Cost,Recruit Cost,Ammo Cost,Fuel Cost,Build Time,Credit Upkeep,Food Upkeep,Description
Militia,Militia,City,,,,,,,,,,,,100,5,0,,20,,,"Ordinary citizens defending their homeland, armed with everything that could be scrounged from storage. They are only rudimentarily trained and will not pose a real threat to any sizable force."
Conscripts,Conscripts,City,,,,,,,,,,,,300,5,2,,30,,,"These soldiers were pressed into service by the military authorities and armed only with subpar equipment. Consequently, their morale is quite low and they should not be expected to fight very hard."
Light Infantry,LightInfantry,Infantry,,,,,,,,,,,,,,,,,,,
Standard Infantry,StandardInfantry,Infantry,,,,,,,,,,,,,,,,,,,
Heavy Infantry,HeavyInfantry,Infantry,,,,,,,,,,,,,,,,,,,
Motorized Infantry,MotorizedInfantry,Infantry,,,,,,,,,,,,,,,,,,,
Mechanized Infantry,MechanizedInfantry,Infantry,,,,,,,,,,,,,,,,,,,
Pioneer Squad,Pioneer,Infantry,,,,,,,,,,,,,,,,,,,
Scout Vehicle,ScoutVehicle,Armour,,,,,,,,,,,,,,,,,,,
Light Tank,LightTank,Armour,,,,,,,,,,,,,,,,,,,
Medium Tank,MediumTank,Armour,,,,,,,,,,,,,,,,,,,
Heavy Tank,HeavyTank,Armour,,,,,,,,,,,,,,,,,,,
Super Heavy Tank,SuperHeavyTank,Armour,,,,,,,,,,,,,,,,,,,
Tankhunter,Tankhunter,Armour,,,,,,,,,,,,,,,,,,,
Light Anti Tank Gun,LightAntiTankGun,Armour,,,,,,,,,,,,,,,,,,,
Support Vehicle,SupportVehicle,Armour,,,,,,,,,,,,,,,,,,,
Transport Vehicle,TransportVehicle,Armour,,,,,,,,,,,,,,,,,,,
Flak Cannon,FlakCannon,Armour,,,,,,,,,,,,,,,,,,,
Flak Vehicle,FlakVehicle,Armour,,,,,,,,,,,,,,,,,,,
Flak Truck,FlakTruck,Armour,,,,,,,,,,,,,,,,,,,
Light Artillery Gun,LightArtilleryGun,Armour,,,,,,,,,,,,,,,,,,,
Artillery Gun,Artillery Gun,Armour,,,,,,,,,,,,,,,,,,,
Heavy Artillery Gun,Heavy Artillery Gun,Armour,,,,,,,,,,,,,,,,,,,
Super Heavy Artillery Gun,Super Heavy Artillery Gun,Armour,,,,,,,,,,,,,,,,,,,
Mountain Brigade,Mountain Brigade,Infantry,,,,,,,,,,,,,,,,,,,
Heavy Mountain Brigade,Heavy Mountain Brigade,Infantry,,,,,,,,,,,,,,,,,,,
Rocket Artillery,Rocket Artillery,Armour,,,,,,,,,,,,,,,,,,,
Heavy Rocket Artillery,Heavy Rocket Artillery,Armour,,,,,,,,,,,,,,,,,,,
Commando Unit,Commando Unit,Infantry,,,,,,,,,,,,,,,,,,,
Sniper Squad,Sniper Squad,Infantry,,,,,,,,,,,,,,,,,,,
Demolition Squad,Demolition Squad,Infantry,,,,,,,,,,,,,,,,,,,
Tank Hunter Squad,Tank Hunter Squad,Infantry,,,,,,,,,,,,,,,,,,,
Artillery Tank,Artillery Tank,Armour,,,,,,,,,,,,,,,,,,,
Breacher Squad,Breacher Squad,Infantry,,,,,,,,,,,,,,,,,,,
Marine Squad,Marine Squad,Infantry,,,,,,,,,,,,,,,,,,,
Grav-Chute Squad,Grav-Chute Squad,Infantry,,,,,,,,,,,,,,,,,,,
Heavy Anti Tank Gun,Heavy Anti Tank Gun,Armour,,,,,,,,,,,,,,,,,,,
Anti Tank Gun,Anti Tank Gun,Armour,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Rokurant,,,,,,,,,,,,,,,,,,,,,
Heavy Artillery Tank,,,,,,,,,,,,,,,,,,,,,
Siegebreaker Tank,,,,,,,,,,,,,,,,,,,,,
Bulk Transporter,,,,,,,,,,,,,,,,,,,,,
Heavy Transport Vehicle,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Voteine,,,,,,,,,,,,,,,,,,,,,
Fast Assault Tank,,,,,,,,,,,,,,,,,,,,,
Hover Tank,,,,,,,,,,,,,,,,,,,,,
Light Hover Tank,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Whythler,,,,,,,,,,,,,,,,,,,,,
Jet-Bike Squads,,,,,,,,,,,,,,,,,,,,,
Hover Tank,,,,,,,,,,,,,,,,,,,,,
Wythler Squad,,,,,,,,,,,,,,,,,,,,,
Power Armour Squad,,,,,,,,,,,,,,,,,,,,,
Rabble,,,,,,,,,,,,,,,,,,,,,
Wyth Palace Guard,,,,,,,,,,,,,,,,,,,,,
Assassins,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Elysia,,,,,,,,,,,,,,,,,,,,,
Light Commando Vehicle,,,,,,,,,,,,,,,,,,,,,
Elysian Knight Squad,,,,,,,,,,,,,,,,,,,,,
Elysian Mechs,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Yar-Kassy,,,,,,,,,,,,,,,,,,,,,
Dervish Assault Squad,,,,,,,,,,,,,,,,,,,,,
Desert Raider Squad,,,,,,,,,,,,,,,,,,,,,
Elite Marksmen Squad,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Arca,,,,,,,,,,,,,,,,,,,,,
Scum,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Zami,,,,,,,,,,,,,,,,,,,,,
Cryo-Clone Squad,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Stunteen,,,,,,,,,,,,,,,,,,,,,
Headtaker Commando,,,,,,,,,,,,,,,,,,,,,
Hareen Cari Immortals,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Exan,,,,,,,,,,,,,,,,,,,,,
Clan Warriors,,,,,,,,,,,,,,,,,,,,,
Headtakers,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Methaphor,,,,,,,,,,,,,,,,,,,,,
Republican Guard,,,,,,,,,,,,,,,,,,,,,
Green Guard (Elite Mountain Troops),,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Noser,,,,,,,,,,,,,,,,,,,,,
Royal Guard,,,,,,,,,,,,,,,,,,,,,
Stalker Squad,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Squad Upgrades:,,,,,,,,,,,,,,,,,,,,,
Anti Tank Set,,,,,,,,,,,,,,,,,,,,,
"Camoflage Set (Jungle, Desert, Standard Camo)",,,,,,,,,,,,,,,,,,,,,
Anti Tank Rifles,,,,,,,,,,,,,,,,,,,,,
Machine Gun,,,,,,,,,,,,,,,,,,,,,
Multilaser,,,,,,,,,,,,,,,,,,,,,
Flyer Fist,,,,,,,,,,,,,,,,,,,,,
Explosives,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,
Tank Upgrades:,,,,,,,,,,,,,,,,,,,,,
Command and Controll Module,,,,,,,,,,,,,,,,,,,,,
Tank Camo,,,,,,,,,,,,,,,,,,,,,
"Tracks (Jungle, Desert)",,,,,,,,,,,,,,,,,,,,,

BIN
Assets/GWConquest/Resources/UnitIcons/Conscripts.png View File

Before After
Width: 218  |  Height: 217  |  Size: 2.8 KiB

+ 128
- 0
Assets/GWConquest/Resources/UnitIcons/Conscripts.png.meta View File

@ -0,0 +1,128 @@
fileFormatVersion: 2
guid: 5bccd607a72008f45a01e6bb292b6f8e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 2
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 2
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/GWConquest/Resources/UnitIcons/Militia.png View File

Before After
Width: 218  |  Height: 217  |  Size: 2.7 KiB

+ 128
- 0
Assets/GWConquest/Resources/UnitIcons/Militia.png.meta View File

@ -0,0 +1,128 @@
fileFormatVersion: 2
guid: 36c1b6a920e49144c8a1cdb1212ddd5b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 2
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 2
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 112
- 445
Assets/GWConquest/Scenes/GalaxyMap.unity View File

@ -5316,7 +5316,7 @@ MonoBehaviour:
m_Content: {fileID: 755462605}
m_Horizontal: 0
m_Vertical: 1
m_MovementType: 1
m_MovementType: 2
m_Elasticity: 0.1
m_Inertia: 1
m_DecelerationRate: 0.135
@ -6975,6 +6975,16 @@ MonoBehaviour:
type: 3}
IconHeight: 68
IconOffset: 5
InfoGroup: {fileID: 1511094410}
AlphaLerpSmooth: 12
Costs: {fileID: 1033443517}
CostIconPrefab: {fileID: 2060406046277770697, guid: be3e86f45d1d78f43af8665f425f7b85,
type: 3}
CostIconWidth: 65
CreditSprite: {fileID: 21300000, guid: b7056bf0cc9b143499b92ad49c579d92, type: 3}
RecruitSprite: {fileID: 21300000, guid: 37886999ca665794c9a20cebe80d56cc, type: 3}
AmmoSprite: {fileID: 21300000, guid: 9dd934dc01acfe443a7ff320f825e6fe, type: 3}
FuelSprite: {fileID: 21300000, guid: 461b4d80f47ed85478b3c190ac7bd4ce, type: 3}
--- !u!1 &226882170
GameObject:
m_ObjectHideFlags: 0
@ -12417,52 +12427,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 6ded4d2fd3f18ad40916c57fe4f6a566, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &392341599
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 392341600}
- component: {fileID: 392341601}
m_Layer: 5
m_Name: CostIcon (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &392341600
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 392341599}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1984794002}
- {fileID: 1279735720}
m_Father: {fileID: 1033443517}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -70, y: 0}
m_SizeDelta: {x: 60, y: 35}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &392341601
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 392341599}
m_CullTransparentMesh: 0
--- !u!1001 &393053935
PrefabInstance:
m_ObjectHideFlags: 0
@ -23894,52 +23858,6 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e4cc86a2911f81c4cafc54b909e0f521, type: 3}
--- !u!1 &742889848
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 742889849}
- component: {fileID: 742889850}
m_Layer: 5
m_Name: CostIcon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &742889849
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 742889848}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1868855359}
- {fileID: 1705961608}
m_Father: {fileID: 1033443517}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -5, y: 0}
m_SizeDelta: {x: 60, y: 35}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &742889850
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 742889848}
m_CullTransparentMesh: 0
--- !u!1 &748172935
GameObject:
m_ObjectHideFlags: 0
@ -29949,7 +29867,7 @@ Transform:
- {fileID: 2007032522}
- {fileID: 1271054492}
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &993895864
GameObject:
@ -30299,7 +30217,7 @@ Transform:
m_LocalScale: {x: 14126.617, y: 14126.617, z: 14126.617}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 11
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 22.319, y: 136.238, z: 46.322002}
--- !u!1001 &1000076786
PrefabInstance:
@ -31758,16 +31676,14 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 742889849}
- {fileID: 392341600}
m_Father: {fileID: 2083163756}
m_RootOrder: 5
m_Children: []
m_Father: {fileID: 1511094409}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 155, y: 20}
m_SizeDelta: {x: -175, y: 50}
m_AnchoredPosition: {x: 5, y: 5}
m_SizeDelta: {x: -10, y: 50}
m_Pivot: {x: 0, y: 0}
--- !u!222 &1033443518
CanvasRenderer:
@ -37422,7 +37338,7 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: ea716fd627e92314e9b5911e145db566,
type: 3}
propertyPath: m_RootOrder
value: 10
value: 9
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: ea716fd627e92314e9b5911e145db566,
type: 3}
@ -39267,7 +39183,7 @@ MonoBehaviour:
m_Content: {fileID: 1069889124}
m_Horizontal: 0
m_Vertical: 1
m_MovementType: 1
m_MovementType: 2
m_Elasticity: 0.1
m_Inertia: 1
m_DecelerationRate: 0.135
@ -39412,84 +39328,6 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1278756751}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1279735719
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1279735720}
- component: {fileID: 1279735722}
- component: {fileID: 1279735721}
m_Layer: 5
m_Name: Count
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1279735720
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1279735719}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 392341600}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -40, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1279735721
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1279735719}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: c47f9c9ae53006b46bef8b5c48a002a5, type: 3}
m_FontSize: 18
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 10
--- !u!222 &1279735722
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1279735719}
m_CullTransparentMesh: 0
--- !u!1001 &1281282921
PrefabInstance:
m_ObjectHideFlags: 0
@ -41037,13 +40875,13 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2083163756}
m_RootOrder: 6
m_Father: {fileID: 1511094409}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 165, y: -90}
m_SizeDelta: {x: -185, y: -205}
m_AnchoredPosition: {x: 10, y: -35}
m_SizeDelta: {x: -10, y: -135}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1400073093
MonoBehaviour:
@ -43390,6 +43228,58 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -4, y: -20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1511094408
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1511094409}
- component: {fileID: 1511094410}
m_Layer: 5
m_Name: UnitInfo
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1511094409
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1511094408}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1798217995}
- {fileID: 1860086267}
- {fileID: 1033443517}
- {fileID: 1400073092}
m_Father: {fileID: 2083163756}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 67.5, y: -20}
m_SizeDelta: {x: -175, y: -70}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!225 &1511094410
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1511094408}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0
--- !u!1001 &1517273784
PrefabInstance:
m_ObjectHideFlags: 0
@ -47150,6 +47040,21 @@ RectTransform:
m_AnchoredPosition: {x: 19, y: -46.48999}
m_SizeDelta: {x: -122, y: -178.96973}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1659880903
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1659880901}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7df5e14173982b8428ae0788c3a6e13b, type: 3}
m_Name:
m_EditorClassIdentifier:
NameText: {fileID: 609493133}
DescriptionText: {fileID: 2089647853}
ProductionMenu: {fileID: 216757984}
--- !u!1001 &1661107075
PrefabInstance:
m_ObjectHideFlags: 0
@ -47257,21 +47162,6 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: 95714714518320300, guid: 00cbbb3475b1b0640a802c21a905203b, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 00cbbb3475b1b0640a802c21a905203b, type: 3}
--- !u!114 &1659880903
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1659880901}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7df5e14173982b8428ae0788c3a6e13b, type: 3}
m_Name:
m_EditorClassIdentifier:
NameText: {fileID: 609493133}
DescriptionText: {fileID: 2089647853}
ProductionMenu: {fileID: 216757984}
--- !u!1 &1662758609 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4678135251219452000, guid: 9ae35d7f911b63f4f95f432141dd5746,
@ -48571,84 +48461,6 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: cd44b5bd43d0e5247ab1373391e2bd17, type: 3}
--- !u!1 &1705961607
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1705961608}
- component: {fileID: 1705961610}
- component: {fileID: 1705961609}
m_Layer: 5
m_Name: Count
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1705961608
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705961607}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 742889849}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -40, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1705961609
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705961607}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: c47f9c9ae53006b46bef8b5c48a002a5, type: 3}
m_FontSize: 18
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 10
--- !u!222 &1705961610
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705961607}
m_CullTransparentMesh: 0
--- !u!1 &1712871362
GameObject:
m_ObjectHideFlags: 0
@ -51043,13 +50855,13 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2083163756}
m_RootOrder: 3
m_Father: {fileID: 1511094409}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 155, y: -55}
m_SizeDelta: {x: -175, y: 25}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 25}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1798217996
MonoBehaviour:
@ -51741,13 +51553,16 @@ MonoBehaviour:
m_GameObject: {fileID: 1810911855}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a89484993d239124eb667c8c33c633d3, type: 3}
m_Script: {fileID: 11500000, guid: 3097d18430809bc4db1e8e075e8199a2, type: 3}
m_Name:
m_EditorClassIdentifier:
DefaultSprite: {fileID: 21300000, guid: 37cef7217b3b5b0489b9f3c509958358, type: 3}
DefaultSprite: {fileID: 21300000, guid: b026bda5a9252fd429b78fba5936dfb0, type: 3}
DistrictName: Factory
Description:
IsCityDistrict: 0
Tier: 3
FactoryType: 1
SpecialUnits: []
--- !u!114 &1810911858
MonoBehaviour:
m_ObjectHideFlags: 0
@ -53084,13 +52899,13 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2083163756}
m_RootOrder: 4
m_Father: {fileID: 1511094409}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 155, y: 80}
m_SizeDelta: {x: -175, y: 26.837097}
m_AnchoredPosition: {x: 0, y: 65}
m_SizeDelta: {x: 0, y: 26.837097}
m_Pivot: {x: 0, y: 0}
--- !u!114 &1860086268
MonoBehaviour:
@ -53228,80 +53043,6 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1860894687}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1868855358
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1868855359}
- component: {fileID: 1868855361}
- component: {fileID: 1868855360}
m_Layer: 5
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1868855359
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1868855358}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 742889849}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 35, y: 0}
m_Pivot: {x: 1, y: 0.5}
--- !u!114 &1868855360
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1868855358}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 37886999ca665794c9a20cebe80d56cc, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1868855361
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1868855358}
m_CullTransparentMesh: 0
--- !u!1001 &1881453206
PrefabInstance:
m_ObjectHideFlags: 0
@ -53774,7 +53515,7 @@ MonoBehaviour:
m_Content: {fileID: 1022689915}
m_Horizontal: 0
m_Vertical: 1
m_MovementType: 1
m_MovementType: 2
m_Elasticity: 0.1
m_Inertia: 1
m_DecelerationRate: 0.135
@ -56604,80 +56345,6 @@ MonoBehaviour:
StrengthBar: {fileID: 337027206}
MaxFillAmount: 15
MaxFormationStrength: 100
--- !u!1 &1984794001
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1984794002}
- component: {fileID: 1984794004}
- component: {fileID: 1984794003}
m_Layer: 5
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1984794002
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1984794001}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 392341600}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 35, y: 0}
m_Pivot: {x: 1, y: 0.5}
--- !u!114 &1984794003
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1984794001}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 9dd934dc01acfe443a7ff320f825e6fe, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1984794004
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1984794001}
m_CullTransparentMesh: 0
--- !u!1001 &1985410691
PrefabInstance:
m_ObjectHideFlags: 0
@ -59710,10 +59377,10 @@ MonoBehaviour:
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore
et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est
Lorem ipsum dolor sit amet.
amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
--- !u!222 &2089647854
CanvasRenderer:
m_ObjectHideFlags: 0
@ -62492,7 +62159,7 @@ PrefabInstance:
- target: {fileID: 6924224164136034614, guid: 2f11b55f5ed06ea47ad34fa5be334264,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 60.3
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6924224164136034614, guid: 2f11b55f5ed06ea47ad34fa5be334264,
type: 3}
@ -62512,7 +62179,7 @@ PrefabInstance:
- target: {fileID: 6924224164136034614, guid: 2f11b55f5ed06ea47ad34fa5be334264,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6924224164136034614, guid: 2f11b55f5ed06ea47ad34fa5be334264,
type: 3}
@ -62522,7 +62189,7 @@ PrefabInstance:
- target: {fileID: 6924224164136034614, guid: 2f11b55f5ed06ea47ad34fa5be334264,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6924224164136034614, guid: 2f11b55f5ed06ea47ad34fa5be334264,
type: 3}


+ 56
- 2
Assets/GWConquest/Scripts/CSVReader.cs View File

@ -47,6 +47,30 @@ namespace GWConquest
string str = GetString(key);
return str == null || str == "" ? 0f : float.Parse(str);
}
public int[] GetIntArray(string key)
{
string[] strs = GetString(key).Split('/');
int[] arr = new int[strs.Length];
for(int i = 0; i < strs.Length; i++)
{
string str = strs[i];
arr[i] = str == null || str == "" ? 0 : int.Parse(str);
}
return arr;
}
public float[] GetFloatArray(string key)
{
string[] strs = GetString(key).Split('/');
float[] arr = new float[strs.Length];
for (int i = 0; i < strs.Length; i++)
{
string str = strs[i];
arr[i] = str == null || str == "" ? 0 : float.Parse(str);
}
return arr;
}
}
public static CSVFile ParseCSV(string csv, int headerLines = 1, char delimiter = ',')
@ -55,14 +79,14 @@ namespace GWConquest
if (lines.Length > headerLines)
{
int lineCount = lines.Length - headerLines;
string[] headers = lines[0].Split(delimiter);
string[] headers = SplitLine(lines[0], delimiter);
int fieldCount = headers.Length;
if (fieldCount > 0)
{
string[,] data = new string[lineCount, fieldCount];
for (int i = 0; i < lineCount; i++)
{
string[] fields = lines[i + headerLines].Split(delimiter);
string[] fields = SplitLine(lines[i + headerLines], delimiter);
if (fields.Length == fieldCount)
{
for(int j = 0; j < fieldCount; j++)
@ -90,6 +114,36 @@ namespace GWConquest
}
else throw new FormatException("Not enough lines in CSV file!");
}
private static string[] SplitLine(string line, char delimiter = ',', char escape = '"')
{
List<string> strList = new List<string>();
string currentStr = "";
bool isInEscape = false;
for(int i = 0; i < line.Length; i++)
{
char c = line[i];
if(c == escape)
{
isInEscape = !isInEscape;
}
else if(!isInEscape && c == delimiter)
{
strList.Add(currentStr);
currentStr = "";
}
else
{
currentStr = currentStr + c;
}
}
if(isInEscape)
{
throw new FormatException("Bad format: Unclosed escape sequence");
}
strList.Add(currentStr);
return strList.ToArray();
}
}
}

+ 5
- 0
Assets/GWConquest/Scripts/UI/DistrictUI.cs View File

@ -25,5 +25,10 @@ namespace GWConquest
ProductionMenu.Init(factory.GetAvailableUnitClasses().ToArray());
}
}
public void Clear()
{
ProductionMenu.Clear();
}
}
}

+ 2
- 0
Assets/GWConquest/Scripts/UI/PlanetViewUI.cs View File

@ -199,6 +199,8 @@ namespace GWConquest
public void HideGroundPanel()
{
GroundPanel.Clear();
SpaceIndicatorPanel.SetActive(true);
FleetIcons.gameObject.SetActive(true);
GroundPanel.gameObject.SetActive(false);


+ 78
- 3
Assets/GWConquest/Scripts/UI/ProductionMenu.cs View File

@ -13,9 +13,25 @@ namespace GWConquest
public float IconHeight;
public float IconOffset;
public CanvasGroup InfoGroup;
public float AlphaLerpSmooth;
public RectTransform Costs;
public GameObject CostIconPrefab;
public float CostIconWidth;
public Sprite CreditSprite;
public Sprite RecruitSprite;
public Sprite AmmoSprite;
public Sprite FuelSprite;
private float AlphaLerpTarget = 0;
private UnitClass[] unitClasses;
private List<ProductionMenuIcon> iconList = new List<ProductionMenuIcon>();
private UnitClass selectedUnitClass;
public void Init(UnitClass[] _unitClasses)
{
unitClasses = _unitClasses;
@ -28,13 +44,12 @@ namespace GWConquest
RectTransform iconRT = iconGO.GetComponent<RectTransform>();
iconRT.SetParent(Content);
iconRT.localPosition = new Vector3(0f, -iconPos, 0f);
iconRT.anchoredPosition = new Vector3(0f, -iconPos);
iconRT.localRotation = Quaternion.identity;
iconRT.localScale = Vector3.one;
ProductionMenuIcon iconComp = iconGO.GetComponent<ProductionMenuIcon>();
iconComp.Menu = this;
iconComp.UnitClass = unitClasses[i];
iconComp.Init(unitClasses[i], this);
iconList.Add(iconComp);
}
@ -50,6 +65,66 @@ namespace GWConquest
Destroy(icon.gameObject);
}
iconList.Clear();
SelectUnitClass(null);
InfoGroup.alpha = 0f;
}
public void SelectUnitClass(UnitClass uc)
{
if(selectedUnitClass != uc)
{
selectedUnitClass = uc;
AlphaLerpTarget = 0f;
}
}
private void Update()
{
InfoGroup.alpha = Mathf.MoveTowards(InfoGroup.alpha, AlphaLerpTarget, AlphaLerpSmooth*Time.deltaTime);
if(InfoGroup.alpha == 0f && selectedUnitClass != null)
{
UnitName.text = selectedUnitClass.FullName;
UnitDescription.text = selectedUnitClass.Description;
AlphaLerpTarget = 1f;
UpdateCosts();
}
}
private void UpdateCosts()
{
Costs.DestroyAllChildren();
int iconIndex = 0;
var buildCost = selectedUnitClass.BuildCost;
AddCostIcon(buildCost.FuelCost, FuelSprite, ref iconIndex);
AddCostIcon(buildCost.AmmoCost, AmmoSprite, ref iconIndex);
AddCostIcon(buildCost.RecruitCost, RecruitSprite, ref iconIndex);
AddCostIcon(buildCost.CreditCost, CreditSprite, ref iconIndex);
}
private void AddCostIcon(int cost, Sprite sprite, ref int index)
{
if(cost > 0)
{
GameObject iconGO = Instantiate(CostIconPrefab);
RectTransform iconRT = iconGO.GetComponent<RectTransform>();
iconRT.SetParent(Costs);
iconRT.anchoredPosition = new Vector2(-index * CostIconWidth, 0);
iconRT.localRotation = Quaternion.identity;
iconRT.localScale = Vector3.one;
iconGO.GetComponentInChildren<Text>().text = cost.ToString();
iconGO.GetComponentInChildren<Image>().sprite = sprite;
index++;
}
}
}
}

+ 10
- 5
Assets/GWConquest/Scripts/UI/ProductionMenuIcon.cs View File

@ -7,10 +7,15 @@ namespace GWConquest
{
public Image Icon;
[System.NonSerialized]
public UnitClass UnitClass;
[System.NonSerialized]
public ProductionMenu Menu;
private UnitClass UnitClass;
private ProductionMenu Menu;
public void Init(UnitClass unitClass, ProductionMenu menu)
{
Menu = menu;
UnitClass = unitClass;
Icon.sprite = unitClass.Sprite;
}
public void Click()
{
@ -19,7 +24,7 @@ namespace GWConquest
public void Highlight()
{
Menu.SelectUnitClass(UnitClass);
}
}

+ 13
- 11
Assets/GWConquest/Scripts/UnitClass.cs View File

@ -18,7 +18,7 @@ namespace GWConquest
LoadDatabase(shipsDatabase, ZoneType.Space);
TextAsset unitDatabase = Resources.Load<TextAsset>("Database/Units");
LoadDatabase(unitDatabase, ZoneType.Ground, '\t');
LoadDatabase(unitDatabase, ZoneType.Ground);
GameManager.Instance.UnitClasses = classMap.Values.ToArray();
BoltLog.Info("All unit classes loaded.");
@ -44,11 +44,11 @@ namespace GWConquest
unitClass.Hitpoints = data.GetInt("Hitpoints");
string[] attackCounts = data.GetString("Attack Count").Split('/');
string[] damages = data.GetString("Damage").Split('/');
string[] penetrations = data.GetString("Penetration").Split('/');
string[] accuracies = data.GetString("Accuracy").Split('/');
string[] attackTimers = data.GetString("Attack Timer").Split('/');
int[] attackCounts = data.GetIntArray("Attack Count");
int[] damages = data.GetIntArray("Damage");
int[] penetrations = data.GetIntArray("Penetration");
float[] accuracies = data.GetFloatArray("Accuracy");
float[] attackTimers = data.GetFloatArray("Attack Timer");
if (Util.AllEqual(attackCounts.Length, damages.Length, penetrations.Length, accuracies.Length, attackTimers.Length))
{
@ -57,11 +57,11 @@ namespace GWConquest
{
unitClass.WeaponStatsArray[j] = new WeaponStats
{
AttackCount = int.Parse(attackCounts[j]),
Damage = int.Parse(damages[j]),
Penetration = int.Parse(penetrations[j]),
Accuracy = float.Parse(accuracies[j]),
AttackTimer = float.Parse(attackTimers[j])
AttackCount = attackCounts[j],
Damage = damages[j],
Penetration = penetrations[j],
Accuracy = accuracies[j],
AttackTimer = attackTimers[j]
};
}
}
@ -110,6 +110,8 @@ namespace GWConquest
unitClass.ZoneType = zoneType;
unitClass.UnitStrength = unitClass.BuildCost.CreditCost;
unitClass.LoadTexture();
classMap.Add(unitClass.ShortName, unitClass);
}
catch (Exception ex)


+ 8
- 0
Assets/GWConquest/Scripts/Util.cs View File

@ -143,6 +143,14 @@ namespace GWConquest
return true;
}
public static void DestroyAllChildren(this Transform transform)
{
for(int i = 0; i < transform.childCount; i++)
{
UnityEngine.Object.Destroy(transform.GetChild(i).gameObject);
}
}
}
}

BIN
Assets/GWConquest/Textures/Icons/Credits.png View File

Before After
Width: 172  |  Height: 172  |  Size: 4.7 KiB

+ 128
- 0
Assets/GWConquest/Textures/Icons/Credits.png.meta View File

@ -0,0 +1,128 @@
fileFormatVersion: 2
guid: b7056bf0cc9b143499b92ad49c579d92
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 2
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 2
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Loading…
Cancel
Save