News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
December 07, 2019, 02:32:59 PM
collapse

*
Information

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 754 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: 2714
  • 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: 563
  • 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: 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: https://youtu.be/65bQfH8kYHY?t=100 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: https://steamcommunity.com/sharedfiles/filedetails/?id=232573509&searchtext=ember+bag 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

- 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, 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 »

Tags:
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 1
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Calendar

December 2019
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 31

No calendar events were found.

* Recent Topics

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


Variant Classes Mod Information by Sch123
[November 24, 2019, 09:53:51 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]


[SCRIPT] Automatic Mesh Rebuilding by Phanjam
[October 31, 2019, 05:58:39 PM]


[Tool] Item Unit file maker Script by Phanjam
[October 21, 2019, 01:36:42 PM]


Will these plans be even possible to do? by Saber
[October 15, 2019, 06:13:17 PM]


Variant Classes Bug Reports by negreanu11
[October 05, 2019, 07:23:09 PM]


Mod Changelogs by Viz
[September 22, 2019, 05:06:52 AM]


idea/Request for a new torchlight 2 custom werewolf class by Phanjam
[September 16, 2019, 02:29:05 PM]


Utility to split ogre3d multi-animation skeleton xml files by Phanjam
[September 14, 2019, 02:22:10 AM]


FEP+ April 2019 Update by Sch123
[August 24, 2019, 09:40:03 AM]


Learning Quest Making by Phanjam
[August 21, 2019, 02:46:04 AM]

* Popular Topics