mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
This sets the missing side and faction to every vehicle. Thx to iben for explaining. Also set every epoch vehicle to side west and faction USMC to avoid AI problems. As far as Ive tested there are no problems with these settings. This needs some more testing with AI helicopters. Non militarized servers are not affected by this change at all.
44 lines
893 B
C++
44 lines
893 B
C++
class Bicycle;
|
|
class Old_bike_base_EP1 : Bicycle
|
|
{
|
|
class Reflectors
|
|
{
|
|
class Right
|
|
{
|
|
color[] = {0.9,0.8,0.8,1};
|
|
ambient[] = {0.1,0.1,0.1,1};
|
|
position = "P svetlo";
|
|
direction = "konec P svetla";
|
|
hitpoint = "P svetlo";
|
|
selection = "P svetlo";
|
|
brightness = 0.4;
|
|
size = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
class Old_bike_TK_CIV_EP1;
|
|
class Old_bike_TK_CIV_EP1_DZE: Old_bike_TK_CIV_EP1 {
|
|
side = 1;
|
|
faction = "USMC";
|
|
displayName = $STR_VEH_NAME_BIKE_OLD;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
supplyRadius = -1;
|
|
};
|
|
|
|
class MMT_Civ;
|
|
class MMT_Civ_DZE: MMT_Civ {
|
|
side = 1;
|
|
faction = "USMC";
|
|
displayName = $STR_VEH_NAME_BIKE_MOUNTAINBIKE;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
supplyRadius = -1;
|
|
}; |