Jump to content
  • 0

A3 Epoch Server, What can be changed?


vbawol

Question

Going to try to give a quick run down of everything that can be changed in 0.2.5

 

@EpochHive/epochconfig.hpp

StorageSlotsLimit = 1500; // Max storage slots allowed. Warning! Higher the number lower performance.
BuildingSlotsLimit = 1500; // Max building slots allowed. Warning! Higher the number lower performance.
	
// Time based 
StaticDateTime[] = {}; // {0,0,0,8,0} would forces the server to start at 8am each time it is started while allowing the year, month and day to stay real time. Any values left at 0 will result in no change.
timeDifference = 0; // Server uses real time this will allow you to offset just the hour.
timeMultiplier = 4; // Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems.

// Events
WeatherChangeTime = 1200; // This controls how fast the weather changes as well as how fast shipping containers and earthquakes happen.
showEarthQuakes = true; // used to show locations of earthquakes
showShippingContainers = true; // used to show locations of shipping containers

// Player Related
cloneCost = 100; // debt incurred on player death
doppelgangerTime = 60; // Controls how long a players body is left behind after disconnect. 0 = disables this.

// vehicles - Max vehicle slots is calculated from per vehicle limits below. Warning! Higher the number lower the performance.
vehicleLockTime = 1800; // Controls how many seconds it takes to allow another person/group to unlock vehicle.
allowedVehiclesList[] = {
	{"C_Offroad_01_EPOCH",8},
	{"C_Quadbike_01_EPOCH",8},
	{"C_Hatchback_01_EPOCH",10},
	{"C_Hatchback_02_EPOCH",10},
	{"C_SUV_01_EPOCH",10},
	{"C_Rubberboat_EPOCH",5},
	{"C_Rubberboat_02_EPOCH",5},
	{"C_Rubberboat_03_EPOCH",5},
	{"C_Rubberboat_04_EPOCH",5},
	{"C_Van_01_box_EPOCH",8},
	{"C_Van_01_transport_EPOCH",9},
	{"C_Boat_Civil_01_EPOCH",5},
	{"C_Boat_Civil_01_police_EPOCH",5},
	{"C_Boat_Civil_01_rescue_EPOCH",5},
	{"B_Heli_Light_01_EPOCH",2},
	{"B_SDV_01_EPOCH",2},
	{"B_MRAP_01_EPOCH",3},
	{"B_Truck_01_transport_EPOCH",1},
	{"B_Truck_01_covered_EPOCH",2},
	{"B_Truck_01_mover_EPOCH",1},
	{"B_Truck_01_box_EPOCH",1},
	{"O_Truck_02_covered_EPOCH",2},
	{"O_Truck_02_transport_EPOCH",1},
	{"O_Truck_03_covered_EPOCH",1},
	{"O_Truck_02_box_EPOCH",1},
	{"I_Heli_light_03_unarmed_EPOCH",1},
	{"O_Heli_Light_02_unarmed_EPOCH",1},
	{"I_Heli_Transport_02_EPOCH",1},
	{"O_Heli_Transport_04_EPOCH",1},
	{"O_Heli_Transport_04_bench_EPOCH", 1},
	{"O_Heli_Transport_04_box_EPOCH", 1},
	{"O_Heli_Transport_04_covered_EPOCH", 1},
	{"B_Heli_Transport_03_unarmed_EPOCH", 1},
	{"jetski_epoch",7},
	{"K01",2},
	{"K02",2},
	{"K03",2},
	{"K04",2},
	{"ebike_epoch", 7},
	{"mosquito_epoch", 7}	
};

// Traders
taxRate = 0.1; // controls extra cost overhead for purchases.
SHOW_TRADERS = true; // used to show locations of traders
NPCSlotsLimit = 50; // Max number of traders static or dynamic. Warning! Higher the number lower performance.
forceStaticTraders = true; // disables traders moving from work to home

// Hive Related
expiresBuilding = "604800";  // expiration date in seconds for buildings
expiresPlayer = "2592000";  // expiration date in seconds for players
expiresVehicle = "604800";  // expiration date in seconds for vehicles
hiveAsync = true; // true = asynchronous hive calls (non blocking), false = synchronous hive calls (blocking)

// Debug Related
DEBUG_VEH = false; // DEBUG ONLY used to debug spawing of vehicles

@EpochHive/epochAH.hpp
 

// Anti Hack
antihack_Enabled = true; // built-in Anti-Hack
antihack_addOnCheck = true; //addon check
antihack_InvOpenCheck[] = {}; // blank array disables, enable with {6} distance in meters disallows gear access if another player is within this range also disables gear access in vehicles.
antihack_banReason = "EpochMod.com Autoban";
antihack_checkFiles[] = { //script check, leave it blank to disable it
	{"\x\addons\a3_epoch_code\compile\setup\EPOCH_clientInit.sqf", "EPOCH_clientInit"},
	{"\x\addons\a3_epoch_code\compile\EPOCH_onEachFrame.sqf", "EPOCH_onEachFrame"},
	{"\x\addons\a3_epoch_code\compile\setup\EPOCH_masterLoop.sqf", "EPOCH_masterLoop"},
	{"\x\addons\a3_epoch_code\compile\setup\EPOCH_client_rejectPlayer.sqf", "EPOCH_client_rejectPlayer"},
	{"\x\addons\a3_epoch_code\compile\setup\EPOCH_clientRespawn.sqf", "EPOCH_clientRespawn"},
	{"\x\addons\a3_epoch_code\compile\interface_event_handlers\EPOCH_KeyDown.sqf", "EPOCH_KeyDown"}
};
adminMenu_Owner[] = {}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...}; ADMINNAME will be used for the Admin log instead of in-game name.
/*
Available Settings:
"PLAYER-TELEPORT" => Teleport Admin To Player and Player To Admin
"MAP-TELEPORT" => Click on Map to Teleport
"TARGET-HEAL" => Heal Target
"TARGET-AMMO" => Give Target Ammo
"TARGET-KILL" => Kill Target
"VEHICLEFLIP" => Flip Vehicle
"BANPANNEL" => Access to Banpannel
"SPAWN-MENU" => Access to Spawn Menu
*/
adminMenu_High[] = {}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...};
adminMenu_HighSetting[] = {"PLAYER-TELEPORT","MAP-TELEPORT","TARGET-HEAL","TARGET-AMMO","TARGET-KILL","VEHICLEFLIP","BANPANNEL"};
adminMenu_Low[] = {}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...};
adminMenu_LowSetting[] = {"PLAYER-TELEPORT","MAP-TELEPORT","TARGET-HEAL"};
adminMenu_BanReasons[] = {"Traderzone","Hacking","Glitch","Combat Log"};

