Fixing the point_devshot_camera function

The devshot camera system is a useful tool for mappers to document progress automatically without having to take screenshots manually every time they make a change. They don't work properly in Alien Swarm however as all images will just display the briefing screen with team selection rather than the level content itself.

This is fixable by modifying the compile options under the 'Advanced' setting.

-makedevshots -hijack -allowdebug -game $gamedir +map $file +sv_lan 1 +sv_cheats 1 +r_drawvgui 0 +asw_cam_marine_shift_enable 0

Breakdown on what each does:

  • -makedevshots tells the engine to create screenshots
  • +sv_cheats 1 turn on cheats
  • +r_drawvgui 0 turn off overlays -- this is the briefing screen
  • +asw_cam_marine_shift_enable 0 disables mouse movement changing the screen position and thus affecting the screenshots perspective.

The cameras Pitch/Yaw/Roll will still be ignored and the games top-down angled view will be maintained in your screenshots. So place them accordingly. Personally I prefer to keep the angle as the game default as that is what people will see when playing it versus a 1st person view from the ground.

Example Devshots:

Information about the Devshots camera system can be found on the Valve Dev Wiki.

https://developer.valvesoftware.com/

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

  • yaznee's Levels
    • P3: Peasant
      Points: 22,839
    • E1: Helper
      EF: 3
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    yaznee
    Posted 1 year ago

    Thats pretty cool, I did not know about this, cheers :)

    User Title
    Im Lost!

Credits

Submitter
Logan Dougall's Levels
  • P5: Peddler
    Points: 140,839
  • E6: Authority
    EF: 223
  • C5: Admin
  • A6: Elder
    Account Age: 7 years
(Creator/Co-creator)
Key Authors
Logan Dougall
Losing Hair
Special Thanks
Graceful
Providing Caffeine

Rating

?/10
Not yet rated.

Additional Info

Genre
Compiling, Mapping
Difficulty Level
Beginner

Stats

Post Count
1
ViewCount
978
Date Added
1 year ago
Date Modified
1 year ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share