Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dd55ca971f
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (25 sloc) 0.681 kb
#!/usr/bin/env python
#
# Run a game of Pythonized Threewave CTF
#
# 2000-12-21 Barry Pederson <bpederson@geocities.com>
#
import sys
from qwpython.pakfile import PakLoader
from qwpython.qwsv import engine
#
# Let the engine know what the command-line args were
#
engine.argv = sys.argv + ['+gamedir', 'ctf']
#
# Setup the QuakeWorld Server engine with a place to send output
# and an object that will load resources such as maps
#
engine.stdout = sys.stdout
engine.loader = PakLoader()
engine.loader.add_directory('../quake/id1')
engine.loader.add_directory('../quake/ctf') # Last added is first searched
#
# Import the game package to get things going.
#
import py_ctf
Jump to Line
Something went wrong with that request. Please try again.