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


Thread Rating:
  • 10 Vote(s) - 3.9 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work in progress [Voice Actors Wanted] A night left unmentioned...
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#11
RE: A night left unmentioned...

MovePlayerHeadPos(float afX, float afY, float afZ, float afSpeed, float afSlowDownDist);Changes the position of the camera on the player's body.

afX - amount along the X-axis
afY - amount along the Y-axis
afZ - amount along the Z-axis
afSpeed - speed at which the change happens
afSlowDownDist - distance at which to start slowing down (prevents the head from abruptly stopping)

It should do a nice, smooth movement.

07-29-2011, 02:31 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#12
RE: A night left unmentioned...

(07-29-2011, 02:23 AM)teddifisk Wrote: EDIT: How did you do the cool camera flying thingy??? o.O
That was kinda orgasmic Tongue
It's as Kyle says. And to make the camera rotate around an object you would use StartPlayerLookAt() on the object, passing an empty string to the callback parameter, in combination with MovePlayerHeadPos(). Careful, though, 'cause this combination may cause the camera to go out of control (i.e. infinitely spiral around the object at ever increasing speeds).

Tutorials: From Noob to Pro
(This post was last modified: 07-29-2011, 04:02 AM by Your Computer.)
07-29-2011, 04:01 AM
Website Find
Ghostflame Offline
Member

Posts: 152
Threads: 0
Joined: Mar 2011
Reputation: 0
#13
RE: A night left unmentioned...

(07-29-2011, 04:01 AM)Your Computer Wrote: Careful, though, 'cause this combination may cause the camera to go out of control (i.e. infinitely spiral around the object at ever increasing speeds).

Well that sounds fun... Tongue
07-29-2011, 04:20 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#14
RE: A night left unmentioned...

(07-29-2011, 04:20 AM)Ghostflame Wrote: Well that sounds fun... Tongue
Believe it or not, i was the first to say, "Weeeee!" at that moment of testing. Tongue

Tutorials: From Noob to Pro
07-29-2011, 04:32 AM
Website Find
Ghostflame Offline
Member

Posts: 152
Threads: 0
Joined: Mar 2011
Reputation: 0
#15
RE: A night left unmentioned...

(07-29-2011, 04:32 AM)Your Computer Wrote: Believe it or not, i was the first to say, "Weeeee!" at that moment of testing. Tongue

Badassness.
(This post was last modified: 07-29-2011, 05:44 AM by Ghostflame.)
07-29-2011, 05:43 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#16
RE: A night left unmentioned...

Here are a couple of screenshots on the next map i'm working on:
http://steamcommunity.com/id/yourcompute...8058275211
http://steamcommunity.com/id/yourcompute...8058277435

If you're careful to watch the night sky, you're bound to see shooting stars.

Tutorials: From Noob to Pro
07-30-2011, 07:51 PM
Website Find
Ghostflame Offline
Member

Posts: 152
Threads: 0
Joined: Mar 2011
Reputation: 0
#17
RE: A night left unmentioned...

(07-30-2011, 07:51 PM)Your Computer Wrote: Here are a couple of screenshots on the next map i'm working on:
http://steamcommunity.com/id/yourcompute...8058275211
http://steamcommunity.com/id/yourcompute...8058277435

If you're careful to watch the night sky, you're bound to see shooting stars.

Jizz in my pants. This custom story will change my life.
07-31-2011, 12:30 AM
Find
Tenno Offline
Senior Member

Posts: 293
Threads: 0
Joined: May 2011
Reputation: 7
#18
RE: A night left unmentioned...

(07-30-2011, 07:51 PM)Your Computer Wrote: Here are a couple of screenshots on the next map i'm working on:
http://steamcommunity.com/id/yourcompute...8058275211
http://steamcommunity.com/id/yourcompute...8058277435

If you're careful to watch the night sky, you're bound to see shooting stars.

Those screens are great, more custom stories need to include outdoor areas, it does get a bit tiring walking through empty castle halls and dark dungeons.

My excitement is growing with this project Big Grin

[Image: 29069he.gif]
07-31-2011, 03:04 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#19
RE: A night left unmentioned...

(07-31-2011, 03:04 AM)Tenno Wrote: Those screens are great, more custom stories need to include outdoor areas, it does get a bit tiring walking through empty castle halls and dark dungeons.
Oh, you'll definitely be doing a bit of traveling outdoors from time to time (though your actions may force you to stay inside Wink).

Note, i will attempt to make all doors those that can be swung opened (and therefore can be smashed opened by monsters), unless a loading screen is necessary (perhaps due to map limitations).

Tutorials: From Noob to Pro
07-31-2011, 03:15 AM
Website Find
Ghostflame Offline
Member

Posts: 152
Threads: 0
Joined: Mar 2011
Reputation: 0
#20
RE: A night left unmentioned...

(07-31-2011, 03:15 AM)Your Computer Wrote: Note, i will attempt to make all doors those that can be swung opened (and therefore can be smashed opened by monsters), unless a loading screen is necessary (perhaps due to map limitations).

Great thinking sir, you deserve a medal. It's kind of a killer of the atmosphere, running away from a monster, and going through some door, and he says 'Oh...' and then goes home. If they could bust down every door, that would be much more lifelike and therefore result in a scarier and realistic story. If I'm not mistaken, that is your goal?
07-31-2011, 05:00 AM
Find




Users browsing this thread: 1 Guest(s)