Browse Source

Faktionsauswahl, Faktionsfarben im Kampfmenü

bolt_update
laurids 3 years ago
parent
commit
6d35dcb206
16 changed files with 1489 additions and 74 deletions
  1. +84
    -9
      Assets/GWConquest/Scenes/GalaxyMap.unity
  2. +984
    -50
      Assets/GWConquest/Scenes/MainMenu.unity
  3. +28
    -8
      Assets/GWConquest/Scripts/Formation.cs
  4. +3
    -0
      Assets/GWConquest/Scripts/GameManager.cs
  5. +2
    -2
      Assets/GWConquest/Scripts/ServerCallbacks.cs
  6. +6
    -1
      Assets/GWConquest/Scripts/SpawnAIUnits.cs
  7. +53
    -3
      Assets/GWConquest/Scripts/UI/BattleUI.cs
  8. +35
    -0
      Assets/GWConquest/Scripts/UI/HoverHighlightScale.cs
  9. +11
    -0
      Assets/GWConquest/Scripts/UI/HoverHighlightScale.cs.meta
  10. +2
    -1
      Assets/GWConquest/Scripts/UI/MainMenu.cs
  11. +17
    -0
      Assets/GWConquest/Scripts/Util.cs
  12. +8
    -0
      Assets/GWConquest/Textures/Art.meta
  13. BIN
      Assets/GWConquest/Textures/Art/Remnant Final.png
  14. +128
    -0
      Assets/GWConquest/Textures/Art/Remnant Final.png.meta
  15. BIN
      Assets/GWConquest/Textures/Art/Rokurant Final.png
  16. +128
    -0
      Assets/GWConquest/Textures/Art/Rokurant Final.png.meta

+ 84
- 9
Assets/GWConquest/Scenes/GalaxyMap.unity View File

