|
|
Модератор форума: GUNNER161, Panikaha |
Форум РЕДАКТОР - ArmA 3 Скрипты Перенес модель,Не хочет сесть за руль |
Перенес модель,Не хочет сесть за руль |
› Четверг
› 18.02.2016
› 15:22
› Сообщение #
Вопорос такой,что в конфиге отвечает за посадку персонажа за руль.инвентарь открывает а за руль не садиться.
Цитата enum { STABILIZEDINAXISX = 1, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, STABILIZEDINAXESNONE = 0, }; class CfgPatches { class CAWheeled_E_ATV { units[] = { "ATV_US_EP1", "ATV_CZ_EP1" }; weapons[] = { }; requiredVersion = 1.020000; requiredAddons[] = { "CAWheeled_E" }; }; }; class CfgVehicles { class Land ; class LandVehicle : Land { class HitPoints ; }; class Car : LandVehicle { class HitPoints { class HitLFWheel ; class HitLBWheel ; class HitLMWheel ; class HitLF2Wheel ; class HitRFWheel ; class HitRBWheel ; class HitRMWheel ; class HitRF2Wheel ; }; }; class ATV_Base_EP1 : Car { expansion = 1; brakeDistance = 8.500000; htMin = 60; htMax = 1800; afMax = 100; mfMax = 80; mFact = 0; tBody = 0; scope = 0; displayName = "$STR_EP1_DN_ATV_Base_EP1"; class Library { libTextDesc = "$STR_EP1_LIB_ATV"; }; model = "\ca\wheeled_e\ATV\ATV.p3d"; armor = 30; damageResistance = 0.009130; threat[] = { 0.000000, 0.000000, 0.000000 }; HiddenSelections[] = { "camo1", "camo2" }; HiddenSelectionsTextures[] = { "ca\wheeled_e\atv\data\atv_co.paa", "ca\wheeled_e\atv\data\atv_detail_co.paa" }; outsideSoundFilter = 0; insideSoundCoef = 1; soundGear[] = { "", 0.000056, 1 }; soundGetIn[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_gearshift", 0.562341, 1 }; soundGetOut[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_gearshift", 0.562341, 1, 20 }; soundEngineOnInt[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_start", 0.177828, 1.000000 }; soundEngineOnExt[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_start", 0.177828, 1.000000, 100 }; soundEngineOffInt[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_stop", 0.177828, 1.000000 }; soundEngineOffExt[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_stop", 0.177828, 1.000000, 100 }; 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.250000, "buildCrash1", 0.250000, "buildCrash2", 0.250000, "buildCrash3", 0.250000 }; 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.166000, "woodCrash1", 0.166000, "woodCrash2", 0.166000, "woodCrash3", 0.166000, "woodCrash4", 0.166000, "woodCrash5", 0.166000 }; 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.250000, "ArmorCrash1", 0.250000, "ArmorCrash2", 0.250000, "ArmorCrash3", 0.250000 }; class SoundEvents { class AccelerationIn { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_acceleration_1", 1.000000, 1.000000 }; limit = "0.4"; expression = "(engineOn*(1-camPos))*gmeterZ"; }; class AccelerationOut { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_acceleration_1", 1.000000, 1.000000, 200 }; limit = "0.4"; expression = "(engineOn*camPos)*gmeterZ"; }; }; class Sounds { class Engine { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_high_1", 1.000000, 1.200000, 200 }; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "camPos*engineOn*((rpm factor[0.3, 0.4]) min (rpm factor[0.6, 0.45]))"; }; class EngineHighOut { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_high", 1.000000, 1.000000, 400 }; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "camPos*engineOn*(rpm factor[0.5, 0.8])"; }; class IdleOut { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_idle_2", 0.562341, 1.000000, 100 }; frequency = "1"; volume = "engineOn*camPos*(rpm factor[0.4, 0])"; }; class TiresRockOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2", 0.316228, 1.000000, 30 }; frequency = "1"; volume = "camPos*rock*(speed factor[2, 20])"; }; class TiresSandOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2", 0.316228, 1.000000, 30 }; frequency = "1"; volume = "camPos*sand*(speed factor[2, 20])"; }; class TiresGrassOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass2", 0.316228, 1.000000, 30 }; frequency = "1"; volume = "camPos*grass*(speed factor[2, 20])"; }; class TiresMudOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2", 0.316228, 1.000000, 30 }; frequency = "1"; volume = "camPos*mud*(speed factor[2, 20])"; }; class TiresGravelOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2", 0.316228, 1.000000, 30 }; frequency = "1"; volume = "camPos*gravel*(speed factor[2, 20])"; }; class TiresAsphaltOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3", 0.316228, 1.000000, 30 }; frequency = "1"; volume = "camPos*asphalt*(speed factor[2, 20])"; }; class NoiseOut { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Noises\ext\noise2", 0.177828, 1.000000, 30 }; frequency = "1"; volume = "camPos*(damper0 max 0.03)*(speed factor[0, 8])"; }; class EngineLowIn { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_high_1", 0.316228, 1.200000 }; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "(1-camPos)*engineOn*((rpm factor[0.3, 0.5]) min (rpm factor[0.6, 0.45]))"; }; class EngineHighIn { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_high", 1.000000, 0.900000 }; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "(1-camPos)*engineOn*(rpm factor[0.45, 0.8])"; }; class IdleIn { sound[] = { "ca\Sounds_E\Wheeled_E\ATV\ATV_ext_idle_2", 0.316228, 1.000000 }; frequency = "1"; volume = "engineOn*(rpm factor[0.4, 0])*(1-camPos)"; }; class TiresRockIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2", 1.000000, 1.000000 }; frequency = "1"; volume = "(1-camPos)*rock*(speed factor[2, 20])"; }; class TiresSandIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2", 1.000000, 1.000000 }; frequency = "1"; volume = "(1-camPos)*sand*(speed factor[2, 20])"; }; class TiresGrassIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass2", 1.000000, 1.000000 }; frequency = "1"; volume = "(1-camPos)*grass*(speed factor[2, 20])"; }; class TiresMudIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2", 1.000000, 1.000000 }; frequency = "1"; volume = "(1-camPos)*mud*(speed factor[2, 20])"; }; class TiresGravelIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2", 1.000000, 1.000000 }; frequency = "1"; volume = "(1-camPos)*gravel*(speed factor[2, 20])"; }; class TiresAsphaltIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3", 1.000000, 1.000000 }; frequency = "1"; volume = "(1-camPos)*asphalt*(speed factor[2, 20])"; }; class NoiseIn { sound[] = { "\ca\SOUNDS\Vehicles\Wheeled\Noises\ext\noise2", 0.446684, 1.000000 }; frequency = "1"; volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)"; }; class Movement { sound = "soundEnviron"; frequency = "1"; volume = "0"; }; }; transportSoldier = 1; icon = "\CA\wheeled_e\Data\UI\Icon_atv_CA.paa"; picture = "\CA\wheeled_e\Data\UI\Picture_atv_CA.paa"; mapSize = 2.500000; wheelSteeringSensitivity = 0.800000; fuelCapacity = 30; turnCoef = 1.500000; ejectDeadCargo = 1; ejectDeadDriver = 1; class Turrets { }; hideWeaponsDriver = 0; hideWeaponsCargo = 0; weapons[] = { "MiniCarHorn" }; magazines[] = { }; maxSpeed = 100; damperSize = 0.050000; damperForce = 3; driverAction = "ATV_Driver_EP1"; CargoAction[] = { "ATV_Cargo_EP1" }; extCameraPosition[] = { 0, 1, -4.500000 }; class HitPoints : HitPoints { class HitEngine { armor = 2; material = -1; name = "motor"; visual = "motor"; passThrough = 0; }; class HitFuel { armor = 1; material = -1; name = "palivo"; passThrough = 0; }; class HitLFWheel : HitLFWheel { armor = 1; }; class HitLBWheel : HitLBWheel { armor = 1; }; class HitRFWheel : HitRFWheel { armor = 1; }; class HitRBWheel : HitRBWheel { armor = 1; }; }; class Damage { tex[] = { }; mat[] = { "Ca\Ca_E\data\default.rvmat", "Ca\Ca_E\data\default.rvmat", "Ca\Ca_E\data\default_destruct.rvmat", "Ca\wheeled_E\ATV\data\ATV_body.rvmat", "Ca\wheeled_E\ATV\data\ATV_body_damage.rvmat", "Ca\wheeled_E\ATV\data\ATV_body_destruct.rvmat", "Ca\wheeled_E\ATV\data\ATV_detail.rvmat", "Ca\wheeled_E\ATV\data\ATV_detail_damage.rvmat", "Ca\wheeled_E\ATV\data\ATV_detail_destruct.rvmat" }; }; }; class ATV_US_EP1 : ATV_Base_EP1 { scope = 2; side = 1; faction = "BIS_US"; crew = "US_Soldier_EP1"; typicalCargo[] = { "US_Soldier_EP1", "US_Soldier_EP1" }; }; class ATV_CZ_EP1 : ATV_Base_EP1 { scope = 2; side = 1; faction = "BIS_CZ"; crew = "CZ_Soldier_DES_EP1"; typicalCargo[] = { "CZ_Soldier_DES_EP1", "CZ_Soldier_DES_EP1" }; }; }; |
› Четверг
› 18.02.2016
› 21:54
› Сообщение #
MDcore, тоесть вообще не появляется менюшка с действием? если так, то скорей всего ты не добавил точки в memory с именами
pos cargo \ pos cargo dir pos driver \ pos driver dir — 4 точки которые определяют где окажется водитель\пассажир при выходе из машины, и в какую сторону будет повернут. Ну и может найдешь еще чего-нибдь полезного тут , хотя там толком ничего до конца не дописано.... Добавлено (18.02.2016, 21:54) |
| |||
| |||
Чат сайта |