SMOD Icon SMOD Thread

Freeze a Players functions and movement in Source

Hello world. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending EliasWick points.
  • Post: Give EliasWick your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Resistance is futile...

Join GameBanana

Already a Bananite? Login

How can I "Freeze" a Players functions and movement in the Source Engine?

Hello people, I am currently making a game (The Name is still Secret).
Either way, I thought of adding a little cut-scene in the middle of the game, by using some motion cameras and such.

So the question is, "How Can Freeze a Players functions and prevent the player from moving, while the cut-scene is playing?

I know some methods, but I am looking for the ultimate one, so that it looks the best result.

Some of the methods I thought of, was:
- Spawning a "Nodraw" block on top of the player, so that the player is unable to move.
- Boxing in the player in invisible blocks.

If there is an ultimate way to do this and you feel free to share, drop a comment in the comment section below!
Thanks, Elias Wick.

Comments

  • Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7 years ago
    76,232 points Ranked 51st
    62 medals 4 legendary 9 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    Report post
    4 years ago:
    The best way to do it is exactly like Valve did in the entire Half-Life series, don't make cut scenes, but scripted sequences where things just sort of happen around the player.
    • Helpful x 1
    • Interesting x 1
    • Thanks x 1
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • Sally-2K avatar
    Sally-2K Offline
    Member Joined 5 years ago
    Report post
    4 years ago:
    game_ui or a point_camera then hit the flags to disable movement.
    • Helpful x 1
    • Interesting x 1
    • Thanks x 1
    Call me Masterb8es
  • EliasWick avatar
    EliasWick Offline
    Member Joined 4 years ago
    554 points Ranked 7505th
    Report post
    4 years ago:
    Wow Guys! Thanks for the quick answers! If there is anything I can do in return, then just ask for it!
    Didn't expect two quick answers! Faith in Humanity restored!
    Source Engine Elite

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

EliasWick avatar
EliasWick Offline
Member Joined 4 years ago
554 points Ranked 7505th

EliasWick
Send a Private Message to the submitter

Game

Category

Attributes

Stats

Posts
3
Views
3,639
Date Added
4 years ago
Jul 7 2013 @ 5:01pm UTC
Date Modified
4 years ago
Jul 7 2013 @ 5:03pm UTC
Date Updated
4 years ago
Jul 7 2013 @ 5:01pm UTC