Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
heclak committed Oct 6, 2020
2 parents 9572e52 + 12be156 commit 33f9ee7
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 26 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion A-4E-C/Views.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ViewSettings = {
Cockpit = {

[1] = {-- player slot 1
CameraViewAngleLimits = {30,120}, -- FOV Mini Maxi
CameraViewAngleLimits = {20,140}, -- FOV Mini Maxi
CockpitLocalPoint = {3.065, 0.585, 0.000000},
CameraAngleRestriction = {false,90,0.4},
CameraAngleLimits = {200,-90,90}, -- max wiew right/left, max view down, max view up
Expand Down
48 changes: 24 additions & 24 deletions A-4E-C/Weapons/A4E_Weapons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ mk4hipeg = {
displayName = _("Mk4 HIPEG"),
Weight = 612.35, -- 1350lb/612.35kg loaded (incl. 201kg of ammunition)
Cx_pil = 0.001220703125,
Elements = {{ShapeName = "mk4"}},
Elements = {{ShapeName = "A4E_Mk4_HIPEG"}},
kind_of_shipping = 2, -- SOLID_MUNITION
gun_mounts = {
Mk11mod0({
Expand All @@ -543,7 +543,7 @@ mk4hipeg = {
elevation_initial = 0,
supply_position = {2, -0.3, -0.4}})
},
shape_table_data = {{file = 'mk4'; username = 'MK4 HIPEG'; index = WSTYPE_PLACEHOLDER;}}
shape_table_data = {{file = 'A4E_Mk4_HIPEG'; username = 'MK4 HIPEG'; index = WSTYPE_PLACEHOLDER;}}
}
declare_loadout(mk4hipeg)

Expand All @@ -552,7 +552,7 @@ mk77mod0 =
{
category = CAT_BOMBS,
name = "MK77mod0-WPN",
model = "mk77mod0",
model = "A4E_Mk77mod0",
user_name = _("Mk-77 mod 0"),
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
Expand Down Expand Up @@ -584,7 +584,7 @@ mk77mod0 =
shape_table_data =
{
{
file = "mk77mod0",
file = "A4E_Mk77mod0",
index = WSTYPE_PLACEHOLDER,
},
},
Expand Down Expand Up @@ -660,7 +660,7 @@ mk77mod1 =
{
category = CAT_BOMBS,
name = "MK77mod1-WPN",
model = "mk77mod1",
model = "A4E_Mk77mod1",
user_name = _("Mk-77 mod 1"),
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
Expand Down Expand Up @@ -692,7 +692,7 @@ mk77mod1 =
shape_table_data =
{
{
file = "mk77mod1",
file = "A4E_Mk77mod1",
index = WSTYPE_PLACEHOLDER,
},
},
Expand Down Expand Up @@ -770,7 +770,7 @@ MK_81SE = {
category = CAT_BOMBS,
name = "MK-81SE",
user_name = _("Mk-81SE"),
model = "mk-81se",
model = "A4E_MK-81SE",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A, WSTYPE_PLACEHOLDER},
scheme = "bomb-parashute",
class_name = "wAmmunitionBallute",
Expand Down Expand Up @@ -800,7 +800,7 @@ MK_81SE = {
shape_table_data = {
{
name = "MK-81SE";
file = "mk-81se";
file = "A4E_MK-81SE";
life = 1;
fire = {0, 1};
username = "Mk-81SE";
Expand Down Expand Up @@ -839,7 +839,7 @@ AN_M66A2 = {
category = CAT_BOMBS,
name = "AN-M66A2",
user_name = _("AN-M66A2"),
model = "an-m66",
model = "A4E_AN-M66",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
type = 0,
Expand Down Expand Up @@ -875,7 +875,7 @@ AN_M66A2 = {
shape_table_data = {
{
name = "AN_M66A2";
file = "an-m66";
file = "A4E_AN-M66";
life = 1;
fire = {0, 1};
username = "AN-M66A2";
Expand Down Expand Up @@ -914,7 +914,7 @@ AN_M81 = {
category = CAT_BOMBS,
name = "AN-M81",
user_name = _("AN-M81"),
model = "an-m81",
model = "A4E_AN-M81",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
type = 0,
Expand Down Expand Up @@ -950,7 +950,7 @@ AN_M81 = {
shape_table_data = {
{
name = "AN_M81";
file = "an-m81";
file = "A4E_AN-M81";
life = 1;
fire = {0, 1};
username = "AN-M81";
Expand Down Expand Up @@ -989,7 +989,7 @@ AN_M88 = {
category = CAT_BOMBS,
name = "AN-M88",
user_name = _("AN-M88"),
model = "an-m88",
model = "A4E_AN-M88",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
type = 0,
Expand Down Expand Up @@ -1025,7 +1025,7 @@ AN_M88 = {
shape_table_data = {
{
name = "AN_M88";
file = "an-m88";
file = "A4E_AN-M88";
life = 1;
fire = {0, 1};
username = "AN-M88";
Expand Down Expand Up @@ -1065,7 +1065,7 @@ BLU_3B = {
category = CAT_BOMBS,
name = "BLU-3B",
user_name = _("BLU-3B"),
model = "blu-3b",
model = "A4E_BLU-3B",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster, WSTYPE_PLACEHOLDER},
scheme = "bomb-parashute",
class_name = "wAmmunitionBallute",
Expand Down Expand Up @@ -1106,7 +1106,7 @@ BLU_3B = {
shape_table_data = {
{
name = "BLU-3B";
file = "blu-3b";
file = "A4E_BLU-3B";
life = 1;
fire = {0, 1};
username = "BLU-3B";
Expand All @@ -1131,7 +1131,7 @@ BLU_4B = {
category = CAT_BOMBS,
name = "BLU-4B",
user_name = _("BLU-4B"),
model = "blu-4b",
model = "A4E_BLU-4B",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster, WSTYPE_PLACEHOLDER},
scheme = "bomb-parashute",
class_name = "wAmmunitionBallute",
Expand Down Expand Up @@ -1172,7 +1172,7 @@ BLU_4B = {
shape_table_data = {
{
name = "BLU-4B";
file = "blu-4b";
file = "A4E_BLU-4B";
life = 1;
fire = {0, 1};
username = "BLU-4B";
Expand All @@ -1192,9 +1192,9 @@ declare_weapon(BLU_4B)

local bomblet_data =
{
--use shapename, mass, wstype, drag,
["BLU-3B"] = { mass = BLU_3B.mass, wstype = BLU_3B.wsTypeOfWeapon, cx = 0.0001, len = 0.095+0.05 },
["BLU-4B"] = { mass = BLU_3B.mass, wstype = BLU_4B.wsTypeOfWeapon, cx = 0.0001, len = 0.095+0.05 },
--use shapename, mass, wstype, drag,
["BLU-3B"] = { mass = BLU_3B.mass, wstype = BLU_3B.wsTypeOfWeapon, model = BLU_3B.model, cx = 0.0001, len = 0.095+0.05 },
["BLU-4B"] = { mass = BLU_3B.mass, wstype = BLU_4B.wsTypeOfWeapon, model = BLU_4B.model, cx = 0.0001, len = 0.095+0.05 },
}

function make_cbu_a4e(dispenser,element,count) -- assemble a cluster dispenser
Expand All @@ -1215,7 +1215,7 @@ function make_cbu_a4e(dispenser,element,count) -- assemble a cluster dispenser
{
{
Position = {0, 0, 0},
ShapeName = "suu-7",
ShapeName = "A4E_SUU-7",
IsAdapter = true,
},
}
Expand Down Expand Up @@ -1250,7 +1250,7 @@ function make_cbu_a4e(dispenser,element,count) -- assemble a cluster dispenser
data.Elements[#data.Elements + 1] = {
DrawArgs = {{1,1},{2,1}},
Position = pos_bomblets[(i%19)+1],
ShapeName = element,
ShapeName = bomblet.model,
Rotation = {0,0,0}
}
end
Expand Down Expand Up @@ -1569,7 +1569,7 @@ function make_cbu_a4e_multi(dispenser,count,side) -- assemble a rack of cluster
DrawArgs = {{1,1},{2,1}},
connector_name = connectors[j],
payload_CLSID = "{"..dispenser.."}",
ShapeName = "suu-7",
ShapeName = "A4E_SUU-7",
IsAdapter = true
}
end
Expand Down
2 changes: 1 addition & 1 deletion A-4E-C/entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ displayName = _("A-4E-C"),

fileMenuName = _("A-4E-C"),
update_id = "A-4E-C",
version = "1.4.1", -- increment this number on the release branch. Use semantic versioning https://semver.org
version = "1.4.2", -- increment this number on the release branch. Use semantic versioning https://semver.org
state = "installed",
info = _("A-4E-C aka \"Community A-4E\"\n\nThe A-4 is a lightweight, subsonic, single-engine attack aircraft. Entering service in 1956, it was designed to deliver conventional and nuclear weapons in daytime visual flight conditions. However, using the APG-53(A) radar first installed on the A-4C, the A-4 is capable of all-weather navigation at low altitudes, as well as limited computer-assisted weapon delivery."),
encyclopedia_path = current_mod_path..'/Encyclopedia',
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@

Please list the changes you've made in this file. We should try to follow the guidelines listed here. https://keepachangelog.com

## Version 1.4.2 - 4 October 2020

### Added

### Changed

- refactor weapon model names and code to remove IC conflicts. Affected weapons:
- AN-M66
- AN-M81
- AN-M88
- BLU-3B
- BLU-4B
- Mk4 HIPEG
- Mk77mod0
- Mk77mod1
- Mk-81SE
- SUU-7
- update FOV limits to from 30, 120 to 20, 140

### Deprecated

### Removed

### Fixed

## Version 1.4.1 - 2 September 2020

### Added
Expand Down

0 comments on commit 33f9ee7

Please sign in to comment.