dikkeduif 0 Posted August 31, 2010 Hey guys, I'm sorry if this is a noob question, I tried to find some information already on this forum. I have a pbo with some units, but backpacks are not visible on the units. How do I enable the OA backpacks? I'm completely new to modeling/scripting/configurating units. Anyone care to give me step by step information? Any help is appreciated! Share this post Link to post Share on other sites
Laertes 10 Posted August 31, 2010 If they are new units that have canCarryBackpacks = 1 (or whatever the command is) but they aren't visible, then the necessary selection isn't present in the model. That's my understanding of it, anyway. Share this post Link to post Share on other sites
STALKERGB 6 Posted August 31, 2010 Laertes is correct, you need to add: canCarryBackpacks = 1 to allow your units to use the backpack system, you could also inherit from a unit in OA which would allow you to use the backpack system, something like: class MY_UNIT_HERE: US_Soldier_EP1 Below is a link to a thread with the backpack proxy which is needed to get backpacks to be visible in game, LOD 3.000 has the backpack proxy in it. Just copy and paste it onto your units. Linky Share this post Link to post Share on other sites
dikkeduif 0 Posted September 1, 2010 Thanks guys. These models were made for arma 2, will inheriting work for these models? So as far as I understand, everything that goes on a model needs to have a place, and that's what the proxy is for? I need to define a place on the model's back for the backpack? What is the meaning of LOD 3.000? Where does the canCarryBackpacks = 1 line go? Does it go inside the class MY_UNIT: US_Soldier_EP1? I hope you can help me out a bit with this, and hopefully this might be useful for others :) Share this post Link to post Share on other sites
STALKERGB 6 Posted September 1, 2010 So as far as I understand, everything that goes on a model needs to have a place, and that's what the proxy is for? I need to define a place on the model's back for the backpack? If you download the backpack proxy at the link I provided above you should just be able to select it, copy and then paste it onto your models LOD 1.000 and View - Pilot LOD, you won't need to do anything else. What is the meaning of LOD 3.000? That is just the 3rd level of detail for a model, in this case, its not important to think about. Its just that LOD 1.000 and 2.000 have different things in them (meant for weapons) on the backpack prozy sample model. You can select LOD 3.000 by double clicking on it in the top right hand box of O2. Where does the canCarryBackpacks = 1 line go? Does it go inside the class MY_UNIT: US_Soldier_EP1? Just checked and its canCarryBackpack = 1, so no S on the end. Yes it just inside a unit class, if you use US_Soldier_EP1 as inheritence you probably won't need to add it as US_Soldier_EP1 has it by defualt. Share this post Link to post Share on other sites
dikkeduif 0 Posted September 1, 2010 Alright the canCarryBackpack = 1 line works great, I can see the backpack in the gear window. But I think I won't get any further, I can't open the P3D files of this addon since they're binarized. :/ By the way, inheriting doesn't work for me, somehow I get an error message saying that US_Soldier_EP1 is undefined. Share this post Link to post Share on other sites
STALKERGB 6 Posted September 1, 2010 ah yes, the undefined error is because the config needed to have the base class you inherit from listed in the config as its own class, think of it like having a pool of classes that you can add to or remove from and then being able to use these classes to define your units. It should look something like below: class CfgVehicles{ class Land; class Man: Land { class ViewPilot; }; class CAManBase; class USBasicBag; class US_Soldier_EP1; - these are all classes present in the game by default class STKR_BritMTP_SL: US_Soldier_EP1 - you can then use US_Soldier_EP1 to use as inheritence for your infantry Is the infantry model binarized? If so then yeah, theres not alot that you can do about that.... Share this post Link to post Share on other sites
dikkeduif 0 Posted September 1, 2010 Yeah the infantry model, every model in fact. Hopefully the author replies to my pm. Anyway I'll try to add the classes to the units. At least we're going to be able to use backpacks, even though they will not be visible on the models. Thanks a lot stalkergb, great help! :) Share this post Link to post Share on other sites