Bullet Time is slow.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>ClangCL</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
|
@@ -18,10 +18,10 @@ bool Bullet::Update(World* world, float elapsedtime, int perframe, std::unordere
|
||||
|
||||
for (auto& [key, player] : mapPlayer) {
|
||||
bool hit = false;
|
||||
if ((m_currentpos - player->GetPosition()).Length() < 1.f) {
|
||||
if ((m_currentpos - player->GetPosition()).Length() < .5f) {
|
||||
hit = true;
|
||||
}
|
||||
if ((m_currentpos - player->GetPOV()).Length() < .2f) {
|
||||
else if ((m_currentpos - player->GetPOV()).Length() < .2f) {
|
||||
damage *= 2; // HEADSHOT!
|
||||
hit = true;
|
||||
}
|
||||
|
@@ -35,7 +35,7 @@
|
||||
#define TIME_DAMAGE_BOOST 10 //secondes
|
||||
#define TIME_INVINCIBLE_BOOST 4 //secondes
|
||||
#define STRENGTH_SPEED_BOOST 10 //Pourcentage
|
||||
#define BULLET_TIME .1
|
||||
#define BULLET_TIME .2
|
||||
|
||||
#define SYNC_ACC 200 // ms
|
||||
#define CMOD_ACC 1500 // ms
|
||||
|
Reference in New Issue
Block a user