~ubuntu-branches/debian/stretch/assaultcube-data/stretch

« back to all changes in this revision

Viewing changes to config/menus_edit.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Gonéri Le Bouder, Ansgar Burchardt, Gonéri Le Bouder
  • Date: 2010-04-02 23:37:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402233755-kf74fxwlu634o6vg
Tags: 1.0.4+repack1-1
[ Ansgar Burchardt ]
* debian/control: fix typo in short description

[ Gonéri Le Bouder ]
* Upgrade to 1.0.4
* bump standards-version to 3.8.4
* Add Depends: ${misc:Depends} just to avoid a lintian warning
* Add a debian/source/format file for the same reason

Show diffs side-by-side

added added

removed removed

Lines of Context:
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" ]
26
27
menuitemslider "Light radius: " 1 32 "$wlight" 1 "" "alias wlight $arg1"
27
28
menuitemslider "Brightness: " 1 255 "$wlight1" 5 "" "alias wlight1 $arg1"
28
29
menuitem "" -1
29
 
menuitem " 2            [ OK ]          " "newent light $wlight $wlight1"
 
30
menuitem " 2                [ OK ]              " "newent light $wlight $wlight1"
30
31
 
31
32
alias clight 1
32
33
alias clight1 1
41
42
menuitemslider "Green light: " 1 255 "$clight2" 5 "" "alias clight2 $arg1"
42
43
menuitemslider "Blue light: " 1 255 "$clight3" 5 "" "alias clight3 $arg1"
43
44
menuitem "" -1
44
 
menuitem " 2            [ OK ]" "newent light $clight $clight1 $clight2 $clight3"
 
45
menuitem " 2                [ OK ]" "newent light $clight $clight1 $clight2 $clight3"
45
46
 
46
47
//Entities menu
47
48
newmenu Entities
101
102
menuitem "" -1
102
103
menuitem "Fix heightfielding"                    "solid 0; slope 0 0"
103
104
 
 
105
newmenu skymaps
 
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" ]
104
116
 
 
117
alias _closestenttypestatus 0
105
118
//Map operations
106
119
newmenu "Map operations"
107
120
 
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"
 
131
 
 
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 ]
 
134
 
 
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" ] ]
 
137
 
 
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"
 
142
 
 
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"
 
147
 
114
148
 
115
149
alias redw 1
116
150
alias greenw 1
122
156
menuitemslider "Green pigment: " 1 255 "$greenw" 5 "" "alias greenw $arg1"
123
157
menuitemslider "Blue pigment: " 1 255 "$bluew" 5 "" "alias bluew $arg1"
124
158
menuitem "" -1
125
 
menuitem " 2               [ OK ]" "watercolour $redw $greenw $bluew"
 
159
menuitem " 2                 [ OK ]" "watercolour $redw $greenw $bluew"
126
160
 
127
161
//Mapmodels
128
162
newmenu Mapmodels
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"
277
311
menuitem "" -1
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"