|
# In order to get Gladiator to work with your level, you need to provide
two
# files. A *.glad file is the level configuration. A .lvl file that will
# load the level.
# The .lvl file should be very close to what you use as the normal .lvl
# file for the map. However, the paths must be reference in a relative
# fashion. i.e. ../foo/foo.bw. See BoD/maps/gladiator/arena1.lvl as
# an example, and compare that to the original BoD/maps/arena1/king.lvl
# The following can be modified to provide your .glad file. You may
# name the file anything you want. Your .glad file must be put in your
map
# directory.
# "GladCfg.levelname" is the name that shows up on the NEW
GAME screen.
GladCfg.levelname = "Foo's Level"
# "GladCfg.levelimage" is the image that shows up. Look at
# BoD/maps/arena1/shoot.bmp as a format. If you do not provide an
# image, it will use a default image.
GladCfg.levelimage = "../../maps/foo/shoot.bmp"
# "GladCfg.level" is a reference to the .lvl file mentioned
above.
GladCfg.level = "slayerGlad.lvl"
# "GladCfg.playerPosition" is the starting position for the
player
GladCfg.playerPosition = (29.2662216584, -1117.82226537, 13.7592263554)
# "GladCfg.playerAngle" is the starting angle for the player
GladCfg.playerAngle = 5.52534647247
# "GladCfg.spawnPositions" is an array of positions and angles
to use
# as enemy spawn points. You can have as many as you want, but you must
# have at least one.
GladCfg.spawnPositions = [
{"Position": (8247.16000327, -1114.93546471, 8972.13151376),
"Angle": 2.40992462512 },
{"Position": (-7720.60202308, -1098.85772382, 7817.8218393),
"Angle": 3.87825734046 },
{"Position": (-7547.39664011, -1108.80958323, -8848.22962342),
"Angle": 5.52762912257 },
{"Position": (6569.8982898, -1116.68579922, -8382.88442999),
"Angle": 0.646974839951 }]
# For files that need to be initialized prior to loading the level, add
them here
initFiles.append("../foo/objs.py")
# If you want the bonus weapon to appear in a certain location, then
specify
# the location here
GladCfg.weaponPosition = (0, 0, 0)
# If you need to exclude enemies from your levels, you can list them
here. Only do
# this if there is a good reason. It will be confusing to the player if
they select
# enemies and don't get them.
GladCfg.excludeEnemies = ["GreatDemon"]
|