Compare commits

..
14 Commits
Author SHA1 Message Date
Dss0 863680d184 Merge pull request #22 from XLabsProject/develop
IW4x rawfiles release 0.0.7
2022-06-23 21:52:25 +02:00
Dss0 619b2eb4d7 Merge pull request #21 from JoelColby/fix-demolition-spawns
Fix spawnpoints for defenders in Demolition
2022-06-01 21:26:09 +02:00
Joel Colby 7eb9351e67 Fix spawnpoints for defenders in Demolition 2022-05-31 23:35:55 -04:00
Chase 2a86b060b7 Ship a blank iw4x_02.iwd to fix issues 2022-05-24 20:18:44 -05:00
Dss0 9132dbd9e0 Merge pull request #20 from XLabsProject/develop
Swap action controls menu bind fields to better suit gamepad controll…
2022-05-10 20:56:27 +02:00
Jan 886a1d6d52 Swap action controls menu bind fields to better suit gamepad controller whenever gamepad is in use (#19) 2022-05-05 15:32:17 -05:00
Dss0 be93c36df9 Merge pull request #18 from XLabsProject/develop
merge dev into master
2022-05-03 21:55:11 +02:00
Jan c72b7af7bc Enable Gamepad by default (#17)
* Enable gpad by default on first startup
* Fix visible separators in gamepad menu even when gamepad is disabled
2022-05-03 12:49:44 -05:00
Dss0 8ab1bfb917 Fix mouse sensitivity 2022-03-12 12:58:45 +01:00
Dss0 2f4be59017 Remove dlc9 CoD4 maps for now as they aren't ready for release 2022-03-04 23:13:56 +01:00
Dss0 4e0ef5360a Merge pull request #16 from diamante0018/develop
Replace roundup function with ceil
2022-03-03 00:40:10 +01:00
FutureRave 5d34835cc6 Replace ghetto roundup function with ceil 2022-03-02 23:28:46 +00:00
Dss0 9076c854be Merge pull request #15 from diamante0018/develop
[Menus] Change default value of patched dvar to false
2022-03-02 19:12:09 +01:00
FutureRave 37af65985f Replace questionable patch with less questionable code 2022-03-02 18:05:33 +00:00
10 changed files with 94 additions and 139 deletions

No files matched your search

+15
View File
@@ -2,16 +2,31 @@
sudo apt update >> /dev/null && sudo apt install zip -y >> /dev/null # Ensure zip is up to date. sudo apt update >> /dev/null && sudo apt install zip -y >> /dev/null # Ensure zip is up to date.
cd iw4x/ cd iw4x/
# iw4x_00
cd iw4x_00/ cd iw4x_00/
zip -r iw4x_00.iwd * zip -r iw4x_00.iwd *
mv iw4x_00.iwd ../ mv iw4x_00.iwd ../
cd .. cd ..
rm -rf iw4x_00/ rm -rf iw4x_00/
# iw4x_01
cd iw4x_01/ cd iw4x_01/
zip -r iw4x_01.iwd * zip -r iw4x_01.iwd *
mv iw4x_01.iwd ../ mv iw4x_01.iwd ../
cd .. cd ..
rm -rf iw4x_01/ rm -rf iw4x_01/
# iw4x_02
cd iw4x_02/
zip -r iw4x_02.iwd *
mv iw4x_02.iwd ../
cd ..
rm -rf iw4x_02/
# Cleanup
cd .. cd ..
rm LICENSE rm LICENSE
rm README.md rm README.md
+1
View File
@@ -4,6 +4,7 @@
// Virtual axis are : VA_SIDE, VA_FORWARD, VA_UP, VA_YAW, VA_PITCH, VA_ATTACK // Virtual axis are : VA_SIDE, VA_FORWARD, VA_UP, VA_YAW, VA_PITCH, VA_ATTACK
//========================================================================================== //==========================================================================================
set gpad_enabled 1
set gpad_sticksConfig "thumbstick_default" set gpad_sticksConfig "thumbstick_default"
set gpad_buttonsConfig "buttons_default" set gpad_buttonsConfig "buttons_default"
+16 -5
View File
@@ -1,9 +1,21 @@
#include maps\mp\_utility; #include maps\mp\_utility;
/*
Author: Intricate, Diamante
Dvars:
- scr_player_forceautoassign <bool>
false - (default) default game behaviour
true - players will be automatically assigned to a team
Notes: fs_game check was removed as the default value is now false.
If a server owner decides to set it to true, its their choice regardless of loaded mods.
Mods should replace this file in case of conflicts.
*/
init() init()
{ {
//Intricate - Create DVAR for forcing auto assign, useful for server that would like it. SetDvarIfUninitialized( "scr_player_forceautoassign", false );
SetDvarIfUninitialized("scr_player_forceautoassign", true);
if ( !isDefined( game["gamestarted"] ) ) if ( !isDefined( game["gamestarted"] ) )
{ {
game["menu_team"] = "team_marinesopfor"; game["menu_team"] = "team_marinesopfor";
@@ -348,9 +360,8 @@ beginClassChoice( forceNewChoice )
beginTeamChoice() beginTeamChoice()
{ {
//Intricate - We put the auto assign where the actual team selection is. Also make sure that a mod isn't loaded, mainly to prevent bugs with them. if ( getDvarInt( "scr_player_forceautoassign" ) != 0 )
if( GetDvar("scr_player_forceautoassign") && GetDvar("fs_game") == "" ) self notify( "menuresponse", game["menu_team"], "autoassign");
self notify("menuresponse", game["menu_team"], "autoassign");
else else
self openpopupMenu( game["menu_team"] ); self openpopupMenu( game["menu_team"] );
+2 -2
View File
@@ -248,9 +248,9 @@ onStartGameType()
maps\mp\gametypes\_spawnlogic::placeSpawnPoints( "mp_dd_spawn_attacker_start" ); maps\mp\gametypes\_spawnlogic::placeSpawnPoints( "mp_dd_spawn_attacker_start" );
if ( getDvar( "mapname" ) == "mp_shipment_long" ) if ( getDvar( "mapname" ) == "mp_shipment_long" )
level.spawn_attackers = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_cha_spawn_axis" ); level.spawn_defenders = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_cha_spawn_axis" );
else else
level.spawn_attackers = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender" ); level.spawn_defenders = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender" );
level.spawn_defenders_a = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender_a" ); level.spawn_defenders_a = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dd_spawn_defender_a" );
level.spawn_defenders_a = array_combine( level.spawn_defenders, level.spawn_defenders_a ); level.spawn_defenders_a = array_combine( level.spawn_defenders, level.spawn_defenders_a );
+49 -53
View File
@@ -4,48 +4,45 @@
main() main()
{ {
maps\mp\_load::main(); maps\mp\_load::main();
game[ "attackers" ] = "allies"; game[ "attackers" ] = "allies";
game[ "defenders" ] = "axis"; game[ "defenders" ] = "axis";
maps\mp\_compass::setupMiniMap( "compass_map_oilrig_lvl_3" ); maps\mp\_compass::setupMiniMap( "compass_map_oilrig_lvl_3" );
setdvar( "compassmaxrange", "4000" ); setdvar( "compassmaxrange", "4000" );
array_thread( getentarray( "breach_solid", "targetname" ), ::self_delete ); array_thread( getentarray( "breach_solid", "targetname" ), ::selfDelete );
array_thread( getentarray( "compassTriggers", "targetname" ), ::compass_triggers_think ); array_thread( getentarray( "compassTriggers", "targetname" ), ::compass_triggers_think );
CreateRamps( ( 1676, 1330, -70 ), ( 2489, 1844, 900 ) );
CreateRamps((1676, 1330, -70), (2489, 1844, 900)); CreateRamps( ( -965, 256, -200 ), ( -854, -77, 54 ) );
CreateRamps((-965, 256, -200), (-854, -77, 54)); thread customKilltrigger();
thread custom_killtrigger();
thread level_think(); thread level_think();
thread level_think2(); thread level_think2();
} }
self_delete() selfDelete()
{ {
self delete(); self delete ();
} }
// Kills the player if he goes under them map
custom_killtrigger() customKilltrigger()
{ {
while (true) while ( true )
{ {
wait 0.1; wait 0.1;
foreach (player in level.players) foreach ( player in level.players )
{ {
if (!isDefined(player) || !isPlayer(player)) if ( !isDefined( player ) || !isPlayer( player ) )
{ {
continue; continue;
} }
if (player.origin[2] < -350.0) if ( player.origin[2] < -350.0 )
{ {
player suicide(); player suicide();
} }
@@ -56,8 +53,9 @@ custom_killtrigger()
compass_triggers_think() compass_triggers_think()
{ {
assertex( isdefined( self.script_noteworthy ), "compassTrigger at " + self.origin + " needs to have a script_noteworthy with the name of the minimap to use" ); assertex( isDefined( self.script_noteworthy ), "compassTrigger at " + self.origin + " needs to have a script_noteworthy with the name of the minimap to use" );
while( true )
while ( true )
{ {
wait( 1 ); wait( 1 );
self waittill( "trigger" ); self waittill( "trigger" );
@@ -65,56 +63,52 @@ compass_triggers_think()
} }
} }
CreateRamps(top, bottom) CreateRamps( top, bottom )
{ {
D = Distance(top, bottom); D = Distance( top, bottom );
blocks = roundUp(D/30); blocks = ceil( D / 30 );
CX = top[0] - bottom[0]; CX = top[0] - bottom[0];
CY = top[1] - bottom[1]; CY = top[1] - bottom[1];
CZ = top[2] - bottom[2]; CZ = top[2] - bottom[2];
XA = CX/blocks; XA = CX / blocks;
YA = CY/blocks; YA = CY / blocks;
ZA = CZ/blocks; ZA = CZ / blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0)); CXY = Distance( ( top[0], top[1], 0 ), ( bottom[0], bottom[1], 0 ) );
Temp = VectorToAngles(top - bottom); Temp = VectorToAngles( top - bottom );
BA = (Temp[2], Temp[1] + 90, Temp[0]); BA = ( Temp[2], Temp[1] + 90, Temp[0] );
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * b))); for ( b = 0; b < blocks; b++ )
{
block = spawn( "script_model", ( bottom + ( ( XA, YA, ZA ) * b ) ) );
//block setModel("com_plasticcase_friendly"); //block setModel("com_plasticcase_friendly");
block.angles = BA; block.angles = BA;
block Solid(); block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01; wait 0.01;
} }
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block = spawn( "script_model", ( bottom + ( ( XA, YA, ZA ) * blocks ) - ( 0, 0, 5 ) ) );
//block setModel("com_plasticcase_friendly"); //block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0); block.angles = ( BA[0], BA[1], 0 );
block Solid(); block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01; wait 0.01;
} }
roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}
level_think() level_think()
{ {
/*----------------------- /*
-----------------------
MOVING DERRICK DRILL THING MOVING DERRICK DRILL THING
-------------------------*/ -------------------------
*/
eDerrick_thing = getent( "derrick_thing", "targetname" ); eDerrick_thing = getent( "derrick_thing", "targetname" );
eDerrick_thing.origin = eDerrick_thing.origin + ( 0, 0, -2816 ); eDerrick_thing.origin = eDerrick_thing.origin + ( 0, 0, -2816 );
assert( isdefined( eDerrick_thing ) ); assert( isDefined( eDerrick_thing ) );
time = 2; time = 2;
speed = 300; speed = 300;
while ( true ) while ( true )
{ {
eDerrick_thing rotatevelocity( ( 0, speed, 0 ), time ); eDerrick_thing rotatevelocity( ( 0, speed, 0 ), time );
@@ -122,27 +116,29 @@ level_think()
} }
} }
level_think2() level_think2()
{ {
model1 = getent( "fx_spotlight_beam", "targetname" ); model1 = getent( "fx_spotlight_beam", "targetname" );
model2 = getent( "com_blackhawk_spotlight_on_mg_setup", "targetname" ); model2 = getent( "com_blackhawk_spotlight_on_mg_setup", "targetname" );
assert( isdefined( model1 ) ); assert( isDefined( model1 ) );
assert( isdefined( model2 ) ); assert( isDefined( model2 ) );
time = 10; time = 10;
while ( true ) while ( true )
{ {
model1 rotateto(model1.angles+(0,45,0),time); model1 rotateto( model1.angles + ( 0, 45, 0 ), time );
model2 rotateto(model2.angles+(0,45,0),time); model2 rotateto( model2.angles + ( 0, 45, 0 ), time );
wait( time ); wait( time );
model1 rotateto(model1.angles+(0,-45,0),time); model1 rotateto( model1.angles + ( 0, -45, 0 ), time );
model2 rotateto(model2.angles+(0,-45,0),time); model2 rotateto( model2.angles + ( 0, -45, 0 ), time );
wait( time ); wait( time );
model1 rotateto(model1.angles+(10,45,0),time); model1 rotateto( model1.angles + ( 10, 45, 0 ), time );
model2 rotateto(model2.angles+(10,45,0),time); model2 rotateto( model2.angles + ( 10, 45, 0 ), time );
wait( time ); wait( time );
model1 rotateto(model1.angles+(-10,-45,0),time); model1 rotateto( model1.angles + ( -10, -45, 0 ), time );
model2 rotateto(model2.angles+(-10,-45,0),time); model2 rotateto( model2.angles + ( -10, -45, 0 ), time );
wait( time ); wait( time );
} }
-73
View File
@@ -587,76 +587,3 @@
axischar "opforce_composite" axischar "opforce_composite"
environment "desert" environment "desert"
} }
{
map "mp_backlot"
longname "MPUI_BACKLOT"
gametype "dm war sab sab2 dom sd sd2 hc koth"
description "MPUI_DESC_MAP_BACKLOT"
mapimage "preview_mp_backlot"
mapoverlay "compass_overlay_map_blank"
allieschar "us_army"
axischar "opforce_composite"
environment "desert"
}
{
map "mp_farm"
longname "MPUI_FARM"
gametype "dm war sab sab2 dom sd sd2 hc koth"
description "MPUI_DESC_MAP_FARM"
mapimage "preview_mp_farm"
mapoverlay "compass_overlay_map_blank"
allieschar "us_army"
axischar "opforce_airborne"
environment "forest"
}
{
map "mp_countdown"
longname "MPUI_COUNTDOWN"
gametype "dm war sab sab2 dom sd sd2 hc koth"
description "MPUI_DESC_MAP_COUNTDOWN"
mapimage "preview_mp_countdown"
mapoverlay "compass_overlay_map_blank"
allieschar "us_army"
axischar "opforce_airborne"
environment "urban"
}
{
map "mp_pipeline"
longname "MPUI_PIPELINE"
gametype "dm war sab sab2 dom sd sd2 hc koth"
description "MPUI_DESC_MAP_PIPELINE"
mapimage "preview_mp_pipeline"
mapoverlay "compass_overlay_map_blank"
allieschar "us_army"
axischar "opforce_airborne"
environment "forest"
}
{
map "mp_crash_snow"
longname "MPUI_CRASH_SNOW"
gametype "dm war sab sab2 dom sd sd2 hc koth"
description "MPUI_DESC_MAP_CRASH_SNOW"
mapimage "preview_mp_crash_snow"
mapoverlay "compass_overlay_map_blank"
allieschar "socom_141_arctic"
axischar "opforce_arctic"
environment "arctic"
}
{
map "mp_carentan"
longname "MPUI_CARENTAN"
gametype "dm war sab sab2 dom sd sd2 hc koth"
description "MPUI_DESC_MAP_CARENTAN"
mapimage "preview_mp_carentan"
mapoverlay "compass_overlay_map_blank"
allieschar "us_army"
axischar "opforce_airborne"
environment "urban"
}
+8 -3
View File
@@ -40,6 +40,9 @@
#define ON_MENU_ESC \ #define ON_MENU_ESC \
close self; close self;
#define ON_GPAD_USED when(dvarBool("gpad_in_use") == 1)
#define ON_GPAD_UNUSED when(dvarBool("gpad_in_use") == 0)
menuDef menuDef
{ {
name MENU_NAME name MENU_NAME
@@ -65,10 +68,11 @@ menuDef
PC_OPTIONS_KEYBINDING(2, "@MENU_HOLD_AIM_DOWN_SIGHT", "+speed_throw") PC_OPTIONS_KEYBINDING(2, "@MENU_HOLD_AIM_DOWN_SIGHT", "+speed_throw")
PC_OPTIONS_KEYBINDING(3, "@MENU_LEAN_LEFT", "+leanleft") PC_OPTIONS_KEYBINDING(3, "@MENU_LEAN_LEFT", "+leanleft")
PC_OPTIONS_KEYBINDING(4, "@MENU_LEAN_RIGHT", "+leanright") PC_OPTIONS_KEYBINDING(4, "@MENU_LEAN_RIGHT", "+leanright")
PC_OPTIONS_KEYBINDING(5, "@MENU_RELOAD_WEAPON", "+reload") PC_OPTIONS_KEYBINDING_RAW(5, "@MENU_USE_RELOAD", "+usereload", ON_GPAD_USED)
PC_OPTIONS_KEYBINDING_RAW(5, "@MENU_RELOAD_WEAPON", "+reload", ON_GPAD_UNUSED)
PC_OPTIONS_KEYBINDING(6, "@MENU_SWITCH_WEAPON", "weapnext") PC_OPTIONS_KEYBINDING(6, "@MENU_SWITCH_WEAPON", "weapnext")
PC_OPTIONS_KEYBINDING(7, "@MENU_MELEE_ATTACK", "+melee") PC_OPTIONS_KEYBINDING(7, "@MENU_MELEE_ATTACK", "+melee")
PC_OPTIONS_KEYBINDING(8, "@MENU_USE", "+activate") PC_OPTIONS_KEYBINDING_RAW(8, "@MENU_USE", "+activate", ON_GPAD_UNUSED)
PC_OPTIONS_KEYBINDING(9, "@MENU_FRAG_EQUIPMENT", "+frag") PC_OPTIONS_KEYBINDING(9, "@MENU_FRAG_EQUIPMENT", "+frag")
PC_OPTIONS_KEYBINDING(10, "@MENU_THROW_SPECIAL_GRENADE", "+smoke") PC_OPTIONS_KEYBINDING(10, "@MENU_THROW_SPECIAL_GRENADE", "+smoke")
PC_OPTIONS_KEYBINDING(11, "@MENU_WEAPON_ATTACHMENT", "+actionslot 3") PC_OPTIONS_KEYBINDING(11, "@MENU_WEAPON_ATTACHMENT", "+actionslot 3")
@@ -78,7 +82,8 @@ menuDef
PC_OPTIONS_SEPERATOR(14) PC_OPTIONS_SEPERATOR(14)
PC_OPTIONS_KEYBINDING(15, "@MENU_SHOW_OBJECTIVES_SCORES", "+scores") PC_OPTIONS_KEYBINDING_RAW(15, "@MENU_SHOW_OBJECTIVES_SCORES", "togglescores", ON_GPAD_USED)
PC_OPTIONS_KEYBINDING_RAW(15, "@MENU_SHOW_OBJECTIVES_SCORES", "+scores", ON_GPAD_UNUSED)
PC_OPTIONS_KEYBINDSTATUS PC_OPTIONS_KEYBINDSTATUS
+2 -2
View File
@@ -102,7 +102,7 @@ menuDef
PC_OPTIONS_SECTION_TITLE(MENU_TITLE) PC_OPTIONS_SECTION_TITLE(MENU_TITLE)
PC_OPTIONS_DVARYESNO_RAW(0, "@MENU_GAMEPAD_ENABLED", "gpad_enabled", ON_GAMEPAD_ENABLED_TOGGLE;, "@MPUI_DESC_GAMEPAD_ENABLED", when(0), 1) PC_OPTIONS_DVARYESNO_RAW(0, "@MENU_GAMEPAD_ENABLED", "gpad_enabled", ON_GAMEPAD_ENABLED_TOGGLE;, "@MPUI_DESC_GAMEPAD_ENABLED", when(0), 1)
PC_OPTIONS_SEPERATOR(0) PC_OPTIONS_SEPERATOR_VIS(0, ON_GPAD_ENABLED)
PC_OPTIONS_DVARYESNO_RAW(1, "@MENU_LOOK_INVERSION", "input_invertPitch", ;, "@MPUI_DESC_LOOK_INVERSION", ON_GPAD_DISABLED, ON_GPAD_ENABLED) PC_OPTIONS_DVARYESNO_RAW(1, "@MENU_LOOK_INVERSION", "input_invertPitch", ;, "@MPUI_DESC_LOOK_INVERSION", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
PC_OPTIONS_STRLIST_RAW(2, "@MENU_THUMBSTICK_LAYOUT", "gpad_sticksConfig", PC_OPTIONS_STRLIST_RAW(2, "@MENU_THUMBSTICK_LAYOUT", "gpad_sticksConfig",
@@ -122,7 +122,7 @@ menuDef
PC_OPTIONS_FLOATLIST_RAW(4, "@MENU_GPAD_STYLE", "gpad_style", {"@MENU_GPAD_XBOX_CAPS" 0 "@MENU_GPAD_PS_CAPS" 1}, ;, "@MPUI_DESC_GPAD_STYLE", ON_GPAD_DISABLED, ON_GPAD_ENABLED) PC_OPTIONS_FLOATLIST_RAW(4, "@MENU_GPAD_STYLE", "gpad_style", {"@MENU_GPAD_XBOX_CAPS" 0 "@MENU_GPAD_PS_CAPS" 1}, ;, "@MPUI_DESC_GPAD_STYLE", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
PC_OPTIONS_DVARYESNO_RAW(5, "@MENU_SLOWDOWN_ENABLED", "gpad_slowdown_enabled", ;, "@MPUI_DESC_SLOWDOWN_ENABLED", ON_GPAD_DISABLED, ON_GPAD_ENABLED) PC_OPTIONS_DVARYESNO_RAW(5, "@MENU_SLOWDOWN_ENABLED", "gpad_slowdown_enabled", ;, "@MPUI_DESC_SLOWDOWN_ENABLED", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
PC_OPTIONS_DVARYESNO_RAW(6, "@MENU_LOCKON_ENABLED", "gpad_lockon_enabled", ;, "@MPUI_DESC_LOCKON_ENABLED", ON_GPAD_DISABLED, ON_GPAD_ENABLED) PC_OPTIONS_DVARYESNO_RAW(6, "@MENU_LOCKON_ENABLED", "gpad_lockon_enabled", ;, "@MPUI_DESC_LOCKON_ENABLED", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
PC_OPTIONS_SEPERATOR(6) PC_OPTIONS_SEPERATOR_VIS(6, ON_GPAD_ENABLED)
PC_OPTIONS_DVARSLIDER_RAW(7, "@MENU_LOOK_SENSITIVITY", "input_viewSensitivity", 0.5, 4, 1.0, ;, ;, ;, ON_GPAD_DISABLED, ON_GPAD_ENABLED, ON_GPAD_ENABLED) PC_OPTIONS_DVARSLIDER_RAW(7, "@MENU_LOOK_SENSITIVITY", "input_viewSensitivity", 0.5, 4, 1.0, ;, ;, ;, ON_GPAD_DISABLED, ON_GPAD_ENABLED, ON_GPAD_ENABLED)
PC_OPTIONS_FLOATLIST_RAW(8, "@MENU_LOOK_SENSITIVITY_PRESET", "input_viewSensitivity", PC_OPTIONS_FLOATLIST_RAW(8, "@MENU_LOOK_SENSITIVITY_PRESET", "input_viewSensitivity",
{"@MENU_SENSITIVITY_LOW_CAPS" SENSITIVITY_1 "@MENU_SENSITIVITY_MEDIUM_CAPS" SENSITIVITY_2 "3" SENSITIVITY_3 {"@MENU_SENSITIVITY_LOW_CAPS" SENSITIVITY_1 "@MENU_SENSITIVITY_MEDIUM_CAPS" SENSITIVITY_2 "3" SENSITIVITY_3
+1 -1
View File
@@ -74,7 +74,7 @@ menuDef
exp text(dvarString("sensitivity")) exp text(dvarString("sensitivity"))
} }
PC_OPTIONS_DVARSLIDER(0, "@MENU_MOUSE_SENSITIVITY", "sensitivity", 0.01, 100, 5, ;, ;, ;, when(0)) PC_OPTIONS_DVARSLIDER(0, "@MENU_MOUSE_SENSITIVITY", "sensitivity", 0.1, 10, 5, ;, ;, ;, when(0))
PC_OPTIONS_DVARYESNO(1, "@MENU_INVERT_MOUSE", "ui_mousePitch", uiscript updateui_mousePitch;, when(0)) PC_OPTIONS_DVARYESNO(1, "@MENU_INVERT_MOUSE", "ui_mousePitch", uiscript updateui_mousePitch;, when(0))
PC_OPTIONS_SEPERATOR(1) PC_OPTIONS_SEPERATOR(1)
View File
Whitespace-only changes.