@ -27365,12 +27365,7 @@ MonoBehaviour:
- {fileID: 1821819294}
- {fileID: 303737094}
- {fileID: 1946153125}
IsAI: 1
- FactionColor: {r: 0.8, g: 0.25490198, b: 0.14509805, a: 1}
FactionName: Rebels
FactionLogo: {fileID: 21300000, guid: 00e5899d4e6e5a043a58bc84abb91edd, type: 3}
StartingPlanets: []
IsAI: 1
IsAI: 0
- FactionColor: {r: 0.53900003, g: 0.53900003, b: 0.53900003, a: 1}
FactionName: Rokurant
FactionLogo: {fileID: 21300000, guid: 74e6545f20e2b3542aa99da49316ce28, type: 3}
@ -28787,6 +28782,7 @@ MonoBehaviour:
ShipyardRating: 0
GroundTransitionLengthFactor: 30
SpaceTransitionLengthFactor: 1
BetweenTransitionLengthFactor: 10
BattleTurnLength: 30
BattleTurnDeviation: 10
MoveToFlankCooldown: 15
@ -42205,6 +42201,9 @@ GameObject:
- component: {fileID: 692834492}
- component: {fileID: 692834491}
- component: {fileID: 692834490}
- component: {fileID: 692834495}
- component: {fileID: 692834494}
- component: {fileID: 692834493}
m_Layer: 0
m_Name: GameObject
m_TagString: Untagged
@ -42228,6 +42227,7 @@ MonoBehaviour:
unitCount: 10
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834480
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42244,6 +42244,7 @@ MonoBehaviour:
unitCount: 6
playerId: 1
zone: {fileID: 781120733}
assignAsLeader: 0
--- !u!114 &692834481
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42260,6 +42261,7 @@ MonoBehaviour:
unitCount: 5
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834482
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42276,6 +42278,7 @@ MonoBehaviour:
unitCount: 1
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 1
--- !u!114 &692834483
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42292,6 +42295,7 @@ MonoBehaviour:
unitCount: 1
playerId: 0
zone: {fileID: 801858043}
assignAsLeader: 1
--- !u!114 &692834484
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42308,6 +42312,7 @@ MonoBehaviour:
unitCount: 1
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834485
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42324,6 +42329,7 @@ MonoBehaviour:
unitCount: 2
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834486
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42340,6 +42346,7 @@ MonoBehaviour:
unitCount: 6
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!4 &692834487
Transform:
m_ObjectHideFlags: 0
@ -42370,6 +42377,7 @@ MonoBehaviour:
unitCount: 10
playerId: 1
zone: {fileID: 781120733}
assignAsLeader: 0
--- !u!114 &692834489
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42386,6 +42394,7 @@ MonoBehaviour:
unitCount: 8
playerId: 1
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834490
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42402,6 +42411,7 @@ MonoBehaviour:
unitCount: 3
playerId: 0
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834491
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42418,6 +42428,7 @@ MonoBehaviour:
unitCount: 4
playerId: 0
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834492
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42434,6 +42445,58 @@ MonoBehaviour:
unitCount: 8
playerId: 0
zone: {fileID: 801858043}
assignAsLeader: 0
--- !u!114 &692834493
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 692834478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e3fbe30dead34c49a8585bf21ae46af, type: 3}
m_Name:
m_EditorClassIdentifier:
unitName: Dreadnaught
unitCount: 1
playerId: 0
zone: {fileID: 781120733}
assignAsLeader: 0
--- !u!114 &692834494
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 692834478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e3fbe30dead34c49a8585bf21ae46af, type: 3}
m_Name:
m_EditorClassIdentifier:
unitName: StrikeCraft
unitCount: 10
playerId: 0
zone: {fileID: 781120733}
assignAsLeader: 0
--- !u!114 &692834495
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 692834478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e3fbe30dead34c49a8585bf21ae46af, type: 3}
m_Name:
m_EditorClassIdentifier:
unitName: Frigate
unitCount: 6
playerId: 0
zone: {fileID: 781120733}
assignAsLeader: 0
--- !u!1001 &693605575
PrefabInstance:
m_ObjectHideFlags: 0
@ -88276,7 +88339,7 @@ PrefabInstance:
- target: {fileID: 426511785042915064, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
propertyPath: m_Color.a
value: 0.105882354
value: 0.050980393
objectReference: {fileID: 0}
- target: {fileID: 426511785042915064, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
@ -88286,12 +88349,12 @@ PrefabInstance:
- target: {fileID: 426511785042915064, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
propertyPath: m_Color.g
value: 0.7294118
value: 1
objectReference: {fileID: 0}
- target: {fileID: 426511785042915064, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
propertyPath: m_Color.b
value: 0.49411765
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5098898884174982901, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
@ -88303,6 +88366,11 @@ PrefabInstance:
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6109372026020611718, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7524051847518656828, guid: 52ceb6607c69a284bbaf944247e5e802,
type: 3}
propertyPath: m_Color.a
@ -124899,8 +124967,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Battle: {fileID: 0}
BattleNameText: {fileID: 834739464}
PlayerPanel: {fileID: 77748481770314010}
EnemyPanel: {fileID: 1003682761}
PlayerFactionLogo: {fileID: 1383543978}
PlayerFactionText: {fileID: 1517110526}
EnemyFactionLogo: {fileID: 571739762}
EnemyFactionText: {fileID: 1347825781}
FlankPanel: {fileID: 853420528}
FlankUIPrefab: {fileID: 4081925067141291286, guid: 2b9452b3918dbac4dba70a0ee84d8ab4,
type: 3}
@ -124911,6 +124984,8 @@ MonoBehaviour:
RightSwitchArrow: {fileID: 168624194}
PlayerStrengthBar: {fileID: 644832078}
EnemyStrengthBar: {fileID: 304071185}
PlayerMoraleBar: {fileID: 54581869}
EnemyMoraleBar: {fileID: 1861816391}
ShotEffectPrefab: {fileID: 2369817560459136989, guid: b9f3cdc2345736842b2d77863c93066f,
type: 3}
MGShotPrefab: {fileID: 2369817560459136989, guid: 3ab4f83469374724fb6507ed35bfce20,


+ 984
- 50
Assets/GWConquest/Scenes/MainMenu.unity
File diff suppressed because it is too large
View File


+ 28
- 8
Assets/GWConquest/Scripts/Formation.cs View File

@ -190,8 +190,28 @@ namespace GWConquest
state.CurrentTransition.OriginZone = Zone.GetZoneId(currentZone);
state.CurrentTransition.TargetZone = Zone.GetZoneId(target);
bool isGroundTransition = target.zoneType == ZoneType.Ground;
float lengthFactor = isGroundTransition ? GameManager.Instance.GroundTransitionLengthFactor : GameManager.Instance.SpaceTransitionLengthFactor;
bool isGroundTransition = target.zoneType == ZoneType.Ground || currentZone.zoneType == ZoneType.Ground;
//float lengthFactor = isGroundTransition ? GameManager.Instance.GroundTransitionLengthFactor : GameManager.Instance.SpaceTransitionLengthFactor;
float lengthFactor;
if(currentZone.zoneType == ZoneType.Ground)
{
if(target.zoneType == ZoneType.Ground)
{
lengthFactor = GameManager.Instance.GroundTransitionLengthFactor;
}
else {
lengthFactor = GameManager.Instance.BetweenTransitionLengthFactor;
}
}
else {
if(target.zoneType == ZoneType.Ground)
{
lengthFactor = GameManager.Instance.BetweenTransitionLengthFactor;
}
else {
lengthFactor = GameManager.Instance.SpaceTransitionLengthFactor;
}
}
state.CurrentTransition.TransitionLength
= Vector3.Distance(currentZone.transform.position, target.transform.position) * lengthFactor;
state.CurrentTransition.IsCurved = isGroundTransition;
@ -344,8 +364,8 @@ namespace GWConquest
Vector3 oldPos = transform.position;
Vector3 newPos;
Quaternion newRot;
if(state.CurrentTransition.IsCurved)
{
//if(state.CurrentTransition.IsCurved)
//{
Vector3 planetPos = targetZone.planet.transform.position;
Vector3 originPos = originZone.transform.position - planetPos;
@ -354,14 +374,14 @@ namespace GWConquest
animDistanceCovered / state.CurrentTransition.TransitionLength);
newPos += planetPos;
newRot = Quaternion.LookRotation(newPos - oldPos, newPos - planetPos);
}
else
{
//}
//else
//{
newPos = Vector3.Lerp(originZone.transform.position,
targetZone.transform.position,
animDistanceCovered / state.CurrentTransition.TransitionLength);
newRot = Quaternion.LookRotation(newPos - oldPos, Vector3.up);
}
//}
transform.position = newPos;
transform.rotation = newRot;


+ 3
- 0
Assets/GWConquest/Scripts/GameManager.cs View File

@ -4,6 +4,8 @@ namespace GWConquest
{
public class GameManager : MonoBehaviour
{
public static int HostFactionIndex = 0;
public Faction[] Factions;
public UnitClass[] UnitClasses;
@ -11,6 +13,7 @@ namespace GWConquest
public float GroundTransitionLengthFactor;
public float SpaceTransitionLengthFactor;
public float BetweenTransitionLengthFactor;
public float BattleTurnLength;
public float BattleTurnDeviation;


+ 2
- 2
Assets/GWConquest/Scripts/ServerCallbacks.cs View File

@ -13,7 +13,7 @@ namespace GWConquest
Debug.Log("Player entity instantiated");
IPlayerState playerState = playerEntity.GetState<IPlayerState>();
playerState.IsHost = true;
playerState.FactionIndex = 0;
playerState.FactionIndex = GameManager.HostFactionIndex;
playerEntity.GetComponent<Player>().AssignStartingPlanets();
playerEntity.TakeControl();
@ -28,7 +28,7 @@ namespace GWConquest
IPlayerState playerState = playerEntity.GetState<IPlayerState>();
playerState.ConnectionId = (int)connection.ConnectionId;
playerState.IsHost = false;
playerState.FactionIndex = 1;
playerState.FactionIndex = (GameManager.HostFactionIndex + 1) % 2;
playerEntity.GetComponent<Player>().AssignStartingPlanets();
playerEntity.AssignControl(connection);
}


+ 6
- 1
Assets/GWConquest/Scripts/SpawnAIUnits.cs View File

@ -10,6 +10,7 @@ namespace GWConquest {
public int unitCount;
public int playerId;
public Zone zone;
public bool assignAsLeader;
public void OnSceneLoadLocalDone()
{
@ -20,7 +21,11 @@ namespace GWConquest {
{
for(int i = 0; i < unitCount; i++)
{
Unit.SpawnUnit(zone, UnitClass.FromName(unitName), player);
var unit = Unit.SpawnUnit(zone, UnitClass.FromName(unitName), player);
if(assignAsLeader)
{
unit.Formation.HeroUnit = unit;
}
}
}
}


+ 53
- 3
Assets/GWConquest/Scripts/UI/BattleUI.cs View File

@ -1,15 +1,23 @@
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
using System.Collections.Generic;
namespace GWConquest {
public class BattleUI : MonoBehaviour {
public Battle Battle;
public Text BattleNameText;
public BattleArmyPanel PlayerPanel;
public BattleArmyPanel EnemyPanel;
public Image PlayerFactionLogo;
public Text PlayerFactionText;
public Image EnemyFactionLogo;
public Text EnemyFactionText;
public RectTransform FlankPanel;
public GameObject FlankUIPrefab;
public BattleFlankUI[] FlankUIs;
@ -24,6 +32,9 @@ namespace GWConquest {
public RectTransform PlayerStrengthBar;
public RectTransform EnemyStrengthBar;
public RectTransform PlayerMoraleBar;
public RectTransform EnemyMoraleBar;
public GameObject ShotEffectPrefab;
public GameObject MGShotPrefab;
public GameObject HeavyShotPrefab;
@ -173,7 +184,8 @@ namespace GWConquest {
UpdateIcons();
}
private void FixedUpdate() {
private void FixedUpdate() {
var planet = Battle.Zone.planet;
var battleCount = planet.GetAllBattles().Count();
@ -187,9 +199,20 @@ namespace GWConquest {
RightSwitchArrow.SetActive(false);
}
BattleNameText.text = "First Battle of " + planet.planetName;
var formations = Battle.Zone.Formations;
float playerStrength = formations.Sum(f => f.Player == Player.CurrentPlayer ? f.GetFormationStrength() : 0f);
float enemyStrength = formations.Sum(f => f.Player != Player.CurrentPlayer ? f.GetFormationStrength() : 0f);
var strengths = formations.GroupBy(f => f.Player, (p, fs) => new {
Player = p,
Strength = fs.Sum(f => f.GetFormationStrength())
} );
float playerStrength = strengths.Where(s => s.Player == Player.CurrentPlayer).Sum(s => s.Strength);
float enemyStrength = strengths.Where(s => s.Player != Player.CurrentPlayer).Sum(s => s.Strength);
//float playerStrength = formations.Sum(f => f.Player == Player.CurrentPlayer ? f.GetFormationStrength() : 0f);
//float enemyStrength = formations.Sum(f => f.Player != Player.CurrentPlayer ? f.GetFormationStrength() : 0f);
float fullStrength = playerStrength + enemyStrength;
@ -203,6 +226,33 @@ namespace GWConquest {
PlayerStrengthBar.anchorMax = new Vector2(playerStrength, 1f);
EnemyStrengthBar.anchorMin = new Vector2(playerStrength, 0f);
Player currentPlayer = Player.CurrentPlayer;
Player enemyPlayer = strengths.Where(s => s.Player != Player.CurrentPlayer).ArgMax(s => s.Strength).Player;
if(currentPlayer != null)
{
var playerStrengthBarImage = PlayerStrengthBar.GetComponent<Image>();
playerStrengthBarImage.color = Util.UpdateColorRGB(playerStrengthBarImage.color, currentPlayer.Faction.FactionColor);
var playerMoraleBarImage = PlayerMoraleBar.GetComponent<Image>();
playerMoraleBarImage.color = Util.UpdateColorRGB(playerMoraleBarImage.color, currentPlayer.Faction.FactionColor);
PlayerFactionLogo.sprite = currentPlayer.Faction.FactionLogo;
PlayerFactionText.text = currentPlayer.Faction.FactionName;
PlayerFactionText.color = Util.UpdateColorRGB(PlayerFactionText.color, currentPlayer.Faction.FactionColor);
}
if(enemyPlayer != null)
{
var enemyStrengthBarImage = EnemyStrengthBar.GetComponent<Image>();
enemyStrengthBarImage.color = Util.UpdateColorRGB(enemyStrengthBarImage.color, enemyPlayer.Faction.FactionColor);
var enemyMoraleBarImage = EnemyMoraleBar.GetComponent<Image>();
enemyMoraleBarImage.color = Util.UpdateColorRGB(enemyStrengthBarImage.color, enemyPlayer.Faction.FactionColor);
EnemyFactionLogo.sprite = enemyPlayer.Faction.FactionLogo;
EnemyFactionText.text = enemyPlayer.Faction.FactionName;
EnemyFactionText.color = Util.UpdateColorRGB(EnemyFactionText.color, enemyPlayer.Faction.FactionColor);
}
}
public void SelectIconOnFlank(BattleUnitIcon icon)


+ 35
- 0
Assets/GWConquest/Scripts/UI/HoverHighlightScale.cs View File

@ -0,0 +1,35 @@
using UnityEngine;
using UnityEngine.EventSystems;
namespace GWConquest {
public class HoverHighlightScale : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler {
public float smoothTime = 0.1f;
public float scaleFactor = 1.1f;
private Vector3 origScale;
private Vector3 currentVelocity = Vector3.zero;
private bool isHighlighted = false;
private void Start() {
origScale = transform.localScale;
}
private void Update() {
var target = isHighlighted ? origScale * scaleFactor : origScale;
transform.localScale = Vector3.SmoothDamp(transform.localScale, target, ref currentVelocity, smoothTime);
}
public void OnPointerEnter(PointerEventData ev)
{
isHighlighted = true;
}
public void OnPointerExit(PointerEventData ev)
{
isHighlighted = false;
}
}
}

+ 11
- 0
Assets/GWConquest/Scripts/UI/HoverHighlightScale.cs.meta View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 342dd2fd557feed438ce05e1625dee09
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

+ 2
- 1
Assets/GWConquest/Scripts/UI/MainMenu.cs View File

@ -11,8 +11,9 @@ namespace GWConquest
GameOptions.ApplyOptions();
}
public void StartServer()
public void StartServer(int hostFactionIndex)
{
GameManager.HostFactionIndex = hostFactionIndex;
BoltLauncher.StartServer();
}


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

@ -178,6 +178,23 @@ namespace GWConquest
return minArg;
}
public static T ArgMax<T>(this IEnumerable<T> dict, Func<T, float> selector)
{
float maxValue = float.MinValue;
T maxArg = default;
foreach(var entry in dict)
{
float val = selector(entry);
if(val >= maxValue)
{
maxValue = val;
maxArg = entry;
}
}
return maxArg;
}
public static bool IsStringEmpty(string str)
{
return str == null || str == "";


+ 8
- 0
Assets/GWConquest/Textures/Art.meta View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d9e658a951489fe4bb83ac8ab0695236
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/GWConquest/Textures/Art/Remnant Final.png View File

Before After
Width: 1554  |  Height: 2628  |  Size: 1.4 MiB

+ 128
- 0
Assets/GWConquest/Textures/Art/Remnant Final.png.meta View File

@ -0,0 +1,128 @@
fileFormatVersion: 2
guid: 34f28408878a4b84383269643d6d30e2
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
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: 1
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/Textures/Art/Rokurant Final.png View File

Before After
Width: 1566  |  Height: 2776  |  Size: 1.2 MiB

+ 128
- 0
Assets/GWConquest/Textures/Art/Rokurant Final.png.meta View File

@ -0,0 +1,128 @@
fileFormatVersion: 2
guid: 47f65de531b48934cbc06fc3ee6f8a93
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
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: 1
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