1.0.2.39 dev part 2

This commit is contained in:
[VB]AWOL
2013-10-03 12:05:53 -05:00
parent bd7943b473
commit 6a7e557638
37 changed files with 503 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ item0[] = {"init",0,250,-75.000000,-400.000000,25.000000,-350.000000,0.000000,"i
item1[] = {"true",8,218,-75.000000,-175.000000,25.000000,-125.000000,0.000000,"true"};
item2[] = {"waiting",2,250,-75.000000,-100.000000,25.000000,-50.000000,0.000000,"waiting"};
item3[] = {"time_sync",4,218,-275.000000,-25.000000,-175.000000,25.000000,1.000000,"time" \n "sync"};
item4[] = {"sync_the_time",2,250,-275.000000,50.000000,-175.000000,100.000000,0.000000,"sync" \n "the time"};
item4[] = {"sync_the_time",2,4346,-275.000000,50.000000,-175.000000,100.000000,0.000000,"sync" \n "the time"};
item5[] = {"true",8,218,-75.000000,125.000000,25.000000,175.000000,0.000000,"true"};
item6[] = {"general_cleanup",2,250,-75.000000,200.000000,25.000000,250.000000,0.000000,"general" \n "cleanup" \n "loop"};
item7[] = {"",7,210,-304.000000,220.999985,-296.000000,229.000015,0.000000,""};
@@ -20,7 +20,7 @@ item15[] = {"",7,210,221.000000,-79.000000,229.000000,-71.000000,0.000000,""};
item16[] = {"cleanup_groups",4,218,-150.000000,-25.000000,-50.000000,25.000000,1.000000,"cleanup" \n "groups"};
item17[] = {"group_cleanup",2,250,-150.000000,50.000000,-50.000000,100.000000,0.000000,"group" \n "cleanup"};
item18[] = {"cleanup_vehicles",4,218,-25.000000,-25.000000,75.000000,25.000000,1.000000,"cleanup" \n "vehicles"};
item19[] = {"vehicle_cleanup",2,4346,-25.000000,50.000000,75.000000,100.000000,0.000000,"vehicle" \n "cleanup"};
item19[] = {"vehicle_cleanup",2,250,-25.000000,50.000000,75.000000,100.000000,0.000000,"vehicle" \n "cleanup"};
link0[] = {0,11};
link1[] = {1,2};
link2[] = {2,3};
@@ -46,7 +46,7 @@ link21[] = {17,5};
link22[] = {18,19};
link23[] = {19,5};
globals[] = {25.000000,1,0,0,0,640,480,1,30,6316128,1,-419.782135,377.473389,510.243530,-212.601486,675,612,1};
window[] = {0,-1,-1,-1,-1,810,52,1330,52,1,693};
window[] = {0,-1,-1,-1,-1,940,182,1460,182,1,693};
*//*%FSM</HEAD>*/
class FSM
{
@@ -156,7 +156,7 @@ class FSM
" _minute = _date select 4;" \n
" " \n
" //Force full moon nights" \n
" _date = [2012,6,6,_hour,_minute];" \n
" _date = [2013,8,3,_hour,_minute];" \n
" };" \n
"" \n
" setDate _date;" \n

View File

@@ -32,7 +32,7 @@ if(_outcome == "PASS") then {
_minute = _date select 4;
//Force full moon nights
_date = [2012,6,6,_hour,_minute];
_date = [2013,8,3,_hour,_minute];
};
if(isDedicated) then {
@@ -191,8 +191,9 @@ if (isServer and isNil "sm_done") then {
_objWpnQty = (_intentory select 0) select 1;
_countr = 0;
{
if (_x == "Crossbow") then { _x = "Crossbow_DZ" }; // Convert Crossbow to Crossbow_DZ
if (_x == "ItemMatchbox") then { _x = "ItemMatchbox_DZE" }; // Convert Crossbow to Crossbow_DZ
if(_x in (DZE_REPLACE_WEAPONS select 0)) then {
_x = (DZE_REPLACE_WEAPONS select 1) select ((DZE_REPLACE_WEAPONS select 0) find _x);
};
_isOK = isClass(configFile >> "CfgWeapons" >> _x);
if (_isOK) then {
_block = getNumber(configFile >> "CfgWeapons" >> _x >> "stopThis") == 1;