Jump to content
Sign in to follow this  
_Brown_

Carrying more than your inventory allows

Recommended Posts

I'm working on a mission that involves a lot of loot and I was wondering if there was a way to allow the player to carry more gear than his inventory allows. For example, i'd like him to be able to carry 4-5 rifles as well as a rocket launcher without running out of inventory space. Thanks, Brown

Share this post


Link to post
Share on other sites

No way to extend the built-in inventory system (not easily) - you'll need to create an alternative.

Share this post


Link to post
Share on other sites

Could go for a 'virtual inventory' with a simple gui to switch main weapon.

Share this post


Link to post
Share on other sites

Would that be possible just through scripting without addons or mods?

Share this post


Link to post
Share on other sites

Go to the virtual armoury and create your soldier.

Make sure he carries only one magazine. To do this select "try" and see how many magazines you have. Note that the uniform can carry magazines and the vest can carry magazines. You need to double check you have only one magazine.

Export the soldier, open the editor and paste the info into the init cell

Preview and there is your soldier.

Note in the init cell you can see the class name of the magazine. Delete the instruction that adds the magazine.

Presume you are using a 45 cal revolver and you want to carry 10 magazines. The command is:

{this addMagazine "6Rnd_45ACP"} forEach [1,2,3,4,5,6,7,8,9,10];

This works for every weapon and every rocket launcher.

.

.

(There is a separate command that means a soldier will never run out of ammo but that is for another day).

,

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  

×