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
Need some help :)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Need some help :)

As a beginner it might take a lot of practise and adjusting to get right, but it isn't too difficult.

You need to make a sequence of events that trigger different movement with the player. First of all, you need to use a bunch of timers. Use AddTimer to add an effect, then place the effect script in the callback for when that timer is called. You can either add all the timers in the same place with slight time differences, or add another timer within the previous timer's callback.

You need to adjust the time to match what you want. Play around with it.

As for the effects themselves, use scripts like these:

PHP Code: (Select All)
FadePlayerRollTo(float afXfloat afSpeedMulfloat afMaxSpeed); 
- Will make the camera rotate.
PHP Code: (Select All)
MovePlayerHeadPos(float afXfloat afYfloat afZfloat afSpeedfloat afSlowDownDist); 
- Will move the camera up or down, or any other direction relative to the player.
PHP Code: (Select All)
StartPlayerLookAt(stringasEntityNamefloat afSpeedMulfloat afMaxSpeedstringasAtTargetCallback); 
- Will make the player look at a certain point (use areas with these, don't forget StopPlayerLookAt when you're done).

There are many others you can use. Test different values in them. You can find more of these scripts under the Player section on the script page: https://wiki.frictionalgames.com/doku.ph...ons#player

(This post was last modified: 08-29-2014, 10:40 AM by Mudbill.)
08-29-2014, 10:39 AM
Find


Messages In This Thread
Need some help :) - by Catalyst - 08-29-2014, 10:12 AM
RE: Need some help :) - by Radical Batz - 08-29-2014, 10:22 AM
RE: Need some help :) - by Catalyst - 08-29-2014, 10:29 AM
RE: Need some help :) - by Mudbill - 08-29-2014, 10:39 AM
RE: Need some help :) - by Catalyst - 08-29-2014, 10:45 AM
RE: Need some help :) - by Artsy - 08-29-2014, 11:33 AM
RE: Need some help :) - by Catalyst - 08-29-2014, 11:54 AM
RE: Need some help :) - by Radical Batz - 08-29-2014, 02:30 PM



Users browsing this thread: 3 Guest(s)