Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Sekrai · Oct 05, 2011 at 09:32 AM · crafting

Crafting system

Hello Im looking for someone who is able to help me create a Crafting system for my Survival game. I have the graphical part under controll so what i want to know is how do i make a crafting system, how do i make it work and maybe how do i interact with different items(to move them into the crafting screen etc). Looking foward to your answers.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by timsk · Oct 05, 2011 at 09:47 AM

This isn't a recruitment forum. Also, that is a very broad subject and also will depend on how exactly you want it implemented. You could probably break that down into 4-5 questions.

I was going to post links to inventory systems tutorials and the like, but you have asked for a "crafting system". The main problem with this question is. If you asked 10 people to describe, in detail, a crafting system in a game. You would probably get 10 different replies.

Try to break the task down into smaller sections, and create a "to do list" of sorts. Then work your way through it 1 by 1. This way, you will find yourself coming across specific questions that people here can give more specific answers to.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sekrai · Oct 05, 2011 at 10:57 AM 0
Share

Okey to clearify:

  1. Im not looking for a person to Join me but to "Help" me as in guide me with information bout how to do what im having problems with.

  2. The kind of crafting system im looking to do is simillar to $$anonymous$$inecraft but not quite that advanced. You are supposed to be able to enter the crafting menu at all times (from your inventory)and abit simillar to the one in Team Fortres 2 where you have 2 boxes and you drop 1 item in each and then get another item. So what im looking for here is some way to apply this to and inventory, to make the items movable and interactable (so that you can drop them in the crafting boxes) and then get something out of it (a third item).

  3. And when it comes to the items you are supposed to be able to pick them up from the ground (interact with them when they drop for various things) and then see them in your Inventory where you then shall be able to craft them (as mentioned above).

  4. These craftable items are supposed to be for example wepons to hunt with, a house to live in and to protect you from wild animals and cooking food to regain energy.

These are the things im looking for to add in my game and i hope that it is clear enought now, if not its just to ask and ill try to clearify more.

avatar image syclamoth · Oct 05, 2011 at 11:00 AM 0
Share

I'm afraid the questions you are asking are too high-level! You need to work out exactly how your crafting system will work (interface, what kind of items, inventory system etc.) before we can help you with this. For example, you could ask about how you would make a drag-and-droppable GUI element, or how to set up an inventory system- not questions as complex as this one! As @timsk says, there is no one answer to this question, and nobody here could possibly know as much about what you want as you do.

avatar image CHPedersen · Oct 05, 2011 at 12:21 PM 0
Share

Seconded. This board is very well-suited to answering specific technical problems, but less so with providing general "how-to"-tutorials. You have to try to imagine what kind of technical things you'd need to build this system, then ask about how to use those. To give you an example:

You're saying "enter the crafting menu at all times". What you should be saying is something like this:

"How do I make 3 buttons with an image each, and when I click one, I select something".

Then we can answer, "You use GUI.Button three times, with three different Rectangle coordinates, see the GUI guide".

Then you come back again and make a new question, which says, "Alright, I've drawn 3 buttons, how do I put them in a window of their own?".

Then we can answer, "You define them in a function, and then you pass that function to GUI.Window".

See what I mean? You gotta get down and dirty with the gritty little low-level things before you request specific help. :)

avatar image
2

Answer by Faridox1 · Apr 26, 2013 at 05:44 AM

 var Wood : GameObject;
 var Iron : GameObject;
 
 function Update () {
 
    if(Wood.name == "Wood"&& Iron.name == "Iron")
    
    {
    
       print("We made a Chest");
    }
 }



If you want to make it craft you need to create the function of item and crafting table that lets you craft something. Hope this helps.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is the best method of storing data for a weapons crafting system? 1 Answer

[Answered](C#)Comparing two Lists for a Crafting System 2 Answers

Crafting System Help 2 Answers

Struggling with part of my crafting-algorithm and don't know what my mistake is 1 Answer

Removing child component removes ALL components with that name 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges