Garry's Mod

Garry's Mod

Garry's Mod Stranded
8Z 2016 年 8 月 16 日 下午 8:35
Adding new combinations and items
I'm editing this gamemode for my server. My new combination that creates a new item "Copper_Cable", however, cannot be crafted. It is set up excatly the same as other combinations (like smelting), but I placed it in copper workbench.

Am I doing this wrong?
< >
正在显示第 1 - 5 条,共 5 条留言
{UPR} Princess Celestia 2016 年 9 月 11 日 上午 1:35 
I know this is like month old already so you probably figured it out by now, but if not, add me. I did some modifications for my server too and it worked by simply just adding it to the combinations, as far as I can remember.
8Z 2016 年 9 月 11 日 下午 4:33 
Ah, thanks for your reply. I am not actually working on it (since I gave up), and I think the cause for my problem is that I can't use non-unicode text as the title of a combination. Have you touched on it?

(By the way, I think discussion on this thread is better as it may benefit other people working on this as well.)
{UPR} Princess Celestia 2016 年 9 月 11 日 下午 11:28 
Good point, I haven't tried that. The code uses the name of the materials/combinations as keys for lua table (which is quick and easy but generally really dreadful solution), so if lua doesn't allow for special characters to be used as keys, that might be the issue.
Soma 2017 年 3 月 10 日 下午 5:50 
Hey, I have to know, where did you find the files to edit them? I've been trying to find a way to add custom crafting combinations to my Stranded, and there's no Stranded folders anywhere to be found other than the gamesaves.
{UPR} Princess Celestia 2017 年 3 月 10 日 下午 11:24 
You'll need to unpack the .gma file in addons (using something like GMad), then you can find and edit the files there.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50