tAPI [Discontinued] tAPI - A Mod To Make Mods

Status
Not open for further replies.
Not sure if this has been asked but, i would like to know how to make custom ai for your npc/boss and how to get a blizzard staff effect for a weapon(i have the spread/offset of the projectile just cant get the trajectory correct).

Thanks,
Drok
i succesfuly enabled my blade of darkness mod. but when i try to craft it it does not appear. any help?
[DOUBLEPOST=1449903508,1449903293][/DOUBLEPOST]
Oh, that's strange, because TheHuckleberryWill's sword tutorial isn't working for me. I'd post code but I'm on mobile(and I have to got to sleep)also, there is no error in Terraria when I test. I guess I'll use jsonlint for help. And I'd probably learn about constructors tomorrow, thanks for the tip though :)
same problem here.
this is code i am using
"displayName": "Blade Of Darkness",
"texture": "item/Blade Of Darkness"
"size": [64, 64],
"maxStack": 1,
"value":[0,0,0,10],
"rare": 7,
"tooltip": "This Sword IS Forged With Dark Powers",
"useStyle":1,
"useAnimation":25,
"useTime":25
"damage":900
"knockback":10,
"usesSound":1,
"autoReuse":true,
"useTurn":true,
"melee":true,

"recipes":
[{
"items": {"Dirt Block": 1,"intermanlModname:User.Blade_Of_Darkness"}
"titles":[ "Work Bench" ],
"creates": 1
}]
i cant craft it
 
so long i didn't visit the forum, is there another project like tAPI? or another app wich allows tu run several mods at once?
 
so long i didn't visit the forum, is there another project like tAPI? or another app wich allows tu run several mods at once?
There's tModLoader and PRISM for Terraria v1.3. You'll just have to see which one you like more. They're both still in development though, so do not expect full support for all and everything ;)
 
There's tModLoader and PRISM for Terraria v1.3. You'll just have to see which one you like more. They're both still in development though, so do not expect full support for all and everything ;)
Thx, i noticed there seems to be more mods for tmodloader so i choosed this one
 
"displayName": "Blade Of Darkness",
"texture": "item/Blade Of Darkness",
"size": [64, 64],
"maxStack": 1,
"value":[0,0,0,10],
"rare": 7,
"tooltip": "This Sword IS Forged With Dark Powers",
"useStyle": 1,
"useAnimation": 25,
"useTime": 25,
"damage": 900,
"knockback": 10,
"usesSound": 1 ,
"autoReuse": true,
"useTurn": true,
"melee":true,

"recipes":
[{
"items": {"Dirt Block": 1,"internalModname:Blade_Of_Darkness"}
"titles":[ "Work Bench" ],
"creates": 1
}]
Try using this. ^
 
i succesfuly enabled my blade of darkness mod. but when i try to craft it it does not appear. any help?
[DOUBLEPOST=1449903508,1449903293][/DOUBLEPOST]
same problem here.
this is code i am using
"displayName": "Blade Of Darkness",
"texture": "item/Blade Of Darkness"
"size": [64, 64],
"maxStack": 1,
"value":[0,0,0,10],
"rare": 7,
"tooltip": "This Sword IS Forged With Dark Powers",
"useStyle":1,
"useAnimation":25,
"useTime":25
"damage":900
"knockback":10,
"usesSound":1,
"autoReuse":true,
"useTurn":true,
"melee":true,

"recipes":
[{
"items": {"Dirt Block": 1,"intermanlModname:User.Blade_Of_Darkness"}
"titles":[ "Work Bench" ],
"creates": 1
}]
i cant craft it
The part where it says "internal mod name" is where you put your internal mod name. That's why it won't work.
 
if you still want to play tAPI just get terraria collecters edition it has 1.2.4.1 :)
 
Could anybody help me ?
upload_2015-12-25_8-47-15.png
 
I'm not sure (kinda suck at this) but it looks like your Thorium mod is broken. I dunno what you could do apart from uninstalling it.
 
>>> Singleplayer: 20:26:15 <<<
System.Collections.Generic.KeyNotFoundException: No key "ThoriumMod:TerrariumSageStaff" found
at WrapperDictionary`2.get_Item(TKey key)
at ThoriumMod.MPlayer.ModifyDrawLayerList(List`1 list)
at Hooks.Call(Action`1[] ts, A a)
at Main.DrawPlayer(Player drawPlayer, Vector2 Position, Single rotation, Vector2 rotationOrigin, Single shadow = 0)
at MenuButtonDrawPlayer.Draw(SpriteBatch SP, Boolean mouseOver)
at MenuPage.Draw(SpriteBatch SP)
at Menu.DrawMenu()
at Main.Draw(GameTime gameTime)

Mods used:
BAWR.Craft (BAWR Craft 2015-03-02 by bawr)
BaseMod (Grox The Great's BaseMod 1.0.5 by Grox The Great)
berberborscing (berberborscing's Mod 1.1.3c by berberborscing)
Eikester (Decorations and more 1.2 by Eikester)
LolHens (Elemental Boots 1.7 by LolHens)
Logodum (Logodum's Expansion null by berberborscing)
Necro (Necropolis Mod null by Zoodletec and Sapharan)
OmnirsNosPak (Omnirs Nostalgia Pack 1.0.4.3 by Omnir)
WeaponsRevolution (Weapons Revolution 4.0 by Robert,Kage,Cythfistus & Gardraphius)
Tremor (Tremor Mod 1.2 by Bogdan3456, Zadum4ivii, Slavdey, Wilson P., The Mystery Chest, Naikoraptor, Rostos16)
BLITZ (Blitz Mod 0.6.0 by Blitz-Modder)
DungeonGen (DungeonGen 1.4.3 by Flanker)
GRealm (Grealm 1.0.5 by Grox The Great)
InvisibleHand (The Invisible Hand 1.2.0rc3-tr16 by wuli1986)
ThoriumMod (Thorium Mod null by DivermanSam)
Nymphaea.MainSlotZero (MainSlotZero 2015/01/03 by MiraiMai)
BAWR.Light (MainSlotZero Light Support 2015-03-02 by bawr)
 
So I'm having an issue with tAPI.
When ever I click on it with Game Launcher it makes a launching sound and the launch button becomes un-clickable. Then it plays another sound and I can press it again, That is it. It won't run no matter what I try.
Can anyone help me?
 
So I'm having an issue with tAPI.
When ever I click on it with Game Launcher it makes a launching sound and the launch button becomes un-clickable. Then it plays another sound and I can press it again, That is it. It won't run no matter what I try.
Can anyone help me?
Sounds like it's failing to launch for some reason.
 
So I'm having an issue with tAPI.
When ever I click on it with Game Launcher it makes a launching sound and the launch button becomes un-clickable. Then it plays another sound and I can press it again, That is it. It won't run no matter what I try.
Can anyone help me?
Sounds like it's failing to launch for some reason.
1.3 changed some file names and broke tAPI.
 
The name was CraftButton.xnb I believe
Yes, that's the one. I had problems with that myself. I gave up and moved on to tModLoader :P
 
Well that's depressing...
Thanks anyways!
 
Well that's depressing...
Thanks anyways!
I recommend you move on to tModLoader. It's not too different and there's already quite a few mods for it (notably mine :P)
 
Okay, I'll try it out!
 
I recommend you move on to tModLoader. It's not too different and there's already quite a few mods for it (notably mine :p)
Okay, I'll try it out!
That is wrong. There is a HUGE difference between the two:tModloader doesn't use .jsons, it is all in .cs files. This makes it harder to work with than tAPI.
 
Status
Not open for further replies.
Back
Top Bottom