=== WARNING! REQUIRES EDITING A PBO ===
And anything in the @EpochHive/Addons/a3_epoch_server_settings.pbo may also be changed but keep in mind we will be pushing updates to this config from time to time. The mission pbo's may also be changed but will also be updated from time to time.

worldSize: controls how much of the map is used, this should not need changed unless running on another map than altis or stratis.
containerPos: The location of shipwrecks that spawn small green containers full of precious metals and gems.
telePos: not used atm.
oneWayTelePos: This is the enter and exit locations of the teleport pads on debug island.
propsPos: This is the trader city objects
staticNpcPos: locations of static traders found at trader cities.
Link to comment
Share on other sites

Recommended Posts

  • 0

I know this has already been discussed, but I've got something kind of weird happening on my server so I'd just like to clarify - These values in epochconfig, the allowedVehiclesList, if I have...

{"C_Offroad_01_EPOCH",10},

...this includes the number at traders? Meaning, if I have my city traders each selling 1 offroad by default, that would count for 8 of the total 10, leaving only 2 to spawn on the map, or are vendors excluded from this, meaning 10 would spawn on the map?

Edited by blue00
Link to comment
Share on other sites

  • 0

I know this has already been discussed, but I've got something kind of weird happening on my server so I'd just like to clarify - These values in epochconfig, the allowedVehiclesList, if I have...

{"C_Offroad_01_EPOCH",10},

...this includes the number at traders? Meaning, if I have my city traders each selling 1 offroad by default, that would count for 8 of the total 10, leaving only 2 to spawn on the map, or are vendors excluded from this, meaning 10 would spawn on the map?

All 10 would spawn, they only end up at the traders if players sell them.

Link to comment
Share on other sites

  • 0

Thanks :) One more thing then - After changing those values in the epochconfig, to increase\decrease spawn amounts,
I'm getting this error in the report...

15:59:41 "Epoch: Spawning vehicles"
15:59:41 Error in expression <lse;

{
if (count EPOCH_VehicleSlots <= EPOCH_storedVehicleCount) exitWith{

};
>
15:59:41   Error position: <EPOCH_storedVehicleCount) exitWith{

};
>
15:59:41   Error Undefined variable in expression: epoch_storedvehiclecount
15:59:41 File x\addons\a3_epoch_server\compile\epoch_vehicle\EPOCH_spawn_vehicles.sqf, line 37
15:59:45 "Epoch: Loading storage"

... I haven't made any changes to EPOCH_spawn_vehicles.sqf or for that matter anything in the a3_epoch_server.pbo, just the epochconfig. Any idea what might be causing this? Or more importantly how I can fix it? lol. I mean is there some kind of max\min for those that I might have exceeded?

Edited by blue00
Link to comment
Share on other sites

  • 0

Is there anyway to disable the rain? I changed the WeatherStaticForecast to...

WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}};

And it's fine for a few mins on restart, but then weather change still triggers and it starts pouring again. It's like it just ignores any changes I make to the config file and sets for ungodly rain levels.

Post-Edit: Anybody? Not trying to nag, but I mean, it's on maximum rain like ALL the time, and I can't see to get it to stop. NVGs make it so much worse, it's like trying to fly through a laser light show. 

2015-09-10_00001.thumb.jpg.7b714b519f297

Any help would be greatly appreciated.

Edited by blue00
Link to comment
Share on other sites

  • 0

How do I figure out the time setting. I have a private server for some friends and I restart every 4hrs. 3hrs day 1hr night would be nice. Not quite clear on what exactly

timeMultiplier = 4 means?

If you have time set to multiply by 2 then every 30 minutes 1 hour would pass, multiply by 4 then every 15 minutes 1 hour would pass, so let's say you want 12hrs to run in 4 hrs, that would be 4 times multiply, if you want 24hrs in 4 hrs then you want it multiplied by 8.

Link to comment
Share on other sites

  • 0

Is there anyway to disable the rain? I changed the WeatherStaticForecast to...

WeatherStaticForecast[] = {75.5,0,{0,0,0},0.4,{1,1}};

And it's fine for a few mins on restart, but then weather change still triggers and it starts pouring again. It's like it just ignores any changes I make to the config file and sets for ungodly rain levels.

Post-Edit: Anybody? Not trying to nag, but I mean, it's on maximum rain like ALL the time, and I can't see to get it to stop. NVGs make it so much worse, it's like trying to fly through a laser light show. 

2015-09-10_00001.thumb.jpg.7b714b519f297

Any help would be greatly appreciated.

Hey, I disabled mine by setting the following values:

WeatherChangeTime = 604800; 
WeatherStaticForecast[] = {75.5,0,{0,0,0},0,{1,1}};

I have 4 hour restarts and it never rains with this setting, the only thing that happens is that it might get misty. 

 

hope it helps

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...