"gibsgore" command and slider and docs

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5629 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2010-08-15 03:53:45 +00:00
parent 557dbe2dfc
commit 0ee16656a4
4 changed files with 46 additions and 5 deletions
+1 -1
View File
@@ -24,5 +24,5 @@ autoreload 1 // Reload the guns automatically by default.
alias askquit 1
alias gfxqualityalias 3 // Default GFX is medium.
alias soundqualityalias 3 // Default sound is best.
alias poniesmodeon 0 // Reduced violence mode.
+3 -4
View File
@@ -299,6 +299,7 @@ menuitem " 2 [ Apply now! ]" resetgl
newmenu "Advanced video settings"
menuitemslider "Scope FOV: " 5 50 "$scopefov" 5 "" "scopefov $arg1"
alias fsaa_valuemap "-1 2 4 8 16"
menuitemslider "Antialiasing (FSAA): " 0 4 "(findlist $fsaa_valuemap $fsaa)" 1 "Off 2 4 8 16" "fsaa (at $fsaa_valuemap $arg1)"
@@ -337,11 +338,8 @@ setshadowq = [
]
menuitemcheckbox "Dynamic lights: " "$dynlight" "dynlight $arg1"
menuitemcheckbox "Bulletholes: " "$bullethole" "bullethole $arg1"
menuitemcheckbox "Scorch: " "$scorch" "scorch $arg1"
menuitemcheckbox "Blood/Gibs: " "$blood" "blood $arg1; gib $arg1"
menuitem "Enable 0.93 FOV compatiblity..." [ fovcompat; sleep 100 [ fovcompatmenu ] ]
menuitem "" -1
menuitem "FPS Range..." [ showmenu "FPS Range" ]
@@ -358,6 +356,7 @@ menuitem "Sensible default (30-40 FPS)" [closemenu "FPS Range"; fpsrange 3
menuitem "FPS whore (60-60 FPS)" [closemenu "FPS Range"; fpsrange 60 60]
menuitem "I don't understand LOD (100+ FPS)" [closemenu "FPS Range"; fpsrange 100 1000]
newmenu gameplay
menuitemtextinput "Nickname: " "result $curname" "name $arg1"
@@ -366,6 +365,7 @@ menuitemslider "Custom player skins: " 0 2 "$hidecustomskins" 1 [ "Always show"
menuitem "" -1
menuitemcheckbox "Reduced violence mode: " "$poniesmodeon" "reducedviolencemode $arg1"
menuitemcheckbox "Auto weapon reload: " "$autoreload" "autoreload $arg1"
menuitemslider "Gib gore: " 0 4 "$gibsgore" 1 [ "Off" "Normal" "Good" "Messy" "Unrealistic" ] "gibsgore $arg1"
menuitemcheckbox "Hit sound: " "$hitsound" "hitsound $arg1"
menuitemcheckbox "Show scores on death: " "$showscoresondeath" "showscoresondeath $arg1"
menuitem "Change to the enemy team" "changeteam"
@@ -389,7 +389,6 @@ menuitemslider "Mini-map background style: " 0 2 "$showmapbackdrop" 1 [ "Fully T
// Reduced game violence mode...
alias poniesmodeon 0
alias reducedviolencemode [
if (= $arg1 1) [
alias poniesmodeon 1
+31
View File
@@ -31,6 +31,37 @@ alias convertclips [
closestenttype ""
]
// "gibsgore" command:
// This command controls gib Speed/Number/TTL all in one variable.
alias gibsgore [
if (= $arg1 4) [ // Unrealistic
gib 1
gibspeed 40
gibnum 100
gibttl 2500 // Turn TTL down to minimise lag...
] [
if (= $arg1 3) [ // Messy
gib 1
gibspeed 15
gibnum 65
gibttl 10000
] [
if (= $arg1 2) [ // Good
gib 1
gibspeed 30
gibnum 75
gibttl 5000
] [
if (= $arg1 1) [ // Normal
gib 1
gibspeed 30
gibnum 6
gibttl 5000
] [
if (= $arg1 0) [ // Off
gib 0
] ] ] ] ] ]
// "fullscreenscript" command:
// This command allows swapping of fullscreen mode to be bound to a key.
+11
View File
@@ -3663,6 +3663,17 @@ Output:
<variable name="mergestrips">
<value token="V" description="" minValue="0" maxValue="1" defaultValue="1"/>
</variable>
<variable name="gibsgore">
<value token="N" description="" minValue="0" maxValue="4" defaultValue="1" values=""/>
<description>Adjusts gib/gibnum/gibspeed/gibttl variables collectively.</description>
<arguments>
<argument valueNotes="0 - Off"/>
<argument valueNotes="1 - Default/Normal values"/>
<argument valueNotes="2 - Good"/>
<argument valueNotes="3 - Messy"/>
<argument valueNotes="4 - Unrealistic"/>
</arguments>
</variable>
</identifiers>
</section>