home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 45
/
Freelog045.iso
/
Graphisme3D
/
Pratique
/
menus.cfg
< prev
next >
Wrap
Text File
|
2003-05-06
|
11KB
|
315 lines
// standard menu definitions
// don't modify, add personal menus to autoexec.cfg instead
bind ESCAPE "showmenu main" // it all starts here
newmenu main
menuitem "load map.." "showmenu maps"
menuitem "singleplayer.." "showmenu singleplayer"
menuitem "multiplayer.." "showmenu multiplayer"
menuitem "tweaking.." "showmenu tweaking"
menuitem "editing.." "showmenu editing"
menuitem "about.." "showmenu about"
menuitem "quit"
newmenu about
menuitem "Cube game/engine" " "
menuitem "by Wouter van Oortmerssen" " "
menuitem "http://wouter.fov120.com/cube/" "echo sorry no built-in web browser yet :)"
alias genmapitems [
alias n (listlen $arg1)
loop $n [
at $arg1 $i
alias mapname $s
concat map $s
menuitem $s
alias next (+ $i 1)
if (= $next $n) [ alias next 0 ] []
at $arg1 $next
alias nextmap $s
concatword nextmap_ $mapname
alias $s $nextmap
]
]
newmenu maps
genmapitems "aard1 metl1 metl2 gzdm1 uf nudist b2k biologie aard3 kmap2 tartech zippie cellar matador"
menuitem "more maps.." "showmenu moremaps"
newmenu moremaps
genmapitems "inkedskin af 32 ludm1 dragon kmap1 hylken5 aard2 gib gdb1 aard1_remix artanis tongues plagiat"
menuitem "my maps.." "showmenu mymaps"
newmenu mymaps
genmapitems "thearit attacko metalv2 bhouse lbase fox darth freelog6"
newmenu spmaps
genmapitems "kartoffel vaterland sp_af sp1-test tta sp_stalingrad"
newmenu singleplayer
menuitem "start SP map.." "mode -2; showmenu spmaps"
menuitem "start DMSP map.." "mode -1; showmenu maps"
menuitem "change skill level" "showmenu skill"
newmenu skill
menuitem "skill 1"
menuitem "skill 2"
menuitem "skill 3 (default)" "skill 3"
menuitem "skill 4"
menuitem "skill 5"
menuitem "skill 6"
menuitem "skill 7"
menuitem "skill 8"
menuitem "skill 9"
menuitem "skill 10"
newmenu multiplayer
menuitem "server browser.." "servermenu"
menuitem "vote game mode / map .." "showmenu gamemode"
menuitem "connect localhost"
menuitem "update server list from master server" "updatefrommaster"
menuitem "disconnect"
menuitem "team red"
menuitem "team blue"
newmenu gamemode
menuitem "ffa/default" "mode 0; showmenu maps"
menuitem "coop edit" "mode 1; showmenu maps"
menuitem "ffa/duel" "mode 2; showmenu maps"
menuitem "teamplay" "mode 3; showmenu maps"
menuitem "instagib" "mode 4; showmenu maps"
menuitem "instagib team" "mode 5; showmenu maps"
menuitem "efficiency" "mode 6; showmenu maps"
menuitem "efficiency team" "mode 7; showmenu maps"
//menuitem "arena" "mode 8; showmenu maps"
//menuitem "clan arena" "mode 9; showmenu maps"
newmenu tweaking
menuitem "tweak minlod.. (higher = less popup, possibly lower fps)" "showmenu minlod"
menuitem "tweak fpsrange.. (higher = possibly more popup)" "showmenu fpsrange"
menuitem "tweak fov.." "showmenu fov"
menuitem "tweak water subdivision.." "showmenu watersubdiv"
menuitem "turn dynamic light/shadows off" "dynlight 0"
menuitem "tweak gamma.." "showmenu gamma"
newmenu gamma
menuitem "gamma 50"
menuitem "gamma 60"
menuitem "gamma 70"
menuitem "gamma 80"
menuitem "gamma 90"
menuitem "gamma 100"
menuitem "gamma 110"
menuitem "gamma 120"
menuitem "gamma 130"
menuitem "gamma 140"
menuitem "gamma 150"
newmenu minlod
menuitem "minimum (25)" "minlod 25"
menuitem "decent (60)" "minlod 60"
menuitem "good (100)" "minlod 100"
menuitem "fps be damned (250)" "minlod 250"
newmenu fpsrange
menuitem "my 486 0wnz y00 (8-10)" "fpsrange 8 10"
menuitem "slow machine (20-25)" "fpsrange 20 25"
menuitem "sensible default (30-40)" "fpsrange 30 40"
menuitem "fps whore (60-60)" "fpsrange 60 60"
menuitem "I don't understand LOD (100+)" "fpsrange 100 1000"
newmenu fov
menuitem "fov 120"
menuitem "fov 110"
menuitem "fov 100"
menuitem "fov 90"
menuitem "fov 60"
menuitem "fov 30"
newmenu watersubdiv
menuitem "subdivision 1 (insane polygon wastage)" "watersubdiv 1"
menuitem "subdivision 2 (high quality)" "watersubdiv 2"
menuitem "subdivision 4 (medium quality)" "watersubdiv 4"
menuitem "subdivision 8 (low quality)" "watersubdiv 8"
menuitem "subdivision 16 (my 486 can do water too)" "watersubdiv 16"
newmenu editing
menuitem "insert entity at selection corner.." "showmenu newent"
menuitem "toggle edit mode (key E)" "edittoggle"
menuitem "undo last edit action (key U)" "undo"
menuitem "copy selection (key C)" "copy"
menuitem "paste selection (red vertex = upper left, key V)" "paste"
menuitem "repeat last texture replace" "replace"
menuitem "set tag.." "showmenu tags"
menuitem "delete closest entity (key X)" "delent"
menuitem "delete all lights" "clearents light"
menuitem "recalc light (key R)" "recalc"
menuitem "toggle show geometric mipmaps (bigger = better)" "showmip"
menuitem "arches and slopes.." "showmenu arches"
menuitem "map operations.." "showmenu mapop"
menuitem "help: show more editing keys..." "showmenu editkeys"
newmenu tags
menuitem "set tag 0 (no tag)" "edittag 0"
menuitem "set tag 1" "edittag 1"
menuitem "set tag 2" "edittag 2"
menuitem "set tag 3" "edittag 3"
menuitem "set tag 4" "edittag 4"
menuitem "set tag 5" "edittag 5"
menuitem "set tag 6" "edittag 6"
menuitem "set tag 7" "edittag 7"
newmenu mapop
menuitem "save temp map" "savemap temp"
menuitem "load temp map" "map temp"
menuitem "newmap 64x64 cubes" "newmap 6"
menuitem "newmap 128x128 cubes (recommended)" "newmap 7"
menuitem "newmap 256x256 cubes" "newmap 8"
menuitem "newmap 512x512 cubes" "newmap 9"
menuitem "newmap 1024x1024 cubes" "newmap 10"
menuitem "increase mapsize (2x)" "mapenlarge"
menuitem "make temp fullbright" "fullbright"
menuitem "toggle occlusion culling" "toggleocull"
menuitem "set map title/author" "saycommand /mapmsg"
newmenu newent
menuitem "white light.." "showmenu light"
menuitem "coloured light.." "showmenu colour"
menuitem "teleport.." "showmenu teleport"
menuitem "monster.." "showmenu monster"
menuitem "trigger.." "showmenu trigger"
menuitem "newent playerstart"
menuitem "newent shells"
menuitem "newent bullets"
menuitem "newent rockets"
menuitem "newent riflerounds"
menuitem "newent health"
menuitem "newent healthboost"
menuitem "newent greenarmour"
menuitem "newent yellowarmour"
menuitem "newent quaddamage"
menuitem "newent mapmodel"
newmenu trigger
loop 9 [ concat newent trigger (+ $i 1) 0; menuitem $s ]
newmenu light
menuitem "newent light 8 255"
menuitem "newent light 12 255"
menuitem "newent light 16 255"
menuitem "newent light 24 255"
menuitem "newent light 32 255"
menuitem "newent light 8 160"
menuitem "newent light 12 160"
menuitem "newent light 16 160"
menuitem "newent light 24 160"
menuitem "newent light 32 160"
menuitem "newent light 8 80"
menuitem "newent light 12 80"
menuitem "newent light 16 80"
menuitem "newent light 24 80"
menuitem "newent light 32 80"
newmenu colour
menuitem "blue" "showmenu blue"
menuitem "red" "showmenu red"
menuitem "green" "showmenu green"
menuitem "yellow" "showmenu yellow"
menuitem "purple" "showmenu purple"
menuitem "turquoise" "showmenu turquoise"
alias colourmenu [
newmenu $arg1
colourhalf
colourhalf "" (div $arg2 2) (div $arg3 2) (div $arg4 2)
]
alias colourhalf [
loop 5 [
at "8 12 16 24 32" $i;
concat newent light $s $arg2 $arg3 $arg4;
menuitem $s
]
]
colourmenu blue 192 192 255
colourmenu red 255 192 192
colourmenu green 192 255 192
colourmenu yellow 255 255 192
colourmenu purple 255 192 255
colourmenu turquoise 192 255 255
newmenu teleport
menuitem "newent teleport 1"
menuitem "newent teledest 1"
menuitem "newent teleport 2"
menuitem "newent teledest 2"
menuitem "newent teleport 3"
menuitem "newent teledest 3"
menuitem "newent teleport 4"
menuitem "newent teledest 4"
newmenu monster
menuitem "ogro / fireball" "newent monster 0"
menuitem "rhino / chaingun" "newent monster 1"
menuitem "ratamahatta / shotgun" "newent monster 2"
menuitem "slith / rifle" "newent monster 3"
menuitem "bauul / RL" "newent monster 4"
menuitem "hellpig / bite" "newent monster 5"
menuitem "knight / iceball" "newent monster 6"
menuitem "goblin / slimeball" "newent monster 7"
newmenu arches
menuitem "normal arch" "heightfield 2; arch 0"
menuitem "arch with sideways curve (delta 1)" "heightfield 2; arch 1"
menuitem "arch with sideways curve (delta 2)" "heightfield 2; arch 2"
menuitem "arch with sideways curve (delta 3)" "heightfield 2; arch 3"
menuitem "arch with sideways curve (delta 4)" "heightfield 2; arch 4"
menuitem "slope increase 2 left-right" "heightfield 0; slope 2 0"
menuitem "slope decrease 2 left-right" "heightfield 0; slope -2 0"
menuitem "slope increase 2 top-bottom" "heightfield 0; slope 0 2"
menuitem "slope decrease 2 top-bottom" "heightfield 0; slope 0 -2"
menuitem "[ arches make ceiling heighfield, slopes floor ]"
newmenu editkeys
menuitem "insert/home/pgup/keyp7 browse through floor/wall/ceiling/" ""
menuitem " upper textures on your current selection," ""
menuitem " delete/end/pgup/keyp4 browse backwards" ""
menuitem "[ and ] move the currently selected floor up and down" ""
menuitem " O and P do the same for the ceiling" ""
menuitem "F makes the current selection SOLID, G makes it SPACE" ""
menuitem "K makes something a corner (slant)" ""
menuitem ", and . equalize the floor/ceiling ceiling level" ""
menuitem "H makes the floor a heightfield, I the ceiling" ""
menuitem "8/9 change the offset of a vertex in a heightfield" ""