git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2515 e016b1c5-ed68-44aa-a2f7-31cac88cffde
321 lines
14 KiB
INI
321 lines
14 KiB
INI
newmenu editing
|
|
|
|
menuitem "Mapmodels..." "showmenu Mapmodels"
|
|
menuitem "Lighting..." "showmenu lighting"
|
|
menuitem "Entities" "showmenu entities"
|
|
menuitem "Pickups" "showmenu pickups"
|
|
menuitem "Arches and slopes.." "showmenu arches"
|
|
menuitem "Map operations.." "showmenu mapop"
|
|
menuitem "Bots..." [ showmenu "Creating bot waypoints" ]
|
|
menuitem "Help..." [ showmenu "Map editing help" ]
|
|
|
|
|
|
// Start of "editing help" menu.
|
|
newmenu "Map editing help"
|
|
|
|
menuitem "Toggle: Edit mode (Key: E)" [ edittoggle; echo "Pressing E would be quicker." ]
|
|
menuitem "Undo last cube manipulation (Key: U)" [ undo; echo "Pressing U would be quicker." ]
|
|
menuitem "Copy selected cubes (Key: C)" [ copy; echo "Pressing C would be quicker." ]
|
|
menuitem "Paste selected cubes (Key: V)" [ paste; echo "Selection has been pasted from the upper corner of the red dot. Pressing V would be quicker." ]
|
|
menuitem "Repeat last texture replace" "replace"
|
|
menuitem "Delete closest light, mapmodel or other entity (Key: Backspace)" [ delent; echo "Pressing 'backspace' would be quicker." ]
|
|
menuitem "Fullbright view" "fullbright 1"
|
|
menuitem "Recalculate light" "recalc"
|
|
menuitem "Toggle: Show geometric mipmaps (Key: F5)" "showmip"
|
|
menuitem "Toggle: Occlusion culling (Key: F6)" "toggleocull"
|
|
menuitem """"
|
|
menuitem "Show more..." [ showmenu "Map editing help (Page 2)" ]
|
|
|
|
|
|
newmenu "Map editing help (Page 2)"
|
|
|
|
menuitem "Browse through floor textures (Keys: Insert/Delete)" [ showmenu "Browse floor textures" ]
|
|
menuitem "Browse through wall textures (Keys: Home/End)" [ showmenu "Browse wall textures" ]
|
|
menuitem "Browse through ceiling textures (Keys: Pageup/Pagedown)" [ showmenu "Browse ceiling textures" ]
|
|
menuitem "Browse through upper wall textures (Keys: Keypad7/Keypad4)" [ showmenu "Browse upper wall textures" ]
|
|
menuitem "Move floor geometery up (Key: [ )" [ editheight 0 -1; echo "Pressing the left-bracket would be quicker." ]
|
|
menuitem "Move floor geometery down (Key: ] )" [ editheight 0 1; echo "Pressing right-bracket would be quicker." ]
|
|
menuitem "Move ceiling geometery up (Key: O)" [ editheight 2 -1; echo "Pressing O would be quicker." ]
|
|
menuitem "Move ceiling geometery down (Key: P)" [ editheight 2 1; echo "Pressing P would be quicker." ]
|
|
menuitem "Make selected geometery SOLID (Key: F)" [ solid 1; echo "Pressing F would be quicker." ]
|
|
menuitem "Make selected geometery SPACE (Key: G)" [ solid 0; echo "Pressing G would be quicker." ]
|
|
menuitem "Make selected geometery a corner (Key: K)" [ corner; echo "Pressing K would be quicker." ]
|
|
menuitem "Equalize the floor level (Key: ,)" [ equalize 0; echo "Pressing , would be quicker." ]
|
|
menuitem "Equalize the ceiling level (Key: .)" [ equalize 2; echo "Pressing . would be quicker." ]
|
|
menuitem "Make the floor a heightfield (Key: H)" [ heightfield 0; echo "Pressing H would be quicker." ]
|
|
menuitem "Make the ceiling a heightfield (Key: I)" [ heightfield 2; echo "Pressing I would be quicker." ]
|
|
menuitem "Manipulate the corners of a cube (upward) (Key: 8)" [ vdelta -1; echo "Pressing 8 would be quicker." ]
|
|
menuitem "Manipulate the corners of a cube (downward) (Key: 9)" [ vdelta 1; echo "Pressing 9 would be quicker." ]
|
|
menuitem """"
|
|
menuitem "See the reference for more editing commands..." "showmenu Editing"
|
|
|
|
|
|
newmenu "Browse floor textures"
|
|
|
|
menuitem "Browse floor textures forwards (Key: Insert)" [ edittex 0 1; echo "Pressing 'Ins' would be quicker." ]
|
|
menuitem "Browse floor textures backwards (Key: Delete)" [ edittex 0 -1; echo "Pressing 'Del' would be quicker." ]
|
|
|
|
|
|
newmenu "Browse wall textures"
|
|
|
|
menuitem "Browse wall textures forwards (Key: Home)" [ edittex 1 1; echo "Pressing 'Home' would be quicker." ]
|
|
menuitem "Browse wall textures backwards (Key: End)" [ edittex 1 -1; echo "Pressing 'End' would be quicker." ]
|
|
|
|
|
|
newmenu "Browse ceiling textures"
|
|
|
|
menuitem "Browse ceiling textures forwards (Key: Pageup)" [ edittex 2 1; echo "Pressing 'PgUp' would be quicker." ]
|
|
menuitem "Browse ceiling textures backwards (Key: Pagedown)" [ edittex 2 -1; echo "Pressing 'PgDn' would be quicker." ]
|
|
|
|
|
|
newmenu "Browse upper wall textures"
|
|
|
|
menuitem "Browse upper wall textures forwards (Key: Keypad7)" [ edittex 3 1; echo "Pressing '7' on the keypad would be quicker." ]
|
|
menuitem "Browse upper wall textures backwards (Key: Keypad4)" [ edittex 3 -1; echo "Pressing '4' on the keypad would be quicker." ]
|
|
|
|
|
|
// End of "editing help" menu.
|
|
|
|
|
|
newmenu Mapmodels
|
|
|
|
menuitem "Platforms/Clips" "showmenu Platforms/Clips"
|
|
menuitem "Ladders/Stairs" "showmenu Ladders/Stairs"
|
|
menuitem "Fencing" "showmenu Fencing"
|
|
menuitem "Plants" "showmenu Plants"
|
|
menuitem "Lights" "showmenu Lights"
|
|
menuitem "Street" "showmenu Street"
|
|
menuitem "Office" "showmenu Office"
|
|
menuitem "Home" "showmenu Home"
|
|
menuitem "Industrial" "showmenu Industrial"
|
|
menuitem "Military" "showmenu Military"
|
|
menuitem "Signs" "showmenu Signs"
|
|
menuitem "Other" "showmenu Other"
|
|
|
|
|
|
newmenu "Platforms/Clips"
|
|
|
|
menuitem "Nothing/Clip (4x4x2)" "newent mapmodel 0"
|
|
menuitem "Bridge (8x8)" "saycommand /newent mapmodel 1 "
|
|
menuitem "Platform (8x8)" "saycommand /newent mapmodel 57 "
|
|
menuitem "Wire platform (8x8)" "saycommand /newent mapmodel 73 "
|
|
|
|
newmenu "Ladders/Stairs"
|
|
|
|
menuitem "Single ladder rung (1)" "saycommand /newent mapmodel 58 "
|
|
menuitem "Ladder(7)" "newent mapmodel 2"
|
|
menuitem "Ladder(8)" "newent mapmodel 3"
|
|
menuitem "Ladder(10)" "newent mapmodel 4"
|
|
menuitem "Ladder(11)" "newent mapmodel 5"
|
|
menuitem "Ladder(15)" "newent mapmodel 6"
|
|
menuitem "" ""
|
|
menuitem "Wire stairs (Top)" "saycommand /newent mapmodel 79"
|
|
menuitem "Wire stairs (Bottom)" "saycommand /newent mapmodel 80"
|
|
|
|
newmenu Home
|
|
|
|
menuitem "Picture frame" "saycommand /newent mapmodel 29 "
|
|
menuitem "Milk" "newent mapmodel 69"
|
|
menuitem "CRT TV" "newent mapmodel 86"
|
|
menuitem "CRT TV in stand" "saycommand /newent mapmodel 70 "
|
|
menuitem "Plasma TV" "newent mapmodel 72"
|
|
menuitem "Power meter" "newent mapmodel 74"
|
|
menuitem "Rack" "newent mapmodel 75"
|
|
menuitem "Utility table" "newent mapmodel 87"
|
|
|
|
newmenu Military
|
|
|
|
menuitem "Bullet" "newent mapmodel 61"
|
|
menuitem "Shotgun shell" "newent mapmodel 78"
|
|
menuitem "Target" "newent mapmodel 100"
|
|
menuitem "Radar console" "newent mapmodel 76"
|
|
|
|
newmenu Street
|
|
|
|
menuitem "Streetlight" "newent mapmodel 7"
|
|
menuitem "Park Bench" "newent mapmodel 9"
|
|
menuitem "Dumpster" "newent mapmodel 10"
|
|
menuitem "Trashbag" "newent mapmodel 84"
|
|
menuitem "Trashcan" "newent mapmodel 85"
|
|
menuitem "Roadblock/Barrier" "newent mapmodel 11"
|
|
menuitem "Roadblock/Barrier 2" "newent mapmodel 12"
|
|
menuitem "Drainpipe" "newent mapmodel 59"
|
|
menuitem "Wheel: Vertical" "newent mapmodel 88"
|
|
menuitem "Tyre: Horizontal" "newent mapmodel 83"
|
|
menuitem "Milk crate" "newent mapmodel 112"
|
|
|
|
newmenu Plants
|
|
|
|
menuitem "Grass 1" "newent mapmodel 17"
|
|
menuitem "Grass 1 (Dry)" "newent mapmodel 18"
|
|
menuitem "Grass 1 (Snow)" "newent mapmodel 19"
|
|
menuitem "Grass 2" "newent mapmodel 20"
|
|
menuitem "Grass 2 (Dry)" "newent mapmodel 21"
|
|
menuitem "Grass 2 (Snow)" "newent mapmodel 22"
|
|
menuitem "Plant 1" "newent mapmodel 23"
|
|
menuitem "Plant 1 (Dry)" "newent mapmodel 24"
|
|
menuitem "Plant 1 (Snow)" "newent mapmodel 25"
|
|
|
|
newmenu Office
|
|
|
|
menuitem "Office chair" "newent mapmodel 27"
|
|
menuitem "Computer: Laptop" "newent mapmodel 28"
|
|
menuitem "Computer: PC" "newent mapmodel 101"
|
|
menuitem "Computer: Interfaces" "newent mapmodel 65"
|
|
menuitem "Locker" "newent mapmodel 30"
|
|
menuitem "Air Conditioner (Outer)" "newent mapmodel 60"
|
|
menuitem "Air Conditioner (Inner)" "newent mapmodel 107"
|
|
menuitem "Communications rack" "newent mapmodel 63"
|
|
menuitem "Communications rack 2" "newent mapmodel 64"
|
|
menuitem "Office desk" "newent mapmodel 71"
|
|
|
|
newmenu Lights
|
|
|
|
menuitem "Strahler" "saycommand /newent mapmodel 31"
|
|
menuitem "Fluorescent lamp" "saycommand /newent mapmodel 32"
|
|
menuitem "LightBulb" "saycommand /newent mapmodel 33"
|
|
|
|
newmenu Industrial
|
|
|
|
menuitem "Barrel" "newent mapmodel 34"
|
|
menuitem "Knocked-over barrel" "newent mapmodel 35"
|
|
menuitem "Electric meter" "newent mapmodel 36"
|
|
menuitem "Pallette" "newent mapmodel 37"
|
|
menuitem "Gastank" "newent mapmodel 38"
|
|
menuitem "Grate (horizontal)" "newent mapmodel 39"
|
|
menuitem "Grate (vertical)" "newent mapmodel 40"
|
|
menuitem "Wrench" "newent mapmodel 41"
|
|
menuitem "Bolt" "newent mapmodel 42"
|
|
menuitem "Hook" "newent mapmodel 52"
|
|
menuitem "Cinderblock" "newent mapmodel 62"
|
|
menuitem "Radioactive drum" "newent mapmodel 81"
|
|
menuitem "Knocked-over radioactive drum" "newent mapmodel 82"
|
|
menuitem "Swiveling security camera" "saycommand /newent mapmodel 77"
|
|
menuitem "Camera mount (Vertical)" "saycommand /newent mapmodel 104"
|
|
menuitem "Camera mount (Wall)" "saycommand /newent mapmodel 105"
|
|
menuitem "Large concrete pipe" "newent mapmodel 108"
|
|
menuitem "Medium metal pipe" "newent mapmodel 109"
|
|
menuitem "Small metal pipe" "newent mapmodel 110"
|
|
|
|
newmenu Fencing
|
|
|
|
menuitem "Wire fence" "newent mapmodel 13"
|
|
menuitem "Wire fencepost" "newent mapmodel 14"
|
|
menuitem "Open wire fence-gate" "newent mapmodel 15"
|
|
menuitem "Closed wire fence-gate" "newent mapmodel 16"
|
|
menuitem ""
|
|
menuitem "Corrugated fence" "newent mapmodel 102"
|
|
menuitem "Corrugated fence 2" "newent mapmodel 103"
|
|
menuitem "Corrugated fence post" "newent mapmodel 66"
|
|
menuitem ""
|
|
menuitem "Guard rail" "newent mapmodel 67"
|
|
menuitem "Guard rail 2" "newent mapmodel 68"
|
|
menuitem "Guard rail pole" "newent mapmodel 106"
|
|
|
|
|
|
newmenu Signs
|
|
|
|
menuitem "Flammable" "saycommand /newent mapmodel 43"
|
|
menuitem "Speed Limit 5" "saycommand /newent mapmodel 44"
|
|
menuitem "Maintenance" "saycommand /newent mapmodel 45"
|
|
menuitem "Caution" "saycommand /newent mapmodel 46"
|
|
menuitem "Biohazard" "saycommand /newent mapmodel 47"
|
|
menuitem "Toxic" "saycommand /newent mapmodel 92"
|
|
menuitem "Biohazard (2)" "saycommand /newent mapmodel 89"
|
|
menuitem "Chemicals" "saycommand /newent mapmodel 90"
|
|
menuitem "Confined space" "saycommand /newent mapmodel 91"
|
|
menuitem "Do not enter!" "saycommand /newent mapmodel 93"
|
|
menuitem "Explosives" "saycommand /newent mapmodel 94"
|
|
menuitem "First aid" "saycommand /newent mapmodel 95"
|
|
menuitem "No entry" "saycommand /newent mapmodel 96"
|
|
menuitem "No smoking" "saycommand /newent mapmodel 97"
|
|
menuitem "Radioactive" "saycommand /newent mapmodel 98"
|
|
menuitem "Restricted area" "saycommand /newent mapmodel 99"
|
|
menuitem "Arab" "saycommand /newent mapmodel 111"
|
|
|
|
newmenu Other
|
|
|
|
menuitem "Cigarette" "newent mapmodel 48"
|
|
menuitem "Can" "newent mapmodel 49"
|
|
menuitem "Fallen Can" "newent mapmodel 50"
|
|
menuitem "Broken Wood" "newent mapmodel 51"
|
|
menuitem "Coffee" "newent mapmodel 53"
|
|
menuitem "Flyer" "newent mapmodel 54"
|
|
menuitem "Tree Flyer" "newent mapmodel 26"
|
|
menuitem "Wanted Poster" "saycommand /newent mapmodel 55"
|
|
menuitem "Potato box" "newent mapmodel 56"
|
|
|
|
newmenu entities
|
|
|
|
menuitem "RVSF Spawn point" "newent playerstart 1"
|
|
menuitem "CLA Spawn point" "newent playerstart 0"
|
|
menuitem "FFA Spawn point" "newent playerstart 100"
|
|
menuitem "RVSF CTF Flag" "newent ctf-flag 1"
|
|
menuitem "CLA CTF Flag" "newent ctf-flag 0"
|
|
menuitem "Ladder entity" "saycommand /newent ladder "
|
|
|
|
newmenu pickups
|
|
|
|
menuitem "Health" "newent health"
|
|
menuitem "Pistol Magazine" "newent clips"
|
|
menuitem "Box of Ammo" "newent ammobox"
|
|
menuitem "Kevlar Vest" "newent armour"
|
|
menuitem "Akimbo" "newent akimbo"
|
|
menuitem "Grenades" "newent grenades"
|
|
|
|
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 "slope increase 1 left-right" "heightfield 0; slope 1 0"
|
|
menuitem "slope decrease 1 left-right" "heightfield 0; slope -1 0"
|
|
menuitem "slope increase 1 top-bottom" "heightfield 0; slope 0 1"
|
|
menuitem "slope decrease 1 top-bottom" "heightfield 0; slope 0 -1"
|
|
menuitem "fix heightfield" "slope 0 0"
|
|
menuitem "[ arches make ceiling heighfield, slopes floor ]"
|
|
|
|
|
|
newmenu mapop
|
|
|
|
menuitem "Newmap (128x128 cubes, recommended)" "newmap 7"
|
|
menuitem "Newmap (256x256 cubes)" "newmap 8"
|
|
menuitem "Increase mapsize (2x)" "mapenlarge"
|
|
menuitem "Create a map message" "saycommand /mapmsg "
|
|
|
|
|
|
// Main lighting menu.
|
|
|
|
newmenu "lighting"
|
|
|
|
menuitem "Add white lights" [ showmenu "White light" ]
|
|
menuitem "Add coloured lights" [ showmenu "Coloured light" ]
|
|
menuitem """"
|
|
menuitemcheckbox "Enable fullbright "fullbright" [ if (= $arg1 1) [ fullbright 1 ] [ recalc ] ]
|
|
|
|
|
|
newmenu "White light"
|
|
|
|
menuitemslider "Light radius: " 1 32 "($wradius)" 1 "" "wradius $arg1"
|
|
menuitemslider "Brightness: " 1 255 "($wbright)" 3 "" "wbright $arg1"
|
|
menuitem ""
|
|
menuitem " [ OK ] " "newent light $wradius $wbright"
|
|
|
|
|
|
newmenu "Coloured light"
|
|
|
|
menuitemslider "Light radius: " 1 32 "($cradius)" 1 "" "wradius $arg1"
|
|
menuitem ""
|
|
menuitemslider "Red light: " 1 255 "($cred)" 3 "" "cred $arg1"
|
|
menuitemslider "Green light: " 1 255 "($cgreen)" 3 "" "cgreen $arg1"
|
|
menuitemslider "Blue light: " 1 255 "($cblue)" 3 "" "cblue $arg1"
|
|
menuitem ""
|
|
menuitem " [ OK ] " "newent light $wradius $cred $cgreen $cblue"
|
|
|