2015-05-08 07:28:48 +00:00
class ACE_Settings {
2015-05-14 19:36:12 +00:00
class GVAR ( enabled ) {
typeName = " BOOL " ;
value = 1 ;
2015-05-16 22:53:55 +00:00
displayName = " $STR_ACE_ViewDistance_enabled_DisplayName " ;
description = " $STR_ACE_ViewDistance_enabled_Description " ;
2015-05-14 19:36:12 +00:00
} ;
2015-05-10 10:00:19 +00:00
class GVAR ( viewDistanceOnFoot ) {
2015-05-08 07:28:48 +00:00
typeName = " SCALAR " ;
isClientSettable = 1 ;
2015-05-19 17:48:29 +00:00
value = 0 ; // index, NOT value // Can set it to client's actual viewdistance in the init function once ACE_Settings supports numbers (if ever).
2015-05-23 15:55:06 +00:00
values [ ] = { " $STR_ACE_ViewDistance_videosettings " , " 500 " , " 1000 " , " 1500 " , " 2000 " , " 2500 " , " 3000 " , " 3500 " , " 4000 " , " 5000 " , " 6000 " , " 7000 " , " 8000 " , " 9000 " , " 10000 " } ; // Values also need to be changed in functions/fnc_returnValue.sqf
2015-05-16 22:53:55 +00:00
displayName = " $STR_ACE_ViewDistance_onFoot_DisplayName " ;
description = " $STR_ACE_ViewDistance_onFoot_Description " ;
2015-05-10 10:00:19 +00:00
} ;
class GVAR ( viewDistanceLandVehicle ) {
typeName = " SCALAR " ;
isClientSettable = 1 ;
2015-05-19 17:48:29 +00:00
value = 0 ; // index, NOT value
2015-05-23 15:55:06 +00:00
values [ ] = { " $STR_ACE_ViewDistance_videosettings " , " 500 " , " 1000 " , " 1500 " , " 2000 " , " 2500 " , " 3000 " , " 3500 " , " 4000 " , " 5000 " , " 6000 " , " 7000 " , " 8000 " , " 9000 " , " 10000 " } ; // Values also need to be changed in functions/fnc_returnValue.sqf
2015-05-16 22:53:55 +00:00
displayName = " $STR_ACE_ViewDistance_landVehicle_DisplayName " ;
description = " $STR_ACE_ViewDistance_landVehicle_Description " ;
2015-05-10 10:00:19 +00:00
} ;
class GVAR ( viewDistanceAirVehicle ) {
typeName = " SCALAR " ;
isClientSettable = 1 ;
2015-05-19 17:48:29 +00:00
value = 0 ; // index, NOT value
2015-05-23 15:55:06 +00:00
values [ ] = { " $STR_ACE_ViewDistance_videosettings " , " 500 " , " 1000 " , " 1500 " , " 2000 " , " 2500 " , " 3000 " , " 3500 " , " 4000 " , " 5000 " , " 6000 " , " 7000 " , " 8000 " , " 9000 " , " 10000 " } ; // Values also need to be changed in functions/fnc_returnValue.sqf
2015-05-16 22:53:55 +00:00
displayName = " $STR_ACE_ViewDistance_airVehicle_DisplayName " ;
description = " $STR_ACE_ViewDistance_airVehicle_Description " ;
2015-05-08 07:28:48 +00:00
} ;
2015-05-09 16:42:02 +00:00
class GVAR ( limitViewDistance ) {
2015-05-09 09:56:27 +00:00
typeName = " SCALAR " ;
2015-05-09 10:36:11 +00:00
value = 10000 ; // Value, NOT index. 10000 is the maximum in A3
2015-05-16 22:53:55 +00:00
displayName = " $STR_ACE_ViewDistance_limit_DisplayName " ;
description = " $STR_ACE_ViewDistance_limit_setting " ;
2015-05-09 09:56:27 +00:00
} ;
2015-05-14 15:11:52 +00:00
class GVAR ( objectViewDistanceCoeff ) {
typeName = " SCALAR " ;
isClientSettable = 1 ;
value = 0 ; // index. Actual coefficient is given by functions/fnc_returnObjectCoeff.sqf
2015-05-16 22:53:55 +00:00
values [ ] = { " $STR_ACE_ViewDistance_object_off " , " $STR_ACE_ViewDistance_object_verylow " , " $STR_ACE_ViewDistance_object_low " , " $STR_ACE_ViewDistance_object_medium " , " $STR_ACE_ViewDistance_object_high " , " $STR_ACE_ViewDistance_object_veryhigh " } ;
displayName = " $STR_ACE_ViewDistance_object_DisplayName " ;
description = " $STR_ACE_ViewDistance_object_Description " ;
2015-05-14 15:11:52 +00:00
} ;
2015-05-08 12:14:15 +00:00
} ;