Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChangePlayerSpeed
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#1
ChangePlayerSpeed

What is ChangePlayerSpeed for?

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
06-13-2011, 02:17 PM
Find
Finska Offline
Member

Posts: 102
Threads: 6
Joined: Jun 2011
Reputation: 0
#2
RE: ChangePlayerSpeed

For changing player's speed I suppose.

Creeps, creeps everywhere...
06-13-2011, 02:19 PM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#3
RE: ChangePlayerSpeed

...
Explain better.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
06-13-2011, 02:25 PM
Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#4
RE: ChangePlayerSpeed

that aint no function... Where did you spot that?
06-13-2011, 02:25 PM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#5
RE: ChangePlayerSpeed

That is a function. It exists in Justine.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
06-13-2011, 02:55 PM
Find
Finska Offline
Member

Posts: 102
Threads: 6
Joined: Jun 2011
Reputation: 0
#6
RE: ChangePlayerSpeed

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

Creeps, creeps everywhere...
06-13-2011, 02:58 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#7
RE: ChangePlayerSpeed

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

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

I guess that answers your question.

(This post was last modified: 06-13-2011, 03:05 PM by Tanshaydar.)
06-13-2011, 03:05 PM
Website Find
rafii6311 Offline
Junior Member

Posts: 13
Threads: 2
Joined: Jun 2011
Reputation: 0
#8
RE: ChangePlayerSpeed

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 -)
06-13-2011, 03:07 PM
Find
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#9
RE: ChangePlayerSpeed

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

[Image: 44917299.jpg]Dubstep <3
06-13-2011, 03:14 PM
Find
Finska Offline
Member

Posts: 102
Threads: 6
Joined: Jun 2011
Reputation: 0
#10
RE: ChangePlayerSpeed

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

Creeps, creeps everywhere...
06-13-2011, 03:16 PM
Find




Users browsing this thread: 1 Guest(s)