Recommended Posts

Hello, I'm looking for how to add feats to non-companion NPCs.
I'll explain: During combat, I find that the generic NPCs (Republic Troopers, Onderon Royalist, Allied Mandalorian, Sith Troopers, etc.) lack feats and always use the default attack.
Holocron Toolset allows me to see all of this, but doesn't apply the changes I make, or do I have to restart a new game?
Do you know of a way or tool that can help me?
All help is welcome.

Share this post


Link to post
Share on other sites
On 5/19/2025 at 10:18 AM, kb1337 said:

Hello, I'm looking for how to add feats to non-companion NPCs.
I'll explain: During combat, I find that the generic NPCs (Republic Troopers, Onderon Royalist, Allied Mandalorian, Sith Troopers, etc.) lack feats and always use the default attack.
Holocron Toolset allows me to see all of this, but doesn't apply the changes I make, or do I have to restart a new game?
Do you know of a way or tool that can help me?
All help is welcome.

If you're editing NPCs inside their .MOD module files (provided by TSLRCM ideally), you'll need to use a save from before you enter the module you're editing. For example, if you're editing Luxa in 208TEL you'll want to use a save from before you entered that module. Even loading a Peragus save and warping to 208TEL will work.

 

If you do what I've just said and you can't see the changes, chances are what you've done hasn't been implemented properly.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Hi, thanks for your reply. There have been changes made. I need to run a later backup to check.

Share this post


Link to post
Share on other sites
On 5/20/2025 at 4:49 AM, N-DReW25 said:

If you're editing NPCs inside their .MOD module files (provided by TSLRCM ideally), you'll need to use a save from before you enter the module you're editing. For example, if you're editing Luxa in 208TEL you'll want to use a save from before you entered that module. Even loading a Peragus save and warping to 208TEL will work.

 

If you do what I've just said and you can't see the changes, chances are what you've done hasn't been implemented properly.

Hi, I also modified the utc files of characters and they conflict with other characters that have the same name but in other modules, do you have a solution?

Share this post


Link to post
Share on other sites
4 hours ago, kb1337 said:

Hi, I also modified the utc files of characters and they conflict with other characters that have the same name but in other modules, do you have a solution?

Use module injection: configure TSLPatcher/Holopatcher to edit and put .utc file inside required .MOD file (of the module you want to edit) and not to Override folder. This way characters in other modules won't be affected.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
6 hours ago, kb1337 said:

Hi, I also modified the utc files of characters and they conflict with other characters that have the same name but in other modules, do you have a solution?

This seems to be an exact copy and paste of the private DM you sent me, do know for the next time that there is no point in messaging someone in private if you're just going to ask the exact same question in a public thread.

 

But as for your question, LoneWanderer's answer is the correct one - the module injection method is the only way you can modify NPCs without NPCs in different modules being affected.

  • Thanks 1

Share this post


Link to post
Share on other sites
1 hour ago, N-DReW25 said:

Cela semble être une copie exacte et collée du DM privé que vous m'avez envoyé, sachez pour la prochaine fois qu'il ne sert à rien d'envoyer un message à quelqu'un en privé si vous allez simplement poser exactement la même question dans un fil de discussion public.

 

Mais quant à votre question, la réponse de LoneWanderer est la bonne : la méthode d'injection de module est le seul moyen de modifier les PNJ sans que les PNJ des différents modules ne soient affectés.

Hi, sorry for the private message. I'm French and I have to translate each element of the page a little and I came across the private messages before figuring out how to send you a message directly in our public chat.

2 hours ago, LoneWanderer said:

Utiliser l'injection de module : configurez TSLPatcher/Holopatcher pour éditer et placer le fichier .utc dans le fichier .MOD requis (du module à modifier) et non dans le dossier Override. Ainsi, les caractères des autres modules ne seront pas affectés.

Hi, how do you do it?

Share this post


Link to post
Share on other sites

You need to create a mod that uses TSLPatcher/Holopatcher for installation.

For 'module injection' the easiest way is to use 'ChangeEdit.exe' program. Download TSLPatcher from 'Modding Tools' section of the site, the archive will also contain ChangeEdit and instruction manual explaining how to create TSLPatcher mod.

