tModLoader HERO's Mod - Terraria Creative Mode + Server Management + And Over 25 tools

Hero This mod is absolutly epic.....
One idea : make some kinda buttons like:::::: Infinity flight,ultimated ammo,Infinite health,.........
It´s not good in one button god
 
well if you want unlimited ammo you could use the infinity mod.
it makes only the default ammo[arrows and bullets] unlimited.
As for infinite hp well there is the god mode button, and for flight try to get the cosmic car key.
 
Ive installed this mod just like the video says but I seem to only have 11 out of the 15 tools on the bar at the bottom (the first 10 and misc) and the misc only disables the option to hide the bar, I have to bring up the time setting sub-bar to make it visable again. I'm not sure what's going on and I know I havn't installed it wrong, I have the latest version, i've restarted the game, etc. Any help please?


Side note: The creative menu thing doesn't work correctly when autopause is on, it opens for about half a second then closes.
Sie note 2: Atleast everything else works like it should :)
 
Ive installed this mod just like the video says but I seem to only have 11 out of the 15 tools on the bar at the bottom (the first 10 and misc) and the misc only disables the option to hide the bar, I have to bring up the time setting sub-bar to make it visable again. I'm not sure what's going on and I know I havn't installed it wrong, I have the latest version, i've restarted the game, etc. Any help please?


Side note: The creative menu thing doesn't work correctly when autopause is on, it opens for about half a second then closes.
Sie note 2: Atleast everything else works like it should :)

The rest are probably multiplayer tools.
 
But I should atleast have the 'reveal map' option/icon/thing, that is something that shouldn't be restricted to multiplayer.

Are you running any other mods? Have you updated to the latest version of tmodloader?

Hero, do you know what the item slot in the NPC spawner is for?

It's to see what enemies drop what items. You put something like bombs in it and it will show you want mobs drop the item.
 
Your mod is the only mod installed and I litterally downloaded and installed tmodloader 20 minuites before I posted. It occered to me that I might of sounded a little rude, i'm sorry, I am sooooo tired XD

Did you use the direct download or the mod browser?

I've noticed a bug where if you try to pause the time, the HUD will glitch out.

This is actually due to your inventory hotbar not having any items. We can't fix this yet. It's a problem with having limited hooks in terraria. Just put some items in your hotbar.
 
On my private server, when I login, I get set to default player, so I have no way to switch myself to admin
Since you were the first to register, you should have become Admin, but if something happened, you can modify the "C:\Users\??\Documents\My Games\Terraria\ModLoader\HEROsModDatabase.json" file manually to set your player's group to -1. You can also just use the chat command "admin ######" to become admin. The special code (the ######) is displayed in the server console. (So for this approach, you'd have to run the server not from the host and play menu.)

Let me know if you can't figure it out. You can also just delete the .json and start over.
[doublepost=1467453099,1467453077][/doublepost]
Hey is there a way you can make it so you can take stuff out of the players inventory if you are looking in it? Thank you.
This is a planned feature.
[doublepost=1467453173][/doublepost]
But I should atleast have the 'reveal map' option/icon/thing, that is something that shouldn't be restricted to multiplayer.
It should be there, are you sure it's not in the submenu? It should look like this in single player.
vmG9K6U.png

[doublepost=1467453414][/doublepost]
I can't give myself certain buffs and debuffs, like Mana Sickness.
We purposefully left out most debufss(except wet), and all the buffs that are impossible to be given correctly without the corresponding item (pets and minions)

If there is a valid reason to add a debuff (Like with Wet), I can make it happen, but you have to make a case for it.
 
Update Released:

v0.1.1
  • Extension Tools Support
  • Item Browser
    • "Mod" Category
    • "Mod" Filter
    • A variety of Sorts for various categories
  • Bug Fixes
    • Rare case where nothing is clickable

Extension Tools give other modders an easy way to add Cheats or Tools to HERO's Mod. By making an Extension Tool, the user has access to an familiar interface and the tool is easily integrated into HERO's Mod's permissions system. A complete example will be posted later, but here is an example in-game, so you have an idea what it will look like.

DWcbPwV.png


The Item Browser has been super charged with Sorting capabilities. If there are any sorts you feel are missing, let me know and if it is useful and capable of being programmed, I'll add it.


Also, a huge thanks to the following for helping with the various Sort icons added in this release.

@Rartrin
@GabeHasWon
@Eli10293
 
Creating a Extension Tool is easy. An example is shown in the Shorter Respawn Time mod thread

Basically, during your mod's PostSetupContent, you'll use the Mod.Call method on the instance of HERO's Mod to communicate with HERO's Mod the details of your Tool's button:

Code:
        public override void PostSetupContent()
        {
            Mod herosMod = ModLoader.GetMod("HEROsMod");
            // Prefer Heros Mod
            if (herosMod != null)
            {
                herosMod.Call(
                    // Special string
                    "AddPermission",
                    // Permission Name
                    "ModifyPersonalRespawnTime",
                    // Permission Display Name
                    "Modify Personal Respawn Time"
                );
                // Add Buttons only to non-servers (otherwise the server will crash, since textures aren't loaded on servers)
                if (!Main.dedServ)
                {
                    herosMod.Call(
                        // Special string
                        "AddSimpleButton",
                        // Name of Permission governing the availability of the button/tool
                        "ModifyPersonalRespawnTime",
                        // Texture of the button. 38x38 is recommended for HERO's Mod. Also, a white outline on the icon similar to the other icons will look good.
                        GetTexture("InstantRespawnButton"),
                        // A method that will be called when the button is clicked
                        (Action)InstantRespawnButtonPressed,
                        // A method that will be called when the player's permissions have changed
                        (Action<bool>)PermissionChanged,
                        // A method that will be called when the button is hovered, returning the Tooltip
                        (Func<string>)InstantRespawnTooltip
                    );
                }
            }
        }

Be sure to follow the format above for the 2 configurations for the Call method exactly, or it will crash. (Integration will get more straightforward in later tModLoader versions)

The methods passed into the Call will be invoked by HERO's Mod when the associated action is taken. Below is an excerpt showing those methods from the mod this code was taken from to act as an example:
Code:
// This method is called when the cursor is hovering over the button in Heros mod or Cheat Sheet
        public string InstantRespawnTooltip()
        {
            return instantRespawn ? "Disable Instant Respawn" : "Enable Instant Respawn";
        }

        // This method is called when the button is pressed using Heros mod or Cheat Sheet
        public void InstantRespawnButtonPressed()
        {
            instantRespawn = !instantRespawn;
        }

        // This method is called when Permissions change while using HERO's Mod.
        // We need to make sure to disable instantRespawn when we are no longer allowed to use the tool.
        public void PermissionChanged(bool hasPermission)
        {
            if (!hasPermission)
            {
                instantRespawn = false;
            }
        }

I am available to help you understand the fine details if you need it.
 
[doublepost=1467484410,1467483854][/doublepost]
It should be there, are you sure it's not in the submenu? It should look like this in single player.
vmG9K6U.png

I just launched up Terraria again and now the misc icon is working and bringing up that submenu where as before it would just make the arrow bar thingy disapper, it must of been a client-side glitch that I was unfortunate enough to get twice. Thank you for your help :)
[doublepost=1467484678][/doublepost]
Did you use the direct download or the mod browser?

I just launched up Terraria again and now the misc icon is working and bringing up that submenu where as before it would just make the arrow bar thingy disapper, it must of been a client-side glitch that I was unfortunate enough to get twice. Thank you for your help and best of luck to the future of this mod. :)
 
Back
Top Bottom