Better Beginnings (HELP!)

User avatar
GamingAssociation39
Member
 
Posts: 819
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

Better Beginnings (HELP!)

by GamingAssociation39 » Sat Jan 05, 2019 05:48

I need help to work on an advanced crafting table. I've got it partially done but the advanced part I'm having trouble with...
Jesus Is Lord and Savior!!!
 

User avatar
Inocudom
Member
 
Posts: 3063
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Better Beginnings (HELP!)

by Inocudom » Wed Jan 23, 2019 05:14

I guess people need to see what you've done first before they can help you. You should show them what you've got so far.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

User avatar
GamingAssociation39
Member
 
Posts: 819
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

Re: Better Beginnings (HELP!)

by GamingAssociation39 » Fri Jan 25, 2019 08:16

Image
Attachments
better_beginnings.png
(28.08 KiB) Not downloaded yet
Jesus Is Lord and Savior!!!
 

Brian Gaucher
Member
 
Posts: 73
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: Better Beginnings (HELP!)

by Brian Gaucher » Fri Jan 25, 2019 17:41

What do you mean by advanced crafting table. To be able to help you I must know what you need help with
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak
 

User avatar
GamingAssociation39
Member
 
Posts: 819
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
 

User avatar
StarNinjas
Member
 
Posts: 292
Joined: Wed Mar 14, 2018 00:32
Location: aincrad
GitHub: starninjas
IRC: StarNinjas
In-game: J1
 

Skamiz Kazzarch
Member
 
Posts: 80
Joined: Fri Mar 09, 2018 20:34
Location: la lojbaugag.
GitHub: Skamiz
In-game: Skamiz

Re: Better Beginnings (HELP!)

by Skamiz Kazzarch » Fri Mar 08, 2019 23:09

It seems to me like a rather heavy handed aproach to to enriching gameplay. And while the restrictions feel too artificial for my own enjoyment, here are a few ways you might try to go about it:
1) Make your own custom crafting system from scratch. To the best of my knowledge there isn't a way to tie these aditional recipe requirements into the builtin crafting directly. This aproach will give you the most controll over what you are doing, but it might might clash with with the crafting of unaffected recipes depending on how you implement it.
2) Use the allow/on_metadata_inventory_take functions to determine what is beeing crafted, find out if the aditional slots contain the neccesary knicknacks and acoridingly allow/disallow to take the item out of the prewiev slot, decreasing the aditional items as necesarry.
This aproach definitively needs to display the aditional reqirements, othervise the player will be confused why he can't take the crafting output when it looks like he put in a valid recipe.
3)The same as 2, but instead allowing/disallowing the taking of the output, you use all of the 'on_metadata_inventory_*' functions to switch the craftpreview slot in and out with an empty dummy slot so the crafting result shows only when all of the neccesary ingedients are in place.

Hope this gives you a few ideas how to aproach it.
 


Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 4 guests