OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: D007 on 17 Sep 2008, 21:56:38

Title: how can i sell magazines in spon
Post by: D007 on 17 Sep 2008, 21:56:38
I can sell everything else..
but for the life of me can't seem to see how to get mags put in here..

anyone run into this issue, maybe have a fix?
thanks a bunch. :)
Title: Re: how can i sell magazines in spon
Post by: loki72 on 18 Sep 2008, 04:24:16
greetings,

yup.. i have also asked spooner to address this (as well as some other things) with the next spon money update. he has told me several times there are several projects he is working on and money isn't one of them at the moment.  :(

but i know what you mean... i have a mission that is dependent on spon money... that will have to wait until it is finished.. or i learn how to do it myself.
Title: Re: how can i sell magazines in spon
Post by: ModestNovice on 18 Sep 2008, 07:39:49
I believe you have to define a parameter to allow the shop to sell stuff.

It stats this i the readme.
Title: Re: how can i sell magazines in spon
Post by: Spooner on 18 Sep 2008, 12:49:34
I intentionally disabled selling of magazines in SPON Money (you can still sell one-shot "magazines" like grenades). You absolutely can't tell how many rounds you have in a given magazine, so at best, you could assume that it had only one round in the magazine and thus sell it for buttons (e.g. 1/30 the price for a 30 round magazine, modified further by the resale markdown). I didn't enable selling for this meagre sum, since I knew people would just complain about that instead! I did overlook the problem with this, which is that you can't easily get rid of your old magazines when you upgrade to a new gun; you probably end up just dumping them all at the feet of the shop worker!

And no, the ammo command doesn't help since it only gives you the amount of ammo loaded into the weapon. If your gun isn't loaded, you wouldn't even know the number of rounds in any of your magazines. Of course, if you have more than one magazine type that could be loaded into the weapon (ball and SD, for example), you have no way of knowing which is actually loaded!

As Loki said, SPON Money is very much on a back burner. I'm concentrating on other projects and am already overburdened with trying to update them as it is. Yes, when it is finally updated, I will allow selling of magazines, always assuming that only one round remained, just to allow you to dump them out of your inventory, rather than to allow you to recoup the true value.