Initial commit

Initial commit [v9.7]
This commit is contained in:
Jaysyn904
2025-04-03 12:54:47 -04:00
parent ff5835fcc7
commit ebc0c6a9b2
11298 changed files with 9432842 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
#include "in_g_cutscene"
void main()
{
object oPC = GetPCSpeaker();
object oMe = OBJECT_SELF;
FadeToBlack(oPC);
FadeFromBlack(oPC);
float fRange = GetHorizontalDistanceBetween(oMe,oPC)+1.0;
float fAngle = GestaltGetDirection(oPC,oMe) - (asin(1.0 / fRange) / 1.5);
// float fPitch = 90.0 - sqrt(12.0 - fRange);
float fPitch = 70.0;
if (fAngle < 0.0) fAngle += 360.0;
AssignCommand(oPC,SetCameraHeight(oPC,0.0));
AssignCommand(oPC,SetCameraFacing(fAngle,fRange,fPitch));
}