Jaroo
-
Posts
49 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Jaroo
-
-
I have problem with selfbloodbag ,when Im off this mod unlock car is working but when Im on bloodbag I cant unlock car :/ anyone know if there is a new version selfbloodbag
-
any tutorial step by step
-
I do not know what's going on, I copied all 4 files, and changed to the middle of command
// Send Top Right message to users , requires Remote message script
//_hint = parseText format["<t align=center' color='#0D00FF' shadow='2' size='1.75'>Supply Crate</t><br/><t align='center' color='#ffffff'>UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!</t>];
//customRemoteMessage = ['hint', _hint];
//publicVariable "customRemoteMessage";
// Send center message to users
[nil,nil,rTitleText,"UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!", "PLAIN",10] call RE;
I go to files init.sqf and change command like that
if (isServer) then {
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
// Add trader citys
_nil = [] execVM "mission.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
next step I go to files server_playerDied.sqf
and change like that
if(DZE_DeathMsgGlobal) then {
customRemoteMessage = ['globalChat', _message, _killer];
publicVariable "customRemoteMessage";
};
when Im restart server I have black screan any id for this problem ?? -
I found where is problem I dont know maybe somebody have this same problem post up
when im paste this code to init.sqf
if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
_nil = [] execVM "custom\remote_messages.sqf";
};Im not see option for refuel and town or lift
when Im delete this code
_nil = [] execVM "custom\remote_messages.sqf";
};all its working refuel and town lift
-
and have another problem im not see option town&lift and refuel on gas station ? when im relog server Im try delete messages misions maybe this problem when im activate mesages No have id :/
-
I have in folder mission
mission.sqf and mission.sqm
but not see this comand in this two files mission.sqf and mission.sqm// Send Top Right message to users , requires Remote message script_hint = parseText format["<t align=center' color='#0D00FF' shadow='2' size='1.75'>Supply Crate</t><br/><t align='center' color='#ffffff'>UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!</t>];customRemoteMessage = ['hint', _hint];publicVariable "customRemoteMessage";// Send center message to users //[nil,nil,rTitleText,"UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!", "PLAIN",10] call RE;
-
Aidem very cool working yeaaaahh only I see message right corner and must press End off debugmonitor
about Disable Hint message System
where I must change this code what name file in init.sqf ?
-
Hi ozersk this is link http://sta.sh/02d6uh5pxui0
-
working yeaaa Im happy but can you send me your random script Im noob I dont know where Im must paste random script
Aswell im not see where im must paste code for message system in the middle of the screen:
I know Im noob :P
-
pls I need run this amazing event for my players
-
4 Events working in dayzEpoch panthera ??
-
ohh understund thank again ))
-
hi guys I have big problem with chat , the server works only blue direct chat communication when The change white direct nobody see what I'm write Im used vilayer server Sombody help me pls what im must change in control panel
-
Thank you chisel ;) so I must paste like this
CleanupPlacedAfterDays = -120 <----- -120 after 120 day wall decay ?
what value I enter a feed of the players do not disappear floor walls etc ? sry for my language
-
Andygully
try paste this code for me working
_servicePointClasses = ["Land_A_FuelStation_Feed", "Land_A_FuelStation_Feed", "Land_benzina_schnell", "Land_Ind_TankSmall", "Land_Ind_TankSmall2", "Land_Ind_TankSmall2_EP1", "Land_fuel_tank_stairs"]; // service point classes (add "FuelPump_DZ" to use the dynamic Epoch fuel pumps)
-
somebody help me how set this restart in vilayer every 6 hours step by step pls I need only day time
in panel I have
1.current server time&time zones <----- i must change something here
2.Set server time <----- i must change something here3. bec\Config\bec_config.cfg Im delete # now is Scheduler = Scheduler.xml
4.bec\Config\Scheduler.xml<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>
<Scheduler>
<job id="0">
<time>053000</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Restart server in 30 minutes</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="1">
<time>054500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Restart server in 15 minutes</cmd>
<cmdtype>0</cmdtype>
</job>
<job id="2">
<time>055500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Restart server in 5 minutes</cmd>
<cmdtype>0</cmdtype>
</job>
</Scheduler>4.Sheduled Service Restart is my set maybe wrong can checked
Name; restart server
enabled; checkBox
Type; Daily
start; 11/27/2013 11;00PM
Recur Every: 1 Days
repeat task :checkBox
Repeat Every 6 Hours
For: 1 Minutes
Pls help its important for me,,
-
that objects do not disappear that I have to enter 0 like that
CleanupPlacedAfterDays = 0
-
-
im replace this files and not working Im used epoch panthera maybe I must change something, you used chernarus
-
// Vehicle Service Point by Axe Cop
private ["_folder","_servicePointClasses","_maxDistance","_actionTitleFormat","_actionCostsFormat","_costsFree","_message","_messageShown","_refuel_enable","_refuel_costs","_refuel_updateInterval","_refuel_amount","_repair_enable","_repair_costs","_repair_repairTime","_rearm_enable","_rearm_costs","_rearm_magazineCount","_lastVehicle","_lastRole","_refuel_action","_repair_action","_rearm_actions","_fnc_removeActions","_fnc_getCosts","_fnc_actionTitle","_fnc_isArmed","_fnc_getWeapons"];
// ---------------- CONFIG START ----------------
// general settings
_folder = "service_point\"; // folder where the service point scripts are saved, relative to the mission file
_servicePointClasses = ["Land_A_FuelStation_Feed"]; // service point classes (add "FuelPump_DZ" to use the dynamic Epoch fuel pumps)
_maxDistance = 10; // maximum distance from a service point for the options to be shown
_actionTitleFormat = "%1 (%2)"; // text of the vehicle menu, %1 = action name (Refuel, Repair, Rearm), %2 = costs (see format below)
_actionCostsFormat = "%2 %1"; // %1 = item name, %2 = item count
_costsFree = "free"; // text for no costs
_message = "Vehicle Service Point nearby"; // message to be shown when in range of a service point (set to "" to disable)
// refuel settings
_refuel_enable = true; // enable or disable the refuel option
_refuel_costs = []; // free for all vehicles (equal to [["AllVehicles",[]]])
_refuel_updateInterval = 0.5; // update interval (in seconds)
_refuel_amount = 0.02; // amount of fuel to add with every update (in percent)
// repair settings
_repair_enable = true; // enable or disable the repair option
_repair_costs = [
["Air",["ItemGoldBar",5]], // 5 Gold for helicopters and planes
["AllVehicles",["ItemGoldBar",2]] // 2 Gold for all other vehicles
];
_repair_repairTime = 2; // time needed to repair each damaged part (in seconds)
// rearm settings
_rearm_enable = true; // enable or disable the rearm option
_rearm_costs = [
["ArmoredSUV_PMC_DZE",["ItemGoldBar10oz",2]], // special costs for a single vehicle type
["Air",["ItemGoldBar10oz",2]], // 2 10oz Gold for helicopters and planes
["AllVehicles",["ItemGoldBar10oz",1]] // 1 10oz Gold for all other vehicles
];
_rearm_magazineCount = 3; // amount of magazines to be added to the vehicle weapon
// ----------------- CONFIG END -----------------
call compile preprocessFileLineNumbers (_folder + "ac_functions.sqf");
_lastVehicle = objNull;
_lastRole = [];
_refuel_action = -1;
_repair_action = -1;
_rearm_actions = [];
_messageShown = false;
_fnc_removeActions = {
if (isNull _lastVehicle) exitWith {};
_lastVehicle removeAction _refuel_action;
_refuel_action = -1;
_lastVehicle removeAction _repair_action;
_repair_action = -1;
{
_lastVehicle removeAction _x;
} forEach _rearm_actions;
_rearm_actions = [];
_lastVehicle = objNull;
_lastRole = [];
};
_fnc_getCosts = {
private ["_vehicle","_costs","_cost"];
_vehicle = _this select 0;
_costs = _this select 1;
_cost = [];
{
private "_typeName";
_typeName = _x select 0;
if (_vehicle isKindOf _typeName) exitWith {
_cost = _x select 1;
};
} forEach _costs;
_cost
};
_fnc_actionTitle = {
private ["_actionName","_costs","_costsText","_actionTitle"];
_actionName = _this select 0;
_costs = _this select 1;
_costsText = _costsFree;
if (count _costs == 2) then {
private ["_itemName","_itemCount","_displayName"];
_itemName = _costs select 0;
_itemCount = _costs select 1;
_displayName = getText (configFile >> "CfgMagazines" >> _itemName >> "displayName");
_costsText = format [_actionCostsFormat, _displayName, _itemCount];
};
_actionTitle = format [_actionTitleFormat, _actionName, _costsText];
_actionTitle
};
_fnc_isArmed = {
private ["_role","_armed"];
_role = _this;
_armed = count _role > 1;
_armed
};
_fnc_getWeapons = {
private ["_vehicle","_role","_weapons"];
_vehicle = _this select 0;
_role = _this select 1;
_weapons = [];
if (count _role > 1) then {
private ["_turret","_weaponsTurret"];
_turret = _role select 1;
_weaponsTurret = _vehicle weaponsTurret _turret;
{
private "_weaponName";
_weaponName = getText (configFile >> "CfgWeapons" >> _x >> "displayName");
_weapons set [count _weapons, [_x, _weaponName, _turret]];
} forEach _weaponsTurret;
};
_weapons
};
while {true} do {
private ["_vehicle","_inVehicle"];
_vehicle = vehicle player;
_inVehicle = _vehicle != player;
if (local _vehicle && _inVehicle) then {
private ["_pos","_objects","_inRange"];
_pos = position _vehicle;
_objects = nearestObjects [_pos, _servicePointClasses, _maxDistance];
_inRange = count _objects > 0;
if (_inRange) then {
private ["_role","_actionCondition","_costs","_actionTitle"];
_role = assignedVehicleRole player;
if (((str _role) != (str _lastRole)) || (_vehicle != _lastVehicle)) then {
// vehicle or seat changed
call _fnc_removeActions;
};
_lastVehicle = _vehicle;
_lastRole = _role;
_actionCondition = "vehicle _this == _target && local _target";
if (_refuel_action < 0 && _refuel_enable) then {
_costs = [_vehicle, _refuel_costs] call _fnc_getCosts;
_actionTitle = ["Refuel", _costs] call _fnc_actionTitle;
_refuel_action = _vehicle addAction [_actionTitle, _folder + "service_point_refuel.sqf", [_costs, _refuel_updateInterval, _refuel_amount], -1, false, true, "", _actionCondition];
};
if (_repair_action < 0 && _repair_enable) then {
_costs = [_vehicle, _repair_costs] call _fnc_getCosts;
_actionTitle = ["Repair", _costs] call _fnc_actionTitle;
_repair_action = _vehicle addAction [_actionTitle, _folder + "service_point_repair.sqf", [_costs, _repair_repairTime], -1, false, true, "", _actionCondition];
};
if ((_role call _fnc_isArmed) && (count _rearm_actions == 0) && _rearm_enable) then {
private ["_weapons"];
_costs = [_vehicle, _rearm_costs] call _fnc_getCosts;
_weapons = [_vehicle, _role] call _fnc_getWeapons;
{
private ["_weaponName","_rearm_action"];
_weaponName = _x select 1;
_actionTitle = [format["Rearm %1", _weaponName], _costs] call _fnc_actionTitle;
_rearm_action = _vehicle addAction [_actionTitle, _folder + "service_point_rearm.sqf", [_costs, _rearm_magazineCount, _x], -1, false, true, "", _actionCondition];
_rearm_actions set [count _rearm_actions, _rearm_action];
} forEach _weapons;
};
if (!_messageShown && _message != "") then {
_messageShown = true;
_vehicle vehicleChat _message;
};
} else {
call _fnc_removeActions;
_messageShown = false;
};
} else {
call _fnc_removeActions;
_messageShown = false;
};
sleep 2;
};
-
Im paste this code but not working when im in petrol station and scrolls mouse I have only red option need power :( never make it this:(
-
.lol sry
-
what do you mean, ---also put it below the "light" stuff so it wont be executed on the server.
i must put this code somewhere else? execVM "service_point\service_point.sqf";
-
does not work on my map Panthera I must add special name for fuel obj ? somebody know list name all fuel station in panthera ? Pls help me
I go to missions/epoch.panthera/and here create new folde ;service_point; and inside i create 5files sqf from download link up
File Manager > \vilayercodecustom\missions\epoch.panthera\service_point
and next step i go to \init.sqf and add comand like that
if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
//Lights
//[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
};
//Custom Loadouts
[] ExecVM "Scripts\loadout.sqf";
execVM "service_point\ac_functions.sqf";
execVM "service_point\service_point.sqf";
execVM "service_point\service_point_rearm.sqf";
execVM "service_point\service_point_refuel.sqf";
execVM "service_point\service_point_repair.sqf";Its 5last comand add its okay or i must change somethink
Trader Safe Zones of Panthera?
in Scripting
Posted
where Im paste this 3 files from this link and must config any init.sqf add command or something??
safezone.sqf
safezoneposition.sqf
SAR_nuke_zeds.sqf