Frictional Games Forum (read-only)
ChangePlayerSpeed - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: ChangePlayerSpeed (/thread-8577.html)

Pages: 1 2


ChangePlayerSpeed - nemesis567 - 06-13-2011

What is ChangePlayerSpeed for?


RE: ChangePlayerSpeed - Finska - 06-13-2011

For changing player's speed I suppose.


RE: ChangePlayerSpeed - nemesis567 - 06-13-2011

...
Explain better.


RE: ChangePlayerSpeed - Khyrpa - 06-13-2011

that aint no function... Where did you spot that?


RE: ChangePlayerSpeed - nemesis567 - 06-13-2011

That is a function. It exists in Justine.


RE: ChangePlayerSpeed - Finska - 06-13-2011

I have no idea, but there might be some possibilities.
a) It changes player's max speed.
b) It makes player move with some speed.
c) It changes player's move speed increasing


RE: ChangePlayerSpeed - Tanshaydar - 06-13-2011

You should havea better look on file. It's a custom function.
Taken from 04_final.hps

Code:
//Change move, run and look movement
void ChangePlayerSpeed(float fSpeed)
{
    SetPlayerMoveSpeedMul(fSpeed);
    SetPlayerRunSpeedMul(fSpeed);
    SetPlayerLookSpeedMul(fSpeed);
}

I guess that answers your question.


RE: ChangePlayerSpeed - rafii6311 - 06-13-2011

i used it for a better insanity mode.
dark red screen and ultra slooooow player speed Wink

it changes the player's normal walk speed (+ or -)


RE: ChangePlayerSpeed - xtron - 06-13-2011

Hmm so that function is usable in custom stories aswell then?



RE: ChangePlayerSpeed - Finska - 06-13-2011

Haha, yay. I was right although I don't understand anything about scripting