Author Topic: Its possible to create new Character race names ?  (Read 3689 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline sauruz

  • Maze Lord
  • Global Admin
  • Full Member
  • *
  • Topic Author
  • Posts: 1625
  • Country: pt
  • Karma: +32/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Its possible to create new Character race names ?
« on: 01 June 2019, 12:36:07 »
As in title, its is possible to create more race names ? like beasts/demons and so on ? I know the names are in game text Strings
Check my upcoming TQ project - Titanomachy - "https://titanquestfans.net/index.php?topic=910.0"

Not Yet Rated!

Offline soa

  • Modder
  • Full Member
  • *
  • Posts: 517
  • Country: fr
  • Karma: +21/-0
    • View Profile
    • Awards
  • Time Zone: +1
Re: Its possible to create new Character race names ?
« Reply #1 on: 01 June 2019, 20:47:24 »
I haven't seen any way to do that, I guess it's hardcoded.
Only thing that can be done afaik is to reuse the "Animal" race that is not really used in the base game. I turned it into the Human Race so that bandits can have a race.
Soulvizier for AE, Ragnarok and Atlantis [released] :
https://titanquestfans.net/index.php?topic=1201.0  / Discord : https://discord.gg/qs9t6AA
Overhaul mod with many new monsters, skills, items, features, balance and bugfixes. Increased difficulty.

Not Yet Rated!

Offline Bumbleguppy

  • D'oh-ist Mage
  • Forum Moderator
  • Full Member
  • *
  • Posts: 884
  • Country: us
  • Karma: +42/-0
    • View Profile
    • Awards
  • Time Zone: -8
Re: Its possible to create new Character race names ?
« Reply #2 on: 02 June 2019, 17:27:03 »
Same here. Recycling an existing race can be done, though.
Code: [Select]
tagRace01=Plant
tagRace01P=Plants
tagRace02=Animal
tagRace02P=Animals
tagRace03=Beast
tagRace03P=Beasts
tagRace04=Beastman
tagRace04P=Beastmen
tagRace05=Insectoid
tagRace05P=Insectoids
tagRace06=Undead
tagRace06P=Undead
tagRace07=Demon
tagRace07P=Demons
tagRace08=Titan
tagRace08P=Titans
tagRace09=Telkine
tagRace09P=Telkines
tagRace10=Construct
tagRace10P=Constructs
tagRace11=Magical
tagRace11P=Magical
tagRace12=Device
tagRace12P=Devices
xtagRace01=Olympian
xtagRace01P=Olympians
xtagRace02=Deity
xtagRace02P=Deities
x2tagRace01=Giant
x2tagRace01P=Giants
x2tagRace02=Ghost
x2tagRace02P=Ghosts

Not Yet Rated!

Offline sauruz

  • Maze Lord
  • Global Admin
  • Full Member
  • *
  • Topic Author
  • Posts: 1625
  • Country: pt
  • Karma: +32/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Re: Its possible to create new Character race names ?
« Reply #3 on: 02 June 2019, 17:47:57 »
Alright thank you both :)!

I was thinking the same thing, replace animal ( its only used by the wolf summon from nature right ? ).

If i replace for exemple Magical tag with another name, every skill/weapon that boost bonus versus magical are affected as well ?
Check my upcoming TQ project - Titanomachy - "https://titanquestfans.net/index.php?topic=910.0"

Not Yet Rated!

Offline Bumbleguppy

  • D'oh-ist Mage
  • Forum Moderator
  • Full Member
  • *
  • Posts: 884
  • Country: us
  • Karma: +42/-0
    • View Profile
    • Awards
  • Time Zone: -8
Re: Its possible to create new Character race names ?
« Reply #4 on: 02 June 2019, 17:55:43 »
You only have to replace the value for the tags that end with "P", these are the UI display values the player sees.

If you change the others, it will break the database skills that use those for racial damage and defense bonus, so don't do that.

I would do this:

tagRace02=Animal
tagRace02P=Humans

as an example.

Not Yet Rated!

Offline soa

  • Modder
  • Full Member
  • *
  • Posts: 517
  • Country: fr
  • Karma: +21/-0
    • View Profile
    • Awards
  • Time Zone: +1
Re: Its possible to create new Character race names ?
« Reply #5 on: 18 December 2019, 21:45:00 »
You only have to replace the value for the tags that end with "P", these are the UI display values the player sees.

If you change the others, it will break the database skills that use those for racial damage and defense bonus, so don't do that.

I would do this:

tagRace02=Animal
tagRace02P=Humans

as an example.

I update this topic even if it's old because I think this doesn't work.
If you don't change the singular name of the race, the text under the monster name will be wrong.

The plural is used in skills or items (like +X% damage to tagRaceXXP) and the singular is used in the blue text under the monster name. Translations change both singular and plural for that matter.

I suppose there is a link between tagRace and the name used in the characteracialProfile line that is hardcoded. So you should update the text file singular and plural, but have to use the original names ("Animal", etc.) in your monster files for the characteracialProfile, and for racial damage and defense bonuses, write the original racial names as well, no matter what you put in the Modstrings.txt. I will test that, but any confirmation is welcomed.

The fact that this list is hardcoded makes it impossible for modders to increase the number of races.
« Last Edit: 18 December 2019, 23:19:20 by soa »
Soulvizier for AE, Ragnarok and Atlantis [released] :
https://titanquestfans.net/index.php?topic=1201.0  / Discord : https://discord.gg/qs9t6AA
Overhaul mod with many new monsters, skills, items, features, balance and bugfixes. Increased difficulty.

Not Yet Rated!

Offline sauruz

  • Maze Lord
  • Global Admin
  • Full Member
  • *
  • Topic Author
  • Posts: 1625
  • Country: pt
  • Karma: +32/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: ?
Re: Its possible to create new Character race names ?
« Reply #6 on: 05 December 2021, 16:17:56 »
Just to add theres a new racial name in new Xpak

x4tagRaceHumankind=Humankind
Check my upcoming TQ project - Titanomachy - "https://titanquestfans.net/index.php?topic=910.0"

Tags:
 


SimplePortal 2.3.7 © 2008-2024, SimplePortal