• R/O
  • SSH
  • HTTPS

jsdf-mod: Commit


Commit MetaInfo

Revisión62 (tree)
Tiempo2010-10-05 23:33:33
Autorh097

Log Message

(empty log message)

Cambiar Resumen

Diferencia incremental

--- JSDF_Air/P3/config.cpp (revision 61)
+++ JSDF_Air/P3/config.cpp (revision 62)
@@ -13,11 +13,13 @@
1313 class JSDF_Air ;
1414 class JSDF_Air_P3_Base : JSDF_Air
1515 {
16+ faction = JMSDF;
1617 displayName = P-3C;
1718 model = jsdf_air\P3\jmsdf_p3c;
1819 picture ="jsdf_air\P3\p3c_ico1_ca.paa";
19- Icon ="jsdf_air\P3\p3c_ico2_ca.paa";
20- mapSize = 10;
20+ Icon ="jsdf_air\P3\ico_P3C_ca.paa";
21+ mapSize = 35.5;
22+
2123 accuracy =0.30;
2224 cost =20000000;
2325 type =2;
@@ -205,9 +207,6 @@
205207 class JMSDF_P3C : JSDF_Air_P3_Base
206208 {
207209 scope = 2;
208- faction = JMSDF;
209210 model = "\JSDF_Air\P3\JMSDF_P3C";
210- weapons[] = {"JSDF_W_AAG_M61A1_F2"};
211- magazines[] = {"JSDF_M_AAG_20mm_F2" };
212211 };
213212 };
--- JSDF_Air/B767/config.cpp (revision 61)
+++ JSDF_Air/B767/config.cpp (revision 62)
@@ -42,15 +42,15 @@
4242 mat[]={"JSDF_Air\B767\body.rvmat","JSDF_Air\B767\body_damage.rvmat","JSDF_Air\B767\body_destruct.rvmat"};
4343 };
4444
45- faction = JASDF;
46- displayname = "E767";
47- model = "\JSDF_Air\B767\JASDF_E767.p3d";
48- extCameraPosition[]={0,10,-50};
49- aileronSensitivity=2.0;
50- elevatorSensitivity=3.0;
51- picture ="\JSDF_Air\B767\icon\e767_pic_ca.paa";
52- Icon ="\JSDF_Air\B767\icon\e767_icon_ca.paa";
53- mapSize = 10;
45+ faction = JASDF;
46+ displayname ="E767";
47+ model ="\JSDF_Air\B767\JASDF_E767.p3d";
48+ extCameraPosition[] ={0,10,-50};
49+ aileronSensitivity =2.0;
50+ elevatorSensitivity =3.0;
51+ picture ="\JSDF_Air\B767\pic_E767_ca.paa";
52+ Icon ="\JSDF_Air\B767\ico_E767_ca.paa";
53+ mapSize = 48;
5454 transportSoldier = 1;
5555 class EventHandlers
5656 {
@@ -79,12 +79,12 @@
7979 };
8080 };
8181 };
82- class JSDF_KC767 : JSDF_E767
82+ class JSDF_KC767 : JSDF_E767
8383 {
84- displayname = "KC767";
85- model = "\JSDF_Air\B767\JASDF_KC767.p3d";
86- picture ="\JSDF_Air\B767\icon\kc767_pic_ca.paa";
87- Icon ="\JSDF_Air\B767\icon\kc767_icon_ca.paa";
84+ displayname ="KC767";
85+ model ="\JSDF_Air\B767\JASDF_KC767.p3d";
86+ picture ="\JSDF_Air\B767\pic_kc767_ca.paa";
87+ Icon ="\JSDF_Air\B767\ico_kc767_ca.paa";
8888 class AnimationSources
8989 {
9090 class probe
--- JSDF_Air/B767/sound.hpp (revision 61)
+++ JSDF_Air/B767/sound.hpp (revision 62)
@@ -1,67 +1,44 @@
11 //C130の音+a。
2- soundGetIn[] = {"ca\sounds\Air\C130\close", db-10, 1};
3- soundGetOut[] = {"ca\sounds\Air\C130\open", db-10, 1, 40};
4- soundDammage[] = {"ca\sounds\Air\C130\int-alarm_loop", 0.562341, 1};
5- soundEngineOnInt[] = {"ca\sounds\Air\C130\int_start_1", 0.398107, 1.0};
6- soundEngineOnExt[] = {"ca\sounds\Air\C130\ext_start_1", 0.398107, 1.0, 700};
7- soundEngineOffInt[] = {"ca\sounds\Air\C130\int_stop_1", 0.398107, 1.0};
8- soundEngineOffExt[] = {"ca\sounds\Air\C130\ext_stop_1", 0.398107, 1.0, 700};
2+ soundGetIn[] = {"ca\sounds\Air\C130\close", db-10, 1};
3+ soundGetOut[] = {"ca\sounds\Air\C130\open", db-10, 1, 40};
4+ soundDammage[] = {"ca\sounds\Air\C130\int-alarm_loop", 0.562341, 1};
5+ soundEngineOnInt[] = {"", 0.4, 1.0};
6+ soundEngineOnExt[] = {"\JSDF_Air\B767\B767_eng_ext_on.wss", 0.4, 1.0, 700};
7+ soundEngineOffInt[] = {"", 0.4, 1.0};
8+ soundEngineOffExt[] = {"\JSDF_Air\B767\B767_eng_ext_off.wss", 0.4, 1.0, 700};
99
10- class Sounds {
11- class EngineLowOut {
12- sound[] = {"\JSDF_Air\B767\B767_eng_ext_low.ogg", db5, 1, 900};
13- frequency = "1.0 min (rpm + 0.5)";
14- volume = "camPos*engineOn*(rpm factor[0.85, 0])";
10+ class Sounds
11+ {
12+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
13+//機外
14+ class EngineLowOut //エンジンスタート
15+ {
16+ sound[] = {"\JSDF_Air\B767\B767_eng_ext_low.wss", 2.5, 1.0, 900};
17+ frequency = "2.0 min (rpm + 0.5)";
18+ volume = "camPos*engineOn*(rpm factor[0.85, 0])";
1519 };
16-
17- class EngineHighOut {
18- sound[] = {"\JSDF_Air\B767\B767_eng_ext_hi.ogg", db5, 1, 1100};
19- frequency = "1";
20- volume = "camPos*engineOn*(rpm factor[0.55, 1.0])";
20+ class EngineHighOut //エンジン音
21+ {
22+ sound[] ={"\JSDF_Air\B767\B767_eng_ext_hi.wss", 2.5, 1.0, 1100};
23+ frequency = "1";
24+ volume = "engineOn*camPos*(rpm factor[0.55, 1.0])";
2125 };
22-//A10のForsage(出力音?)
23- class ForsageOut {
24- sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-forsage1", 2.23872, 1.1, 1800};
25- frequency = "1";
26- volume = "engineOn*(thrust factor[0.5, 1.0])";
27- cone[] = {3.14, 3.92, 2.0, 0.5};
26+ class ForsageOut //エンジン高回転での爆音
27+ {
28+ sound[] = {"\JSDF_Air\B767\B767_eng_ext_for.wss", 2.5, 1.1, 1800};
29+ frequency = "1";
30+ volume = "engineOn*(thrust factor[0.5, 1.0])";
31+ cone[] = {3.14, 3.92, 2.0, 0.5};
2832 };
29- class ForsageIn {
30- sound[] = {"ca\sounds\Air\AV8\int\int-av8b-forsage-1", db-10, 1.1};
31- frequency = "1";
32- volume = "(1-camPos)*(engineOn*(thrust factor[0.5, 1.0]))";
33+ class WindNoiseOut
34+ {
35+ sound[] = {"ca\sounds\Air\C130\ext-wind1", 0.001, 0.6, 150};
36+ frequency = "(0.1+(1.2*(speed factor[1, 100])))";
37+ volume = "camPos*(speed factor[1, 100])";
3338 };
34-/*
35- class EngineLowOut {
36- sound[] = {"ca\sounds\Air\C130\ext_engine_low", db5, 1, 900};
37- frequency = "1.0 min (rpm + 0.5)";
38- volume = "camPos*engineOn*(rpm factor[0.85, 0])";
39- };
40-
41- class EngineHighOut {
42- sound[] = {"ca\sounds\Air\C130\ext_engine_hi", db5, 1, 1100};
43- frequency = "1";
44- volume = "camPos*engineOn*(rpm factor[0.55, 1.0])";
45- };
46- class ForsageOut {
47- sound[] = {"ca\sounds\Air\C130\ext_forsage_1", db3, 1, 1500};
48- frequency = "1";
49- volume = "camPos*engineOn*(thrust factor[0.5, 1.0])";
50- cone[] = {1.14, 3.92, 2.0, 0.4};
51- };
52- class ForsageIn {
53- sound[] = {"ca\sounds\Air\C130\int_forsage_1", db3, 1.1};
54- frequency = "1";
55- volume = "(1-camPos)*(engineOn*(thrust factor[0.5, 1.0]))";
56- };
57-*/
5839
59- class WindNoiseOut {
60- sound[] = {"ca\sounds\Air\C130\ext-wind1", 0.001, 0.6, 150};
61- frequency = "(0.1+(1.2*(speed factor[1, 100])))";
62- volume = "camPos*(speed factor[1, 100])";
63- };
64-
40+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
41+//機内
6542 class EngineLowIn {
6643 sound[] = {"ca\sounds\Air\C130\int_engine_low", db0, 1.0};
6744 frequency = "1.0 min (rpm + 0.5)";
@@ -73,6 +50,11 @@
7350 frequency = "1";
7451 volume = "(1-camPos)*(engineOn*(rpm factor[0.55, 1.0]))";
7552 };
53+ class ForsageIn {
54+ sound[] = {"ca\sounds\Air\AV8\int\int-av8b-forsage-1", db-10, 1.1};
55+ frequency = "1";
56+ volume = "(1-camPos)*(engineOn*(thrust factor[0.5, 1.0]))";
57+ };
7658
7759 class WindNoiseIn {
7860 sound[] = {"ca\sounds\Air\C130\int-wind1", 0.001, 0.6};
--- JSDF_Air/config.cpp (revision 61)
+++ JSDF_Air/config.cpp (revision 62)
@@ -34,6 +34,7 @@
3434 };
3535
3636 class DefaultEventhandlers;
37+class CfgMods{defaultAction = "http://es.sourceforge.jp/projects/jsdf-mod";};
3738
3839 #include "CfgMovesBasic.hpp"
3940 #include "CfgMovesMaleSdr.hpp"
--- JSDF_Air/F_1/config.cpp (revision 61)
+++ JSDF_Air/F_1/config.cpp (revision 62)
@@ -1,3 +1,35 @@
1+class CfgMovesBasic
2+{
3+ class DefaultDie;
4+ class ManActions{JSDF_F1_pilot = "JSDF_F1_pilot";};
5+};
6+class CfgMovesWomen : CfgMovesBasic
7+{
8+ class DefaultDie;
9+ class ManActions{JSDF_F1_pilot = ""; };
10+};
11+class CfgMovesMaleSdr : CfgMovesBasic
12+{
13+ class States
14+ {
15+ class JSDF_F1_pilot_dead : DefaultDie
16+ {
17+ actions = "DeadActions";
18+ file = "\JSDF_Air\F_1\F1_Pilot_dead";
19+ speed = 0.5;
20+ terminal = 1;
21+ soundEnabled = 0;
22+ looped = 0;
23+ connectTo[] = {"DeadState", 0.1};
24+ };
25+ class Crew;
26+ class JSDF_F1_pilot : Crew
27+ {
28+ file = "\JSDF_Air\F_1\F1_pilot";
29+ connectTo[] = {"JSDF_F1_pilot_dead", 1};
30+ };
31+ };
32+};
133 class CfgPatches
234 {
335 class JSDF_Air_F1
@@ -10,24 +42,32 @@
1042 };
1143 class cfgWeapons
1244 {
13- class MissileLauncher ;
14- class JSDF_W_SRM_F1 : MissileLauncher
45+ class JSDF_W_SRM ;
46+ class JSDF_W_SRM_F1x2 : JSDF_W_SRM
1547 {
16- displayName = SRM;
17- sound[] ={\ca\Weapons\Data\Sound\Javelin1,db30,1};
18- soundFly[] ={\ca\Weapons\Data\Sound\rocket_fly1,db28,0.8};
19- reloadTime = 0.1;
20- magazineReloadTime = 30;
2148 magazines[] =
2249 {
23- JSDF_M_AIM_9Lx2, JSDF_M_AIM_9Lx4,
24- JSDF_M_AIM_9Lnx2, JSDF_M_AIM_9Lnx4,
25- JSDF_M_AAM_3x2, JSDF_M_AAM_3x4,
50+ JSDF_M_AIM_9Bx2,
51+ JSDF_M_AIM_9Ex2,
52+ JSDF_M_AIM_9Lx2,
53+ JSDF_M_AIM_9Lnx2,
54+ JSDF_M_AAM_3x2,
2655 };
2756 minRange=10;minRangeProbab=0.10;
2857 midRange=3400;midRangeProbab=0.7;
2958 maxRange=6000;maxRangeProbab=0.001;
3059 };
60+ class JSDF_W_SRM_F1x4 : JSDF_W_SRM_F1x2
61+ {
62+ magazines[] =
63+ {
64+ JSDF_M_AIM_9Bx4,
65+ JSDF_M_AIM_9Ex4,
66+ JSDF_M_AIM_9Lx4,
67+ JSDF_M_AIM_9Lnx4,
68+ JSDF_M_AAM_3x4,
69+ };
70+ };
3171 };
3272 class CfgVehicles
3373 {
@@ -35,17 +75,18 @@
3575 class JSDF_Air_F1_Base : JSDF_Air
3676 {
3777 cost = 10000000;
78+ faction = JASDF;
3879 displayName = F-1;
3980 model = "\ca\air\ah1z";
40- picture = "\ca\air\data\ico\ah1z_CA.paa";
41- Icon = "\ca\air\data\map_ico\icomap_ah1z_CA.paa";
42- mapSize = 15.5;
81+ picture ="\ca\air\data\ico\ah1z_CA.paa";
82+ Icon ="\JSDF_Air\F_1\ico_F1_ca.paa";
83+ mapSize = 18.25;
4384
4485 threat[] = {0.3, 0.1, 0.1};
4586 accuracy = 1000;
4687
47- weapons[] = {"JSDF_W_AAG_M61A1_F1", "JSDF_W_SRM_F1" };
48- magazines[] = {"JSDF_M_AAG_20mm_F1", "JSDF_M_AIM_9Lnx4" };
88+ weapons[] = {"JSDF_W_AAG_M61A1_F1", "JSDF_W_SRM_F1x2" };
89+ magazines[] = {"JSDF_M_AAG_20mm_F1", "JSDF_M_AIM_9Lnx2" };
4990 laserScanner = 0;
5091
5192 crew = "USMC_Soldier_Pilot";
@@ -54,7 +95,7 @@
5495 getInAction = "GetInHigh";
5596 getOutAction = "GetOutHigh";
5697 driverCompartments = 1;
57- driverAction = "AV8B_Pilot";
98+ driverAction = "JSDF_F1_pilot";
5899 // cargoAction[] = {"UH60_Pilot", "Mi17_Cargo02"};
59100 // cargoCompartments[] = {2, 4};
60101 // cargoIsCoDriver[] = {1, 0};
@@ -97,7 +138,7 @@
97138 };
98139 class ForsageOut
99140 {
100- sound[] = {"JSDF_Air\F_1\F1_ext_for.wss", 2.51189, 1.1, 3000};
141+ sound[] = {"JSDF_Air\F_1\F1_ext_for.wss", 2.5, 1.1, 3000};
101142 frequency = "1";
102143 volume = "engineOn*camPos*(thrust factor[0.5, 1.0])";
103144 cone[] = {3.14, 3.92, 2.0, 0.4};
@@ -158,7 +199,6 @@
158199 class JASDF_F1 : JSDF_Air_F1_Base
159200 {
160201 scope = 2;
161- faction = JASDF;
162202 model = "\JSDF_Air\F_1\JASDF_F1";
163203 };
164204 };
--- JSDF_Air/F_2/config.cpp (revision 61)
+++ JSDF_Air/F_2/config.cpp (revision 62)
@@ -1,3 +1,35 @@
1+class CfgMovesBasic
2+{
3+ class DefaultDie;
4+ class ManActions{JSDF_F2_pilot = "JSDF_F2_pilot";};
5+};
6+class CfgMovesWomen : CfgMovesBasic
7+{
8+ class DefaultDie;
9+ class ManActions{JSDF_F2_pilot = ""; };
10+};
11+class CfgMovesMaleSdr : CfgMovesBasic
12+{
13+ class States
14+ {
15+ class JSDF_F2_pilot_dead : DefaultDie
16+ {
17+ actions = "DeadActions";
18+ file = "\JSDF_Air\F_2\F2_Pilot_dead";
19+ speed = 0.5;
20+ terminal = 1;
21+ soundEnabled = 0;
22+ looped = 0;
23+ connectTo[] = {"DeadState", 0.1};
24+ };
25+ class Crew;
26+ class JSDF_F2_pilot : Crew
27+ {
28+ file = "\JSDF_Air\F_2\F2_pilot";
29+ connectTo[] = {"JSDF_F2_pilot_dead", 1};
30+ };
31+ };
32+};
133 class CfgPatches
234 {
335 class JSDF_Air_F2
@@ -10,14 +42,9 @@
1042 };
1143 class cfgWeapons
1244 {
13- class MissileLauncher ;
14- class JSDF_W_SRM_F2 : MissileLauncher//LAMS6
45+ class JSDF_W_SRM ;
46+ class JSDF_W_LAMS6x4 : JSDF_W_SRM
1547 {
16- displayName = SRM;
17- sound[] ={\ca\Weapons\Data\Sound\Javelin1,db30,1};
18- soundFly[] ={\ca\Weapons\Data\Sound\rocket_fly1,db28,0.8};
19- reloadTime = 0.1;
20- magazineReloadTime = 30;
2148 magazines[] =
2249 {
2350 JSDF_M_AIM_9Lx4,
@@ -29,17 +56,12 @@
2956 midRange=3400;midRangeProbab=0.7;
3057 maxRange=6000;maxRangeProbab=0.001;
3158 };
32- class JSDF_W_MRM_F2 : MissileLauncher//LAMS5
59+ class JSDF_W_MRM ;
60+ class JSDF_W_LAMS5x4 : JSDF_W_MRM
3361 {
34- displayName = MRM;
35- sound[] ={\ca\Weapons\Data\Sound\Javelin1,db30,1};
36- soundFly[] ={\ca\Weapons\Data\Sound\rocket_fly1,db28,0.8};
37- reloadTime = 0.1;
38- magazineReloadTime = 240;
3962 magazines[] =
4063 {
4164 JSDF_M_AIM_7Mx4,
42- JSDF_M_AIM_120Bx4,
4365 JSDF_M_AAM_4x4
4466 };
4567 minRange= 200;minRangeProbab=0.10;
@@ -53,16 +75,17 @@
5375 class JSDF_Air_F2_Base : JSDF_Air
5476 {
5577 cost = 10000000;
78+ faction = JASDF;
5679 displayName = F-2;
5780 model ="\jsdf_air\F_2\jasdf_F2.p3d";
58- picture ="\jsdf_air\F_2\pic_F2.paa";
59- Icon ="\jsdf_air\F_2\ico_F2.paa";
81+ picture ="\jsdf_air\F_2\pic_F2_ca.paa";
82+ Icon ="\jsdf_air\F_2\ico_F2_ca.paa";
6083 mapSize = 15.5;
6184
6285 threat[] = {0.3, 0.1, 0.1};
6386 accuracy = 1000;
6487
65- weapons[] = {"JSDF_W_AAG_M61A1_F2", "JSDF_W_MRM_F2", "JSDF_W_SRM_F2" };
88+ weapons[] = {"JSDF_W_AAG_M61A1_F2", "JSDF_W_LAMS5x4", "JSDF_W_LAMS6x4" };
6689 magazines[] = {"JSDF_M_AAG_20mm_F2", "JSDF_M_AIM_7Mx4", "JSDF_M_AIM_9Lnx4" };
6790 laserScanner = 0;
6891
@@ -72,7 +95,7 @@
7295 getInAction = "GetInHigh";
7396 getOutAction = "GetOutHigh";
7497 driverCompartments = 1;
75- driverAction = "AV8B_Pilot";
98+ driverAction = "JSDF_F2_pilot";
7699 // cargoAction[] = {"UH60_Pilot", "Mi17_Cargo02"};
77100 // cargoCompartments[] = {2, 4};
78101 // cargoIsCoDriver[] = {1, 0};
@@ -177,7 +200,6 @@
177200 class JASDF_F2A : JSDF_Air_F2_Base
178201 {
179202 scope = 2;
180- faction = JASDF;
181203 model = "\JSDF_Air\F_2\JASDF_F2A";
182204 };
183205 };
--- JSDF_Air/CfgVehicles.hpp (revision 61)
+++ JSDF_Air/CfgVehicles.hpp (revision 62)
@@ -67,6 +67,8 @@
6767 extCameraPosition[] = {0, 1.4, -25};
6868 formationX = 200;
6969 formationZ = 300;
70+
71+ crewVulnerable = 2
7072
7173 class ViewPilot : ViewPilot
7274 {
--- JSDF_Air/F4/config.cpp (revision 61)
+++ JSDF_Air/F4/config.cpp (revision 62)
@@ -1,13 +1,104 @@
1+class CfgMovesBasic
2+{
3+ class DefaultDie;
4+ class ManActions
5+ {
6+ JSDF_F4_pilot = "JSDF_F4_pilot";
7+ JSDF_F4_gunner = "JSDF_F4_gunner";
8+ };
9+};
10+class CfgMovesWomen : CfgMovesBasic
11+{
12+ class DefaultDie;
13+ class ManActions
14+ {
15+ JSDF_F4_pilot = "";
16+ JSDF_F4_gunner = "";
17+ };
18+};
19+class CfgMovesMaleSdr : CfgMovesBasic
20+{
21+ class States
22+ {
23+ class JSDF_F4_pilot_dead : DefaultDie
24+ {
25+ actions = "DeadActions";
26+ file = "\JSDF_Air\F4\F4_Pilot_dead";
27+ speed = 0.5;
28+ terminal = 1;
29+ soundEnabled = 0;
30+ looped = 0;
31+ connectTo[] = {"DeadState", 0.1};
32+ };
33+ class Crew;
34+ class JSDF_F4_pilot : Crew
35+ {
36+ file = "\JSDF_Air\F4\F4_pilot";
37+ connectTo[] = {"JSDF_F4_pilot_dead", 1};
38+ };
39+ class JSDF_F4_gunner_dead : DefaultDie
40+ {
41+ actions = "DeadActions";
42+ file = "\JSDF_Air\F4\F4_gunner_dead";
43+ speed = 0.5;
44+ terminal = 1;
45+ soundEnabled = 0;
46+ looped = 0;
47+ connectTo[] = {"DeadState", 0.1};
48+ };
49+ class JSDF_F4_gunner : Crew
50+ {
51+ file = "\JSDF_Air\F4\F4_gunner";
52+ connectTo[] = {"JSDF_F4_gunner_dead", 1};
53+ };
54+ };
55+};
156 class CfgPatches
257 {
3- class JSDF_Air_F15
58+ class JSDF_Air_F4
459 {
5- units[] = {"JASDF_F15J"};
60+ units[] = {"JASDF_F4EJ"};
661 weapons[] = {};
762 requiredVersion = 0.1;
863 requiredAddons[] = {};
964 };
1065 };
66+class cfgWeapons
67+{
68+ class JSDF_W_SRM ;
69+ class JSDF_W_LAU_42Ax4 : JSDF_W_SRM
70+ {
71+ magazines[] ={JSDF_M_AIM_4Dx4,JSDF_M_ATM_4Dx4,JSDF_M_AAM_2x4};
72+ weaponLockSystem = 8;
73+ cmImmunity = 0.1;
74+ weaponLockDelay = 5;
75+ };
76+ class JSDF_W_AERO_3Bx4 : JSDF_W_SRM
77+ {
78+ htMin = 1;
79+ htMax = 420;
80+ afMax = 0;
81+ mfMax = 0;
82+ mFact = 1;
83+ tBody = 100;
84+ magazines[] ={JSDF_M_AIM_9Bx4,JSDF_M_AIM_9Ex4,JSDF_M_AIM_9Jx4,JSDF_M_AIM_9Lx4,JSDF_M_AIM_9Lnx4,};
85+ };
86+ class JSDF_W_LAMS4x4 : JSDF_W_SRM
87+ {
88+ magazines[] ={JSDF_M_AIM_9Bx4,JSDF_M_AIM_9Ex4,JSDF_M_AIM_9Jx4,JSDF_M_AIM_9Lx4,JSDF_M_AIM_9Lnx4,JSDF_M_AAM_1x4,JSDF_M_AAM_2x4,JSDF_M_AAM_3x4,JSDF_M_AAM_5x4, };
89+ weaponLockSystem = 8;
90+ cmImmunity = 0.8;
91+ weaponLockDelay = 5;
92+ };
93+
94+ class JSDF_W_MRM ;
95+ class JSDF_W_AERO_7Ax4 : JSDF_W_MRM
96+ {
97+ magazines[] ={JSDF_M_AIM_7Ex4,JSDF_M_AIM_7Fx4,JSDF_M_AIM_7Fnx4,JSDF_M_AIM_7Mx4};
98+ weaponLockSystem = 4;
99+ weaponLockDelay = 4;
100+ };
101+};
11102 class CfgVehicles
12103 {
13104 class JSDF_Air ;
@@ -14,17 +105,16 @@
14105 class JSDF_Air_F4_Base : JSDF_Air
15106 {
16107 cost = 10000000;
108+ faction = JASDF;
17109 displayName = F-4EJ;
18- model = "\ca\air\ah1z";
19- picture = "\ca\air\data\ico\ah1z_CA.paa";
20- Icon = "\ca\air\data\map_ico\icomap_ah1z_CA.paa";
21- mapSize = 15.5;
110+ model ="\ca\air\ah1z";
111+ picture ="\JSDF_Air\F4\pic_F4_ca.paa";
112+ Icon ="\JSDF_Air\F4\ico_F4_ca.paa";
113+ mapSize = 19.5;
22114
23115 threat[] = {0.3, 0.1, 0.1};
24116 accuracy = 1000;
25117
26- weapons[] = {"JSDF_W_AAG_M61A1_F4", "JSDF_W_LAU_106A_A", "JSDF_W_LAU_114A_Ax4" };
27- magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Mx4", "JSDF_M_AIM_9Lnx4" };
28118 laserScanner = 0;
29119
30120 crew = "USMC_Soldier_Pilot";
@@ -33,12 +123,32 @@
33123 getInAction = "GetInHigh";
34124 getOutAction = "GetOutHigh";
35125 driverCompartments = 1;
36- driverAction = "AV8B_Pilot";
37-// cargoAction[] = {"UH60_Pilot", "Mi17_Cargo02"};
126+ driverAction = "JSDF_F4_pilot";
127+// cargoAction[] = {"JSDF_F4_pilot"};
38128 // cargoCompartments[] = {2, 4};
39129 // cargoIsCoDriver[] = {1, 0};
40130 // typicalCargo[] = {"USMC_Soldier_Pilot", "USMC_Soldier_Pilot"};
131+// hasGunner = 1;
41132
133+ class NewTurret;
134+ class Turrets
135+ {
136+ class MainTurret : NewTurret
137+ {
138+ body = "";
139+ gun = "";
140+ commanding = -1;
141+ memoryPointsGetInGunner = "pos_gunner";
142+ memoryPointsGetInGunnerDir = "pos_gunner_dir";
143+ weapons[] = {"JSDF_W_AAG_M61A1_F4", "JSDF_W_AERO_7Ax4", "JSDF_W_AERO_3Bx4" };
144+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Mx4", "JSDF_M_AIM_9Lnx4" };
145+ castGunnerShadow = 1;
146+ viewGunnerShadow = 1;
147+ gunnerAction = "JSDF_F4_Gunner";
148+ gunnerInAction = "JSDF_F4_Gunner";
149+ };
150+ };
151+
42152 armor = 60;
43153 armorStructured = 1;
44154 damageResistance = 0.00336;
@@ -56,22 +166,18 @@
56166
57167 class Sounds
58168 {
59- class Engine
169+ class EngineLowOut
60170 {
61- sound[] = {"JSDF_Air\F4\F4_eng.wss", db10, 1.0, 800};
62- frequency = "rotorSpeed";
63- volume = "camPos*((rotorSpeed-0.72)*4)";
171+ sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-low1", 2.51189, 1.0, 1200};
172+ frequency = "1.0 min (rpm + 0.5)";
173+ volume = "engineOn*camPos*(rpm factor[0.85, 0])";
64174 };
65- class EngineLowOut {
66- sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-low1", 2.51189, 1.0, 1200};
67- frequency = "1.0 min (rpm + 0.5)";
68- volume = "engineOn*camPos*(rpm factor[0.85, 0])";
69- };
70175
71- class EngineHighOut {
72- sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-high3", 2.51189, 1.3, 1500};
73- frequency = "1";
74- volume = "engineOn*camPos*(rpm factor[0.55, 1.0])";
176+ class EngineHighOut
177+ {
178+ sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-high3", 2.51189, 1.3, 1500};
179+ frequency = "1";
180+ volume = "engineOn*camPos*(rpm factor[0.55, 1.0])";
75181 };
76182
77183 class ForsageOut {
@@ -137,7 +243,40 @@
137243 class JASDF_F4J : JSDF_Air_F4_Base
138244 {
139245 scope = 2;
140- faction = JASDF;
141246 model = "\JSDF_Air\F4\JASDF_F4EJ_a";
142247 };
248+/*
249+ class JASDF_F4J_7e4d : JASDF_F4J
250+ {
251+ displayName = F-4EJ(7E 4D);
252+ model = "\JSDF_Air\F4\JGSDF_UH1B";
253+ weapons[] = {"JSDF_W_AAG_M61A1_F4", "JSDF_W_AERO_7Ax4", "JSDF_W_LAU_42Ax4" };
254+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Ex4", "JSDF_M_AIM_4Dx4" };
255+ };
256+ class JASDF_F4J_7e4d_ : JASDF_F4J_7e4d
257+ {
258+ displayName = F-4EJ(7E 4D.TEST);
259+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Ex4", "JSDF_M_ATM_4Dx4" };
260+ };
261+ class JASDF_F4J_7e9b : JASDF_F4J
262+ {
263+ displayName = F-4EJ(7F 9B);
264+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Ex4", "JSDF_M_AIM_9Bx4" };
265+ };
266+ class JASDF_F4J_7f9e : JASDF_F4J
267+ {
268+ displayName = F-4EJ(7F 9E);
269+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Fx4", "JSDF_M_AIM_9Ex4" };
270+ };
271+ class JASDF_F4J_7f9j : JASDF_F4J
272+ {
273+ displayName = F-4EJ(7F 9J);
274+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Fx4", "JSDF_M_AIM_9Jx4" };
275+ };
276+ class JASDF_F4J_7f9l : JASDF_F4J
277+ {
278+ displayName = F-4EJ(7F 9L);
279+ magazines[] = {"JSDF_M_AAG_20mm_F4", "JSDF_M_AIM_7Fnx4", "JSDF_M_AIM_9Lx4" };
280+ };
281+*/
143282 };
--- JSDF_Air/F15/config.cpp (revision 61)
+++ JSDF_Air/F15/config.cpp (revision 62)
@@ -1,3 +1,35 @@
1+class CfgMovesBasic
2+{
3+ class DefaultDie;
4+ class ManActions{JSDF_F15_pilot = "JSDF_F15_pilot";};
5+};
6+class CfgMovesWomen : CfgMovesBasic
7+{
8+ class DefaultDie;
9+ class ManActions{JSDF_F15_pilot = ""; };
10+};
11+class CfgMovesMaleSdr : CfgMovesBasic
12+{
13+ class States
14+ {
15+ class JSDF_F15_pilot_dead : DefaultDie
16+ {
17+ actions = "DeadActions";
18+ file = "\JSDF_Air\F15\F15_Pilot_dead";
19+ speed = 0.5;
20+ terminal = 1;
21+ soundEnabled = 0;
22+ looped = 0;
23+ connectTo[] = {"DeadState", 0.1};
24+ };
25+ class Crew;
26+ class JSDF_F15_pilot : Crew
27+ {
28+ file = "\JSDF_Air\F15\F15_pilot";
29+ connectTo[] = {"JSDF_F15_pilot_dead", 1};
30+ };
31+ };
32+};
133 class CfgPatches
234 {
335 class JSDF_Air_F15
@@ -8,6 +40,51 @@
840 requiredAddons[] = {};
941 };
1042 };
43+class cfgWeapons
44+{
45+ class JSDF_W_SRM ;
46+ class JSDF_W_LAU_114A_Ax4 : JSDF_W_SRM
47+ {
48+ magazines[] =
49+ {
50+ JSDF_M_AIM_9Bx4,
51+ JSDF_M_AIM_9Ex4,
52+ JSDF_M_AIM_9Lx4,
53+ JSDF_M_AIM_9Lnx4,
54+ JSDF_M_AAM_3x4,
55+ JSDF_M_AAM_5x4,
56+ };
57+ minRange=10;minRangeProbab=0.10;
58+ midRange=3400;midRangeProbab=0.7;
59+ maxRange=6000;maxRangeProbab=0.001;
60+ };
61+ class JSDF_W_MRM ;
62+ class JSDF_W_LAU_128A_Ax4 : JSDF_W_MRM
63+ {
64+ magazines[] =
65+ {
66+ JSDF_M_AIM_9Bx4,
67+ JSDF_M_AIM_9Ex4,
68+ JSDF_M_AIM_9Lx4,
69+ JSDF_M_AIM_9Lnx4,
70+ JSDF_M_AIM_120Bx4,
71+ };
72+ minRange= 200;minRangeProbab=0.10;
73+ midRange= 9000;midRangeProbab=0.7;
74+ maxRange=70000;maxRangeProbab=0.001;
75+ };
76+ class JSDF_W_LAU_106A_Ax4 : JSDF_W_MRM
77+ {
78+ magazines[] =
79+ {
80+ JSDF_M_AIM_7Mx4,
81+ JSDF_M_AAM_4x4
82+ };
83+ minRange= 200;minRangeProbab=0.10;
84+ midRange= 9000;midRangeProbab=0.7;
85+ maxRange=70000;maxRangeProbab=0.001;
86+ };
87+};
1188 class CfgVehicles
1289 {
1390 class JSDF_Air ;
@@ -14,26 +91,27 @@
1491 class JSDF_Air_F15_Base : JSDF_Air
1592 {
1693 cost = 10000000;
94+ faction = JASDF;
1795 displayName = F-15;
18- model = "\ca\air\ah1z";
19- picture = "\ca\air\data\ico\ah1z_CA.paa";
20- Icon = "\ca\air\data\map_ico\icomap_ah1z_CA.paa";
21- mapSize = 15.5;
96+ model ="\ca\air\ah1z";
97+ picture ="\ca\air\data\ico\ah1z_CA.paa";
98+ Icon ="\JSDF_Air\F15\ico_F15_ca.paa";
99+ mapSize = 19.5;
22100
23101 threat[] = {0.3, 0.1, 0.1};
24102 accuracy = 1000;
25103
26- weapons[] = {"JSDF_W_AAG_M61A1_F15", "JSDF_W_LAU_106A_A", "JSDF_W_LAU_114A_Ax4" };
104+ weapons[] = {"JSDF_W_AAG_M61A1_F15", "JSDF_W_LAU_106A_Ax4", "JSDF_W_LAU_114A_Ax4" };
27105 magazines[] = {"JSDF_M_AAG_20mm_F15", "JSDF_M_AIM_7Mx4", "JSDF_M_AIM_9Lnx4" };
28106 laserScanner = 0;
29107
30- crew = "USMC_Soldier_Pilot";
108+ crew ="USMC_Soldier_Pilot";
31109 typicalCargo[] = {"USMC_Soldier_Pilot"};
32110 transportSoldier = 0;
33- getInAction = "GetInHigh";
34- getOutAction = "GetOutHigh";
111+ getInAction ="GetInHigh";
112+ getOutAction ="GetOutHigh";
35113 driverCompartments = 1;
36- driverAction = "AV8B_Pilot";
114+ driverAction ="JSDF_F15_pilot";
37115 // cargoAction[] = {"UH60_Pilot", "Mi17_Cargo02"};
38116 // cargoCompartments[] = {2, 4};
39117 // cargoIsCoDriver[] = {1, 0};
@@ -138,7 +216,6 @@
138216 class JASDF_F15J : JSDF_Air_F15_Base
139217 {
140218 scope = 2;
141- faction = JASDF;
142219 model = "\JSDF_Air\F15\JASDF_F15J";
143220 };
144221 };
Show on old repository browser