Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1.  
  2. cb_screenshot_transparency.Checked = True
  3. create screenshot folder if missing
  4. btn_screenshot_Click: step 0;
  5.  
  6. btn_screenshot_Click: step 1a;
  7.  
  8. write_flat_mat(c:\program files (x86)\steam\SteamApps\common\Team Fortress 2\tf\custom\TFMV\materials\models\TFMV\tfmv_bg.vmt ,0 0 0)
  9. Directory.Exists(Path.GetDirectoryName(vmt_path)) = True
  10. Writing c:\program files (x86)\steam\SteamApps\common\Team Fortress 2\tf\custom\TFMV\materials\models\TFMV\tfmv_bg.vmt
  11. WriteAllText OK
  12. tfmv_bg.vmt:
  13.  
  14. "UnlitGeneric"
  15. {
  16. "$color2" "{ 0 0 0 }"
  17. }
  18.  
  19. write_flat_mat() # EXIT
  20.  
  21. btn_screenshot_Click: step 2a;
  22.  
  23. refresh_hlmv()
  24. refresh_hlmv(): step 0
  25. refresh_hlmv(): step 1
  26. refresh_hlmv(): step 2
  27. refresh_hlmv() # END
  28.  
  29. btn_screenshot_Click: step 3a;
  30. screenshot_capture(False) # START
  31. screenshot_capture(): HLMV running = True
  32. screenshot_capture(): ShowWindow(proc_HLMV.MainWindowHandle, SW_SHOW);
  33. screenshot_capture(): ShowWindow(proc_HLMV.MainWindowHandle, SW_SHOW) OK
  34. screenshot_capture(): var placement = GetPlacement(proc_HLMV.MainWindowHandle);
  35. screenshot_capture(): placement = TFMV.QueueSettings+WINDOWPLACEMENT
  36. screenshot_capture(): placement.showCmd = currentFont
  37. Bitmap image = CaptureApplication(proc_HLMV.ProcessName);
  38. step 0;
  39. step 1;
  40. step 2;
  41. step 3;
  42. step 4;
  43. step 5;
  44. step 6;
  45. screenshot_capture(): return image;
  46. btn_screenshot_Click: step 4a;
  47.  
  48. write_flat_mat(c:\program files (x86)\steam\SteamApps\common\Team Fortress 2\tf\custom\TFMV\materials\models\TFMV\tfmv_bg.vmt ,255 255 255)
  49. Directory.Exists(Path.GetDirectoryName(vmt_path)) = True
  50. Writing c:\program files (x86)\steam\SteamApps\common\Team Fortress 2\tf\custom\TFMV\materials\models\TFMV\tfmv_bg.vmt
  51. WriteAllText OK
  52. tfmv_bg.vmt:
  53.  
  54. "UnlitGeneric"
  55. {
  56. "$color2" "{ 255 255 255 }"
  57. }
  58.  
  59. write_flat_mat() # EXIT
  60.  
  61. btn_screenshot_Click: step 5a;
  62.  
  63. refresh_hlmv()
  64. refresh_hlmv(): step 0
  65. refresh_hlmv(): step 1
  66. refresh_hlmv(): step 2
  67. refresh_hlmv() # END
  68.  
  69. btn_screenshot_Click: step 6a;
  70. screenshot_capture(False) # START
  71. screenshot_capture(): HLMV running = True
  72. screenshot_capture(): ShowWindow(proc_HLMV.MainWindowHandle, SW_SHOW);
  73. screenshot_capture(): ShowWindow(proc_HLMV.MainWindowHandle, SW_SHOW) OK
  74. screenshot_capture(): var placement = GetPlacement(proc_HLMV.MainWindowHandle);
  75. screenshot_capture(): placement = TFMV.QueueSettings+WINDOWPLACEMENT
  76. screenshot_capture(): placement.showCmd = currentFont
  77. Bitmap image = CaptureApplication(proc_HLMV.ProcessName);
  78. step 0;
  79. step 1;
  80. step 2;
  81. step 3;
  82. step 4;
  83. step 5;
  84. step 6;
  85. screenshot_capture(): return image;
  86. btn_screenshot_Click: step 7a;
  87. btn_screenshot_Click: step 8a;
  88. btn_screenshot_Click: step 9a;
  89. btn_screenshot_Click: step 10a;
  90. btn_screenshot_Click: step 11a;
  91. btn_screenshot_Click: step 12a;
  92. btn_screenshot_Click: step 13a;
  93. btn_screenshot_Click: step 14a;
  94. btn_screenshot_Click: step 15a;
  95.  
  96. write_flat_mat(c:\program files (x86)\steam\SteamApps\common\Team Fortress 2\tf\custom\TFMV\materials\models\TFMV\tfmv_bg.vmt ,255 255 255)
  97. Directory.Exists(Path.GetDirectoryName(vmt_path)) = True
  98. Writing c:\program files (x86)\steam\SteamApps\common\Team Fortress 2\tf\custom\TFMV\materials\models\TFMV\tfmv_bg.vmt
  99. WriteAllText OK
  100. tfmv_bg.vmt:
  101.  
  102. "UnlitGeneric"
  103. {
  104. "$color2" "{ 255 255 255 }"
  105. }
  106.  
  107. write_flat_mat() # EXIT
  108.  
  109. btn_screenshot_Click: step 16a;
  110.  
  111. refresh_hlmv()
  112. refresh_hlmv(): step 0
  113. refresh_hlmv(): step 1
  114. refresh_hlmv(): step 2
  115. refresh_hlmv() # END
  116.  
  117. btn_screenshot_Click: step 17a;
  118. btn_screenshot_Click: step 18a;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement