Jump to content
Goro

[SOLVED]Few questions about (WeaponPool)

Recommended Posts

Hi there, so baiscally, I've got a few questions about the weapon pool. Let's get it started!

 

1. Basically, (Like in campaign) I want the weapons to be saved during the campaign progress. I want the weapons to be on table, and I want the ammo to be in sperate contener (Same as accessories). Is it possible, or it's just selection of weapons before each missions' start? I couldn't find it fully-explained anywhere else.

 

2. Is there any way to add weapons/ammo from another Contener, by f.e using action menu?

 

3. Can I make the cars' fuel to be persistent?

 

4. Let's say, in previous mission you were "captured" and your gear (The same before you lost it) will spawn at some location. Would that be possible? And make the unit spawn with just pistol.

 

Looking forward to receive fast and professional help! :D

Share this post


Link to post
Share on other sites

Goro mate, I'm afraid I can't help you. I told you on steam and I'll tell you here too! It's a god damn container not contener! You'll hear more from me on steam mate.

  • Like 2

Share this post


Link to post
Share on other sites

Goro mate, I'm afraid I can't help you. I told you on steam and I'll tell you here too! It's a god damn container not contener! You'll here more from me on steam mate.

Well since you are going to correct his spelling of container like a cranky schoolteacher, I should point out to you that you misspelled "hear". You wrote "here" ;) 

  • Like 2

Share this post


Link to post
Share on other sites

Well since you are going to correct his spelling of container like a cranky schoolteacher, I should point out to you that you misspelled "hear". You wrote "here" ;)

I didnt misspell anything lol. I told you on steam, and i'll tell you here too, here meaning the bis forums. Mate I don't misspell shit I am dictionary, ask Goro! You can't imagine how many nights we spent fighting over spelling words and I always win :D

  • Like 2

Share this post


Link to post
Share on other sites

This may help you-it won't do what you want,but is a good workaround. I can't play without it now.It' s also great for quickly changing the loadout of your whole squad with predesigned loadouts you make and it stores for you.

http://www.armaholic.com/page.php?id=25910

Hey bro, thanks for the link.

 

I didnt misspell anything lol. I told you on steam, and i'll tell you here too, here meaning the bis forums. Mate I don't misspell shit I am dictionary, ask Goro! You can't imagine how many nights we spent fighting over spelling words and I always win  :D

 
Okay, stop now.
Edited by terrorpl2

Share this post


Link to post
Share on other sites

Okay, is there anyone that could answer my question?

Share this post


Link to post
Share on other sites

I know *bump*'ing is not good, could anyone help me?

Anytime I enable the weapon Pool by WeaponPool = 1 in campaign.ext it crashes my game. Any clues?

Share this post


Link to post
Share on other sites

Anyone?

Share this post


Link to post
Share on other sites

I didnt misspell anything lol. I told you on steam, and i'll tell you here too, here meaning the bis forums. Mate I don't misspell shit I am dictionary, ask Goro! You can't imagine how many nights we spent fighting over spelling words and I always win :D

To just finish what ineptaphid started

 

You'll here hear more from me on steam mate.

 

 

 

:P

  • Like 1

Share this post


Link to post
Share on other sites

To just finish what ineptaphid started

 

 

 

:P

Revo mate can you help us though with the weapon pool? He is getting really desperate!

Share this post


Link to post
Share on other sites

To save the content of an ammobox and fuel of a vehicle, the easiest way would be to save those values into a variable in the profileNamespace. To save the loadout of the player at the end of each mission you could for example use

https://community.bistudio.com/wiki/BIS_fnc_saveInventory

  • Like 1

Share this post


Link to post
Share on other sites

To save the content of an ammobox and fuel of a vehicle, the easiest way would be to save those values into a variable in the profileNamespace. To save the loadout of the player at the end of each mission you could for example use

https://community.bistudio.com/wiki/BIS_fnc_saveInventory

Okay thanks Revo, I'll tell him you wrote here a solution for him, I hope he understands because he isn't the best with these things, I am here to help him if he can't though :)

Share this post


Link to post
Share on other sites

To save the content of an ammobox and fuel of a vehicle, the easiest way would be to save those values into a variable in the profileNamespace. To save the loadout of the player at the end of each mission you could for example use

https://community.bistudio.com/wiki/BIS_fnc_saveInventory

Hey thanks bro! Appreciate that!

Share this post


Link to post
Share on other sites

Erm... Bad news. It just does work with the mission. It doesn't work with campaign. I've tried these:

[player, [missionNamespace, "Var_SavedInventory"]] call BIS_fnc_saveInventory; - Executed at trigger
[player, [missionNamespace, "Var_SavedInventory"]] call BIS_fnc_loadInventory; - Executed at player INIT (Also tried trigger, Init.sqf)

Also tried these:

[player, [player, "Var_SavedInventory"]] call BIS_fnc_saveInventory
[player, [player, "Var_SavedInventory"]] call BIS_fnc_loadInventory;

With the same methods as stated above. It doesn't initialize.

 

I've made double-sure that the unit doesn't have any custom loadout. Anyone?

 

EDIT: Basically I want to export the loadout from mission Number 1 to Mission Number 2. Shall I use the BIS_FNC_exportinventory Function?

EDIT2: Tried with ProfileNameSpace. Still nothing.

EDIT3: Figured out.

  [p1, [parsingNamespace, "Var_SavedInventory"]] call BIS_fnc_saveInventory;

Where p1 = player

Then load it with:

 [p1, [parsingNamespace, "Var_SavedInventory"]] call BIS_fnc_loadInventory;

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

×