|
![]() |
#9 |
Звичайна людина на Землі
Регистрация: 06.11.2011
Адрес: Україна, м.Київ, Печерський район, вул. Кіквідзе
Сообщений: 8,352
|
![]()
Взялся наконец за переделку некоторых пушек.
Вот так выглядит японская ХО-5: Код:
package com.maddox.il2.objects.weapons; import com.maddox.JGP.Color3f; import com.maddox.il2.engine.BulletProperties; import com.maddox.il2.engine.GunProperties; import com.maddox.il2.engine.*; // Referenced classes of package com.maddox.il2.objects.weapons: // MGunAircraftGeneric public class MGunHO5SL extends MGunAircraftGeneric { public MGunHO5SL() { } public GunProperties createProperties() { GunProperties gunproperties = super.createProperties(); gunproperties.bCannon = false; gunproperties.bUseHookAsRel = true; gunproperties.fireMesh = "3DO/Effects/GunFire/20mm/mono.sim"; gunproperties.fire = null; gunproperties.sprite = "3DO/Effects/GunFire/20mm/GunFlare.eff"; gunproperties.smoke = "effects/smokes/MachineGun.eff"; gunproperties.shells = "3DO/Effects/GunShells/GunShells.eff"; gunproperties.sound = "weapon.mgun_20_700"; gunproperties.emitColor = new Color3f(1.0F, 1.0F, 0.0F); gunproperties.emitI = 10F; gunproperties.emitR = 3F; gunproperties.emitTime = 0.03F; gunproperties.aimMinDist = 10F; gunproperties.aimMaxDist = 1000F; gunproperties.weaponType = -1; gunproperties.maxDeltaAngle = 0.17F; gunproperties.shotFreq = 11F; gunproperties.traceFreq = 6; gunproperties.bullets = 150; gunproperties.bulletsCluster = 1; gunproperties.bullet = (new BulletProperties[] { new BulletProperties(), new BulletProperties(), new BulletProperties(), new BulletProperties(), new BulletProperties(), new BulletProperties() }); gunproperties.bullet[0].massa = 0.0845F; gunproperties.bullet[0].kalibr = 0.000394F; gunproperties.bullet[0].speed = 735F; gunproperties.bullet[0].power = 0.0059F; gunproperties.bullet[0].powerType = 0; gunproperties.bullet[0].powerRadius = 0.32F; gunproperties.bullet[0].traceMesh = "3do/effects/tracers/20mmYellow/mono.sim"; gunproperties.bullet[0].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[0].traceColor = 0xd2129cef; gunproperties.bullet[0].timeLife = 10F; gunproperties.bullet[1].massa = 0.0845F; gunproperties.bullet[1].kalibr = 0.000394F; gunproperties.bullet[1].speed = 735F; gunproperties.bullet[1].power = 0.0059F; gunproperties.bullet[1].powerType = 0; gunproperties.bullet[1].powerRadius = 0.32F; gunproperties.bullet[1].traceMesh = "3do/effects/tracers/20mmYellow/mono.sim"; gunproperties.bullet[1].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[1].traceColor = 0xd2129cef; gunproperties.bullet[1].timeLife = 10F; gunproperties.bullet[2].massa = 0.0845F; gunproperties.bullet[2].kalibr = 0.000394F; gunproperties.bullet[2].speed = 735F; gunproperties.bullet[2].power = 0.0059F; gunproperties.bullet[2].powerType = 0; gunproperties.bullet[2].powerRadius = 0.32F; gunproperties.bullet[2].traceMesh = "3do/effects/tracers/20mmYellow/mono.sim"; gunproperties.bullet[2].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[2].traceColor = 0xd2129cef; gunproperties.bullet[2].timeLife = 10F; gunproperties.bullet[3].massa = 0.0845F; gunproperties.bullet[3].kalibr = 0.000394F; gunproperties.bullet[3].speed = 735F; gunproperties.bullet[3].power = 0.0059F; gunproperties.bullet[3].powerType = 0; gunproperties.bullet[3].powerRadius = 0.32F; gunproperties.bullet[3].traceMesh = "3do/effects/tracers/20mmYellow/mono.sim"; gunproperties.bullet[3].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[3].traceColor = 0xd2129cef; gunproperties.bullet[3].timeLife = 10F; gunproperties.bullet[4].massa = 0.079F; gunproperties.bullet[4].kalibr = 0.000394F; gunproperties.bullet[4].speed = 740F; gunproperties.bullet[4].power = 0.0051F; gunproperties.bullet[4].powerType = 0; gunproperties.bullet[4].powerRadius = 0.01F; gunproperties.bullet[4].traceMesh = "3do/effects/tracers/20mmYellow/mono.sim"; gunproperties.bullet[4].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[4].traceColor = 0xd2129cef; gunproperties.bullet[4].timeLife = 10F; gunproperties.bullet[5].massa = 0.079F; gunproperties.bullet[5].kalibr = 0.000394F; gunproperties.bullet[5].speed = 740F; gunproperties.bullet[5].power = 0.0051F; gunproperties.bullet[5].powerType = 2; gunproperties.bullet[5].powerRadius = 0.01F; gunproperties.bullet[5].traceMesh = "3do/effects/tracers/20mmYellow/mono.sim"; gunproperties.bullet[5].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[5].traceColor = 0xd2129cef; gunproperties.bullet[5].timeLife = 10F; return gunproperties; } } Код:
gunproperties.bullet[0].massa = 0.117F; gunproperties.bullet[0].kalibr = 0.000404F; gunproperties.bullet[0].speed = 720F; gunproperties.bullet[0].power = 0.0072F; gunproperties.bullet[0].powerType = 0; gunproperties.bullet[0].powerRadius = 0.48F; gunproperties.bullet[0].traceMesh "3do/effects/tracers/20mmBlue/mono.sim"; gunproperties.bullet[0].traceTrail = "effects/Smokes/SmokeBlack_BuletteTrail.eff"; gunproperties.bullet[0].traceColor = 0xd2ff0000; gunproperties.bullet[0].timeLife = 10F; Архив с пушками внизу в архиве. Хеши/классы можно вкинуть в папку Нью-Гарматы, если кто скачивал. Должны работать в патчах от 4.10 и выше. В патче 4.09 могут не работать - этот патч имеет серьёзные ограничения по еффектам, которые прописуюся в более поздних патчах. ----------------------------------------------- Внизу архивы с фиксами MGunGSh23LSI--FIX RocketXR13M_NEW--FIX для Миг-21У. Архивы распаковать и содержимое высыпать в правленный мной мод Миг-21У. ------------------------- Новый вариант модернизированного Миг-21У сейчас на тесте - я просил одного участника сайта проверить наличия всего контента в 3До. Если тесты будут успешными - исправленный мод будет выложен для скачивания всем желающим. Последний раз редактировалось Vasya; 29.07.2017 в 05:36. |
![]() |
![]() |
Здесь присутствуют: 2 (пользователей: 0 , гостей: 2) | |
|
|