[frl]myke 14 Posted January 22, 2009 While studying the config from the bin.pbo i saw this part as subclass in class CfgInventory: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class Rucksack { simulation="Baggage"; weight=1.500000; class InventoryPlacements { class OnBack { type="Back"; size=1; priority=1; }; class InHands { type="WeaponInUse"; size=1; priority=0; }; }; class InventorySlots { class Inside { type="Common"; size=16; }; class Weapon1 { type="Weapon"; size=1; }; class Weapon2 { type="Weapon"; size=1; }; class Bottle { type="Bottle"; size=1; }; }; }; For non-english: Rucksack = Backpack I'm not a pro but could this be the base to create a working backpack? Any light into this would be much appreciated. :EDITH: Wrong code posted. Share this post Link to post Share on other sites
.kju 3245 Posted January 22, 2009 probably some left over code. Without other config value and/or script commands I cannot see how to make use of it. Share this post Link to post Share on other sites
wld427 1705 Posted January 22, 2009 Xeno has a working ruck in Domination.... Share this post Link to post Share on other sites
[frl]myke 14 Posted January 25, 2009 Xeno has a working ruck in Domination.... I know that, thanks anyway. Just hoped there would be another way, addon-like and not scripted. And this was the question and not "does anybody knows of a backpack solution of any kind?" Share this post Link to post Share on other sites
dachevs 1 Posted February 1, 2009 Yes Myke, what I have discovered, is that you make it a weapon. Im currently working on one for city life. I just need to figure out how you can make it to where you can store items in it. Possibly like a carryable ammo crate sort of thing. But basically make it a weapon, take the slot of the rocket launcher, and so its a weapon, when you take it, its will be on your back. Share this post Link to post Share on other sites
wld427 1705 Posted February 7, 2009 Xeno has a working ruck in Domination.... I know that, thanks anyway. Just hoped there would be another way, addon-like and not scripted. And this was the question and not "does anybody knows of a backpack solution of any kind?" hey glad i could help get your blood pressure up for today... Â Share this post Link to post Share on other sites
mattxr 9 Posted February 7, 2009 Xeno has a working ruck in Domination.... I know that, thanks anyway. Just hoped there would be another way, addon-like and not scripted. And this was the question and not "does anybody knows of a backpack solution of any kind?" Ace mod had backpacks and rucksacks which is an addon and visually represented on the back of the player in which he can store items etc which when he dies others can take from etc etc 1 Share this post Link to post Share on other sites
Jackal326 1181 Posted February 7, 2009 Xeno has a working ruck in Domination.... I know that, thanks anyway. Just hoped there would be another way, addon-like and not scripted. And this was the question and not "does anybody knows of a backpack solution of any kind?" Ace mod had backpacks and rucksacks which is an addon and visually represented on the back of the player in which he can store items etc which when he dies others can take from etc etc But they're still scripted, not an integrated part of the enginbe's coding which was Myke's original inquiry. Share this post Link to post Share on other sites
mattxr 9 Posted February 7, 2009 Xeno has a working ruck in Domination.... I know that, thanks anyway. Just hoped there would be another way, addon-like and not scripted. And this was the question and not "does anybody knows of a backpack solution of any kind?" Ace mod had backpacks and rucksacks which is an addon and visually represented on the back of the player in which he can store items etc which when he dies others can take from etc etc But they're still scripted, not an integrated part of the enginbe's coding which was Myke's original inquiry. But then this answer has already been answed by Q, he said its just random left over code. As he was leader of ACE im sure he and fellow creators looked well into this. Share this post Link to post Share on other sites
Maddmatt 1 Posted February 7, 2009 Possibly VBS2 code? Doesn't VBS2 have some kind of ruck system? I remember OFP also had some VBS1 bits in the config. Share this post Link to post Share on other sites
[frl]myke 14 Posted February 8, 2009 Xeno has a working ruck in Domination.... I know that, thanks anyway. Just hoped there would be another way, addon-like and not scripted. And this was the question and not "does anybody knows of a backpack solution of any kind?" hey glad i could help get your blood pressure up for today... Â Sorry, the answer was a little rude, not my intention. It was just a long day then. As said, my original question was if someone knows if it would be possible to create a working addon based on this code snippet. And as Q already stated it as "left-over code" and i guess he would know if anything could be possible with, i stated this question as "negatively answered. Again wld427, wasn't my intention to sound rude. Share this post Link to post Share on other sites
dachevs 1 Posted February 15, 2009 Well, it needs alot of work, but...Im getting there Share this post Link to post Share on other sites
[aps]gnat 28 Posted February 15, 2009 Well, it needs alot of work, but...Im getting there Nice work ! Share this post Link to post Share on other sites
wld427 1705 Posted February 15, 2009 did you have to add a proxy or will this be available to all BIS models Share this post Link to post Share on other sites
dachevs 1 Posted February 15, 2009 thanks Gnat its available on all units, can be picked up and dropped. Share this post Link to post Share on other sites
Hawkeye-mas 0 Posted April 26, 2009 Does anyone know where i can get the script for Xeno's backpack?? just trying to make my own SP mission and would like to add the option of a second weapon eg. Sniper with m24 and mp5. I dont want to use the weapon switching script because i then lose the amount of ammo for both weapons, anyways hope someone has had this problem before. Share this post Link to post Share on other sites