Author Topic: Modding description text  (Read 4846 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline Lavendarjosh

  • Hero Member
  • *
  • Topic Author
  • Posts: 60
  • Country: de
  • Karma: +3/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Modding description text
« on: 04 June 2019, 10:59:13 »
I want to change the names and description text for some of the vanilla skills, how to?
I think I remember you could place modded loose files somewhere, but I haven't found anything searching the web.

Not Yet Rated!

Offline sauruz

  • Maze Lord
  • Global Admin
  • Full Member
  • *
  • Posts: 1625
  • Country: pt
  • Karma: +32/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Re: Modding description text
« Reply #1 on: 04 June 2019, 11:20:09 »
Check my upcoming TQ project - Titanomachy - "https://titanquestfans.net/index.php?topic=910.0"

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: Modding description text
« Reply #2 on: 04 June 2019, 12:02:01 »
You would need to extract the text files from the game using ARCExplorer and adjust the needed tags in your ModStrings.

Not Yet Rated!

Offline Lavendarjosh

  • Hero Member
  • *
  • Topic Author
  • Posts: 60
  • Country: de
  • Karma: +3/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Re: Modding description text
« Reply #3 on: 04 June 2019, 14:25:33 »
Thanks for the answers, I tried around a bit but somehow it didn't work.
If I use a vanilla tag (e.g. tagSkillName193) nothing changes, and when I use a custom tag and link to that in the skill record, I just get the tag displayed in-game and not the text that should be there.

Edit:
Turned out I needed to create assets for the ModStrings, everything works now. Thanks again :)
« Last Edit: 04 June 2019, 14:31:03 by Lavendarjosh »

Not Yet Rated!

Offline Lavendarjosh

  • Hero Member
  • *
  • Topic Author
  • Posts: 60
  • Country: de
  • Karma: +3/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Re: Modding description text
« Reply #4 on: 16 June 2019, 21:03:30 »
I've got another question regarding text: is it possible to change text without using a bounce mod? Like using a database replacer only for text?

Not Yet Rated!

Offline WNG

  • Forum Moderator
  • Full Member
  • *
  • Posts: 615
  • Country: ca
  • Karma: +10/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: -4
Re: Modding description text
« Reply #5 on: 17 June 2019, 03:42:38 »
Without using a bounce mod would mean editing the game text archives themselves. Using ARCExplorer, extract the needed files (you should be able to tell by their names), edit them and put them back inside in a new archive with the same name and the same location.

Not Yet Rated!

Offline Lavendarjosh

  • Hero Member
  • *
  • Topic Author
  • Posts: 60
  • Country: de
  • Karma: +3/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Re: Modding description text
« Reply #6 on: 17 June 2019, 11:46:32 »
Without using a bounce mod would mean editing the game text archives themselves. Using ARCExplorer, extract the needed files (you should be able to tell by their names), edit them and put them back inside in a new archive with the same name and the same location.
The txt files that say "autogenerated file - DO NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES OR FACE YOUR DOOM!!"?  ;D
Or do I need to find the mythical strings.xls that's pointed at in some files?

Not Yet Rated!

Offline sauruz

  • Maze Lord
  • Global Admin
  • Full Member
  • *
  • Posts: 1625
  • Country: pt
  • Karma: +32/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Re: Modding description text
« Reply #7 on: 17 June 2019, 13:32:53 »
yeah modstring does says that, its kinda funny ah
Check my upcoming TQ project - Titanomachy - "https://titanquestfans.net/index.php?topic=910.0"

Not Yet Rated!

Offline Lavendarjosh

  • Hero Member
  • *
  • Topic Author
  • Posts: 60
  • Country: de
  • Karma: +3/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Re: Modding description text
« Reply #8 on: 17 June 2019, 14:09:39 »
Hm, I tried repacking the files with ARC Encryptor, but it produced only garbage  ???

Not Yet Rated!

Offline Xerxes

  • Member
  • *
  • Posts: 41
  • Country: de
  • Karma: +0/-0
    • View Profile
    • Awards
  • Time Zone: +1
Re: Modding description text
« Reply #9 on: 04 September 2019, 11:02:49 »
I came across this thread while trying to implement a new skill. Unfortunately it didn't provide a solution but I was still able to figure it out so let me summarize my findings for others that don't want to use bounce mods.

I was going to replace the useless "Lightning Dash" skill with something useful - a blizzard type spell. For that I needed to add the skill name and description (I left the original skill and description intact because it is used on some items). For this task I extracted "Text\Text_EN.arc" to a new folder using the "ARC Explorer" tool. In skills.txt I added lines at the end for a skill name and description like so:

Code: [Select]
x3tagSkillStormBlizzard=Blizzard
x3tagSkillStormBlizzardDesc=Cast a whirlwind of icy air that slows and freezes your enemies.

I made a backup of the original "Text\Text_EN.arc" and moved the modified "skills.txt" to my TQ AE folder where the "Archive Tool" is. With this tool the modified skills.txt can be put into "Text\Text_EN.arc".

In the TQ AE folder I opened a command line and entered:

ArchiveTool.exe Text\Text_EN.arc -update skills.txt 9

That's it. The command will overwrite the original skills.txt in the archive with the modified one so it can be used by the game.

Tags:
 


SimplePortal 2.3.7 © 2008-2024, SimplePortal