- Compatibility improvements with modern OS releases.
Input
- Fixed Mouse sensitivtiy acting weird at certain aspect ratios
- Added full gamepad support.
- Arrow keys and enter can be used for GUI selection.
Modding
- Added support for FBX files and Collada models exported in 3D Max.
- Added Enemy_ManPig entity type.
- Added script function (SetInDarknessEffectsActive) for disabling the InDarkness effects.
- Added script function (StartInsanityEvent) for starting a specific insanity event.
- Added script function (StopCurrentInsanityEvent) for stopping any currently active insanity event.
- Added script function (SetPlayerFallDamageDisabled) for disabling fall damage
- Added script function (SetEntityVisible) for making an entity's mesh invisible
- Added script function (ReplaceEntity) for replacing an entity with a new one.
- Added script function (PlaceEntityAtEntity) for placing an entity at another entity.
- Added script functions (SetBodyMass, GetBodyMass) for getting and setting mass of bodies.
- Added script function (SetEnemySanityDecreaseActive) for turning off an enemy's sanity effects.
- Added script function (GetEnemyStateName) for getting an enemy's state as a string.
- Added Script function (TeleportEnemyToNode) for teleporting enemies to path nodes.
- Added script function (SetPlayerJumpForceMul) for setting a jump force multiplier.
- Added script function (AlertEnemyOfPlayerPresence) for making enemy search for player around the player's position.
- Added script functions (SetPlayerPos, GetPlayerPosX, GetPlayerPosY, GetPlayerPosZ) for setting and getting the player's position.
- Added script functions (SetEntityPos, GetEntityPosX, GetEntityPosY, GetEntityPosZ) for setting and getting the position of entities.
- Added script functions (StringToInt, StringToFloat, StringToBool) for converting strings to other types.
- Added script functions (MathSin, MathCos, MathTan, MathAsin, MathAcos, MathAtan, MathAtan2, MathSqrt, MathPow, MathMin, MathMax, MathClamp, MathAbs) for doing some math operations.
- Replaced AddAttachedPropToProp with AttachPropToProp. The new version fixes an issue where the Z rotation parameter would be used as the Z position. The old version still works and has the same behavior as before but will trigger a warning message.
Debug
- F2 now does a quick map reload when Debug menu is loaded
- F3 now fast forwards the game when Debug menu is loaded
- Errors and warnings can now be seen in-game by checking a box in the debug menu
Bugfixes
- Fixed crashes related to destroying attached props.
- Removed ModelEditor error message when an animation has step events with no value specified.
- Fixed bone_pile_human2.dae that caused the level editor to crash when trying to open the morgue level.
Updated entities and/or models
- hand.ent
- agrippa.ent
- alexander-ent
- ritual_prisoner.ent
- rat.ent
- servant_brute.ent
- servant_grunt.ent
- rope_beam02.ent
- spider.ent
- corpse_male.ent
- grunt_body_part1.ent
- grunt_body_part2.ent
- pig_corpse.ent
- rat_corpse.ent
- rag_plague_corpse.ent
- slime_anim_ceiling.ent
- slime_anim_wall.ent
- worn_hay_mattress.ent
- ceiling_doll.ent
- chained_prisoner.ent
- enemy_suitor.ent
- enemy_suitor_alois.ent
- enemy_suitor_basile.ent
- enemy_suitor_malo.ent
- graveyard_corpse.ent
- ritual_prisoner_noillum.ent
- worn_hay_mattress_slow.ent
- spinning_cogwheel_negative.ent
- bone_pile_human2.ent