SHARE
TWEET

Med's Config (Zandronum/GZDoom)

Medicris Sep 10th, 2013 (edited) 4,258 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ---------------------------------------------------------------------------------------------------------------
  2. // Best viewed with word wrap disabled and monospace fonts.
  3. // ---------------------------------------------------------------------------------------------------------------
  4. // Personal config for automatic setup of modern WASD controls in modern source ports. Also, info & handy scripts!
  5. // Geared for Zandronum, but also works with ZDoom and GZDoom with a few minor tweaks explained below.
  6. //
  7. // Ver. 14/JUN/2016 | http://pastebin.com/3G0a4jJC
  8. // ---------------------------------------------------------------------------------------------------------------
  9. // How to Use:
  10. // 1. Hit the Download button above, or copy and paste everything into Notepad. Tweak any settings you like.
  11. // 2. Rename the file to "autoexec.cfg", and put it in your Zandronum/ZDoom/GZDoom folder.
  12. // 3. Done! When the game starts up, all commands listed will run ("comment marks" (//) skips the rest of a line).
  13. // ---------------------------------------------------------------------------------------------------------------
  14. // Quick Tips:
  15. // 1. Z& and ZDoom use different commands for chatting. Adjust accordingly below.
  16. // 2. Tweak your "mouse_sensitivity" setting in-game through the console (~). Since this way has no limits
  17. //      or "notches" like the sliders do, you can tune as finely as you want (You can type in anything like
  18. //      "mouse_sensitivity 3.14159").
  19. // Note: You can use your preferred Quake or Source Engine sensitivity setting here, it'll work the exact same.
  20. // 3. If the size of your ingame text is too small or too large, scroll down. There are settings called
  21. //      "con_scaletext" and "con_virtualheight"/width you can mess with.
  22. // 4. In the External section near the bottom, there's a cvar called "screenshot_dir" that tells the game
  23. //      where to save screenshots. If left blank, it'll just save them in the game folder.
  24. // ---------------------------------------------------------------------------------------------------------------
  25.  
  26. // ---------------------------------------------------------------------------------------------------------------
  27. // Keybinds
  28. // ---------------------------------------------------------------------------------------------------------------
  29. // Modify your controls here if desired. This layout should work for the majority of people and mods.
  30. // If you really want to keyboard-only, you can turn with the arrow keys and bind downarrow to turn180. It works.
  31.  
  32. // Comment these lines if used with Zandronum.
  33. //bind enter messagemode
  34. //bind r +reload
  35. //bind mouse4 +zoom
  36.  
  37. // Comment these lines if used with GZDoom.
  38. bind enter say
  39. bind \ say_team
  40. bind pgup vote_yes
  41. bind pgdn vote_no
  42.  
  43. unbind capslock
  44. bind mouse1 +attack
  45. // bind mouse2 +altattack
  46. // bind mouse2 +use                         // Players not interested in mods may opt for mouse2 to use or jump.
  47. // bind mouse2 +jump2
  48. bind mwheelup weapnext
  49. bind mwheeldown weapprev
  50. bind e +use
  51. bind w +forward
  52. bind a +moveleft
  53. bind s +back
  54. bind d +moveright
  55. bind shift +speed
  56. //bind space +jump2                           // Now doubles as a fly-up key. Commented by default for laptop keyboarders by request.
  57. bind ctrl +crouch2                          // Now doubles as a fly-down key.
  58. bind z invprev
  59. bind c invnext
  60. bind x invuse
  61. bind tab +showscores
  62. bind q togglemap
  63. bind 1 "slot 1"
  64. bind 2 "slot 2"
  65. bind 3 "slot 3"
  66. bind 4 "slot 4"
  67. bind 5 "slot 5"
  68. bind 6 "slot 6"
  69. bind 7 "slot 7"
  70. bind 8 "slot 8"
  71. bind 9 "slot 9"
  72. bind 0 "slot 0"
  73. bind ` toggleconsole
  74. bind f1 menu_help
  75. bind f2 menu_save
  76. bind f3 menu_load
  77. bind f4 menu_options
  78. bind f5 menu_player
  79. bind f6 quicksave
  80. bind f7 capfpson                            // Toggles the 35fps framerate cap.
  81. bind f8 freelookoff                         // Toggles freelook and autoaim between classic and newschool.
  82. bind f9 quickload
  83. bind f10 screenshot
  84. bind f11 hudscaleon                         // Toggles HUD scaling. Useful if you play mods with custom HUDs.
  85. bind f12 spynext
  86. bind - sizedown
  87. bind = sizeup
  88. bind kp+ statusreport                       // Says health, ammo and armour in chat. Useful for ZDoom multiplay.
  89. bind kp* in_restartdin                      // Press this when the mouse dies, as it often does in Zandronum 2.0.
  90. bind del kill                               // Suicide key for various purposes, like pistol starting maps.
  91. doublebind del spectate                     // Press the key twice to join spectators in Zandronum.
  92.  
  93. mapbind uparrow +am_panup
  94. mapbind downarrow +am_pandown
  95. mapbind leftarrow +am_panleft
  96. mapbind rightarrow +am_panright
  97. mapbind g am_togglegrid
  98. mapbind - +am_zoomout
  99. mapbind = +am_zoomin
  100. mapbind f am_togglefollow
  101. mapbind m am_setmark
  102. mapbind backspace am_clearmarks
  103.  
  104.  
  105. // ---------------------------------------------------------------------------------------------------------------
  106. // Mouse settings
  107. // ---------------------------------------------------------------------------------------------------------------
  108.  
  109. //mouse_sensitivity 2.27                    // Commented out by default for public. Uncomment to force on startup.
  110.                                               // Adjust to preference if you do. Will match Quake/Source settings.
  111.                                               // 2.27 = 9"(22.9cm) @ 800dpi
  112.  
  113. cl_oldfreelooklimit 0                       // If 1, clamps vertical aim in Software, limiting the warping effect.
  114. cl_respawnonfire 0                          // Disable respawning with fire, which alerts monsters. Press "use".
  115. in_mouse 0                                  // Mouse input method. 0 = Auto, 1=WinAPI, 2=DirectInput, 3=Raw.
  116. m_use_mouse 2                               // Automatically enables "touchscreen-like" menu control.
  117. lookstrafe 0                                // Keep off.
  118. m_filter 0                                  // Keep off, always.
  119. m_forward 0                                 // Disables forward/back movement from the mouse when freelook is off.
  120. m_noprescale 0                              // Makes for wonky vertical movement. Keep off.
  121. m_side 1.00                                 // Mouse strafing when holding +strafe.
  122. smooth_mouse 0                              // def. 0. If 1, filters mouse input like keyboard aim.
  123. sv_smartaim 2                               // 2 = Autoaim targets monsters before shootables and friendlies.
  124. use_mouse 1                                 // Duh
  125. m_yaw 0.125                                 // def. 1. These values scale mouse movement to Quake/CS levels.
  126. m_pitch 0.125
  127.  
  128. // Extra Mouse Info
  129. // ------------------------------------
  130. //    The universal measure of mouse sensitivity is cm/360°: the distance of mouse movement to turn 1 full circle.
  131. //    Since mice and games differ, inches or cm/360° is considered your true sensitivity.
  132. //    It's beneficial to keep consistent sensitivity across your games.
  133. //
  134. //    Lower sensitivities (6"> or 15cm>) are used and proven by better Quake players. <6" is usually "too high".
  135. //      Most Quake pros use a range of 25-32cm (~10-12"). CS pros who don't need to spin around, ~40cm (~16").
  136. //
  137. //    Mouse acceleration nulls this if on ("smooth_mouse 1").
  138. //      Mouse accel is undesirable in FPS games because it adjusts your mouse sensitivity on the fly based on how
  139. //      quickly you're moving the mouse across your mouse pad. This leads to inconsistent results when flicking
  140. //      and makes it difficult to improve.
  141. //
  142. //    Useful mouse info and utilities: (though for Quake/Source games, can also apply to all shooters)
  143. // d) Calculate cm or "/360° for this config/Quake/Source games:    http://www.funender.com/quake/mouse/index.html
  144. // a) Windows Accel Fix: http://donewmouseaccel.blogspot.co.nz/2010/03/markc-windows-7-mouse-acceleration-fix.html
  145. // b) Ultimate Quake Live Guide:                   http://steamcommunity.com/sharedfiles/filedetails/?id=315482318
  146. // c) CS Mouse Guide:   http://counterstrikesourcetactics.blogspot.co.uk/2008/02/css-mouse-optimization-guide.html
  147.  
  148.  
  149. // ---------------------------------------------------------------------------------------------------------------
  150. // Multiplayer and Network Settings
  151. // ---------------------------------------------------------------------------------------------------------------
  152.  
  153. handicap 0                                  // Health subtraction on spawn.
  154. cl_connectsound 1                           // If 1, makes a sound when someone connects. Might be annoying.
  155. cl_ticsperupdate 2                          // Z& def. 3, ZDaemon def. 2. Packet send/recieve interval in tics.
  156. cl_noprediction 0                           // If 1, disables lag compensation ("Unlagged").
  157. cl_hidecountry 1                            // Hides your country on connect. (Z& only, no effect on servers that
  158.                                               // disable hiding of countries)
  159. disableautosave 0                           // 0 = Saves entering a new level and whenever the level scripts it.
  160.                                               // 1 = Autosave only when the level scripts it.
  161.                                               //   For pistol start playthroughs, this is probably best since
  162.                                               //   starting the map is as simple as pressing del, then use/fire.
  163.                                               // 2 = Never ever autosave.
  164.  
  165. cl_allycolor "ff ff ff"                     // If cl_overrideplayercolors = 1, allies will be bright white.
  166. cl_enemycolor "40 cf 00"                    // If cl_overrideplayercolors = 1, enemies will be default Doom green.
  167. cl_overrideplayercolors 0                   // If 1, makes all players take colours specified above.
  168.  
  169.  
  170. // ---------------------------------------------------------------------------------------------------------------
  171. // Control and Display settings
  172. // ---------------------------------------------------------------------------------------------------------------
  173.  
  174. blood_fade_scalar 1                         // def. 0.5, but the vanilla Doom compat settings force set to 1.
  175. cl_drawcoopinfo 1                           // If 1, draws teammate statuses on the sides of your screen (Z& only)
  176. cl_identifytarget 1                         // Forces display of names, since some mods like WDI overwrite this.
  177. cl_run 1                                    // If 1, "always run" on.
  178. cl_showlargefragmessages 0                  // If 1 in Z&, shows a largefont message on kill/death.
  179. cl_showweapnameoncycle 1                    // If 1, draws the name of the weapon when scrolling through weapons.
  180. cl_stfullscreenhud 0                        // If 1, uses the "Skulltag" fullscreen HUD, which scales awfully.
  181. con_alpha 1.0                               // def. 0.75. Console opacity.
  182. crosshaircolor "ff ff ff"                   // Adjust to preference. No effect if crosshairhealth = 1.
  183. crosshairgrow 0                             // If 1, size-pulses the crosshair upon item pickup like Q3/UT99.
  184. displaynametags 3                           // Shows nametags for both weapons and inventory items. (G/ZDoom only)
  185. hud_althudscale 2
  186. hud_ammo_red 10
  187. hud_ammo_yellow 25
  188. hud_armor_green 100
  189. hud_armor_red 33
  190. hud_armor_yellow 66
  191. hud_health_green 100
  192. hud_health_red 33
  193. hud_health_yellow 66
  194. hud_showitems 0
  195. hud_showmonsters 0
  196. hud_showsecrets 0
  197. hud_showstats 1
  198. hudcolor_ltim 8
  199. hudcolor_statnames 6
  200. hudcolor_stats 3
  201. hudcolor_time 6
  202. hudcolor_titl 10
  203. hudcolor_ttim 5
  204. hudcolor_xyco 3
  205. k_mergekeys 0                               // If 1, will treat buttons like the two CTRL keys as one single key.
  206. //movebob 0.25                                // def. 0.25.
  207.                                               //0.1 = Less camera bouncing, gunbob normal but dependent on speed
  208.                                               //0.01 - 0.025 = No camerabob, Source-like gun movement
  209.                                               //0.000 = Quakepro
  210. nametagcolor 2                              // Red nametags.
  211. stillbob 0.0                                // Slow camera movement when still. ZDwiki says this sims breathing.
  212. switchonpickup 1                            // 1 = Only autoswitch to better weapon, 2 = Force switch, 0 disables.
  213. vid_fps 0                                   // If 1, displays FPS in upper corner.
  214. wi_noautostartmap 0                         // Causes severe sync problems online in GZDoom. Leave off.
  215. wi_percents 0                               // If 1, uses numbers instead of percents in the Level Complete screen
  216.  
  217.  
  218. // Automap options
  219. // ------------------------------------
  220.  
  221. am_overlay 0                                // 0 = Normal map, 1 = overlay + normal, 2 = only overlay.
  222.  
  223. am_drawmapback 0                            // If 1, draws image behind the automap on wads that support them.
  224. am_map_secrets 1                            // If 1, uses a special colour for "secret" sectors.
  225. am_rotate 0                                 // If 1, rotates the automap around you. Set to 0 for a fixed automap.
  226. am_showitems 1                              // If 1, shows number of "special" pickups on the map.
  227. am_showkeys 1                               // If 1, marks keys on the map when using the IDDT cheat.
  228. am_showmonsters 1                           // If 1, shows number of monsters in the map.
  229. am_showsecrets 1                            // If 1, shows number of secrets found and total in the map.
  230. am_showtime 1                               // If 1, shows time spent on map.
  231. am_showtotaltime 1                          // If 1, shows time spent playing.
  232. am_textured 0                               // If 1, enables texturing of sectors on the automap. (Zdoom only)
  233.  
  234. // Sectors
  235. am_backcolor "00 00 00"
  236. am_cdwallcolor "09 14 06"                   // Two-sided lines that have a different ceiling height on each side.
  237. am_efwallcolor "43 d3 5e"                   // 3D floor boundaries.
  238. am_fdwallcolor "1f 43 17"                   // Two-sided lines that have a different floor height on each side.
  239. am_interlevelcolor "ff 6a 00"               // Level exit.
  240. am_intralevelcolor "ff ff ff"               // Teleport.
  241. am_lockedcolor "56 56 56"                   // Unknown key locked door/switch.
  242. am_notseencolor "16 16 16"
  243. am_secretsectorcolor "cc 28 cc"
  244. am_secretwallcolor "cc 28 cc"
  245. am_specialwallcolor "66 00 00"              // Action-special (non-door) trigger lines.
  246. am_tswallcolor "20 20 20"                   // Cheat-only, lines that don't have different ceiling/floor heights.
  247. am_wallcolor "4b 9f 3f"                     // One-sided walls.
  248.  
  249. // Things
  250. am_thingcolor "30 30 30"
  251. am_thingcolor_friend "5f cf 57"
  252. am_thingcolor_item "53 53 ff"
  253. am_thingcolor_monster "ff 6a 00"
  254.  
  255. // Misc.
  256. am_gridcolor "10 10 10"
  257. am_xhaircolor "d0 d4 e0"
  258. am_yourcolor "ff ff ff"
  259.  
  260. // Overlay Map
  261. am_ovotherwallscolor "00 88 44"
  262. am_ovtelecolor "ff ff ff"
  263. am_ovthingcolor "e8 88 00"
  264. am_ovthingcolor_friend "e8 88 00"
  265. am_ovthingcolor_item "e8 88 00"
  266. am_ovthingcolor_monster "e8 88 00"
  267. am_ovunseencolor "00 22 6e"
  268. am_ovwallcolor "00 ff 00"
  269. am_ovyourcolor "fc e8 d8"
  270.  
  271.  
  272. // ---------------------------------------------------------------------------------------------------------------
  273. // Message settings
  274. // ---------------------------------------------------------------------------------------------------------------
  275. // List of TEXTCOLO colour numbers:
  276. // 0 brick red   | 1 tan         | 2 gray        | 3 green       | 4 brown       | 5 gold        | 6 red         |
  277. // 7 blue        | 8 orange      | 9 white       | 10 yellow     | 11 default    | 12 black      | 13 light blue |
  278. // 14 cream      | 15 olive      | 16 dark green | 17 dark red   | 18 dark brown | 19 purple     | 20 dark gray  |
  279. // 21 cyan       |
  280.  
  281. chat_substitution 1                         // If 1, allows chat shortcuts such as $health, $weapon, and whatnot.
  282. con_midtime 7                               // Time in seconds for messages to stay before fading.
  283. con_notifytime 7                            // Time in seconds for messages to scroll away.
  284. con_scaletext 1                             // Z&: Makes text bigger. ZDoom: 1 = DOS Doom size, 2 = Double size.
  285. con_scaletext_usescreenratio 1              // If 1, uses entire screen for text rather than a centered 4:3 block.
  286. con_virtualheight 320                       // Adjust width and height for your aspect ratio and tastes. Suggest:
  287. con_virtualwidth 500                          // 500x320 (general), 428x320 (4:3), 512x320 (16:10), 570x360 (16:9)
  288. msg 0                                       // Minimum message priority level. Basically, 1 = No item pick msgs.
  289. msg0color 11                                // Item pickup colour
  290. msg1color 5                                 // Obituary colour
  291. msg2color 2                                 // Critical messages (like server messages)
  292. msg3color 3                                 // Chat
  293. msg4color 16                                // Teamchat
  294. msgmidcolor 2                               // Center HUD messages
  295. msgmidcolor2 2                              // Global center HUD messages
  296. secretmessage "Found a secret area!"        // Because Doom64/Quake
  297. show_messages 1                             // Dur
  298. show_obituaries 1                           // Death messages.
  299.  
  300.  
  301. // ---------------------------------------------------------------------------------------------------------------
  302. // Graphics settings
  303. // ---------------------------------------------------------------------------------------------------------------
  304.  
  305. addrocketexplosion 1                        // If 1, uses brighter, additive blending for rocket explosions.
  306. cl_maxdecals 128                            // def. 1024.
  307. r_clearbuffer 1                             // Changes how the game deals with Hall of Mirror errors. See wiki.
  308. r_drawvoxels 0                              // Particularly because GZDoom handles voxels abysmally.
  309. r_maxparticles 2000                         // def. 4000.
  310. r_mirror_recursions 1                       // Enables mirrors, but no recursive reflections. 0 = no mirrors.
  311. r_skyboxes 1                                // If 0, disables 3D skyboxes, which can provide serious FPS boosts.
  312. telezoom 1                                  // If 1, uses zoom effect when teleporting. (G/ZDoom only)
  313. transsouls 1.0                              // Lost Soul transparency. Values are clamped to 0.5 through 1.0.
  314. vid_attachedsurfaces 0                      // If you see patches of pure white/black, set this to 1.
  315. vid_cursor "none"                           // General cursor. (G/ZDoom only)
  316. vid_hwaalines 0                             // If 1, hardware AA of automap lines. Preferential, some like it off.
  317. vid_maxfps 70                               // ZDoom only. Reduce excessive hardware usage without vsync.
  318. vid_noblitter 1                             // Only turn this to 0 if you encounter video problems in windowed.
  319. vid_palettehack 0                           // If 1, can help with buggy video drivers. Otherwise, keep off.
  320. vid_refreshrate 0                           // If not 0, overrides Windows auto RR selection in fullscreen mode.
  321. vid_vsync 0                                 // 1 introduces a variable amount of input lag. Try vid_maxfps:
  322.                                               // to your refresh rate + 2 (60Hz monitor + 2 = 62fps),
  323.                                               // or your refresh rate * 1.25 (60hz monitor * 1.25 = 75fps)
  324.                                               // to minimize tearing if it bothers you.
  325.  
  326.  
  327. // OpenGL options
  328. // ------------------------------------
  329.  
  330. gl_billboard_mode 1                         // 0 = sprites stand on end, 1 = sprites tilt up/down to face camera.
  331. gl_dynlight_shader 1                        // Lights look nice with this on. If it lags or bugs out, turn off.
  332. gl_enhanced_nightvision 0                   // If 1, Infrared powerup tints the screen green & highlights sprites.
  333. gl_fogmode 1                                // 0 = No fog, 1 = Standard fog, 2 = Radial fog.
  334. gl_fuzztype 0                              
  335. gl_interpolate_model_frames 1               // If 1, interpolates frames in models. 0 is basically Quake 1 mode.
  336. gl_light_ambient 20                         // def. 20. Minimum sector lighting level, in increments of 5.
  337. gl_lightmode 2                              // Sector lighting mode. 2 and 8 fall back to 3 if there's no shaders.
  338.                                               // You may need to use gl_fog_shader 0 if graphics card is old.
  339.                                               // 0 = Standard: Standard OpenGL formula. Far areas fade to black.
  340.                                               // 1 = Bright: Uses a weak fading keeping things relatively bright.
  341.                                               // 2 = Doom: Most accurate option Zandronum 1.3 has.
  342.                                               // 3 = Dark: Same as Doom, minus the close-up brightening shader.
  343.                                               // 4 = Legacy: Emulates Legacy 1.42 OpenGL renderer. Very bright.
  344.                                               // 8 = Software (GZDoom only): Slowest, but most accurate. Emulates
  345.                                                 // equations id used to generate Doom's colormaps and lighting.
  346. gl_lights_intensity 0.75                    // def. 1.
  347. gl_lights_size 1.00                         // def. 1.
  348. gl_particles_style 0                        // def. 2. Particle style. 0 = square, 1 = round, 2 = blurred.
  349. gl_precache 1                               // Precaches GL textures into memory, preventing load stuttering.
  350. gl_render_precise 1                         // If 0, will render faster but with white pixels everywhere.
  351. gl_sprite_blend 1                           // 1 fades out edges of filtered sprites in GL.
  352. gl_spriteclip 3                             // Sprite clipping mode. 0 = Never, 1 = Always, 2 = Smart, 3 = Smarter
  353. gl_trimsprites 0                            // 1 trims all transparent borders of sprites in order to save memory.
  354. gl_weaponlight 10                           // def. 8. Strength of sector brightening when shooting.
  355.  
  356.  
  357. // ---------------------------------------------------------------------------------------------------------------
  358. // Sound and music settings
  359. // ---------------------------------------------------------------------------------------------------------------
  360.  
  361. cl_soundwhennotactive 1                     // If 1, suppresses sound output when game isn't focused/fullscreen.
  362. mod_interp 0                                // Default. 0 = no interpolation, 1 = linear and 2 = cubic.
  363. snd_channels 32                             // def. 32. More channels will need more CPU usage.
  364. snd_hrtf 1                                  // Basically 3D sound.
  365. snd_resampler spline                        // def. linear. Valid values: nointerp, linear, cubic, spline.
  366. snd_waterlp 150.0                           // def. 250, but that doesn't play nice with loud gunfire.
  367. snd_waterreverb 1                           // Default.
  368. fluid_chorus 1
  369. fluid_gain 0.5                              // def. 0.5. Raise or lower if too quiet or distorted.
  370. fluid_chorus_level 1.0                      // def. 1.0.
  371. fluid_reverb 0
  372. fluid_reverb_damping 0.20                   // def. 0.23.
  373. fluid_reverb_level 0.40                     // def. 0.57.
  374. fluid_reverb_roomsize 0.40                  // def. 0.61.
  375. fluid_reverb_width 0.60                     // def. 0.76.
  376. //fluid_samplerate 44100                      // def. 0.
  377. fluid_voices 128                            // def. 128.
  378. timidity_chorus 1
  379. timidity_frequency 41100                    // Higher frequencies require stronger CPUs. Default: 22050
  380. timidity_mastervolume 0.80                  // Helps reduce clipping.
  381. timidity_pipe 150                           // If 0, timidity uses directsound, but is unaffected by music volume.
  382. timidity_reverb 0
  383. timidity_stereo 1                           // Duh
  384.  
  385. timidity_exe
  386. // Location of the external MIDI synthesizer, if desired.
  387.  
  388. fluid_patchset "C:\OneDrive\SNDFONTS\8mbgm_enhanced18.sf2"
  389. // Location of soundbank to use with Fluidsynth.
  390.  
  391. gus_patchdir "C:\DOOM\GRAVIS"
  392. midi_config "C:\DOOM\GRAVIS\timid_d2.cfg"
  393. // For loading custom Gravis Ultrasound patches (ZDoom only).
  394.  
  395.  
  396. // ---------------------------------------------------------------------------------------------------------------
  397. // EXTERNAL FILE SETTINGS
  398. // ---------------------------------------------------------------------------------------------------------------
  399.  
  400. demo_compress 1                             // Compresses recorded demos.
  401. png_gamma 1                                 // Uses a gamma of 1 for screenshots.
  402. png_level 7                                 // PNG compression: from fastest (0) to smallest filesize (9).
  403. screenshot_quiet 0                          // Displays screenshot message.
  404. screenshot_type png                         // Duh
  405.  
  406. screenshot_dir
  407. // Location to place taken screenshots.
  408.  
  409.  
  410. // ---------------------------------------------------------------------------------------------------------------
  411. // Optional Scripts
  412. // ---------------------------------------------------------------------------------------------------------------
  413.  
  414. // Speedflying/swimming
  415. // ------------------------------------
  416. alias +jump2 "+jump; +moveup"
  417. alias -jump2 "-jump; -moveup"
  418. alias +crouch2 "+crouch; +movedown"         // Doubles vertical movement speed in airborne and water environments.
  419. alias -crouch2 "-crouch; -movedown"
  420.  
  421. // Zoom
  422. // ------------------------------------
  423. alias zoom1x "r_drawplayersprites 1; fov 90; m_pitch 0.125; m_yaw 0.125; alias zoomtoggle zoom2x"
  424. alias zoom2x "r_drawplayersprites 0; fov 45; m_pitch 0.0625; m_yaw 0.0625; alias zoomtoggle zoom4x"
  425. alias zoom4x "r_drawplayersprites 0; fov 22; m_pitch 0.0313; m_yaw 0.0313; alias zoomtoggle zoom1x"
  426. alias +zoomhold2x "zoom2x"
  427. alias -zoomhold2x "zoom1x"
  428. alias +zoomhold4x "zoom4x"
  429. alias -zoomhold4x "zoom1x"
  430. alias zoomtoggle "zoom2x"
  431.  
  432. // Setting Toggle Hotkeys
  433. // ------------------------------------
  434. alias capfpson "cl_capfps 1; echo Framerate Capped (35fps).; rebind capfpsoff"
  435. alias capfpsoff "cl_capfps 0; echo Framerate Uncapped.; rebind capfpson"
  436. alias freelookon "freelook 1; autoaim 0; echo Freelook Enabled.; rebind freelookoff"
  437. alias freelookoff "freelook 0; autoaim 5000; centerview; echo Freelook Disabled.; rebind freelookon"
  438. alias hudscaleon "hud_scale 1; echo HUD scaled to screen.; rebind hudscaleoff"
  439. alias hudscaleoff "hud_scale 0; echo HUD scaling off.; rebind hudscaleon"
  440.  
  441. // Demo skip shortcuts
  442. // ------------------------------------
  443. alias demo_skip_30s "demo_skiptics 2100; echo \\cjDemo: Skipped thirty (30) seconds."
  444. alias demo_skip_1m "demo_skiptics 2100; echo \\cjDemo: Skipped one (1) minute."
  445. alias demo_skip_5m "demo_skiptics 10500; echo \\cjDemo: Skipped five (5) minutes."
  446. alias demo_skip_10m "demo_skiptics 105000; echo \\cjDemo: Skipped ten (10) minutes."
  447. alias demo_skip_20m "demo_skiptics 210000; echo \\cjDemo: Skipped twenty (20) minutes."
  448.  
  449. // Clean screenshot [1]
  450. // ------------------------------------
  451. alias autocleanscreenshot "hidescreen; wait 18; playsound misc/chat2; screenshot; wait 18; resetscreen"
  452. alias hidescreen "r_drawplayersprites 0; screenblocks 12; cl_drawcoopinfo 0; show_messages 0"
  453. alias resetscreen "r_drawplayersprites 1; screenblocks 11; cl_drawcoopinfo 1; show_messages 1"
  454.  
  455. // Testing Alias
  456. // ------------------------------------
  457. alias quickcheat "god; notarget; noclip; give weapons; give ammo; give health; give allmap"
  458.  
  459. // Status Report Bind (Mostly for ZDoom netplay which doesn't have coopinfo)
  460. // ------------------------------------
  461. alias statusreport "say \"HP:$health AP:$armor $weapon:$ammocount\""
  462.  
  463. // Shortcuts for Zandronum 2.0 in_mouse bug
  464. // ------------------------------------
  465. alias in_restartraw "echo Reinitializing mouse (RawInput); in_mouse 2; wait 5; use_mouse 0; wait 5; use_mouse 1; in_mouse 3"
  466. alias in_restartdin "echo Reinitializing mouse (DirectInput); in_mouse 3; wait 5; use_mouse 0; wait 5; use_mouse 1; in_mouse 2"
  467.  
  468. // Shortcut for hideous destructor footsteps.pk3
  469. // ------------------------------------
  470. alias fs_hd "fs_delay_mul 0.5; rebind fs_normal; echo HD FS on"
  471. alias fs_normal "fs_delay_mul 0.75; rebind fs_hd; echo HD FS off"
  472.  
  473. // Just some extra predefined colours
  474. // ------------------------------------
  475. alias colordefault "color 40cf00"
  476. alias colorred "color ef0000"
  477. alias colordarkred "color bf0000"
  478. alias colorwhite "color f0f0f0"
  479. alias colortan "color bf8f4f"
  480. alias colorlighttan "color cf9f5f"
  481. alias colordarkbrown "color 8f5f2f"
  482.  
  483. // Ssshhh
  484. // ------------------------------------
  485. alias murderbeam "summon spectrallightningbigball1; summon spectrallightningspot"
  486.  
  487. alias murderbeam2 "summon arachnotronplasma; wait 2; summon plasmaball; wait 2; summon arachnotronplasma; wait 2; summon plasmaball; wait 2; summon arachnotronplasma; wait 2; summon plasmaball"
  488.  
  489. alias murderbeam2nonstop "summon arachnotronplasma; wait 2; summon plasmaball; wait 2; summon arachnotronplasma; wait 2; summon plasmaball; wait 2; summon arachnotronplasma; wait 2; summon plasmaball; wait 2; murderbeam2nonstop"
  490.  
  491.  
  492. // ---------------------------------------------------------------------------------------------------------------
  493. // Script binds to ingame Controls menu (Zandronum only)
  494. // ---------------------------------------------------------------------------------------------------------------
  495.  
  496. addkeysection "Autoexec.cfg: Actions" autoexecactions
  497.     addmenukey "2x/4x Zoom Toggle" zoomtoggle
  498.     addmenukey "2x Zoom Hold" +zoomhold2x
  499.     addmenukey "4x Zoom Hold" +zoomhold4x
  500.     addmenukey "Jump + Fly Up" +jump2
  501.     addmenukey "Crouch + Fly Down" +crouch2
  502.  
  503. addkeysection "Autoexec.cfg: CVAR Toggles" autoexectoggles
  504.     addmenukey "Freelook Toggle" freelookoff
  505.     addmenukey "FPS Cap Toggle" capfpson
  506.     addmenukey "HUD Scaling Toggle" hudscaleon
  507.  
  508. addkeysection "Autoexec.cfg: Other" autoexecother
  509.     addmenukey "Clean Screenshot" autocleanscreenshot
  510.     addmenukey "Reconnect" reconnect
  511.     addmenukey "Suicide" kill
  512.     addmenukey "Tell Status" statusreport
  513.  
  514.  
  515. // ---------------------------------------------------------------------------------------------------------------
  516. // Mod Preferences
  517. // ---------------------------------------------------------------------------------------------------------------
  518.  
  519. // Samsara
  520. samsara_cl_printpickup 0
  521. samsara_cl_pickupmode 2
  522. samsara_cl_moremessages 1
  523. samsara_cl_vanilladoom 1
  524. samsara_permault 1
  525. samsara_permaquad 1
  526.  
  527. // Donutsteele
  528. dst_cl_toaster 1
  529.  
  530. // DRPG
  531. drpg_toaster 1
  532. drpg_module_show 1
  533. drpg_aug_alwaysshow 0
  534. drpg_stats_alwaysshow 1
  535. drpg_skill_wheelspeed 16
  536. drpg_healthbars 1
  537. drpg_damagenumbers_hud 1
  538. drpg_auto_heal 1
  539.  
  540. // Smooth Doom
  541. bbtoggle 0 // 1 = Bob weapon while shooting
  542. bstoggle 0 // Extra chunky
  543. catoggle 2 // Enable all casings
  544. ggtoggle 0 // SSG gibbing
  545. gotoggle 0 // P.E. gibs
  546. mdtoggle 1 // Death variants
  547. pftoggle 1 // Fancy bulletpuffs
  548. totoggle 1 // Fancy torches
  549. dctoggle 0 // Decoration variants
  550. vatoggle 1 // Monster variants
  551. ritoggle 0 // Zombieman rifle drop
  552. retoggle 1 // D64-style visual recoil
  553. sptoggle 1 // Plasma sparks
  554.  
  555. // Footsteps
  556. fs_delay_mul 0.75 // Hideous Destructor is nice with 0.5.
  557. fs_volume_mul 1.45
  558.  
  559.  
  560. // ---------------------------------------------------------------------------------------------------------------
  561. // Display successful load and print hotkey help in console.
  562. // ---------------------------------------------------------------------------------------------------------------
  563. echo "\cd======= AUTOEXEC 14/JUN/2016 OK. ======="
  564. echo "\cf== Custom Hotkeys: =="
  565. echo "\cfF1 = Help Screen"
  566. echo "\cfF2 = Save"
  567. echo "\cfF3 = Load"
  568. echo "\cfF4 = Options"
  569. echo "\cfF5 = Player Setup"
  570. echo "\cfF6 = Quicksave"
  571. echo "\cfF7 = Toggle FPS lock"
  572. echo "\cfF8 = Toggle Freelook"
  573. echo "\cfF9 = Quickload"
  574. echo "\cfF10 = Screenshot"
  575. echo "\cfF11 = Toggle HUD scaling"
  576. echo "\cfF12 = Spectate player"
  577. echo "\cfKeypad * = Fix Zandronum's buggy mouse when it breaks"
  578. echo "\cfDelete = Kill self, doubletap to spectate"
  579. echo "\cf== Happy fragging! =="
  580.  
  581. // Credits:
  582. // [1] Zdoom Wiki for the basic clean-screenshot scripts.
  583. //          http://zdoom.org/wiki/Screenshot
RAW Paste Data
Top