Salutesh 2 Posted November 12, 2018 (edited) So i builded a system once in Arma 3 for the Exile Mod (DayZ liked Mod for Arma 3) that allowed playes to look for loot in interior map objects like for example trash piles or cabinets in buildings. See a small preview here: Source Files of the Arma 3 Exile Project: https://github.com/salutesh/Exile_Scavenge My question is if someone can point me to the right direction where i should start in building something like this up in DayZ SA as its a different thing as it was in Arma 3. Should i wait for more documentation for the Enfusion Engine or is someone smart enoth to help me out? Like how i can get for example the players cursour target to get information like the model class name etc. Is this even still a thing in DayZ? Kind regards, Steve aka Salutesh Edited November 12, 2018 by Salutesh Share this post Link to post Share on other sites
Heisen99 7 Posted November 12, 2018 Object ManBase::GetCursorObject ( ) private // References GetGame(), and CGame::GetPlayerCursorObject(). proto void CGame::GetPlayerCursorObjectComponentName ( Man man, out string component_name ) private // Returns name of component/selection on which player aims (works only on server) http://DayZ Wiki - Not Official 1 Share this post Link to post Share on other sites
Private Evans 1303 Posted November 12, 2018 Oh yeah holy fck this is one feature that has been requested again and again since 2012 and has been stubbornly ignored by the devs ever since. I really hate looting as it is right now. You walk into a house and more or less immmediately can see if there is loot or not ( scattered on the floor in most cases) instead of rumaging through wardrobes, desks and fridges etc. I would not go that far to use a loot container system only, but at least most of the loot in residental buildings should be handled that way. I could imagine that would help with performance as well. Hope you get this working properly :) Share this post Link to post Share on other sites
Salutesh 2 Posted November 12, 2018 19 minutes ago, Heisen99 said: Object ManBase::GetCursorObject ( ) private // References GetGame(), and CGame::GetPlayerCursorObject(). proto void CGame::GetPlayerCursorObjectComponentName ( Man man, out string component_name ) private // Returns name of component/selection on which player aims (works only on server) http://DayZ Wiki - Not Official Thank you! Something to start with. :D Share this post Link to post Share on other sites
Heisen99 7 Posted November 13, 2018 17 hours ago, Salutesh said: Thank you! Something to start with. :D Yeah, it's a bit odd but :) Share this post Link to post Share on other sites