News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
April 01, 2020, 09:03:22 PM


Please contribute to our

Sign up for a forum account at the Front Page. | Remember to Tag your posts.
Having problems logging in to the forums? Go the front page, log out and back in again.

Author Topic: Diablo II Charms possible in Torchlight II?  (Read 1966 times)

Offline Waves_Blade

  • New Member
  • *
  • Posts: 2
    • View Profile
Diablo II Charms possible in Torchlight II?
« on: November 09, 2019, 01:36:07 PM »
Is it possible in the TL2 Engine to create charm like objects that give buffs for just being in your inventory?

Would make for a crazy mod.

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2740
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: Diablo II Charms possible in Torchlight II?
« Reply #1 on: November 10, 2019, 01:14:39 PM »
Hey WaveBlade. The idea floated in the discord about this (a new container of type "body" with its own UI) is theoretically possible, but has never been tried before.

Offline Anarch16sync

  • The Ripper
  • Developer
  • Legendary
  • *
  • Posts: 564
  • Country: ar
  • Back on track
    • status study
    • View Profile
  • Mood: mood evil
Re: Diablo II Charms possible in Torchlight II?
« Reply #2 on: November 11, 2019, 03:01:45 PM »
Here is a short checklist/guide of what you would need to do create the charms and the charm inventory:

Fist check this guide to get familiar with the parts of the GUTS window:

Now, this may seems like a lacking explanation, but GUTS as a lot of features and it's not really all that documented, so modding requires a lot of leg work from the user, with trial and error, and checking existing stuff and modify it slowly to understand what does what... So the learning curve is steep. And for the stuff I say next the best you can find would be tangencially related info.

Actual things needed for your mod:
- Create a new unittype, for example, CHARM. For this you need to go to the Unittype Editor in the Data editor menu.
 You can see how the unittype editor works in this video: It's about class creation, but there is no specific unittype tutorial written yet. In your case you would want to give your unittype the inheritance of something equippable, like Trinket or Socketable.

- Create a new slot, in the slot editor under inventory, in the same Data editor menu, this should have Equippable checked, and allowed unittype CHARM.
- Create a new container, for example PLAYER_BAG_CHARM, and add your slot to the slot list with the number of slots you want in your bag.
As far as I now there are no written tutorials for this either... but the editors are pretty simple so there is not much room for error.

- Then you need to create a new UI or edit one of the already existing ones. This one is harder and more intimidating since there is a lot of stuff and properties, but once you find what you need to edit is pretty straight foward.
 One way of making this easier is downloading this mod: unpacking it and just editing the gem bag (in player_inventory.layout or something like that) to use your containers and slots.
Here you can see a screenshot where I marked what you would need to change to your new container for it to work (In my example I selected the weapons & armors inventory slot, in your case you should search for the gem bag inventory)

- Then the las part would be to create the actual items in the unit editor.
Here you can find a basic tutorial for item creation but applied to a weapon:
« Last Edit: November 11, 2019, 04:18:43 PM by Anarch16sync »

Offline Waves_Blade

  • New Member
  • *
  • Posts: 2
    • View Profile
Re: Diablo II Charms possible in Torchlight II?
« Reply #3 on: November 11, 2019, 05:40:43 PM »
Edit: NVM, just saw discord.

I didn't particularly intend to get into modding more than this one thing, so its better that someone more experienced handles it rather than me risk goofing it.
« Last Edit: November 11, 2019, 05:50:49 PM by Waves_Blade »


* Quick Search

* Member Information

Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 2
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

April 2020
Sun Mon Tue Wed Thu Fri Sat
[1] 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

* Recent Topics

New class "Timewarper" by Sch123
[Today at 02:25:20 PM]

Need Help: Getting Translation into game by Awkward
[March 17, 2020, 08:43:25 PM]

[Tool] another localization tool by Phanjam
[March 14, 2020, 08:26:10 AM]

Variant Classes Mod Information by Viz
[March 10, 2020, 02:33:06 AM]

% to cast spell in a Set Bonus by Phanjam
[February 25, 2020, 03:52:45 PM]

Lightbringer Mod (Paladin) by Phanjam
[February 15, 2020, 02:23:45 AM]

What free software do you guys use? by Phanjam
[January 24, 2020, 06:25:40 AM]

Essentials and Tenebris conflict by Awkward
[January 20, 2020, 03:57:51 PM]

[SCRIPT] Automatic Mesh Rebuilding by Kva3imoda
[January 10, 2020, 01:33:48 AM]

FEP+ by Sch123
[January 08, 2020, 05:59:25 AM]

First Topic by Phanjam
[December 01, 2019, 03:05:25 AM]

Trouble with summons by Phanjam
[November 23, 2019, 12:16:19 PM]

Help Making Custom Minion Skills by DiakEagle
[November 18, 2019, 04:11:40 PM]

Diablo II Charms possible in Torchlight II? by Waves_Blade
[November 11, 2019, 05:40:43 PM]

[TOOL] TL2 Translation Utility by Phanjam
[November 06, 2019, 07:11:09 AM]

* Popular Topics