Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #1 
I have succeeded to remove the bomb of the P-39 with this removeMagazine "LIB_1Rnd_FAB250"; in the initialization of this plane.
But i don't succeed to remove the bombes of the Pe-2 110, Fw 190 and Stuka... How do it ?

I precise that evidently i have used LIB_1Rnd_FAB250, LIB_1Rnd_SC50 and LIB_1Rnd_SC500.
I think that the fact there is more than one bomb "disturb" the command, but i'm not sure.

__________________
0
BRS

Captain
Registered:
Posts: 195
Reply with quote  #2 
if you need no weapons for the planes I would give it a try with: removeallweapons this;
0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #3 
Hi BS [smile]

I know already this command and it's not this that i need, because i want to remove only bombs, and keep MG.

__________________
0
Joe98

Avatar / Picture

Captain
Registered:
Posts: 196
Reply with quote  #4 
Quote:
Originally Posted by Joarius
I have succeeded to remove the bomb of the P-39 with this removeMagazine "LIB_1Rnd_FAB250"; in the initialization of this plane.

But i don't succeed to remove the bombes of the Pe-2 110, Fw 190 and Stuka... How do it ?

I precise that evidently i have used LIB_1Rnd_FAB250, LIB_1Rnd_SC50 and LIB_1Rnd_SC500.

I think that the fact there is more than one bomb "disturb" the command, but i'm not sure.


The magazines:
FW190-F8LIB_1Rnd_SC50
FW190-F8LIB_1Rnd_SC250
Ju87-D5 StukaLIB_1Rnd_SC50
Ju87-D5 StukaLIB_1Rnd_SC500
P-39 AircobraLIB_1Rnd_FAB250
Pe-2 110
P47
LIB_1Rnd_FAB250




The weapon
LIB_1Rnd_US_500lb





FW190-F8LIB_SC50_Bomb_Mount
FW190-F8LIB_SC250_Bomb_Mount
Ju87-D5 StukaLIB_SC50_Bomb_Mount
Ju87-D5 StukaLIB_SC500_Bomb_Mount
P-39 AircobraLIB_FAB250_Bomb_Mount FAB-250
Pe-2 110LIB_FAB250_Bomb_Mount 
P47LIB_US_500lb_Bomb_Mount 





0
BRS

Captain
Registered:
Posts: 195
Reply with quote  #5 
Ok Joarius,

so try this:

PE-2:
this removeMagazinesTurret ["LIB_1Rnd_FAB250",[-1]];


P39:
this removeMagazinesTurret ["LIB_1Rnd_FAB250",[-1]];


Li2:  (yes, this thing too will drop bombs)
this removeMagazinesTurret ["LIB_1Rnd_FAB250",[-1]];


With Ju 87 and FW190, we have a little more work to do:

Ju 87:
this removeMagazinesTurret ["LIB_1Rnd_SC500",[-1]];
this removeMagazinesTurret ["LIB_1Rnd_SC50",[-1]];


FW190:
this removeMagazinesTurret ["LIB_1Rnd_SC250",[-1]];
this removeMagazinesTurret ["LIB_1Rnd_SC50",[-1]];


I used this inside one of my scripts ( where this becomes i.e. to _unit = _this select 0
If needed I'll upload a micro test mission with this all inside for you. Let me know.
0
Joe98

Avatar / Picture

Captain
Registered:
Posts: 196
Reply with quote  #6 

I have discovered that the problem is a bug in the game.

 

The Focke Wolf carries 3 bombs. 2 x 50 kilo and 1 x 250 kilo. To remove all 3 bombs requires only 2 commands:

this removeMagazines "LIB_1Rnd_SC50";

this removeMagazines "LIB_1Rnd_SC250";

 

Also the Focke Wolf carries 1 magazine of 151 type ammo and 1 magazine of 131 type ammo. Now we want the aircraft to have lots of machine gun ammo so we add 6 machine gun magazines of each type

 

{this addMagazine "LIB_500Rnd_MG151_FW190"} forEach [1,2,3,4,5,6];

{this addMagazine "LIB_2000Rnd_MG131_FW190"} forEach [1,2,3,4,5,6];

 

Add all 4 commands and notice the aircraft now has no bombs and lots of machine gun ammunition.

= = = = = = = = = = = = = =

I tested for the P39 Aircobra and it all works fine.

I tested for the P47 and it all works fine

= = = = = = = = = = = = = =

 

Now for the Stuka: You will have already guessed that the commands must be:

this removeMagazines "LIB_1Rnd_SC50";

this removeMagazines "LIB_1Rnd_SC500";

 

{this addMagazine "LIB_500Rnd_MG151_JU87"} forEach [1,2,3,4,5,6];

{this addMagazine "LIB_2000Rnd_MG81_JU87"} forEach [1,2,3,4,5,6];

 

Unfortunately this does not work.

I also tested for the Pe210 and it does not work.

 

THERE IS A BUG IN THE GAME

0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #7 
I have tested : thank's a lot BS and Joe. [smile] It works for what i wanted. [smile] Prima !
@BS : actually, this simple commands are suffisant for what i wanted (remove the bombes). Thank again. [smile]

__________________
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.