News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
May 27, 2019, 11:41:21 AM
collapse

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

Offline Lord Nyriox

  • Moderator
  • Rare
  • *
  • Posts: 161
  • Country: 00
    • status bored
    • 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.
Did you miss your activation email?

* Mod Boards Activity

* Who's Online

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

There aren't any users online.

* Calendar

May 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

  • - Holidays -
  • holiday Memorial Day

* Recent Topics

Destroyer Rebalance by Phanjam
[May 25, 2019, 02:28:58 AM]


Darkened TL2 UI (Re-texture Mod) by Phanjam
[May 21, 2019, 02:29:35 PM]


FEP+ April 2019 Update by Phanjam
[May 19, 2019, 10:34:51 PM]


Skills Expansion: Bugs Report & Ideas by Sch123
[May 16, 2019, 10:54:27 AM]


Charge Domination % by TwinkleToes
[May 11, 2019, 04:33:57 AM]


[Help Request] Putting Custom Dungeons Into Vanilla Zones by Phanjam
[May 09, 2019, 02:19:19 AM]


Triggerable Weapons by Phanjam
[April 29, 2019, 11:15:57 AM]


Need Help: Getting Translation into game by steffire3
[April 25, 2019, 10:23:02 PM]


FEP+ by LeavingUndad
[April 14, 2019, 06:47:25 PM]


Knowledge-basing For Level & Quest Making by Phanjam
[April 13, 2019, 01:51:42 PM]


Pet Variants Mod by Phanjam
[April 11, 2019, 02:53:00 PM]


[IDEA] Maika's Quest (children's mod) by Phanjam
[April 11, 2019, 09:33:41 AM]


Need Help: Template File List by steffire3
[April 10, 2019, 07:21:54 PM]


Deathknight class by Phanjam
[April 10, 2019, 12:47:27 AM]


TL1CP Update 4 - A new baseline (I hope) by Anarch16sync
[April 09, 2019, 03:25:53 PM]

* Popular Topics