adding demo tutorial, huge thanks to Gibstick, Bukz and those who played this demo!

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5800 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-11-02 21:42:01 +00:00
parent 1c21ef6531
commit a2910d23ec
4 changed files with 9 additions and 3 deletions
+1
View File
@@ -107,6 +107,7 @@ newmenu help
menuitem "AssaultCube reference" "showmenu reference"
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."
+6
View File
@@ -53,8 +53,14 @@ menuitemslider "Graphics detail: " 1 6 "$gfxqualityalias" 1 [ Horrible Low Mediu
menuitemslider "Sound detail: " 1 3 "$soundqualityalias" 1 "Low Medium High" "new_sound_quality $arg1"
menuitemslider "Field of view: " 75 120 "$fov" 2 "" "fov $arg1"
menuitem "" -1
menuitem " 0 [ OK; View Tutorial ]" [ closemenu "Quick setup"; resetgl; showmenu "Confirm tutorial"]
menuitem " 2 [ OK ]" [ closemenu "QUICK setup"; resetgl ]
newmenu "Confirm tutorial"
menuitem "Proceed with tutorial" "tutstart 1"
menuitem " 3Cancel" [ closemenu "Cofirm tutorial" ]
alias new_gfx_quality [
if (= $arg1 6) [ // "INSANE!" gfx quality
+2 -3
View File
@@ -238,6 +238,8 @@ addOnLoadOnce = [ add2alias mapstartonce $arg1 ]
addOnLoadAlways = [ add2alias mapstartalways $arg1 ]
addOnQuit = [ add2alias onQuit $arg1 ]
run tutorial
// Simple claim-admin script for one single-server.
// Fill in the 3 aliases below, and uncomment the below line to activate.
// bind F3 "customclaimadminscript"
@@ -247,6 +249,3 @@ alias _CAS_servername "SERVER NAME"
alias customclaimadminscript [ if (strcmp (curserver 1) $_CAS_serverip) [
if (= (currole) 0) [ setadmin 1 $_CAS_serverpass ] [ setadmin 0; echo "you relinquished admin status" ] ] [
alias _CAS_erroroutput (concat " 3ERROR: 5you're not connected to" $_CAS_servername "servers"); echo $_CAS_erroroutput ] ]
Binary file not shown.