mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Should improve client FPS while still allowing conditions and scripts to be customized. Some special vehicles like MV22, UH1Y, etc. have UserActions overwritten in their configs, so please let me know if you find any others that do not get the option to repair or salvage because UserActions is overwritten in their config. I think I got them all. Vanilla commits:a8c4238c0c350d73abe1
24 lines
532 B
C++
24 lines
532 B
C++
class MV22;
|
|
class MV22_DZ : MV22 {
|
|
accuracy = 1000;
|
|
scope = public;
|
|
displayName = "MV-22";
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
commanderCanSee = 2+16+32;
|
|
gunnerCanSee = 2+16+32;
|
|
driverCanSee = 2+16+32;
|
|
transportMaxWeapons = 20;
|
|
transportMaxMagazines = 400;
|
|
transportmaxbackpacks = 10;
|
|
fuelCapacity = 6513;
|
|
class UserActions
|
|
{
|
|
class Repair {ACTION_REPAIR; radius = 8;};
|
|
class Salvage {ACTION_SALVAGE; radius = 8;};
|
|
class PushPlane {ACTION_PUSH;};
|
|
};
|
|
};
|