mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 17:51:51 +03:00
Update vehicle configs
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
class Nissan_base: VWGolf
|
||||
class Nissan_base: epoch_car
|
||||
{
|
||||
scope = 0;
|
||||
displayname = "Nissun 350z";
|
||||
model = "\z\addons\dayz_epoch_v\vehicles\nissan\nissan350z";
|
||||
picture = "\dayz_epoch_c\icons\vehicles\nissan.paa";
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
armor = 60;
|
||||
damageResistance = 0.01821;
|
||||
transportsoldier = 1;
|
||||
@@ -54,6 +53,175 @@ class Nissan_base: VWGolf
|
||||
};
|
||||
};
|
||||
class nvgmarkers {};
|
||||
|
||||
insideSoundCoef = 0.9;
|
||||
SoundGetIn[] = {"ca\sounds\Vehicles\wheeled\GOLF\ext\ext-golf-getout", 0.562341, 1};
|
||||
SoundGetOut[] = {"ca\sounds\Vehicles\wheeled\GOLF\ext\ext-golf-getout", 0.562341, 1, 40};
|
||||
soundEngineOnInt[] = {"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-start-1", 0.562341, 1.0};
|
||||
soundEngineOnExt[] = {"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-start-1", 0.562341, 1.0, 250};
|
||||
soundEngineOffInt[] = {"ca\sounds\vehicles\Wheeled\GOLF\int\int-golf-stop-1", 0.562341, 1.0};
|
||||
soundEngineOffExt[] = {"ca\sounds\vehicles\Wheeled\GOLF\ext\ext-golf-stop-1", 0.562341, 1.0, 250};
|
||||
buildCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_building_01", 0.707946, 1, 200};
|
||||
buildCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_building_02", 0.707946, 1, 200};
|
||||
buildCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_building_03", 0.707946, 1, 200};
|
||||
buildCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_building_04", 0.707946, 1, 200};
|
||||
soundBuildingCrash[] = {"buildCrash0", 0.25, "buildCrash1", 0.25, "buildCrash2", 0.25, "buildCrash3", 0.25};
|
||||
WoodCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_01", 0.707946, 1, 200};
|
||||
WoodCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_02", 0.707946, 1, 200};
|
||||
WoodCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_03", 0.707946, 1, 200};
|
||||
WoodCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_04", 0.707946, 1, 200};
|
||||
WoodCrash4[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_05", 0.707946, 1, 200};
|
||||
WoodCrash5[] = {"Ca\sounds\Vehicles\Crash\crash_mix_wood_06", 0.707946, 1, 200};
|
||||
soundWoodCrash[] = {"woodCrash0", 0.166, "woodCrash1", 0.166, "woodCrash2", 0.166, "woodCrash3", 0.166, "woodCrash4", 0.166, "woodCrash5", 0.166};
|
||||
ArmorCrash0[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_01", 0.707946, 1, 200};
|
||||
ArmorCrash1[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_02", 0.707946, 1, 200};
|
||||
ArmorCrash2[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_03", 0.707946, 1, 200};
|
||||
ArmorCrash3[] = {"Ca\sounds\Vehicles\Crash\crash_vehicle_04", 0.707946, 1, 200};
|
||||
soundArmorCrash[] = {"ArmorCrash0", 0.25, "ArmorCrash1", 0.25, "ArmorCrash2", 0.25, "ArmorCrash3", 0.25};
|
||||
class SoundEvents
|
||||
{
|
||||
class AccelerationIn
|
||||
{
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-acce-1", 0.891251, 1.0};
|
||||
limit = 0.15;
|
||||
expression = "engineOn*(1-camPos)*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
|
||||
};
|
||||
|
||||
class AccelerationOut
|
||||
{
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-acce-1", 0.562341, 1.0, 250};
|
||||
limit = 0.15;
|
||||
expression = "engineOn*camPos*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
|
||||
};
|
||||
};
|
||||
class Sounds
|
||||
{
|
||||
class Engine {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-low-1", 0.398107, 1.0, 300};
|
||||
frequency = "(randomizer*0.05+1.25)*rpm";
|
||||
volume = "camPos*engineOn*((rpm factor[0.25, 0.4]) min (rpm factor[0.6, 0.45]))";
|
||||
};
|
||||
|
||||
class EngineHighOut {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-high-1", 0.398107, 0.8, 450};
|
||||
frequency = "(randomizer*0.05+1.1)*rpm";
|
||||
volume = "camPos*engineOn*(rpm factor[0.5, 0.9])";
|
||||
};
|
||||
|
||||
class IdleOut {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\ext\ext-golf-idle-1", 0.316228, 1.0, 100};
|
||||
frequency = "1";
|
||||
volume = "engineOn*camPos*(rpm factor[0.4, 0])";
|
||||
};
|
||||
|
||||
class TiresRockOut {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*rock*(speed factor[4, 20])";
|
||||
};
|
||||
|
||||
class TiresSandOut {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*sand*(speed factor[4, 20])";
|
||||
};
|
||||
|
||||
class TiresGrassOut {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*grass*(speed factor[4, 20])";
|
||||
};
|
||||
|
||||
class TiresMudOut {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*mud*(speed factor[4, 20])";
|
||||
};
|
||||
|
||||
class TiresGravelOut {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*gravel*(speed factor[4, 20])";
|
||||
};
|
||||
|
||||
class TiresAsphaltOut {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*asphalt*(speed factor[4, 20])";
|
||||
};
|
||||
|
||||
class NoiseOut {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\Noises\ext\noise2", 0.0562341, 1.0, 40};
|
||||
frequency = "1";
|
||||
volume = "camPos*(damper0 max 0.036)*(speed factor[0, 8])";
|
||||
};
|
||||
|
||||
class EngineLowIn {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-low-1", 0.707946, 1.0};
|
||||
frequency = "(randomizer*0.05+1.3)*rpm";
|
||||
volume = "(1-camPos)*engineOn*((rpm factor[0.3, 0.5]) min (rpm factor[0.7, 0.52]))";
|
||||
};
|
||||
|
||||
class EngineHighIn {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-high-1", 0.707946, 0.95};
|
||||
frequency = "(randomizer*0.05+1.2)*rpm";
|
||||
volume = "(1-camPos)*engineOn*(rpm factor[0.6, 1.0])";
|
||||
};
|
||||
|
||||
class IdleIn {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\GOLF\int\int-golf-idle-1", 0.562341, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*engineOn*(rpm factor[0.4, 0])";
|
||||
};
|
||||
|
||||
class TiresRockIn {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2", 0.0707946, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*rock*(speed factor[2, 20])";
|
||||
};
|
||||
|
||||
class TiresSandIn {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2", 0.0707946, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*sand*(speed factor[2, 20])";
|
||||
};
|
||||
|
||||
class TiresGrassIn {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3", 0.0707946, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*grass*(speed factor[2, 20])";
|
||||
};
|
||||
|
||||
class TiresMudIn {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2", 0.0707946, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*mud*(speed factor[2, 20])";
|
||||
};
|
||||
|
||||
class TiresGravelIn {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2", 0.0707946, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*gravel*(speed factor[2, 20])";
|
||||
};
|
||||
|
||||
class TiresAsphaltIn {
|
||||
sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3", 0.0562341, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
|
||||
};
|
||||
|
||||
class NoiseIn {
|
||||
sound[] = {"ca\sounds\Vehicles\Wheeled\Noises\int\int-noise2", 0.1, 1.0};
|
||||
frequency = "1";
|
||||
volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
|
||||
};
|
||||
|
||||
class Movement {
|
||||
sound = "soundEnviron";
|
||||
frequency = "1";
|
||||
volume = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Nissan_Orange_DZE: Nissan_base
|
||||
|
||||
Reference in New Issue
Block a user