And here it is, you only need to use NewRecipe class in this file (and enable this plugin).
I don't know how to explain how it works as it seems pretty obvious to me so I'll simply give an example of how a recipe could be added with it (it's Pisman065's Lava Charm recipe, requiring an anvil and some lava).
If you wanted to add recipes in game, well, I could do that with another plugin, but it would require more work and I would like the Plugin browser to be out before so it wouldn't be lost in this thread.
I don't know how to explain how it works as it seems pretty obvious to me so I'll simply give an example of how a recipe could be added with it (it's Pisman065's Lava Charm recipe, requiring an anvil and some lava).
If you wanted to add recipes in game, well, I could do that with another plugin, but it would require more work and I would like the Plugin browser to be out before so it wouldn't be lost in this thread.
Attachments
TechnoMonkeyDJ
Terrarian
ExpnandBanana
Terrarian
Does the biome spread tweak work on latest version multiplayer if just the host uses it? Or do all players need it running?
Terraria Multiplayer launches a server then join in, so every player is a clientDoes the biome spread tweak work on latest version multiplayer if just the host uses it? Or do all players need it running?
But as Terraria Tweaker isn't able to modify the server, this tweak simply doesn't work in multiplayer
Unless you do some manipulation of course.
- Edit TerrariaServer.exe name to Terraria.exe (and make a backup copy, place your original Terraria.exe somewhere)
- RightClick on your tweak list, Advanced
- Perform Operation
- Place the newly created .exe in the Terraria Folder and call it TerrariaServer.exe
- Place the original Terraria.exe back
- No one needs the tweak anymore, play in multiplayer without the evil spread
Last edited:
TechnoMonkeyDJ
Terrarian
it will work just fine as long as you hit host & play under multiplayer in gameDoes the biome spread tweak work on latest version multiplayer if just the host uses it? Or do all players need it running?
fellow Terraria tweaker 2
Did you even try it ? Because I did and it doesn't work. Host&Play also launches TerrariaServer.exeit will work just fine as long as you hit host & play under multiplayer in game
fellow Terraria tweaker 2
Last edited:
Pigman Δ
Retinazer
In the plugin manager, also tick Single Assembly, it should work better@Gaelyte for the Lava Charm recipe, do I just chuck Example.cs and the other file in the plugins folder then enable them? Or is there something else I need to do?
(and don't hesitate to modify the Example, it's just... Well... An example)
Pigman Δ
Retinazer
Thanks!
EDIT: I was worried that I would have to do something with it (I hate C#, C and C++ -they're overcomplicated) other than adjusting the variables (which is easy) because the test plugin button was throwing errors about how the 'namespace Gaelyte was not found' or something. The HelperPlugins was fine when it passed through the Test Plugins function.
EDIT: I was worried that I would have to do something with it (I hate C#, C and C++ -they're overcomplicated) other than adjusting the variables (which is easy) because the test plugin button was throwing errors about how the 'namespace Gaelyte was not found' or something. The HelperPlugins was fine when it passed through the Test Plugins function.
Last edited:
Yeah, test button is a bit broken, but creating an object then calling some functions on it shouldn't be a real problemThanks!
EDIT: I was worried that I would have to do something with it (I hate C#, C and C++ -they're overcomplicated) other than adjusting the variables (which is easy) because the test plugin button was throwing errors about how the 'namespace Gaelyte was not found' or something. The HelperPlugins was fine when it passed through the Test Plugins function.
(Btw, for the debug, I prefer using visual studio over Terraria Tweaker native edit code)
Proxiehunter
Terrarian
If you wanted to add recipes in game, well, I could do that with another plugin, but it would require more work and I would like the Plugin browser to be out before so it wouldn't be lost in this thread.
I understand @TiberiumFusion's reluctance to put together a browser or similar until they figure out a way to ensure the plugins are safe for users. But, if they don't have any objections I could later tonight probably bang together a free wiki of some sort to act as an unofficial repository. I will not do so without the explicit permission of @TiberiumFusion though.
I would include a very prominent disclaimer that "This wiki is unofficial and is not affiliated with TiberiumFusion or Terraria Tweaker. The nature of these plugins can risk your computer being exposed to malware if the plugin was written by a person with malicious intent. The owner of this wiki has no means of screening these files and installing them is done at your own risk."
I am going to be busy for the next few hours, if TiberiumFusion grants permission to do this during that time frame then someone else is free to beat me to this. I want to see more plugins available and I think the risk of them being lost in the thread is likely preventing some people from bothering until there's somewhere to put them so people can be made aware of their existence.
TechnoMonkeyDJ
Terrarian
i exclusively play in host and play and it works just fine for meDid you even try it ? Because I did and it doesn't work. Host&Play also launches TerrariaServer.exe
Official Terrarian
Feel free to modify my plugin and/or use it as an example.remake all tweaks as plugins (as additional examples)
We might want a single post that links to all created plugins.
Yeah, we were talking about it for few pages, Tiberium will make something later but Proxiehunter will make a sort of wiki soonFeel free to modify my plugin and/or use it as an example.
We might want a single post that links to all created plugins.
Pigman Δ
Retinazer
so i'm trying to make an armour stats modifier plugin...
but how do i know where to patch? is there a way to see the contents of Terraria.exe?
but how do i know where to patch? is there a way to see the contents of Terraria.exe?
You will need a to decompile Terraria.exe for that, the most known decompilers are DotPeek, DNspy and ILspyso i'm trying to make an armour stats modifier plugin...
but how do i know where to patch? is there a way to see the contents of Terraria.exe?
Official Terrarian
so i'm trying to make an armor stats modifier plugin...
Here is a plugin that makes it so 1 point of defense = 1% damage reduction. It multiplies together for additional points of defense so 100 armor = you take about 37% damage.
I added code for NPCs as well, but it is disabled by default.
The formulas disregard expert and master mode. Defense gives % damage deduction with this plugin so defense prevents more damage in modes that deal more damage.
Attachments
Nancok
Skeletron Prime
One question, is there any way to add a recipee where you can use an ingredients counterpart as well? as in, using either iron or lead for a recipeeAnd here it is, you only need to use NewRecipe class in this file (and enable this plugin).
I don't know how to explain how it works as it seems pretty obvious to me so I'll simply give an example of how a recipe could be added with it (it's Pisman065's Lava Charm recipe, requiring an anvil and some lava).
If you wanted to add recipes in game, well, I could do that with another plugin, but it would require more work and I would like the Plugin browser to be out before so it wouldn't be lost in this thread.
Pigman Δ
Retinazer
Nice, though not quite what I'm trying to make.Here is a plugin that makes it so 1 point of defense = 1% damage reduction. It multiplies together for additional points of defense so 100 armor = you take about 37% damage.
I added code for NPCs as well, but it is disabled by default.
The formulas disregard expert and master mode. Defense gives % damage deduction with this plugin so defense prevents more damage in modes that deal more damage.
As far as I know, there are a few 'recipe groups'. Any Iron Bars is one of them. Try adding AnyIronBar to your recipe.One question, is there any way to add a recipee where you can use an ingredients counterpart as well? as in, using either iron or lead for a recipee
EDIT: After wrestling with ILSpy's crazy download method (and then finally copy-pasting to fake ILSpy.sln) I finally got it to work. I looked for Terraria.IDs as that was referred to in the code. I found a long list of IDs. I have no idea where to look to see the actual item stats.
Last edited:
Of course, look at my code, there's a function called AddAnyIron for iron. There's one for all natural "any" : wood, iron, fragments, sand and pressure plateOne question, is there any way to add a recipee where you can use an ingredients counterpart as well? as in, using either iron or lead for a recipee
Last edited:
- Status
- Not open for further replies.
Similar threads
- Locked
- Replies
- 1
- Views
- 395
- Replies
- 2
- Views
- 322
- Replies
- 0
- Views
- 151
- Replies
- 170
- Views
- 22K
- Replies
- 110
- Views
- 8K
-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.