collapse

* Important


The forum and all threads have been locked, but are still available for browsing.  There is more information about this here.


The

Is still open for article contributions.

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

Offline Lord Nyriox

  • Emigrated to Cyrodiil
  • Moderator
  • Rare
  • *
  • Posts: 161
  • Country: us
    • status away
    • View Profile
    • Github Profile
  • Mood: mood grin
[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 »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Tags:
 

Our host and sponsor

* Quick Search


* Mod Boards Activity

* Popular Topics