Benchmark map


These maps will not work in multiplayer (-maxplayers 2 or more).

The final result

Tutorial a little work in progress.

- You want to see the images larger, you need right mouse click "Show picture"
- Try follow YouTube videos.
- Map source files (*.vmf) found end of each Step

And so it begins.


Make a simple scene of experimental purpose.
Practice to use the Hammer Cordon Tool, this allows you to skip the sky box making (Development purposes). Example picture
From here on, use these parameters when you compile the map.
-maxplayers 1 -windowed +sv_lan 1 +mp_autokick 0 +mp_freezetime 0 +sv_cheats 1 +developer 2
Map source file

Step 1


Place these three entities lower left corner and don't rotate them.
Edit point_viewcontrol, name it "view",
from flags leave "Infinite Hold Time" and "Freeze Player"

Edit logic_auto, add output "OnMapSpawn" "view,Enable,,0.1,-1"

Map source file


Step 2


Preparing the camera path.
  1. Add your first path_track, name it "path"
  2. Make more path_tracks, hold SHIFT-button and drag path_track ("path") to next point.
    And to continue the same with a new path_track ("path1"), etc, etc.
    Automated_track_creation
  3. Create small brush, change it to entity func_tracktrain, name it "train"
    Set this "First Stop Target" to "path"
  4. Edit point_viewcontrol, set this "Parent" to "train"
    Then, place camera close to the "train" or on the "train"
  5. Edit logic_auto, add new output
    "OnMapSpawn" "train,SetSpeedReal,80.0,5,-1"
Map source file

Step 3


Benchmark
Remember disable sv_cheats when you run benchmark, otherwise the train goes fast.
  1. Add entity point_servercommand, name it "servercmd"
  2. Edit logic_auto, add output
    "OnMapSpawn" "servercmd,Command,bench_start,3,-1"
  3. Edit the second to last path_track, add two output
    "OnPass" "servercmd,Command,bench_end,0,-1"
    "OnPass" "servercmd,Command,bench_showstatsdialog,0.1,-1"

  4. Edit the last path_track, add output
    "OnPass" "servercmd,Command,disconnect,0,-1"
Map source file

Finally

Launch your game with console enabled.
When you are menu, type in console input
maxplayers 1;map test
Or what ever is your map name. It's really important set player count to one.
Game will be work in singleplayer mode!

youtube playlist http://www.youtube.com/playlist?list=PLDz5Z5KigHNVaYV6UzulEPa4EGX3RC63v

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • |Bacardi|'s Levels
    • P1: Beggar
      Points: 410
    • C1: Member
    • A4: Graduate
      Account Age: 2 years
  • GhettoBBunny's Levels
    • P1: Beggar
      Points: 339
    • C2: Ripe Member
    • A2: Tenderfoot
      Account Age: 7 months

    I'm confused. What exactly is this meant to be?

    User Title
    Mapper / Beginner Skinner

Credits

Submitter
|Bacardi|'s Levels
  • P1: Beggar
    Points: 410
  • C1: Member
  • A4: Graduate
    Account Age: 2 years
|Bacardi| (Creator/Co-creator)
Key Authors
|Bacardi|
videos/tuto
Special Thanks
Valve
test_hardware

Rating

?/10
Not yet rated.

Additional Info

Genre
Other/Misc
Difficulty Level
Advanced

Stats

Post Count
2
ViewCount
236
Date Added
25 days ago
Date Modified
-

Share

Embed Code
Code to use:

More embeddable images

SubFeed