Jump to content
Sign in to follow this  
alarm9k

Load a different round type into main cannon?

Recommended Posts

LoadMagazine command doesn't seem to work. Is it even possible?

Share this post


Link to post
Share on other sites
addMagazineTurret

I haven't tested it... but I doubt TBH :confused:

Share this post


Link to post
Share on other sites

Disregard, I have found a hack:

  1. Save ammo count in all current magazines (magazinesAmmo).
  2. Remove all magazines by removeMagazines command.
  3. Add the magazine you want to be loaded into cannon by addMagazine array command. Restore the amount of ammo saved in step 1. At this point the gunner will reload the available ammo type.
  4. Add the remaining types of ammo, saved in step 1.

And here we go!

P.S. I'm trying to teach the tanks to use HEAT-MP against light armor and HE against groups of infantry. See my mod.

P.P.S How do mark the thread as 'Solved'? :confused:

Share this post


Link to post
Share on other sites
P.P.S How do mark the thread as 'Solved'?

I think the moderators do that, I'm not sure, but if they do mark them they will get around to it when they have time.

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  

×