Player Resource gathering??

Learn more on how to use Sandbox, or submit your own tutorials or resources.
Cowboy124aa
Member
Member
Posts: 1
Joined: June 6th, 2014, 4:25 pm
Name: Roy

Player Resource gathering??

Postby Cowboy124aa » June 6th, 2014, 4:35 pm

I'm looking to create a new sandbox game in unity 3d and platinum arts sandbox, but i have been trying to find information with little success on how to implement player resource gathering. Example a player digs in the ground and gathers dirt from his digging. he then can place the dirt somewhere to build up a mound or use the dirt in crafting something.

What i am trying to find out from this example is how this would be implement this into the game, i believe it would be a type of script I'm assuming. I know a bit about how to put the scripts into objects on unity but I have not been able to find scripts related to this type of system. If someone could point me into the right direction i would be very appreciative on any information that anyone could provide.

User avatar
Wind Astella
Member
Member
Posts: 112
Joined: June 4th, 2013, 6:18 am
Name: Nik Mirza
IRC Username: windastella
Contact:

Re: Player Resource gathering??

Postby Wind Astella » June 6th, 2014, 5:18 pm

I think a simple resource shown in the game Kelgar. http://www.indiedb.com/games/kelgaralpha . It is during mud gathering quest. basic Crafting like minecraft are already a feature of RPG mode but I think a crafting to build building can be scripted. Possibly like these in my theory,

1. Player select an Item use for building/crafting a house like plank or something else.
2. Script will spawn a plank model. When player press E to interact with the plank, by script they will enter edit mode.
3. Player move the model around to build it. (Might be best to just only allow the edit of mapmodel/ partial edit mode)
4. When player confirm it position they can press enter or some sort that make them quit edit mode.

Just IMO.

camila
Member
Member
Posts: 1
Joined: August 28th, 2014, 12:26 am
Name: camila
IRC Username: camila

Re: Player Resource gathering??

Postby camila » August 28th, 2014, 12:28 am

Update on my problem. I was missing some files from downloading.
I don't know how some of the files didn't make it through, but I have
re-downloaded, and it solved the problem. Thank you for trying to help.



_________________________________________________________________________
camila


Return to “Tutorials and Resources”

Who is online

Users browsing this forum: No registered users and 2 guests