sproyd 2 Posted November 5, 2013 Is there anyway to hardcode into a mission a custom item - in this case a Snickers bar? So I basically want a Snickers Bar Item to spawn into a car's inventory at a trigger. I'd like to have this as part of a mission file rather than a mod. I don't need to have a 3D model, just the name and preferably I could make an image icon in inventory. Share this post Link to post Share on other sites
p1nga 23 Posted November 5, 2013 Is there anyway to hardcode into a mission a custom item - in this case a Snickers bar?So I basically want a Snickers Bar Item to spawn into a car's inventory at a trigger. I'd like to have this as part of a mission file rather than a mod. I don't need to have a 3D model, just the name and preferably I could make an image icon in inventory. Negative, doing so requires a new class, a class can only be created via config.cpp not any form of sqf, the only sort of thing you can do to add new content from inside a mission without an add-on is change textures using hidden selections Share this post Link to post Share on other sites
M1ke_SK 230 Posted September 14, 2015 Can you post some example of "change textures using hidden selections" for reference ? Share this post Link to post Share on other sites
bad benson 1733 Posted September 16, 2015 i remember some time thinking of trying this myself. this thread is useful for it. https://forums.bistudio.com/topic/151006-interaction-with-inventory-items/ you get the IDs for the listbox in the inventory dialog that you want to add your item to. and you can then use the listbox commands to add an entry there i think. https://community.bistudio.com/wiki/lbAdd https://community.bistudio.com/wiki/lbSetPicture this could be tricky to make it behave 100% unglitchy but definately worth a try at least imho. Share this post Link to post Share on other sites