r/ToME4•
CharsCour

Tweaking in game talents

I can work my way around code, but if I wanted to tweak a core game talent rather than creating an addon, which file should I be looking to modify or can I reference that other file with an addon easier?

Specifically looking to mod up Weapon of wrath to tweak the damage limitation

Edit: It appears Tome.team

Posted Mar 11, 2023, 9:02 PM UTC

188
CharsCourOP•

A quick and dirty formatted guide to tweaking these settings:

(Quick note, this is just based on my 20 mins of digging and nothing is done properly)

Navigate to your tome folder default steam \Steam\steamapps\common\TalesMajEyal\game\modules

Open tome.team in an archive tool like 7zip

data/talents/[whatever your looking to tweak]

edit the file you want to tweak in your editor of choice (I used Notepad++)

I don't know lua but it should be pretty easy to reference whatever you want to change by correlating the numbers to the ingame tooltips. The format is clean and pretty common sense.

​

Warning: This will invalidate your game and take you into offline mode. I believe creating an addon and overloading the talent tree from there will correct this. I will dig around some more and report back

9
mikekchar•

It's been a long time since I was hacking on this code... I'm sure there used to be a github repository, but I can't find it any more. Perhaps it's gone now... Probably I just can't find it... Tales of Maj'Eyal and the engine, T-engine are released under GPL 3.0, so you can request source code if you want it.

Anyway, the documentation for the engine is here: https://te4.org/docs/t-engine4/1.4.8/index.html The wiki over all page is here: https://te4.org/wiki/T-Engine_4

I stopped hacking on TOME mainly because, while the code is released as GPL 3.0, it was clear to me that the author does not understand the GPL. His interpretation of how it works and his intent for what he wants for a license differs fairly substantially from the actual license IMHO. I feel pretty strongly that no matter what license he chose, it's important to respect his intent. However, without really clear guidance on what that is, I felt it was better just to leave well enough alone, so I'm not touching it. I don't even touch the DLCs even though I've paid for some. They have a GPL license on them, but it's pretty clear to me that he doesn't wish to grant the freedoms in the license. Probably it's fine, but I've had bad experiences with authors who chose a license without understanding it before and I now just stay as far away as possible. YMMV.

2
Moasseman•

https://git.net-core.org/tome/t-engine4/tree/master/game/modules/tome

I dunno what you mean with "hacking" exactly, but I'd suggest making your code changes via an addon rather than directly modifying the files, as modifying the files makes you lose all online services. If you don't care about those, then by all means go nuts, but remember ya gotta re-do any changes when patch hits.

1
mikekchar•

"Hacking" in the old school way of thinking is just having fun modifying something technical. Back when I was young, "hackers" were programmers who were doing fun (and occasionally impressive) things that you wouldn't necessarily expect. It really wasn't until the 90's that it started to take on the idea of breaking into other systems, etc. I'm just old. Old ways of talking die hard :-)

I was mostly working on the engine itself, so that's why I wasn't modifying it via an add on.

3
Moasseman•

Ah ye, if doing stuff on the engine then there ain't really much of a way around it.

But yea, the engine can also be found at the link provided

1
potkenyiOozemancer•

If you want to play online with your tweaks, making an addon isn't too much extra work, and the discord-addon channel is really helpful.

https://te4.org/wiki/Addons has the basic information too, and you can find the non-paid parts of the game at https://git.net-core.org/tome/t-engine4/tree/tome-1.7.4 too, if its faster than searching your own copy.

https://tometips.github.io/ has a "link to the source" feature for quickly looking at how a certain talent does things, which can be helpful (it's not working all the time, but usually just a quick delete needed in the link-path).

Most people start with looking at other people's addon(-structure) and making their own based on that, talent-modifications are usually easy after that.

6
CharsCourOP•

Here is a quick point in the correct direction. (I will write up a guide in a separate post as I learn more) ((Also reddit formatting, got junked up and I am not fixing it, my bad friends))

So to simply modify a skill, goto your addon folder, create a folder tome-ouraddon

then figure out where the file you want to modify is, remember I wanted to modify weapon of wrath which is located here: D:\Steam\steamapps\common\TalesMajEyal\game\modules\tome.team\data\talents\celestial\combat.lua

then copy that combat.lua file and put it in your folder you created in a new folder labeled "overload", then edit that file in your favorite editor (I used notepad++) and make your changes.

now last step, create a file called init.lua inside you will paste and edit the following

​ long_name = "Your new mod" short_name = "yourshortname" -- name your file for_module = "tome" version = {1,7,0} addon_version = {0,0,1} weight = 100 -- The lower this value, the sooner your addon will load compared to other addons. author = {'[email protected]'} homepage = 'yourwebsite.com' description = [[Your desc here]] tags = {'cool', "stuff", 'cool stuff'} -- tags MUST immediately follow description

overload = true superload = false data = false hooks = false

Then you are done, start up tome and test it out. The wiki has a full addon guide that is pretty helpful if you can cut out all the fluff.

4
Moasseman•

I really suggest making an addon instead of directly modifying game files to:

  1. Not invalidate the game, thus losing online services

  2. Not need to re-do all the changes when a patch hits.

3