Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. #!/bin/bash
  2. declare -A PACK
  3.  
  4. # EDIT THESE
  5. #
  6. # choose which packs you want to get by uncommenting them
  7. PACK[afrf]=843425103
  8. #PACK[usaf]=843577117
  9. #PACK[gref]=843593391
  10. #PACK[saf]=843632231
  11.  
  12. # specify the location of steamcmd.sh
  13. STEAM_USER="flexgrip" # Your user name. Must have an arma 3 license
  14. STEAM_PASS="your_pass" # this is probably not needed once you login once
  15. STEAMCMD="/home/steam/Steam/steamcmd.sh +login"
  16. ###### STOP EDITING HERE ######
  17.  
  18. GRAB_THESE=""
  19.  
  20. for V in "${PACK[@]}";
  21. do
  22. GRAB_THESE+=" +workshop_download_item 107410 $V "
  23. done
  24.  
  25. $STEAMCMD $STEAM_USER $STEAM_PASS "+force_install_dir /tmp/" $GRAB_THESE " +quit"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement