Updated Combat UI for New Conventions (WIP)
This commit is contained in:
parent
544de9810c
commit
1b4a2673e3
BIN
Content/Blueprints/Combat_UI/Combat_UI.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/Combat_UI.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/Resource_Fill.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Blueprints/Combat_UI/Resource_Fill.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/Resource_Outline.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Blueprints/Combat_UI/Resource_Outline.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Fonts/ChildrenOnceWhere.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Fonts/ChildrenOnceWhere.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Fonts/ChildrenOnceWhere_Font.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Fonts/ChildrenOnceWhere_Font.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Levels/Build.umap
(Stored with Git LFS)
BIN
Content/Levels/Build.umap
(Stored with Git LFS)
Binary file not shown.
@ -79,27 +79,11 @@ void ATempCharacter::Sneak()
|
|||||||
UnCrouch();
|
UnCrouch();
|
||||||
isInStealth = false;
|
isInStealth = false;
|
||||||
if (PostProcessVolume != nullptr) PostProcessVolume->Settings.VignetteIntensity = 0.0f;
|
if (PostProcessVolume != nullptr) PostProcessVolume->Settings.VignetteIntensity = 0.0f;
|
||||||
//for (AActor* Actor : AIActors)
|
|
||||||
//{
|
|
||||||
// USphereComponent* SphereComponent = Actor->FindComponentByClass<USphereComponent>();
|
|
||||||
// if (IsValid(SphereComponent))
|
|
||||||
// {
|
|
||||||
// SphereComponent->SetSphereRadius(40.0f); //default value
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Crouch();
|
Crouch();
|
||||||
isInStealth = true;
|
isInStealth = true;
|
||||||
/*for (AActor* Actor : AIActors)
|
|
||||||
{
|
|
||||||
USphereComponent* SphereComponent = Actor->FindComponentByClass<USphereComponent>();
|
|
||||||
if (IsValid(SphereComponent))
|
|
||||||
{
|
|
||||||
SphereComponent->SetSphereRadius(5.0f);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
if (PostProcessVolume != nullptr) PostProcessVolume->Settings.VignetteIntensity = 0.8f;
|
if (PostProcessVolume != nullptr) PostProcessVolume->Settings.VignetteIntensity = 0.8f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -233,13 +233,13 @@ void ATurnBaseCombatV2::ExecuteCast(FString Combo)
|
|||||||
case true:
|
case true:
|
||||||
// Player Turn
|
// Player Turn
|
||||||
DamageEnemy(*ValidCombos.Find(Combo));
|
DamageEnemy(*ValidCombos.Find(Combo));
|
||||||
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Green, FString::Printf(TEXT("Enemy Damaged %d"), *ValidCombos.Find(Combo)));
|
//GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Green, FString::Printf(TEXT("Enemy Damaged %d"), *ValidCombos.Find(Combo)));
|
||||||
OnPlayerTurn.Broadcast(PlayerActor, EnemyActor);
|
OnPlayerTurn.Broadcast(PlayerActor, EnemyActor);
|
||||||
break;
|
break;
|
||||||
case false:
|
case false:
|
||||||
// Enemy Turn
|
// Enemy Turn
|
||||||
DamagePlayer(*ValidCombos.Find(Combo));
|
DamagePlayer(*ValidCombos.Find(Combo));
|
||||||
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Green, FString::Printf(TEXT("Player Damaged %d"), *ValidCombos.Find(Combo)));
|
//GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Green, FString::Printf(TEXT("Player Damaged %d"), *ValidCombos.Find(Combo)));
|
||||||
OnEnemyTurn.Broadcast(EnemyActor, PlayerActor);
|
OnEnemyTurn.Broadcast(EnemyActor, PlayerActor);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
BIN
UI designs/Resource_Fill.png
(Stored with Git LFS)
Normal file
BIN
UI designs/Resource_Fill.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
UI designs/Resource_Outline.png
(Stored with Git LFS)
Normal file
BIN
UI designs/Resource_Outline.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user