Jump to content
Sign in to follow this  
sussmori

Transport magazine on soldier

Recommended Posts

On the theory that a 'soldier' in ofp is like any other vehicle. We coded the soldier to transport magazines like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Inv_Allied_Soldier: SoldierWB

{

vehicleClass=I44MenClassName;

scope=0;

transportMaxMagazines=100;

transportMaxWeapons=100;

}

But this results in a strange bug where u can take many magazines but you only seem to have one. The magazines will be removed from the soldier but you only get one even though it appears you take more than one.

e.g. you take 3 LAWs from a soldier and in your gear it appears you have 3, but as soon as you fire, you now have no more LAWs in your gear. However, the soldier you took them from has definately 3 LAWs less than before

Any ideas?

Share this post


Link to post
Share on other sites

I have experienced antoher thing with your demo addons. When I took magazines from the soldier it works until I take the third magzine. Then OFP crashes to desktop. It was with OFP Resistance.

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  

×