V31 changes & tweaks
This commit is contained in:
parent
9ebc92a382
commit
0d36154abc
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Server Occupation script by second_coming
|
// Server Occupation script by second_coming
|
||||||
//
|
//
|
||||||
SC_occupationVersion = "v30 (27-04-2016)";
|
SC_occupationVersion = "v31 (27-04-2016)";
|
||||||
//
|
//
|
||||||
// http://www.exilemod.com/profile/60-second_coming/
|
// http://www.exilemod.com/profile/60-second_coming/
|
||||||
//
|
//
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
V28-V31 (27-04-2016)
|
||||||
|
Altereed a few eventhandlers
|
||||||
|
Fixed multiple static spawns so they are independent of each other
|
||||||
|
|
||||||
|
|
||||||
V27 (26-04-2016) Development Update
|
V27 (26-04-2016) Development Update
|
||||||
|
|
||||||
Added the option fully control the gear assigned to bandit and survivor units
|
Added the option fully control the gear assigned to bandit and survivor units
|
||||||
@ -7,5 +12,3 @@ Added the option for helicopters as public transport, the heli travels between t
|
|||||||
Added the option to set the maximum crew (crew count will be a random number between the max and min). The applies for all AI vehicles.
|
Added the option to set the maximum crew (crew count will be a random number between the max and min). The applies for all AI vehicles.
|
||||||
|
|
||||||
Added a separate SC_VehicleClassToUseRare list of vehicles which spawn 10% of the time in place of the standard SC_VehicleClassToUse list.
|
Added a separate SC_VehicleClassToUseRare list of vehicles which spawn 10% of the time in place of the standard SC_VehicleClassToUse list.
|
||||||
|
|
||||||
V26 is now the master release on github
|
|
||||||
|
@ -33,15 +33,6 @@ _logDetail = format ["[OCCUPATION:Unstick]:: Initialised at %1",time];
|
|||||||
sleep 5;
|
sleep 5;
|
||||||
}forEach SC_liveBoatsArray;
|
}forEach SC_liveBoatsArray;
|
||||||
|
|
||||||
/*
|
|
||||||
{
|
|
||||||
_logDetail = format ["[OCCUPATION:Unstick]:: Transport: %1 is active",_x];
|
|
||||||
[_logDetail] call SC_fnc_log;
|
|
||||||
_x setFuel 1;
|
|
||||||
[_x] call SC_fnc_comeUnstuck;
|
|
||||||
sleep 5;
|
|
||||||
}forEach SC_transportArray;
|
|
||||||
*/
|
|
||||||
|
|
||||||
_logDetail = format ["[OCCUPATION:Unstick]:: Finished at %1",time];
|
_logDetail = format ["[OCCUPATION:Unstick]:: Finished at %1",time];
|
||||||
[_logDetail] call SC_fnc_log;
|
[_logDetail] call SC_fnc_log;
|
@ -57,6 +57,10 @@ _logDetail = format['[OCCUPATION:Traders] starting @ %1',time];
|
|||||||
_group = createGroup resistance;
|
_group = createGroup resistance;
|
||||||
_group setCombatMode "BLUE";
|
_group setCombatMode "BLUE";
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
}forEach tradersToAdd;
|
||||||
|
|
||||||
_traderPosition = _traderPos findEmptyPosition [0,25];
|
_traderPosition = _traderPos findEmptyPosition [0,25];
|
||||||
"Exile_Trader_CommunityCustoms" createUnit [_traderPosition, _group, "trader = this;"];
|
"Exile_Trader_CommunityCustoms" createUnit [_traderPosition, _group, "trader = this;"];
|
||||||
trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms",true];
|
trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms",true];
|
||||||
|
@ -28,8 +28,3 @@ else
|
|||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
// Triggered if a player gets off the public bus
|
// Triggered if a player gets off the public transport
|
||||||
// removes the addaction to stop the bus
|
|
||||||
_bus = _this select 0;
|
_transport = _this select 0;
|
||||||
_unit = _this select 2;
|
_unit = _this select 2;
|
||||||
|
|
||||||
|
if(_transport isKindOf "LandVehicle") then
|
||||||
|
{
|
||||||
|
_transport setFuel 0;
|
||||||
|
_transportDriver = driver _transport;
|
||||||
|
_transportDriver disableAI "MOVE";
|
||||||
|
};
|
||||||
|
|
||||||
_bus setFuel 0;
|
|
||||||
_busDriver = driver _bus;
|
|
||||||
_busDriver disableAI "MOVE";
|
|
||||||
_bus animateDoor ["Doors_1", 1];
|
|
||||||
_bus animateDoor ["Doors_2", 1];
|
|
||||||
_bus animateDoor ["Doors_3", 1];
|
|
@ -1,5 +1,5 @@
|
|||||||
// Triggered if a player gets on the public bus
|
// Triggered if a player gets on the public transport
|
||||||
// adds an addaction to stop the bus
|
|
||||||
_bus = _this select 0;
|
_transport = _this select 0;
|
||||||
_unit = _this select 2;
|
_unit = _this select 2;
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ _unit = _this select 0;
|
|||||||
|
|
||||||
_staticUID = _unit getVariable "SC_staticUID";
|
_staticUID = _unit getVariable "SC_staticUID";
|
||||||
_spawnPosition = _unit getVariable "SC_staticSpawnPos";
|
_spawnPosition = _unit getVariable "SC_staticSpawnPos";
|
||||||
|
_unit removeAllMPEventHandlers "mphit";
|
||||||
|
|
||||||
_group = group _unit;
|
_group = group _unit;
|
||||||
|
|
||||||
|
@ -16,6 +16,11 @@ if (SC_fastNights) then
|
|||||||
[60, fnc_checkMultiplier, [], true] call ExileServer_system_thread_addTask;
|
[60, fnc_checkMultiplier, [], true] call ExileServer_system_thread_addTask;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if() then
|
||||||
|
{
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
if(SC_occupyTraders) then
|
if(SC_occupyTraders) then
|
||||||
{
|
{
|
||||||
uiSleep 15; // delay the start
|
uiSleep 15; // delay the start
|
||||||
|
Loading…
Reference in New Issue
Block a user