rotceh_dnih (DayZ) 1 Posted October 29, 2012 (edited) hey guys im really new to arma 2 and dayz and i wish to make some changes to the mod and one thing our clan was thinking was to have random tent models like the little dome tent models thats in the game so i looked through the code tonight and seen where it sets the model in the equip.bin file and would like to know if something like this would workclass ItemTent: CA_Magazine{scope = 2;count = 1;type = "(256 * 3)";displayName = "$STR_EQUIP_NAME_20"; switch(Random(1)) do{ case "0":{ model = "something else"; }; case "1":{ model = "\dayz_equip\models\tentbag_gear.p3d";};};picture = "\dayz_equip\textures\equip_tentbag_ca.paa";descriptionShort = "$STR_EQUIP_DESC_20";class ItemActions{class Pitch{text = "$STR_PITCH_TENT";script = "spawn player_tentPitch;";};};};ive never coded anything in arma so sorry if this is really wrong , lol a noobs gota start somewhere :) Edited October 29, 2012 by rotceh_dnih Share this post Link to post Share on other sites
rotceh_dnih (DayZ) 1 Posted October 31, 2012 i see how this could be in the wrong section hence the 0 replys , maybe someone could gide me to the right place. Share this post Link to post Share on other sites
DrainBamaged 38 Posted October 31, 2012 *a little bump*I'm actually following this thread. Hoping someone that knows will actually chime in and help out. We'd like to do the same kind of thing. Share this post Link to post Share on other sites
wesleyusmaximus 0 Posted December 16, 2012 If you are still looking for help, I may be able to shed some light. I am currently working on my own version in my private server, so as soon as I know for sure, I can definitely help you out. That's if you are still interested. Share this post Link to post Share on other sites