4
4
menuitem "Lighting..." "showmenu Lighting"
5
5
menuitem "Entities..." "showmenu Entities"
6
6
menuitem "Pickups..." "showmenu Pickups"
7
menuitem "Test a skymap..." "showmenu skymaps"
7
8
menuitem "Ambient sounds..." [ showmenu "Ambient sounds" ]
8
9
menuitem "Arches and slopes..." "showmenu Arches"
9
10
menuitem "Map operations..." [ showmenu "Map operations" ]
102
103
menuitem "Fix heightfielding" "solid 0; slope 0 0"
106
menuinit [ echo "Please read: 3/docs/mapediting5.html to find out how to PERMANENTLY add a custom skymap to your map..." ]
107
menuitem "Steini2 skymap" [ loadsky "textures/skymaps/steini/steini2" ]
108
menuitem "Steini3 skymap" [ loadsky "textures/skymaps/steini/steini3" ]
109
menuitem "Steini4 skymap" [ loadsky "textures/skymaps/steini/steini4" ]
110
menuitem "Rocky skymap" [ loadsky "textures/skymaps/makke/rocky" ]
111
menuitem "Mountain skymap" [ loadsky "textures/skymaps/makke/mountain" ]
112
menuitem "Iceflow skymap" [ loadsky "textures/skymaps/iceflow/iceflow" ]
113
menuitem "Inhcanyons1 skymap" [ loadsky "textures/skymaps/ladynighthawk/inhcanyons1" ]
114
menuitem "Nightball skymap" [ loadsky "textures/skymaps/socksky/nightball" ]
115
menuitem "Grave skymap" [ loadsky "textures/skymaps/socksky/grave" ]
117
alias _closestenttypestatus 0
106
119
newmenu "Map operations"
108
121
menuitem "Newmap (128x128 cubes - recommended)" "newmap 7"
109
122
menuitem "Newmap (256x256 cubes)" "newmap 8"
110
123
menuitem "Increase mapsize (2x)" [ mapenlarge; echo "The map size has been increased by 2. However, the new space is solid. To utilize it, you will need to turn it into space, by selecting it and pressing G" ]
111
menuitem "Create a map message" [ saycommand /mapmsg ]
124
menuitem "Create/edit a map message" "menumapmsg"
112
125
menuitem "Change waterlevel" "saycommand /waterlevel "
113
126
menuitem "Change watercolour" [ showmenu "Water colour" ]
127
menuitem "Print entity stats" "entstats"
128
menuitem "Select the next closest entity" "nextclosestent"
129
menuitemcheckbox "Show mapmodel clippings: " "$showmodelclipping" "showmodelclipping $arg1"
130
menuitemslider "Select only these entities: " 0 13 "$_closestenttypestatus" 1 "All Light Playerstart Pistol Ammobox Grenades Health Armour Akimbo Mapmodel Ladder CTF-flag Sound Clip" "_closestentslider $arg1"
132
// "closestenttype" slider...
133
alias _closestentslider [ closestenttype (at ["" light playerstart pistol ammobox grenades health armour akimbo mapmodel ladder ctf-flag sound clip] $arg1); alias _closestenttypestatus $arg1 ]
135
// Map-message edit/creation menu
136
alias menumapmsg [ if (= (strcmp (getmapmsg) "Untitled Map by Unknown") 1) [ showmenu "Create a map message" ] [ showmenu "Edit a map message" ] ]
138
newmenu "Create a map message"
139
menuinit [ alias menumapmsgtext "" ]
140
menuitemtextinput "Enter your map message: " "" "alias menumapmsgtext $arg1" "" 256
141
menuitem "2 [ OK ]" "mapmsg $menumapmsgtext"
143
newmenu "Edit a map message"
144
menuinit [ alias menumapmsgtext "" ]
145
menuitemtextinput "Edit your map message: " "getmapmsg" "alias menumapmsgtext $arg1" "" 256
146
menuitem "2 [ OK ]" "mapmsg $menumapmsgtext"
273
307
menuitem "Wire fencepost" "newent mapmodel 14"
274
308
menuitem "Open wire fence-gate" "newent mapmodel 15"
275
309
menuitem "Closed wire fence-gate" "newent mapmodel 16"
276
menuitem "Barbwire fence-top" "newent mapmodel 126"
310
menuitem "Barbwire fence-top" "newent mapmodel 127"
278
312
menuitem "Corrugated fence" "newent mapmodel 102"
279
313
menuitem "Corrugated fence 2" "newent mapmodel 103"
377
411
menuitemslider "Sound radius: " 1 25 "$soundrad" 1 "" "alias soundrad $arg1"
378
412
menuitemslider "Sound size: " 0 25 "$soundsize" 1 "" "alias soundsize $arg1"
379
413
menuitemslider "Sound volume: " 1 255 "$ambientsoundvol" 5 "" "alias ambientsoundvol $arg1"
380
menuitem "2 [ OK ]" "newent sound $ambientsoundmenu $soundrad $soundsize $ambientsoundvol"
414
menuitem "2 [ OK ]" "newent sound $ambientsoundmenu $soundrad $soundsize $ambientsoundvol"