Minor fixes and updates...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6165 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
// executed at first run, don't change
|
||||
|
||||
alias delayed_firstrun [
|
||||
music "pingpong/Ping_Pong_-_Kamikadze.ogg" (* 89 1000) " " // 90 secs, fade
|
||||
music "pingpong/Ping_Pong_-_Kamikadze.ogg" 89000 " " // 90 secs, fade
|
||||
|
||||
new_gfx_quality 3
|
||||
echo "Welcome to AssaultCube"
|
||||
|
||||
+7
-10
@@ -22,7 +22,7 @@ genmapitems = [
|
||||
alias n (listlen $arg1)
|
||||
loop i $n [
|
||||
alias listmapname (at $arg1 $i)
|
||||
menuitemmapload $listmapname
|
||||
menuitemmapload $listmapname
|
||||
alias next (+ $i 1)
|
||||
if (= $next $n) [ alias next 0 ] []
|
||||
alias nextmap (at $arg1 $next)
|
||||
@@ -44,7 +44,7 @@ newmenu "all maps"
|
||||
menudirlist "packages/maps" "cgz" "map $arg1"
|
||||
|
||||
|
||||
newmenu maps_flags
|
||||
newmenu maps_flags
|
||||
// Add maps to the below list to include them in the CTF, KTF & TKTF map menu. Maps should contain flags here.
|
||||
alias ctfmaps "ac_aqueous ac_arabian ac_arid ac_depot ac_desert3 ac_douze ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_mines ac_outpost ac_power ac_shine ac_stellar ac_sunset ac_urban ac_werk"
|
||||
genmapitems $ctfmaps
|
||||
@@ -68,14 +68,14 @@ menuitem "Download demos from the server" [ listdemos; showmenu "Download demo"
|
||||
|
||||
|
||||
newmenu "Download demo"
|
||||
menuinit [ echo "4Choose the demo number you wish to download, as show below in the console." ]
|
||||
menuinit [ echo (c 4)Choose the demo number you wish to download, as shown below in the console. ]
|
||||
menuitemtextinput "Demo number: " "" "alias dldemo $arg1"
|
||||
menuitem "2 [ Download ] " "getdemo $dldemo"
|
||||
|
||||
|
||||
|
||||
newmenu "Play demo" // If not in-game (recording/downloading demos isn't needed)
|
||||
menuinit [ echo "To stop demo playback, type: 3/stopdemo" ]
|
||||
menuinit [ echo To stop demo playback, type: (c 3)/stopdemo" ]
|
||||
menudirlist "demos" "dmo" "demo $arg1"
|
||||
|
||||
// in-game menu that opens when pressing escape while watching a demo.
|
||||
@@ -112,7 +112,7 @@ menuitem "Search the reference" [ showmenu "Reference search" ]
|
||||
menuitem "Keyboard controls" "showmenu controls"
|
||||
menuitem "Demo tutorial" [tutstart 1]
|
||||
menuitem "" -1
|
||||
menuitem "...for further information/help see the README" "echo 2The readme can be found in the base AssaultCube directory."
|
||||
menuitem "...for further information/help see the README" [ echo (c 2)The readme can be found in the base AssaultCube directory. ]
|
||||
|
||||
newmenu "Reference search"
|
||||
menuinit [ alias docsearchstring "" ]
|
||||
@@ -126,14 +126,11 @@ menuitem "No" "showmenu "" "
|
||||
menuitem "" -1
|
||||
menuitemcheckbox "Don't ask next time: " "(= $askquit 0)" "askquit = (= $arg1 0)"
|
||||
|
||||
alias savequit [
|
||||
if (= $askquit 1) [ showmenu quit ] [ quit ]
|
||||
]
|
||||
alias savequit [ if $askquit [ showmenu quit ] [ quit ] ]
|
||||
|
||||
// Create additional menus...
|
||||
exec config/menus_bot.cfg
|
||||
exec config/menus_edit.cfg
|
||||
exec config/menus_settings.cfg
|
||||
exec config/menus_multiplayer.cfg
|
||||
exec config/favourites.cfg
|
||||
|
||||
exec config/favourites.cfg
|
||||
+16
-14
@@ -9,7 +9,7 @@ menuitem "Ambient sounds..." [ showmenu "Ambient sounds" ]
|
||||
menuitem "Arches and slopes..." "showmenu Arches"
|
||||
menuitem "Map operations..." [ showmenu "Map operations" ]
|
||||
menuitem "Bots..." [ showmenu "Creating bot waypoints" ]
|
||||
menuitem "Help?" [ echo "2Please read the AssaultCube README which has a detailed guide on mapediting... ]
|
||||
menuitem "Help?" [ echo (c 2)Please read the AssaultCube README which has a detailed guide on mapediting... ]
|
||||
|
||||
//Lighting menu.
|
||||
newmenu "Lighting"
|
||||
@@ -55,7 +55,7 @@ menuitem "RVSF CTF Flag" "newent ctf-flag 1"
|
||||
menuitem "CLA CTF Flag" "newent ctf-flag 0"
|
||||
menuitem "" -1
|
||||
menuitem "Ladder entity" "saycommand /newent ladder " [ echo "Ensure that you have placed the ladder mapmodel first (found in the mapmodels menu)..." ]
|
||||
menuitem "Clip entity" "showmenu Clips" "echo Clips can be used to block off areas that players shouldn't be able to access..."
|
||||
menuitem "Clip entity" "showmenu Clips" [ echo Clips can be used to block off areas that players shouldn't be able to access... ]
|
||||
|
||||
newmenu "Clips"
|
||||
alias _clip00 clip; alias _clip00status 0; alias _clip01 0; alias _clip02 1; alias _clip03 1; alias _clip04 1 // Give aliases an initial value.
|
||||
@@ -99,7 +99,7 @@ menuitem "" -1
|
||||
menuitem "Fix heightfielding" "solid 0; slope 0 0"
|
||||
|
||||
newmenu skymaps
|
||||
menuinit [ echo "Please read: 3/docs/mapediting5.html to find out how to PERMANENTLY add a custom skymap to your map..." ]
|
||||
menuinit [ echo Please read: (c 3)/docs/mapediting5.html to find out how to PERMANENTLY add a custom skymap to your map... ]
|
||||
menuitem "Steini2 skymap" [ loadsky "textures/skymaps/steini/steini2" ]
|
||||
menuitem "Steini3 skymap" [ loadsky "textures/skymaps/steini/steini3" ]
|
||||
menuitem "Steini4 skymap" [ loadsky "textures/skymaps/steini/steini4" ]
|
||||
@@ -117,7 +117,7 @@ newmenu "Map operations"
|
||||
|
||||
menuitem "Newmap (128x128 cubes - recommended)" "newmap 7"
|
||||
menuitem "Newmap (256x256 cubes)" "newmap 8"
|
||||
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" ]
|
||||
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 non-solid space, by selecting it and pressing G. ]
|
||||
menuitem "Create/edit a map message" "menumapmsg"
|
||||
menuitem "Change waterlevel" "saycommand /waterlevel "
|
||||
menuitem "Change watercolour" [ showmenu "Water colour" ]
|
||||
@@ -162,7 +162,7 @@ menuitem "Platforms" "showmenu Platforms"
|
||||
menuitem "Ladders/Stairs" "showmenu Ladders/Stairs"
|
||||
menuitem "Fencing" "showmenu Fencing"
|
||||
menuitem "Plants" "showmenu Plants"
|
||||
menuitem "Lights" "showmenu Lights"
|
||||
menuitem "Lights" "showmenu Lights"
|
||||
menuitem "Street" "showmenu Street"
|
||||
menuitem "Office" "showmenu Office"
|
||||
menuitem "Computers" "showmenu Computers"
|
||||
@@ -182,7 +182,7 @@ 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(7)" "newent mapmodel 2"
|
||||
menuitem "Ladder(8)" "newent mapmodel 3"
|
||||
menuitem "Ladder(10)" "newent mapmodel 4"
|
||||
menuitem "Ladder(11)" "newent mapmodel 5"
|
||||
@@ -207,7 +207,7 @@ menuitem "Plasma TV" "newent mapmodel 72"
|
||||
menuitem "Power meter" "newent mapmodel 74"
|
||||
menuitem "Rack" "newent mapmodel 75"
|
||||
menuitem "Utility table" "newent mapmodel 87"
|
||||
menuitem "Ceiling fan" "saycommand /newent mapmodel 113"
|
||||
menuitem "Ceiling fan" "saycommand /newent mapmodel 113"
|
||||
// The ceiling fan model is repeated in the "office" menu so it's easy to find, as it could be either office or home.
|
||||
menuitem "Window" "newent mapmodel 126"
|
||||
menuitem "Shelf" "newent mapmodel 128"
|
||||
@@ -219,7 +219,7 @@ menuitem "Shotgun shell" "newent mapmodel 78"
|
||||
menuitem "Target" "newent mapmodel 100"
|
||||
menuitem "Radar console" "newent mapmodel 76"
|
||||
menuitem "Razor wire" "newent mapmodel 116"
|
||||
menuitem "Guard tower" "newent mapmodel 129" [ echo "3This mapmodel will need to be properly clipped!" ]
|
||||
menuitem "Guard tower" "newent mapmodel 129" [ echo (c 3)This mapmodel will need to be properly clipped! ]
|
||||
|
||||
newmenu Computers
|
||||
|
||||
@@ -251,6 +251,8 @@ menuitem "Gray milk crate" "newent mapmodel 112"
|
||||
menuitem "Red milk crate" "newent mapmodel 134"
|
||||
menuitem "Blue milk crate" "newent mapmodel 135"
|
||||
|
||||
alias tree_warning "Trees are expensive mapmodels. Please only use a maximum of 1 or 2 in a map."
|
||||
|
||||
newmenu Plants
|
||||
|
||||
menuitem "Grass 1" "newent mapmodel 17"
|
||||
@@ -263,10 +265,10 @@ menuitem "Plant 1" "newent mapmodel 23"
|
||||
menuitem "Plant 1 (Dry)" "newent mapmodel 24"
|
||||
menuitem "Plant 1 (Snow)" "newent mapmodel 25"
|
||||
menuitem "Tree trunk" "newent mapmodel 130"
|
||||
menuitem "Tree 1" "newent mapmodel 114" [ echo "3Trees are expensive mapmodels. Please only use a maximum of 1 or 2 in a map." ]
|
||||
menuitem "Tree 2" "newent mapmodel 117" [ echo "3Trees are expensive mapmodels. Please only use a maximum of 1 or 2 in a map." ]
|
||||
menuitem "Pine tree" "newent mapmodel 118" [ echo "3Trees are expensive mapmodels. Please only use a maximum of 1 or 2 in a map." ]
|
||||
menuitem "Palm tree" "newent mapmodel 115" [ echo "3Trees are expensive mapmodels. Please only use a maximum of 1 or 2 in a map." ]
|
||||
menuitem "Tree 1" "newent mapmodel 114" [ echo (c 3) $tree_warning ]
|
||||
menuitem "Tree 2" "newent mapmodel 117" [ echo (c 3) $tree_warning ]
|
||||
menuitem "Pine tree" "newent mapmodel 118" [ echo (c 3) $tree_warning ]
|
||||
menuitem "Palm tree" "newent mapmodel 115" [ echo (c 3) $tree_warning ]
|
||||
|
||||
newmenu Office
|
||||
|
||||
@@ -315,7 +317,7 @@ newmenu Fencing
|
||||
|
||||
menuitem "Wire fence" "newent mapmodel 13"
|
||||
menuitem "Wire fencepost" "newent mapmodel 14"
|
||||
menuitem "Open wire fence-gate" "newent mapmodel 15"
|
||||
menuitem "Open wire fence-gate" "newent mapmodel 15"
|
||||
menuitem "Closed wire fence-gate" "newent mapmodel 16"
|
||||
menuitem "Barbwire fence-top" "newent mapmodel 127"
|
||||
menuitem "" -1
|
||||
@@ -422,4 +424,4 @@ menuinit [ alias soundrad 1; alias soundsize 0; alias ambientsoundvol 255 ]
|
||||
menuitemslider "Sound radius: " 1 25 "$soundrad" 1 "" "alias soundrad $arg1"
|
||||
menuitemslider "Sound size: " 0 25 "$soundsize" 1 "" "alias soundsize $arg1"
|
||||
menuitemslider "Sound volume: " 1 255 "$ambientsoundvol" 5 "" "alias ambientsoundvol $arg1"
|
||||
menuitem "2 [ OK ]" "newent sound $ambientsoundmenu $soundrad $soundsize $ambientsoundvol"
|
||||
menuitem "2 [ OK ]" "newent sound $ambientsoundmenu $soundrad $soundsize $ambientsoundvol"
|
||||
@@ -1,5 +1,5 @@
|
||||
// Decides whether to open the admin or normal in-game menu.
|
||||
alias ingamemenu [ if (currole 1) [ showmenu "In-game admin" ] [ showmenu In-game ] ]
|
||||
alias ingamemenu [ if (currole) [ showmenu "In-game admin" ] [ showmenu In-game ] ]
|
||||
|
||||
// "Join server" menu.
|
||||
alias personalserverlist []
|
||||
@@ -78,7 +78,7 @@ menuitem "Force serverlist update" "updatefrommaster 1; showmenu server"
|
||||
newmenu "Custom connect"
|
||||
|
||||
menuinit [ alias cc1 ""; alias cc2 ""; alias cc3 "" ] // Resets the aliases
|
||||
menuitemtextinput "Server IP/DNS: " "" "alias cc1 $arg1" "" 255
|
||||
menuitemtextinput "Server IP/DNS: " "" "alias cc1 $arg1" "" 255
|
||||
menuitemtextinput "Server port (optional): " "" "alias cc2 $arg1" "" 6
|
||||
menuitemtextinput "Server password (optional): " "" "alias cc3 $arg1" "" 128
|
||||
menuitem "" -1
|
||||
@@ -87,7 +87,7 @@ menuitem "2 [ Connect ] " "connect $cc1 $cc2 $cc3"
|
||||
// Connect to a menu as admin.
|
||||
newmenu "Admin connect"
|
||||
|
||||
menuinit [ alias acc1 ""; alias acc2 ""; alias acc3 ""; echo "3To use this menu to connect as administrator, you will need to know the admin password for your server." ] // Resets the aliases
|
||||
menuinit [ alias acc1 ""; alias acc2 ""; alias acc3 ""; echo (c 3)To use this menu to connect as administrator, you will need to know the admin password for the server. ] // Resets the aliases
|
||||
menuitemtextinput "Server IP/DNS: " "" "alias acc1 $arg1" "" 255
|
||||
menuitemtextinput "Server port (optional): " "" "alias acc2 $arg1" "" 6
|
||||
menuitemtextinput "Server admin password: " "" "alias acc3 $arg1" "" 128
|
||||
@@ -220,5 +220,4 @@ menuinitselection 4
|
||||
//if (strcmp (getalias voicecomver) "") [ voicecomver = v2 ] [ ]
|
||||
//if (strcmp $voicecomver v1) [ exec config/menu_voicecom_v1.cfg ] [ exec config/menu_voicecom_v2.cfg ]
|
||||
|
||||
exec config/menu_voicecom.cfg
|
||||
|
||||
exec config/menu_voicecom.cfg
|
||||
@@ -81,7 +81,7 @@ alias new_gfx_quality [
|
||||
gib 1
|
||||
gibnum 16
|
||||
shotline 1
|
||||
echo "Be mighty careful! This setting puts any & every graphics setting as high as absolutely possible!"
|
||||
echo Be mighty careful! This setting puts any & every graphics setting as high as absolutely possible!
|
||||
trilinear 1
|
||||
waterrefract 1
|
||||
texreduce 0
|
||||
@@ -238,7 +238,7 @@ alias new_sound_quality [
|
||||
newmenu "Reset settings"
|
||||
menuinit [ alias resetyes 0 ] // Ensures this menu works correctly.
|
||||
menuitemcheckbox "Yes, reset all settings: " "alias resetyes 1" "alias resetyes $arg1"
|
||||
menuitem "2 [ Apply! ] " [ if $resetyes [ resetcfg 1; quit ] [ showmenu "" ] ] [ echo "3If the above option is ticked, AssaultCube will now quit and your settings will be reset." ] //If checkbox is ticked, reset settings and quit, otherwise, close menus.
|
||||
menuitem "2 [ Apply! ] " [ if $resetyes [ resetcfg 1; quit ] [ showmenu "" ] ] [ echo (c 3)If the above option is ticked, AssaultCube will now quit and your settings will be reset. ] //If checkbox is ticked, reset settings and quit, otherwise, close menus.
|
||||
|
||||
|
||||
newmenu Keyboard
|
||||
@@ -407,13 +407,13 @@ alias reducedviolencemode [
|
||||
blood 0
|
||||
gib 0
|
||||
mutesound 48 0; loop i 8 [ mutesound (+ $i 26) 0 ] // Mute pain sounds: 26 to 33 and 48
|
||||
echo "2OMG! 8PW1NI3ES5! mode enabled - Violent game content has now been reduced."
|
||||
echo (c 2)OMG! (concatword (c 8) PW (c 1) NI (c 3) ES (c 5) "!") mode enabled - Violent game content has now been reduced.
|
||||
] [ // Violent
|
||||
alias poniesmodeon 0
|
||||
blood 1
|
||||
gib 1
|
||||
mutesound 48 1; loop i 8 [ mutesound (+ $i 26) 1 ] // Un-mute pain sounds
|
||||
echo "2OMG! 8PW1NI3ES5! mode has been disabled."
|
||||
echo (c 2)OMG! (concatword (c 8) PW (c 1) NI (c 3) ES (c 5) "!") mode has been disabled.
|
||||
]
|
||||
]
|
||||
|
||||
@@ -590,4 +590,4 @@ menuitemcheckbox "Nice shot: " "(soundmuted 94)" "mutesound 94 (!
|
||||
menuitemcheckbox "Thanks: " "(soundmuted 95)" "mutesound 95 (! $arg1)"
|
||||
menuitemcheckbox "Thanks, man: " "(soundmuted 96)" "mutesound 96 (! $arg1)"
|
||||
menuitemcheckbox "Awesome (1): " "(soundmuted 97)" "mutesound 97 (! $arg1)"
|
||||
menuitemcheckbox "Awesome (2): " "(soundmuted 98)" "mutesound 98 (! $arg1)"
|
||||
menuitemcheckbox "Awesome (2): " "(soundmuted 98)" "mutesound 98 (! $arg1)"
|
||||
+15
-14
@@ -2,10 +2,10 @@
|
||||
|
||||
// "editent" command:
|
||||
// This command collects all the attributes of the nearest entity, and then
|
||||
// prompts that into a handy command that allows you to edit that entities
|
||||
// prompts that into a handy command that allows you to edit that entities
|
||||
// attributes easily.
|
||||
// Note: The editent command can NOT define rotation/yaw inside the command!
|
||||
// However, the current yaw of the player will define the rotation/yaw when
|
||||
// However, the current yaw of the player will define the rotation/yaw when
|
||||
// using the command!
|
||||
alias editent [
|
||||
if (strcmp (getenttype) "mapmodel") [
|
||||
@@ -18,8 +18,8 @@ alias editent [
|
||||
] ] ]
|
||||
|
||||
// "convertclips" command:
|
||||
// This command automatically changes the a "clip" to a "plclip" entity or vice-versa.
|
||||
alias convertclips [
|
||||
// This command automatically changes the a "clip" to a "plclip" entity or vice-versa.
|
||||
alias convertclips [
|
||||
if (strcmp (getenttype) "clip") [
|
||||
entset plclip (getentattr 0) (getentattr 1) (getentattr 2) (getentattr 3)
|
||||
] [
|
||||
@@ -32,7 +32,7 @@ alias convertclips [
|
||||
|
||||
// "gibsgore" command:
|
||||
// This command controls gib Speed/Number/TTL all in one variable.
|
||||
alias gibsgore [
|
||||
alias gibsgore [
|
||||
if (= $arg1 4) [ // Unrealistic
|
||||
gib 1
|
||||
gibspeed 40
|
||||
@@ -194,8 +194,8 @@ alias universaldelta [
|
||||
]
|
||||
(concatword delta _ $s _ $modifier)
|
||||
]
|
||||
// To utilize the below, you will need to bind "domodifier X"
|
||||
// (replace X with the number of the delta_edit) to a key. To
|
||||
// To utilize the below, you will need to bind "domodifier X"
|
||||
// (replace X with the number of the delta_edit) to a key. To
|
||||
// use them, simply hold the key that the "domodifier" is bound
|
||||
// to and then scroll backwards/forwards while looking at the
|
||||
// floor/ceiling.
|
||||
@@ -226,12 +226,12 @@ alias sbconnect [ echo connecting to $arg7 ; connect $arg1 $arg2 ]
|
||||
|
||||
// For those players who use IRC too much...
|
||||
alias join "connect $arg1 $arg2 $arg3"
|
||||
add2alias = [
|
||||
if (strcmp "" (getalias $arg1)) [
|
||||
$arg1 = $arg2
|
||||
] [
|
||||
$arg1 = (concat (concatword (getalias $arg1) ";") $arg2)
|
||||
]
|
||||
add2alias = [
|
||||
if (strcmp "" (getalias $arg1)) [
|
||||
$arg1 = $arg2
|
||||
] [
|
||||
$arg1 = (concat (concatword (getalias $arg1) ";") $arg2)
|
||||
]
|
||||
]
|
||||
|
||||
addOnLoadOnce = [ add2alias mapstartonce $arg1 ]
|
||||
@@ -240,6 +240,7 @@ addOnQuit = [ add2alias onQuit $arg1 ]
|
||||
|
||||
run tutorial
|
||||
|
||||
// copyent & pasteent - Quickly copy/paste the current closest entity.
|
||||
ent_type = none
|
||||
|
||||
get_ent_attrs = [
|
||||
@@ -271,4 +272,4 @@ alias _CAS_serverpass "PASSWORD"
|
||||
alias _CAS_servername "SERVER NAME"
|
||||
alias customclaimadminscript [ if (strcmp (curserver 1) $_CAS_serverip) [
|
||||
if (! (currole)) [ setadmin 1 $_CAS_serverpass ] [ setadmin 0; echo "you relinquished admin status" ] ] [
|
||||
echo (concat (c 3)Error: (c 5)you're not connected to $_CAS_servername servers) ] ]
|
||||
echo (concat (c 3)Error: (c 5)you're not connected to $_CAS_servername servers) ] ]
|
||||
+85
-85
@@ -1,90 +1,91 @@
|
||||
bind ESCAPE [ if $connected [ ingamemenu ] [if (= (watchingtutorial) 1) [ showmenu "Tutorial Menu" ] [ if (watchingdemo) [ showmenu "Watching demo" ] [ showmenu main ] ] ] ]
|
||||
tutstart = [
|
||||
if (= $arg1 1) [
|
||||
mapstartonce = [tut]
|
||||
|
||||
//disable most of the HUD
|
||||
getconsize__ = $consize
|
||||
getcrosshairsize__ = $crosshairsize
|
||||
gethidespecthud__ = $hidespecthud
|
||||
gethideteam__ = $hideteam
|
||||
gethidehudequipment__ = $hidehudequipment
|
||||
consize 0
|
||||
crosshairsize 0
|
||||
hidespecthud 1
|
||||
hideteam 1
|
||||
hidehudequipment 1
|
||||
watchingtutorial = [1]
|
||||
demo "tutorial_demo"
|
||||
] []]
|
||||
|
||||
endtutorial = [
|
||||
consize $getconsize__
|
||||
crosshairsize $getcrosshairsize__
|
||||
hidespecthud $gethidespecthud__
|
||||
hideteam $gethideteam__
|
||||
hidehudequipment $gethidehudequipment__
|
||||
watchingtutorial = 0
|
||||
bind ESCAPE [ if $connected [ ingamemenu ] [if (= (watchingtutorial) 1) [ showmenu "Tutorial Menu" ] [ if (watchingdemo) [ showmenu "Watching demo" ] [ showmenu main ] ] ] ]
|
||||
tutstart = [
|
||||
if (= $arg1 1) [
|
||||
mapstartonce = [tut]
|
||||
// Disable most of the HUD
|
||||
getconsize__ = $consize
|
||||
getcrosshairsize__ = $crosshairsize
|
||||
gethidespecthud__ = $hidespecthud
|
||||
gethideteam__ = $hideteam
|
||||
gethidehudequipment__ = $hidehudequipment
|
||||
consize 0
|
||||
crosshairsize 0
|
||||
hidespecthud 1
|
||||
hideteam 1
|
||||
hidehudequipment 1
|
||||
watchingtutorial = [1]
|
||||
demo "tutorial_demo"
|
||||
]
|
||||
]
|
||||
|
||||
endtutorial = [
|
||||
consize $getconsize__
|
||||
crosshairsize $getcrosshairsize__
|
||||
hidespecthud $gethidespecthud__
|
||||
hideteam $gethideteam__
|
||||
hidehudequipment $gethidehudequipment__
|
||||
watchingtutorial = 0
|
||||
]
|
||||
|
||||
tut = [
|
||||
sleep 50 [paused 1; showmenu "AC Tutorial - Welcome"; sleep 20 [mapstartonce = [endtutorial]]]
|
||||
consize 1; echo "2Live tutorial information will appear here."
|
||||
sleep 50 [paused 1; showmenu "AC Tutorial - Welcome"; sleep 20 [mapstartonce = [endtutorial]]]
|
||||
consize 1; echo "2Live tutorial information will appear here."
|
||||
]
|
||||
|
||||
|
||||
tut2 = [
|
||||
sleep 9000 [paused 1; showmenu "AC Tutorial - Basic Movement"] //Need echoes timed with the movement before the paused 1
|
||||
sleep 9000 [paused 1; showmenu "AC Tutorial - Basic Movement"] //Need echoes timed with the movement before the paused 1
|
||||
]
|
||||
|
||||
|
||||
tut3 = [
|
||||
sleep 8000 [paused 1; showmenu "AC Tutorial - More Movement"] //ibid
|
||||
sleep 8000 [paused 1; showmenu "AC Tutorial - More Movement"] //ibid
|
||||
]
|
||||
|
||||
|
||||
tut4 = [
|
||||
consize 1; echo "Here, the players are straferunning."
|
||||
sleep 14200 [
|
||||
consize 2; echo "Now, they are jumping."
|
||||
sleep 6000 [
|
||||
consize 1; echo "See them crouch up and down!"
|
||||
sleep 6000 [
|
||||
echo "See them crouchjump up and down!" ] ] ]
|
||||
sleep 42000 [paused 1; showmenu "AC Tutorial - Weapons"] //Main timing sequence to go to next menu, all above are subkeyframes
|
||||
consize 1; echo "Here, the players are straferunning."
|
||||
sleep 14200 [
|
||||
consize 2; echo "Now, they are jumping."
|
||||
sleep 6000 [
|
||||
consize 1; echo "See them crouch up and down!"
|
||||
sleep 6000 [
|
||||
echo "See them crouchjump up and down!" ] ] ]
|
||||
sleep 42000 [paused 1; showmenu "AC Tutorial - Weapons"] //Main timing sequence to go to next menu, all above are subkeyframes
|
||||
]
|
||||
|
||||
|
||||
tut5 = [
|
||||
sleep 10 [paused 1; showmenu "AC Tutorial - Weapon Info"]
|
||||
sleep 10 [paused 1; showmenu "AC Tutorial - Weapon Info"]
|
||||
]
|
||||
|
||||
|
||||
tut6 = [
|
||||
sleep 6000 [consize 2; echo "Someone is about to get splattered with the shotgun"]
|
||||
sleep 18000 [consize 2; echo "BOOM HEADSHOT! The sniper was scoping."]
|
||||
sleep 26000 [consize 2; echo "Slice and dice with the knife."]
|
||||
sleep 41000 [consize 2; echo "Fire in the hole! Grenades, grenades, grenades."]
|
||||
sleep 50000 [paused 1; showmenu "AC Tutorial - CTF"]
|
||||
sleep 6000 [consize 2; echo "Someone is about to get splattered with the shotgun"]
|
||||
sleep 18000 [consize 2; echo "BOOM HEADSHOT! The sniper was scoping."]
|
||||
sleep 26000 [consize 2; echo "Slice and dice with the knife."]
|
||||
sleep 41000 [consize 2; echo "Fire in the hole! Grenades, grenades, grenades."]
|
||||
sleep 50000 [paused 1; showmenu "AC Tutorial - CTF"]
|
||||
]
|
||||
|
||||
|
||||
tut7 = [
|
||||
sleep 9000 [consize 2; echo "Touch a flag to pick it up"]
|
||||
sleep 17000 [echo "You will drop the flag if you get fragged."]
|
||||
sleep 19000 [echo "Touch the flag to return it"]
|
||||
sleep 26000 [echo "Touch your own flag to score!"]
|
||||
sleep 41000 [paused 1; showmenu "AC Tutorial - Advanced"]
|
||||
sleep 9000 [consize 2; echo "Touch a flag to pick it up"]
|
||||
sleep 17000 [echo "You will drop the flag if you get fragged."]
|
||||
sleep 19000 [echo "Touch the flag to return it"]
|
||||
sleep 26000 [echo "Touch your own flag to score!"]
|
||||
sleep 41000 [paused 1; showmenu "AC Tutorial - Advanced"]
|
||||
]
|
||||
|
||||
tut8 = [
|
||||
sleep 50 [echo "They are now edge jumping. These are popular spots to edgejump."]
|
||||
sleep 18500 [echo "To rifle sprint, face opposite to where you want to go, and jump backwards while shooting."]
|
||||
sleep 32500 [echo "Similar to the rifle sprint, rifle jump by jumping, facing down, and shooting."]
|
||||
sleep 49000 [echo "That was a bad attempt at grenade jumping. You are not supposed to suicide."]
|
||||
sleep 50000 [echo "A good grenade jump will give you height and distance."]
|
||||
sleep 65000 [echo "Time for the combat demonstration!"]
|
||||
sleep 200000 [paused 1; showmenu "AC Tutorial - GG"]
|
||||
|
||||
tut8 = [
|
||||
sleep 50 [echo "They are now edge jumping. These are popular spots to edgejump."]
|
||||
sleep 18500 [echo "To rifle sprint, face opposite to where you want to go, and jump backwards while shooting."]
|
||||
sleep 32500 [echo "Similar to the rifle sprint, rifle jump by jumping, facing down, and shooting."]
|
||||
sleep 49000 [echo "That was a bad attempt at grenade jumping. You are not supposed to suicide."]
|
||||
sleep 50000 [echo "A good grenade jump will give you height and distance."]
|
||||
sleep 65000 [echo "Time for the combat demonstration!"]
|
||||
sleep 200000 [paused 1; showmenu "AC Tutorial - GG"]
|
||||
]
|
||||
|
||||
|
||||
newmenu "Tutorial Menu"
|
||||
menuitem "Go back to tutorial" [closemenu "Watching Tutorial"; paused 0]
|
||||
menuitem "Restart tutorial" "tutstart 1"
|
||||
menuitem "3Stop 5tutorial" "dm ac_complex; endtutorial"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - Welcome"
|
||||
menuitem "1Thank you for downloading and trying 2AssaultCube!" -1
|
||||
menuitem "" -1
|
||||
@@ -93,7 +94,7 @@ menuitem "can start fragging as soon as possible. Just sit back" -1
|
||||
menuitem "and watch. You will be able to experiment after." -1
|
||||
menuitem "" -1
|
||||
menuitem " 0Continue" "paused 0; tut2; consize 0"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - Basic Movement"
|
||||
menuitem "Basic movement is done with the WASD keys." -1
|
||||
menuitem "For left-handed players that prefer to use" -1
|
||||
@@ -106,9 +107,9 @@ menuitem "W: Forward" -1
|
||||
menuitem "S: Backward" -1
|
||||
menuitem "A: Left" -1
|
||||
menuitem "D: Right" -1
|
||||
menuitem "" -1
|
||||
menuitem "" -1
|
||||
menuitem " 0Continue - 1/7" "paused 0; tut3"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - More Movement"
|
||||
menuitem "If you combine a directional key (W or S)" -1
|
||||
menuitem "with a strafing key, you will straferun." -1
|
||||
@@ -126,14 +127,14 @@ menuitem "be pushed upwards when you shoot." -1
|
||||
menuitem "" -1
|
||||
menuitem "Crouch jumping is a combination of" -1
|
||||
menuitem "the two. First jump, then crouch." -1
|
||||
menuitem "Your playe will jump slightly higher" -1
|
||||
menuitem "Your player will jump slightly higher" -1
|
||||
menuitem "and farther with this technique." -1
|
||||
menuitem "" -1
|
||||
menuitem "Jump: spacebar" -1
|
||||
menuitem "Crouch: shift" -1
|
||||
menuitem "" -1
|
||||
menuitem " 0Continue - 2/7" "paused 0; tut4"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - Weapons"
|
||||
menuitem "There is a variety of weapons in AssaultCube." -1
|
||||
menuitem "Some are better for certain situations than" -1
|
||||
@@ -148,7 +149,7 @@ menuitem "and keep firing." -1
|
||||
menuitem "" -1
|
||||
menuitem "Your knife is also a potent weapon. Use it" -1
|
||||
menuitem "when your enemy is cornered or out of ammo." -1
|
||||
menuitem "" -1
|
||||
menuitem "" -1
|
||||
menuitem "For long range engagements, or for better" -1
|
||||
menuitem "accuracy, use the right mouse button to use" -1
|
||||
menuitem "the sniper scope. The sniper is the only" -1
|
||||
@@ -162,7 +163,7 @@ menuitem "Cycle through weapons: mousewheel" -1
|
||||
menuitem "Knife: middle mouse click"
|
||||
menuitem "" -1
|
||||
menuitem " 0Continue - 3/7" "paused 0; tut5"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - Weapon Info"
|
||||
menuitem "When you get close enough to your enemy, the" -1
|
||||
menuitem "shotgun will splatter them into bits of gibs (gore)." -1
|
||||
@@ -175,9 +176,9 @@ menuitem "Just make sure you are close to your enemy!" -1
|
||||
menuitem "" -1
|
||||
menuitem "Be careful with grenades! One can easily damage,"-1
|
||||
menuitem "or gib teammates with these." -1
|
||||
menuitem "" -1
|
||||
menuitem "" -1
|
||||
menuitem " 0Continue - 4/7" "paused 0; tut6"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - CTF"
|
||||
menuitem "Capture the Flag, or CTF for short, is one of the" -1
|
||||
menuitem "most popular gamemodes in AssaultCube. The objective" -1
|
||||
@@ -186,9 +187,9 @@ menuitem "while the opposing team is trying to steal yours! If" -1
|
||||
menuitem "you are the flag carrier and your own flag is stolen," -1
|
||||
menuitem "is usually safer to proceed to the safety of your own" -1
|
||||
menuitem "base." -1
|
||||
menuitem "" -1
|
||||
menuitem "" -1
|
||||
menuitem " 0Continue - 5/7" "paused 0; tut7"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - Advanced"
|
||||
menuitem "There are several advanced tactics you can use while" -1
|
||||
menuitem "playing AssaultCube." -1
|
||||
@@ -200,16 +201,16 @@ menuitem "on the edge to jump a bit higher." -1
|
||||
menuitem ""
|
||||
menuitem "Rifle sprinting uses the recoil of the Assault Rifle" -1
|
||||
menuitem "to propel you across a map." -1
|
||||
menuitem "" -1
|
||||
menuitem "" -1
|
||||
menuitem "Rifle jump is similar a rifle sprint, except you use" -1
|
||||
menuitem "it to jump higher and farther. A grenade jump is a" -1
|
||||
menuitem "more drastic and violent jump, using the explosion" -1
|
||||
menuitem "of the grenade to propel yourself." -1
|
||||
menuitem "" -1
|
||||
menuitem "" -1
|
||||
menuitem "After this is done, you will watch demonstration of" -1
|
||||
menuitem "real combat in AssaultCube."
|
||||
menuitem " 0Continue - 6/7" "paused 0; tut8"
|
||||
|
||||
|
||||
newmenu "AC Tutorial - GG"
|
||||
menuitem "Thats it! The tutorial is over now. Take a minute" -1
|
||||
menuitem "to look at the scoreboard. Your name along with" -1
|
||||
@@ -232,9 +233,8 @@ menuitem "" -1
|
||||
menuitem " 0Finish - 7/7" "paused 0; endmenuitem"
|
||||
|
||||
endmenuitem = [
|
||||
sleep 1000 [showscores 1]
|
||||
sleep 60000 dm ac_complex; endtutorial
|
||||
sleep 1000 [showscores 1]
|
||||
sleep 60000 dm ac_complex; endtutorial
|
||||
]
|
||||
|
||||
watchingtutorial = 0
|
||||
|
||||
watchingtutorial = 0
|
||||
Reference in New Issue
Block a user