News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
January 27, 2020, 12:38:04 PM
collapse

Author Topic: [QUESTION] Changing the Type of a DAT Tag  (Read 524 times)

Offline Lord Nyriox

  • Moderator
  • Rare
  • *
  • Posts: 160
  • Country: us
    • status busy
    • View Profile
    • Github Profile
  • Mood: mood evil
[QUESTION] Changing the Type of a DAT Tag
« on: August 29, 2018, 11:07:48 PM »
Esoteric Question:

Can Torchlight DAT tags have their base types changed, while retaining the same in-game functionality?

For an example, changing a tag normally marked as a float, like "<FLOAT>SCALE:2", to be marked as an integer, like "<INT>SCALE:2" in the DAT file of a Unit. 

For another example, changing a "string" tag containing only numbers, like
Code: [Select]
<STRING>UNIT_GUID:-1234567890123456789
to be a 64-bit "integer" instead, like so…
Code: [Select]
<INTEGER64>UNIT_GUID:-1234567890123456789

If any of these turn out to be possible, this may very well become a way to "optimize" mods for efficiency and consistency—so I would be very interested in hearing your experiences.

P.S.  Before you ask about the second example, GUIDs for non-Units are always of type "INTEGER64", but for some reason vanilla Units use the "STRING" type, instead.
« Last Edit: August 30, 2018, 06:11:25 PM by Lord Nyriox »

Tags:
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 3
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

January 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 31

No calendar events were found.

* Recent Topics

Variant Classes Mod Information by Awkward
[January 24, 2020, 11:50:50 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]


[Tool] another localization tool by Awkward
[January 18, 2020, 06:58:06 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]


[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]

* Popular Topics