News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 70
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 96
Total: 96

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

0 Members and 14 Guests are viewing this topic.

Diablo II Charms possible in Torchlight II?
« on: »
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.

Share on Bluesky Share on Facebook


Re: Diablo II Charms possible in Torchlight II?
« Reply #1 on: »
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.


Re: Diablo II Charms possible in Torchlight II?
« Reply #2 on: »
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: http://torchmodders.com/wiki/doku.php?id=main_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:
steamcommunity.com
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)
Spoiler (hover to show)

- 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: http://torchmodders.com/wiki/doku.php?id=cloning_an_item_editing_its_texture
« Last Edit: November 11, 2019, 08:18:43 am by Anarch16sync »

Re: Diablo II Charms possible in Torchlight II?
« Reply #3 on: »
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, 09:50:49 am by Waves_Blade »

 

Recent Topics+-