EliDog January 10, at PM. UHhello January 11, at AM. LustLycan January 11, at PM. Boobi January 13, at AM. Rocky January 14, at AM. Kim She nee January 15, at PM. SaintSadom January 15, at PM. Owl January 16, at PM. Wolf June 7, at AM. Unknown July 7, at AM. Newer Post Older Post Home. It is made to work for Terraria 1. My goal for tModLoader it to make it simple as possible while giving the modder powerful control over the game. It is designed in a way as to minimize the effort required for me to update to future Terraria versions.
Once I make substantial progress on tModLoader, I will also become open to everyone's suggestions for more hooks. Note: The documentation is for features I have currently completed. So you can use this to track my progress on tModLoader. It contains many static fields and methods related to mods and their contents. Fields: public static readonly string ModPath The file path in which mods are stored.
Mod sources are the code and images that developers work with. Spoiler: Mod Mod is an abstract class that you will override. It serves as a central place from which the mod's contents are stored. It provides methods for you to use or override. Properties: public string Name Stores the name of the mod. Currently its only use is to make ModLoader.
GetMod work. Methods: public abstract void SetModInfo out string name, ref string version, ref string author Override this method in order to give your mod a name, version, and author. Here you will call other methods such as AddItem. You should do so through instances of ModRecipe, instead of how vanilla Terraria adds recipes.
This method should be called in Load. You can obtain an instance of ModItem by overriding For those of you familiar with tAPI, keep in mind that the internal name and display name are the same thing in tModLoader. The texture parameter follows the same format for texture names of ModLoader. Because this method is in the Mod class, conflicts between mods are avoided. Spoiler: ModRecipe This class extends Terraria. Recipe, meaning you can use it in a similar manner to vanilla recipes.
However, it provides methods that simply recipe creation. Recipes are added by creating new instances of ModRecipe, then calling the AddRecipe method. Fields inherited from Terraria. Recipe: public bool needsHoney public bool needsWater public bool needsLava public bool anyWood public bool anyIronBar public bool anyPressurePlate public bool anySand public bool anyFragment public bool alchemy Fields: public readonly Mod mod The mod which created this recipe.
Properties: public int recipeIndex The index in Main. Call this after you have finished setting the result, ingredients, etc. Spoiler: ModItem I'll add documentation for this after I get some sleep. Click to expand Glad to see someone working on this! The main reason I put up an upload today is that thanks to my vacation, I will be unable to upload anything for an entire week. I will return on July 15, but hopefully I will be able to keep checking on here to see any feedback or bugs.
Also note that the next version will have a vastly improved interface. I will admit the current interface kind of sucks; that's what happens when I rush too much. Croc Eye of Cthulhu. Im now confused Solo-Ion Dungeon Spirit. Wow, this sounds impressive. Once this has some more features, I'll have to port my mod across to this. Croc said:. Shockah Grandson of The Wizard. Hm, that's weird; those files are required for Terraria to run.
I think I know what might be happening, although I won't be able to test it until I get back. Are those files absent from the directory that contains your Terraria.
Xemgoa Plantera. Shockah said:. MarioKart7z Plantera. Xemgoa said:. Are you saying that tAPI will be installed right into Terraria itself? MarioKart7z said:. I think he means that he just copied the code that was in those files inside the actual game's code, thus packing everything in one EXE.
I also can't wait for the next update for this so i can actually start making a mod for it. GamingReaver Spazmatism. I can't wait to see how this turns out! I'm hoping all the big mod makers see this so they can update their mods if they want to! Keep up the good work! GamingReaver said:. Hax4Ever Empress of Light. Oh, neat! Last edited: Jul 9, Jofairden Duke Fishron tModLoader. Sign Up , it unlocks many cool features! I made a basic mod for some of the aliens. We now have some oral from the niirds, and gay sex with the dinosaur.
Just replace the folders in database. Okay, so i've spent a while and written up some additional content for the female poh-ack for you guys to enjoy, and i'm finally content enough about its quality to share it.
I don't really write much, so don't expect a masterpiece, but hopefully it'll get some pistons running at the very least. I've updated and added some more scenes, as well as made some new ones, I also put in some mods from other people, credit is in the creadits.
0コメント