Jump to content
Sign in to follow this  
Salutesh

Scavenge Interior Objects! Need some advise!

Recommended Posts

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 by Salutesh

Share this post


Link to post
Share on other sites
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

ebQcxjx.png

  • Like 1

Share this post


Link to post
Share on other sites

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
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

ebQcxjx.png

Thank you! Something to start with. :D

Share this post


Link to post
Share on other sites
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×