1.Launch 'ChangeEdit.exe'.

2.Right-click on 'GFF Files' section and select 'Add GFF file...'.

3.Add your .utc file. It will appear inside 'GFF Files' section. Click on it.

4.Click 'Compare two variants of the same GFF file' button. Then choose original (unmodified) and your modified .utc files.

5. In Destination field write 'modules\X.mod', where X - the name of the module, where you want to put your modified .utc in. For example, 201tel, 306nar, etc.

 

Share this post


Link to post
Share on other sites
22 hours ago, LoneWanderer said:

Vous devez créer un mod qui utilise TSLPatcher/Holopatcher pour l'installation.

Pour l'injection de modules, le plus simple est d'utiliser le programme « ChangeEdit.exe ». Téléchargez TSLPatcher depuis la section « Outils de modding » du site. L'archive contiendra également ChangeEdit et un manuel d'instructions expliquant comment créer un mod TSLPatcher.

1. Lancez « ChangeEdit.exe ».

2. Cliquez avec le bouton droit sur la section « Fichiers GFF » et sélectionnez « Ajouter un fichier GFF... ».

3. Ajoutez votre fichier .utc. Il apparaîtra dans la section « Fichiers GFF ». Cliquez dessus.

4. Cliquez sur le bouton « Comparer deux variantes du même fichier GFF ». Choisissez ensuite le fichier original (non modifié) et vos fichiers .utc modifiés.

5. Dans le champ Destination, écrivez « modules\X.mod », où X est le nom du module dans lequel vous souhaitez placer votre .utc modifié. Par exemple, 201tel, 306nar, etc.

 

Hi, I have a few questions.
When I use ChangeEdit, as you said, it creates an ini file with the characters I edited. So, what should I do after that?

Once the ini file is created for one character, should I keep the utc of the other one with the same name to leave it in override without risk of conflict? Or should I create multiple ini files for characters with the same name but not the same module?

At the moment, I have three characters from three different modules (g_sithcomm003.utc). Can I create two ini files and leave the third one alone? Does it have important dialogue?

Share this post


Link to post
Share on other sites
4 hours ago, kb1337 said:

When I use ChangeEdit, as you said, it creates an ini file with the characters I edited. So, what should I do after that?

Create a folder named after your mod. Put there TSLPatcher.exe file and a new folder named tslpatchdata. tslpatchdata folder must contain changes.ini file (which you created using ChangeEdit) and file info.rtf (you can leave it empty).

5 hours ago, kb1337 said:

At the moment, I have three characters from three different modules (g_sithcomm003.utc). Can I create two ini files and leave the third one alone?

So you have 3 diffrerent .utc files? I think you need to name files something like g_sithcomm003a.utc, g_sithcomm003b.utc, g_sithcomm003c.utc and put them in tslpatchdata folder. Then you should open your changes.ini and manually (because I don't think that ChangeEdit supports this feature) write the command for TSLPatcher to rename each .utc to g_sithcomm003.utc when it is added (or edit existing file) to .MOD file. I do not know the exact syntax. I hope other users will write it here.

Share this post


Link to post
Share on other sites
Posted (edited)
5 hours ago, LoneWanderer said:

Create a folder named after your mod. Place the TSLPatcher.exe file in it, along with a new folder named tslpatchdata. This folder should contain the changes.ini file (created with ChangeEdit) and the info.rtf file (you can leave it blank).

So you have three different .utc files? I think you should name the files g_sithcomm003a.utc, g_sithcomm003b.utc, and g_sithcomm003c.utc and place them in the tslpatchdata folder. Then, open your changes.ini file and manually type (as I don't think ChangeEdit supports this feature) the command that will allow TSLPatcher to rename each .utc file to g_sithcomm003.utc when adding it (or modifying an existing file) to a .MOD file. I don't know the exact syntax. I hope other users will write it here.

I managed to add g_sithcomm003a.utc to ChangeEdit after saving it under that name and removing the "a" in ChangeFile.

I've completed my mod file. Now what?

Thanks for your help.

11443a60-84b2-476b-b1c3-f31fa9330a1f.jpg

Edited by kb1337

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.