Everything is fine now.
So long everything is working fine, I played the game a little, I tried some mods, etc.
I'm gonna try those new functions now.
Changelog
Spoiler below!
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.