Jump to content
Sign in to follow this  
Dallas Medina

Adding ammo to RHS T-72 commander NSV

Recommended Posts

For the life of me I can't figure out how to add more 12.7x108mm boxes to the commanders NSV on an RHS T-72... I've tried: tank1 addMagazineTurret ["rhs_mag_127x108mm_50",[0,10]]; thinking that would add 10 extra 50 round boxes, but no luck.

 

Any ideas?

Share this post


Link to post
Share on other sites

The turret path to the RHS T-72 NSVT is [0,1], hence:

 

_veh = vehicle player;
_amount = 5;
_turret = [0,1];//commander turret NSVT for RHS T-72
_mag = _veh currentmagazineturret _turret;
for "_i" from 1 to _amount do {
	_veh addMagazineTurret [_mag,_turret];
};

Cheers

  • Like 2

Share this post


Link to post
Share on other sites

Interesting. Actually, very confusing. It doesn't require the magazine classname at all? I thought for sure "rhs_mag_127x108mm_50" would need to be used somewhere. What does "_veh = vehicle player" mean? The tank is called "tank1" in the scenario. Will this work with an AI tank?

Share this post


Link to post
Share on other sites
48 minutes ago, Dallas Medina said:

Interesting. Actually, very confusing. It doesn't require the magazine classname at all? I thought for sure "rhs_mag_127x108mm_50" would need to be used somewhere. What does "_veh = vehicle player" mean? The tank is called "tank1" in the scenario. Will this work with an AI tank?

I retrieve the magazine class name from the magazine that's currently loaded in the appropriate turret.

To make this work for tank1 simply change the first line to:

veh = tank1;

Cheers

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×