Creating a teleporter using an animated model

A Tutorial for Source Engine

Updates

TutorialParentSubmitterStats
  • English Mistakes
  • Text Formatting
Various Fixes 1y

You will learn how to create a teleporter using an animated model...

Once again, a little update to correct some mistakes and make the tutorial more understandable...

Second tutorial, and this time, it's about creating a teleporter using an animated model.
Like my first tutorial, it's pretty easy so you don't need a lot of knowledge about Source Engine Mapping.

START

1. Start by making the room where your teleporter will be.

2. Place a prop_dynamic, and change it's properties :
  • Name : teleporter
  • World Model : combine_teleportplatform.mdl
Don't forget to create a "custom" hitbox around the model using the playerclip texture because the model is not solid (you can pass throught by default).

3. Create two "trigger blocks"

Create one block covering the "teleporter floor" (it will be the trigger_teleport) and another one less wide at the back of the teleporter (it will be the trigger_once).

4. Tie the blocks into entities

The first one need to be a trigger_teleport. Change it's properties :
  • Name : trigger_teleport
  • Start Disabled : Yes
  • Remote Destination : guy_teleporter
  • Flags : Clients
The second trigger is a trigger_once, but we don't need to change it's properties. However, we will add OutPuts later.

5. Place two ambient_generic

Sounds make the sequence even better. Place two ambient_generic and change their properties :
  • Name : sound_open_teleporter
  • Sound Name : pod_open1.wav
  • Name : sound_start_teleporte
  • Sound Name : portal_open1_adpcm.wav
  • Flags (for the two ambient_generic) : "Play Everywhere" "Start Silent" "Is NOT Looped"
6. Create a "block" which will close the teleporter once the sequence begins

Create a block using the playerclip texture in front of the teleporter to "close it", and tie this block into a func_brush and change it's properties :
  • Name : close_teleporter
  • Start Disabled : Yes 
  • Solidity : Toggle
7. It's time to add the OutPuts for the trigger_once :
  • OnTrigger - teleporter - SetAnimation - close - 0.00
  • OnTrigger - sound_open_teleporter - PlaySound - 0.00
  • OnTrigger - close_teleporter - Enable - 0.00 
  • OnTrigger - sound_start_teleporter - PlaySound - 3.00 
  • OnTrigger - trigger_teleport - Enable - 5.50
These OutPuts are pretty self explanatory, I don't think I need to explain them...

8. Now, we need to create the room where you will be teleported

Place another model of the teleporter (only the model and the playerclip walls), and remove it's name. If you don't remove it, the "open" animation will play on the two models, but the second one don't need to be animated.

9. Place an info_teleport_destination in this second teleporter, and change it's name :
  • Name : guy_teleporter
This is where the player will be teleported.

10. Congratulations, you've got a pretty nice teleporting sequence !!

END

Notes :
  • Some steps have their own screenshots, don't forget to look at them
  • This sequence is really basic. You are totally free to add an env_fade, an env_shake (why not), using other sounds or models, or maybe making the sequence repeatable. For that, you have to use a trigger_multiple instead of a trigger_once, and make all the sequence at it's "initial state"
  • I hope that you have learn something and that it was not so hard to understand
  • Thanks for reading !!
Sign up to access this!
  • NvC_DmN_CH avatar
    NvC_DmN_CH username pic Joined 5y ago
    Ripe Supporter
    There
    Apocalyptic Flag Affiliation: Apocalyptic
    2,955 points Ranked 1763rd
    44 medals 4 legendary 9 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 1st Place - The Heatwave Skinning Contest Medal icon
    • Became a Ripe Supporter Medal icon
    • Submitted 20 Gamefiles Medal icon
    • 3rd Place - The
    NvC_DmN_CH avatar
    NvC_DmN_CH
    Apocalyptic Flag
    Affiliation
    Apocalyptic
    5y
    > **Posted by Foofinoo** > > **Posted by NvC_DmN_CH** > > > This tutorial is very helpful, interesting, good structured, nice to read, easy to understand! very very very good! :D > > > > But it'll be better if you make a prefab of the teleporters and link to it here, so if someone don't understand it (low chance, but...) to download the prefab and see himself how you made it. > > > > :) > > Yeah, it's a good idea the prefab, but the tutorials will be "useless" no ?? And create his own stuffs himself makes the guy always happy (when it works)... I don't really know if it's worth to create prefabs... Yes, i think too. But.. Example: You want to make a stargate map. Now you have to build the portal, make all the outputs, triggers, sprites, and other stuff. For novices, they are helpful, because they mignt not know the basics of VHE 4.1, or just aren't used the program very frequently. But... yes you are right, it makes me happy too, when i'm making the prefabs by myself.

    10

    DmN means DiaMoNd avatar
    Mantra
    DmN means DiaMoNd
    URL to post:
  • Foofinoo avatar
    Foofinoo username pic Joined 5y ago
    Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    12,278 points Ranked 387th
    30 medals 3 legendary 6 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    Foofinoo avatar
    Foofinoo
    Cell 1 Flag
    Affiliation
    Cell 1
    5y
    > **Posted by NvC_DmN_CH** > This tutorial is very helpful, interesting, good structured, nice to read, easy to understand! very very very good! :D > > But it'll be better if you make a prefab of the teleporters and link to it here, so if someone don't understand it (low chance, but...) to download the prefab and see himself how you made it. > > :) Yeah, it's a good idea the prefab, but the tutorials will be "useless" no ?? And create his own stuffs himself makes the guy always happy (when it works)... I don't really know if it's worth to create prefabs...
    Professional Crastination avatar
    Mantra
    Professional Crastination
    URL to post:
  • NvC_DmN_CH avatar
    NvC_DmN_CH username pic Joined 5y ago
    Ripe Supporter
    There
    Apocalyptic Flag Affiliation: Apocalyptic
    2,955 points Ranked 1763rd
    44 medals 4 legendary 9 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 1st Place - The Heatwave Skinning Contest Medal icon
    • Became a Ripe Supporter Medal icon
    • Submitted 20 Gamefiles Medal icon
    • 3rd Place - The
    NvC_DmN_CH avatar
    NvC_DmN_CH
    Apocalyptic Flag
    Affiliation
    Apocalyptic
    5y
    This tutorial is very helpful, interesting, good structured, nice to read, easy to understand! very very very good! :D But it'll be better if you make a prefab of the teleporters and link to it here, so if someone don't understand it (low chance, but...) to download the prefab and see himself how you made it. :)

    10

    • Thanks x 1
    DmN means DiaMoNd avatar
    Mantra
    DmN means DiaMoNd
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Creator
Foofinoo avatar Cell 1 Flag
Affiliation
Cell 1
Foofinoo username pic Joined 5y ago
Offline
Cell 1 Flag Affiliation: Cell 1
12,278 points Ranked 387th
30 medals 3 legendary 6 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
Writer

Submitter

Foofinoo avatar
Foofinoo username pic Joined 5y ago
Lost in time...
Cell 1 Flag Affiliation: Cell 1
12,278 points Ranked 387th
30 medals 3 legendary 6 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon

Foofinoo avatar
Foofinoo
Cell 1 Flag
Affiliation
Cell 1

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 3.4k Views
  • 3 Posts
  • 5ySubmitted
  • 1yModified
  • 1yUpdated

Scores

91 bScore
10 Rating

3 voters

Sign up to access this!

More from Submitter

More Mapping Tutorials

bcp.crwdcntrl.net tracking pixel