-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
206 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright (c) 2024 Alexei Gladkikh | ||
|
||
|
||
#include "Cloud9CharacterEffect.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) 2024 Alexei Gladkikh | ||
|
||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "UObject/Interface.h" | ||
#include "Cloud9CharacterEffect.generated.h" | ||
|
||
class ACloud9Character; | ||
|
||
UINTERFACE() | ||
class UCloud9CharacterEffect : public UInterface | ||
{ | ||
GENERATED_BODY() | ||
}; | ||
|
||
|
||
class CLOUD9_API ICloud9CharacterEffect | ||
{ | ||
GENERATED_BODY() | ||
|
||
public: | ||
UFUNCTION(BlueprintCallable, BlueprintNativeEvent) | ||
bool Apply(ACloud9Character* Character); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright (c) 2024 Alexei Gladkikh | ||
|
||
#pragma once | ||
|
||
/** | ||
* See cs_shareddefs.cpp in cstrike15_src | ||
*/ | ||
namespace Cloud9Player | ||
{ | ||
constexpr float SpeedRun = 260.0f; | ||
constexpr float SpeedVip = 227.0f; | ||
constexpr float SpeedShield = 160.0f; | ||
constexpr float SpeedHas_Hostage = 200.0f; | ||
constexpr float SpeedStopped = 1.0f; | ||
constexpr float SpeedObserver = 900.0f; | ||
|
||
constexpr float SpeedDuckModifier = 0.34f; | ||
constexpr float SpeedWalkModifier = 0.52f; | ||
constexpr float SpeedClimbModifier = 0.34f; | ||
|
||
constexpr float HeavyArmorFlinchModifier = 0.5f; | ||
|
||
constexpr float DuckSpeedIdeal = 8.0f; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters