A team game with an emphasis on movement (with no shooting), inspired by Overwatch and Zineth
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
404 B

  1. #!/bin/sh
  2. count=$1
  3. if [ ! -z "$count" ]; then
  4. shift # Only do this if arg exists (fixes error)
  5. count=`expr "$count" - 1` # We reserve one for that final one
  6. else
  7. count=1 # Default 2, minus one for the final -start-game
  8. fi
  9. godot -server -hero=0 "$@" &
  10. for i in `seq 2 $count` # 3, for 1 + the server + the starter
  11. do
  12. godot -client -hero=$i "$@" &
  13. done
  14. sleep 1
  15. godot -start-game -hero=1 "$@" &