mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
1022 B
C++
25 lines
1022 B
C++
class ACE_Settings {
|
|
class GVAR(changeAllowed) {
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
displayName = "Allow View Distance Changing";
|
|
description = "Allows clients to be able to change their view distance";
|
|
};
|
|
class GVAR(topViewDistanceLimit) {
|
|
typeName = "SCALAR";
|
|
value = 11; // setting the highest number in the array below means no limit.
|
|
values[] = {0,1,2,3,4,5,6,7,8,9,10,11}; // correspond to the index values
|
|
displayName = "Change View Distance Limit";
|
|
description = "Sets the top limit for all clients";
|
|
};
|
|
class GVAR(newViewDistance) {
|
|
typeName = "SCALAR";
|
|
isClientSettable = 1;
|
|
value = 0; // not sure what to set this to.
|
|
values[] = {"1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"};
|
|
displayName = "Change View Distance";
|
|
description = "Changes in game view distance";
|
|
};
|
|
};
|
|
|
|
// To do: include string table style displayName & description.
|