tAPI Getting Started with Modding

Status
Not open for further replies.
Is it just me, or does the tAPI builder not work for anyone? I've re-installed MULTIPLE times, and no luck.

It works for me, but same case, need to open ti trough tAPI.
 
I made a "Sources" folder in the "Mods" folder, and put the mod in there. Does the "Sources" folder have to be in "Local"? Or just "Mods"?
Oh, you're fine then on terms of a Sources folder.
 
I edited my previous post.
EDIT: The mod is perfectly fine, i checked with http://pro.jsonlint.com .
NOO TCF DON'T CLOSE ON US
Probably will be revamped though.
 
Hey @Pumpking, can I PM you so I can get a mod compiled? My stuff doesn't work.
[DOUBLEPOST=1420139211][/DOUBLEPOST]Then send the compiled .tapi file back if it works.
 
@Pumpking , is the problem that you can't craft your sword? If that's it, then I must ask if you corrected the error in the json where in the recipes, it stated
"recipes":
[{
"items": { "Spooly Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
instead of
"recipes":
[{
"items": { "Spooky Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
 
@Pumpking , is the problem that you can't craft your sword? If that's it, then I must ask if you corrected the error in the json where in the recipes, it stated
"recipes":
[{
"items": { "Spooly Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
instead of
"recipes":
[{
"items": { "Spooky Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
I'm pretty sure I corrected that. I'll try again.
[DOUBLEPOST=1420139577][/DOUBLEPOST]
@Pumpking , is the problem that you can't craft your sword? If that's it, then I must ask if you corrected the error in the json where in the recipes, it stated
"recipes":
[{
"items": { "Spooly Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
instead of
"recipes":
[{
"items": { "Spooky Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
*FACEPALM OF THE YEAR*
Ughhh! fixed that, but I think it didn't save!
*facepalm*
 
One question, how can i make it, so a recipoe can choose between 2 types of ingredients? For example, i want to make Throwing Knife craftable, and i want to make it so it need either 1 Iron bar or 1 Lead Bar,what do i do?
 
One question, how can i make it, so a recipoe can choose between 2 types of ingredients? For example, i want to make Throwing Knife craftable, and i want to make it so it need either 1 Iron bar or 1 Lead Bar,what do i do?
Add another file that uses the alternate bars or put it in the same file
 
It's still not working...
I attached a ZIP file with a readable version of the weapon JSON.
 

Attachments

And how do i make it so you can craft it on either an iron/lead anvil or mythril/orichalcum anvil?
 
And how do i make it so you can craft it on either an iron/lead anvil or mythril/orichalcum anvil?
I think do the same thing, make 2 files with different crafting stations.
 
Try lowercase json
PumpkingsMod.json not PumpkingsMod.JSON and try the same for spooky wood sword .json not .JSON
Lol people are on the forums XD
 
Ummm, anvil id: 16, lead anvil id: 16(2)?

How do i write it? Will writing down 16 will also allow the lead anvil? or i do i have to write 16(2)? or something like 16.2? and make a new file for it?
 
Try lowercase json
PumpkingsMod.json not PumpkingsMod.JSON and try the same for spooky wood sword .json not .JSON
Lol people are on the forums XD
I'll try that. :)
 
Ummm, anvil id: 16, lead anvil id: 16(2)?

How do i write it? Will writing down 16 will also allow the lead anvil? or i do i have to write 16(2)? or something like 16.2? and make a new file for it?
16 means both anvils
Whatever ID the Mythril Anvil is the same as Orichalcum Anvil
 
OOOOHHHH, ok thanks that makes it much easier
 
XD the forums are STILL under maintenance, but we're talking up a storm
EDIT: The reason I suggested that lowercase might work is that tAPI is case-sensitive. Maybe it works in .cs and .json files too, it's a tiny bit less of a hassle to write.
 
Add another file that uses the alternate bars or put it in the same file
In other words, I can put every one of the recipes for things that already exist in Vanilla Terraria all in the same file? It's a .cs file, right? Only a .cs file, and not a JSON file?
 
Status
Not open for further replies.
Back
Top Bottom