Advertisement
Guest User

doom_launcher.sh

a guest
Jun 9th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. iwad="doom2"
  4.  
  5. read -p "Enter map to play on (leave blank for stock): " map
  6. read -p "Enter IWAD required by map (leave blank for DOOM 2): " iwad
  7. read -p "Enter gameplay mod (smooth, babel, drifter, hideous - leave blank for stock): " gameplay
  8. read -p "Enter patches, additional cosmetic mods, or cvars (leave blank for none): " patch
  9.  
  10. if [ "$gameplay" = "smooth" ]
  11. then
  12. extra="smooth_lite.pk3 footsteps.pk3 fullscrn_huds.pk3 healthwarning.pk3 damnums.pk3 dmgdirov.pk3 targetspy.pk3 nashgore.pk3 cblood.pk3"
  13. elif [ "$gameplay" = "babel" ]
  14. then
  15. extra="babel.pk3 footsteps.pk3 fullscrn_huds.pk3 allclear_hm.pk3 damnums.pk3 dmgdirov.pk3 nashgore.pk3 cblood.pk3"
  16. elif [ "$gameplay" = "drifter" ]
  17. then
  18. extra="high_noon_drifter12c.pk3 healthwarning.pk3 damnums.pk3 dmgdirov.pk3 nashgore.pk3 cblood.pk3"
  19. elif [ "$gameplay" = "hideous" ]
  20. then
  21. extra="hideous_destructor.zip darkdoomz.zip ugly_as_sin.zip hd_balaclava.pk3 hd_nightvision.zip hd_title hd_suppressedsmg hd_insurgencysfx.pk3"
  22. elif [ -n $gameplay ]
  23. then
  24. extra="$gameplay footsteps.pk3 healthwarning.pk3 nashgore.pk3 cblood.pk3"
  25. else
  26. :
  27. fi
  28.  
  29. gzdoom -iwad $iwad -file $map $extra $patch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement