scripts.cfg

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3206 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2008-10-23 10:16:36 +00:00
parent c3b11dd85b
commit 6598fa6860
4 changed files with 53 additions and 54 deletions
+5 -14
View File
@@ -1,25 +1,16 @@
// These default settings get executed whenever "saved.cfg" is not available.
// Do not modify anything below, instead change settings in game, or add to autoexec.cfg
name "unarmed" // change!
loadcrosshair default.png // choose another crosshair, see packages/misc/crosshairs/
skin 0 // change your look
autoreload 1 // reload the guns automatically
name "unarmed" // Change your name!
loadcrosshair default.png // Choose another crosshair, see packages/misc/crosshairs/
skin 0 // Change your look.
autoreload 1 // Reload the guns automatically by default.
alias primary [ weapon (currentprimary) ]
alias secondary [ weapon 1 ]
alias melee [ weapon 0 ]
alias grenades [ weapon 6 ]
// "resetbinds" command.
alias resetbinds [ exec config/resetbinds.cfg; echo " 3All binds have been reset to default values!" ]
// "changeteam" command.
alias changeteam [ if (= (curteam) 1) [ team CLA; echo "You are now on team 3CLA" ] [ team RVSF; echo "You are now on team 1RVSF" ] ]
//for alternative weapon binding (more economic) see the end of this file
lighterror 4 //set higher (for example 8) if you experience slowdown
@@ -40,7 +31,7 @@ loop i 8 [ alias (concatword altaction_ $i) quicknadethrow ] // quick nade throw
alias altaction_4 [ zoom 1; onrelease [ zoom 0 ] ] // sniper
alias altaction_6 [ attack ] // grenade
// NOTE: by default this zoom script just devides your sensitivity by 2 while you use the scope
// NOTE: by default this zoom script just divides your sensitivity by 2 while you use the scope
// if you want to set your own value for it, go to the following line and
// replace (div $sensitivity 2) by your desired sensitivity value:
-32
View File
@@ -182,35 +182,3 @@ exec config/menus_bot.cfg
exec config/menus_edit.cfg
exec config/menus_settings.cfg
exec config/menus_multiplayer.cfg
// Game mode descriptions...
gamemodedesc 0 [Team Deathmatch: Find the enemy team and destroy them!]
gamemodedesc 1 [Co-operative edit: Use this mode to edit maps with others online!]
gamemodedesc 2 [Deathmatch: Destroy anything that moves! Everyone for themselves!]
gamemodedesc 3 [Survivor: Everyone for themselves! Once you die, you must wait for the round to restart.]
gamemodedesc 4 [Team Survivor: Find the enemy team, destory them. Once everyone on the enemy team is gone... repeat!]
gamemodedesc 5 [Capture the Flag: Steal the enemy flag and bring it to your home base. Don't let your own flag get stolen.]
gamemodedesc 6 [Pistol Frenzy: Can you make your enemy eat lead with the most simple of weapons?]
gamemodedesc 7 [Bot Team Deathmatch: Find the enemy team and destroy them!]
gamemodedesc 8 [Bot Deathmatch: It's every man and A.I for themselves! Dismantle those bots! ]
gamemodedesc 9 [Last Swiss Standing: Knive and bomb the enemy!]
gamemodedesc 10 [One Shot, One Kill: You and your opponents start with 1hp, a sniper rifle, a knife and no pickups. Survive with your sniper, or humiliate with your swiss steel.]
gamemodedesc 11 [Team One Shot, One Kill: Your team starts with 1hp, a sniper rifle, a knife and no pickups. Survive with your sniper, or humiliate with your swiss steel.]
gamemodedesc 12 [Bot One-Shot, One Kill: You and the bots start with 1hp, a sniper rifle, a knife and no pickups. Survive with your sniper, or humiliate with your swiss steel.]
gamemodedesc 13 [Hunt the Flag: Find the enemy flag, frag the flag bearer and collect the flag to score. Protect your own team flag.]
gamemodedesc 14 [Team Keep the Flag: There is only one flag. Get the flag and keep it. You score one point every 15 seconds. If your teammate has the flag, protect him.]
gamemodedesc 15 [Keep the Flag: Get the flag and keep it. You score one point every 15 seconds. Everybody is will want to destroy you!]
// Auto-completions
alias mapcomplete [complete $arg1 "packages/maps" cgz]
mapcommands = "map tdm coop dm lms ts ctf pf lss osok tosok htf vip tktf ktf"
loop i (listlen $mapcommands) [
mapcomplete (at $mapcommands $i)
]
complete demo "demos" dmo
alias entcomplete [listcomplete $arg1 "light playerstart clips ammobox grenades health armour akimbo mapmodel trigger ladder ctf-flag sound clip"]
entcomplete newent
-8
View File
@@ -9,14 +9,6 @@ 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. ]
// editent command
alias editent [
alias enttype (getenttype)
if (! (strcmp enttype "")) [
saycommand "/entset" $enttype (getentattr 0) (getentattr 1) (getentattr 2) (getentattr 3)
]
]
//Lighting menu.
newmenu "Lighting"
+48
View File
@@ -0,0 +1,48 @@
// CubeScript placed in this file is automatically executed on each startup.
// editent command
alias editent [
alias enttype (getenttype)
if (! (strcmp enttype "")) [
saycommand "/entset" $enttype (getentattr 0) (getentattr 1) (getentattr 2) (getentattr 3)
]
]
// Auto-completions
alias mapcomplete [complete $arg1 "packages/maps" cgz]
mapcommands = "map tdm coop dm lms ts ctf pf lss osok tosok htf vip tktf ktf"
loop i (listlen $mapcommands) [
mapcomplete (at $mapcommands $i)
]
complete demo "demos" dmo
alias entcomplete [listcomplete $arg1 "light playerstart clips ammobox grenades health armour akimbo mapmodel trigger ladder ctf-flag sound clip"]
entcomplete newent
// Game mode descriptions...
gamemodedesc 0 [Team Deathmatch: Find the enemy team and destroy them!]
gamemodedesc 1 [Co-operative edit: Use this mode to edit maps with others online!]
gamemodedesc 2 [Deathmatch: Destroy anything that moves! Everyone for themselves!]
gamemodedesc 3 [Survivor: Everyone for themselves! Once you die, you must wait for the round to restart.]
gamemodedesc 4 [Team Survivor: Find the enemy team, destory them. Once everyone on the enemy team is gone... repeat!]
gamemodedesc 5 [Capture the Flag: Steal the enemy flag and bring it to your home base. Don't let your own flag get stolen.]
gamemodedesc 6 [Pistol Frenzy: Can you make your enemy eat lead with the most simple of weapons?]
gamemodedesc 7 [Bot Team Deathmatch: Find the enemy team and destroy them!]
gamemodedesc 8 [Bot Deathmatch: It's every man and A.I for themselves! Dismantle those bots! ]
gamemodedesc 9 [Last Swiss Standing: Knive and bomb the enemy!]
gamemodedesc 10 [One Shot, One Kill: You and your opponents start with 1hp, a sniper rifle, a knife and no pickups. Survive with your sniper, or humiliate with your swiss steel.]
gamemodedesc 11 [Team One Shot, One Kill: Your team starts with 1hp, a sniper rifle, a knife and no pickups. Survive with your sniper, or humiliate with your swiss steel.]
gamemodedesc 12 [Bot One-Shot, One Kill: You and the bots start with 1hp, a sniper rifle, a knife and no pickups. Survive with your sniper, or humiliate with your swiss steel.]
gamemodedesc 13 [Hunt the Flag: Find the enemy flag, frag the flag bearer and collect the flag to score. Protect your own team flag.]
gamemodedesc 14 [Team Keep the Flag: There is only one flag. Get the flag and keep it. You score one point every 15 seconds. If your teammate has the flag, protect him.]
gamemodedesc 15 [Keep the Flag: Get the flag and keep it. You score one point every 15 seconds. Everybody is will want to destroy you!]
// "resetbinds" command.
alias resetbinds [ exec config/resetbinds.cfg; echo " 3All binds have been reset to default values!" ]
// "changeteam" command.
alias changeteam [ if (= (curteam) 1) [ team CLA; echo "You are now on team 3CLA" ] [ team RVSF; echo "You are now on team 1RVSF" ] ]