Amnesia: The Bunker

Amnesia: The Bunker

Not enough ratings
Increased Magnet Lampe Duration x4
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
63.186 KB
15 Jun, 2023 @ 12:22am
31 Oct, 2023 @ 8:26pm
2 Change Notes ( view )

Subscribe to download
Increased Magnet Lampe Duration x4

Description
"Simple mechanism improvement has extended this Magnet Lampe lighting capabilities to better see the horrors of the bunkers." - Henri


Under ...\script\custom\props\Prop_DynamoLantern.hps:

"const float gfDynamoLantern_DefaultChargeDecreaseRate = (1.f / 40.f);"
changed to
"const float gfDynamoLantern_DefaultChargeDecreaseRate = (1.f / 160.f);"


=======================================================================
A few new lines were added in the Halloween Update:

float GetChargeDecreaseRate()
{
uint lFlashlightDurationLevel = GameDifficulty_GetSettingValueByID_Int(eGameDifficultySetting_FlashlightChargeDuration);
if (lFlashlightDurationLevel==0)
return gfDynamoLantern_DefaultChargeDecreaseRate * 2.f;
else if (lFlashlightDurationLevel==2)
return gfDynamoLantern_DefaultChargeDecreaseRate * 0.5f;

return gfDynamoLantern_DefaultChargeDecreaseRate;
}

Under this assumption, the higher the difficulty, the lower the duration. Either way this is 4x the default duration.
1 Comments
MilesTheAlter 14 Sep, 2023 @ 8:45pm 
good mod thanks