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: 88
Total: 88

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

0 Members and 30 Guests are viewing this topic.

[QUESTION] Changing the Type of a DAT Tag
« on: »
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, 11:11:25 am 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.

Share on Bluesky Share on Facebook


 

Recent Topics+-