Jump to content

Recommended Posts

Posted

JC's Crystal Attunement for K2


This mod is focused on the so-called Quest Crystal, a powerful lightsaber crystal only the player character can utilize. There are three parts to this mod, which may be installed together or individually.

Class-Based Properties

The Quest Crystal in the original game has differing properties depending on your character's level and alignment only. This option gives the Quest Crystal differing properties based on your character's class in addition to their level and alignment. Each combination of class and alignment has access to a unique set of item properties.

Note: A crystal with Class-Based Properties is saved differently from the original crystal. Save game files containing the original crystal will not function correctly with Class-Based Properties installed. Likewise, save game files containing a Class-Based Properties crystal will no longer function correctly if that part of the mod is uninstalled.

Workbench Attunement

In the original game, only Kreia is able to attune your Quest Crystal to keep it up to date with your character's stats. This option allows you to attune the crystal without Kreia's help. The player will be able to attune the crystal in the final act of the game, or earlier by passing a Wisdom check after crafting a lightsaber and observing Kreia attune the crystal.

This option also removes the "[Learn about using the workbench.]" dialogue from any workbenches you can access after the game's prologue.

Bug Fixes

In the original game, you are not always given a Quest Crystal that properly reflects your player character. This mod includes bug fixes to correct that problem. While all of the installation options include these bug fixes, they can also be installed alone without the rest of the mod.

Installation

  1. Extract files from the downloaded archive.
  2. Run INSTALL.exe.
  3. Select which option you want to install:
    a) Class-Based Properties + Workbench Attunement
    b) Class-Based Properties
    c) Workbench Attunement
    d) Bug Fixes Only
  4. Click "Install Mod" and select your game directory.

This Workbench Attunement part of this mod only supports the English language version of the game at this time.

Uninstallation

During installation, TSLPatcher generates a backup folder and a log recording which files were affected.

  1. Restore or delete all module files affected by this mod. For each module, copy the corresponding .mod file from the backup folder to replace the one in your game's Modules folder if a backup was created, otherwise delete the .mod file from your game's Modules folder.
  2. Restore or delete all .2da files affected by this mod. For each, copy the corresponding .2da file from the backup folder to replace the one in your game's Override folder if a backup was created, otherwise delete the .2da file from your game's Override folder.
  3. Delete workbnch.dlg from your Override folder only if you have not installed other mods which edit this file. Otherwise, leave it; you will still have the tutorial removed but all other changes to the workbench dialogue will be inaccessible without the rest of the mod installed.
  4. Delete all other files installed by this mod from your game's Override folder.

Note that depending on which option you installed, some of the above might not be necessary.

Compatibility

This mod is compatible with my Saber Workshop mod. The order of installation does not matter.

This mod makes minimal changes to the global workbench dialogue (workbnch.dlg) but it is installed by overwriting the file. This is an unfortunate necessity because TSLPatcher is not so good at patching dialogue files, especially when different mods do very similar things. I thought long and hard, and this seemed the most compatible option to me despite its inherent problems, because it simplifies the installation for mods which are designed to be compatible with this mod while minimizing amount of changes needed to make a compatibility patch.

In any case, other mods which edit the global workbench dialogue will only be compatible with this mod if one of the following is true:

  • The other mod is installed after this mod and patches (i.e. does not overwrite) the workbench dialogue
  • The other mod is installed after this mod, overwrites the workbench dialogue, and includes this mod's changes to the workbench dialogue
  • The other mod has a compatibility patch which is installed after this mod, overwrites the workbench dialogue, and includes this mod's changes to the workbench dialogue

Credits

KOTOR Tool – Fred Tetra
2DA Editor – VarsityPuppet
TSLPatcher – stoffe & Fair Strides
DeNCS – JdNoa & Dashus
DLGEditor – tk102
ERFEdit – stoffe & Fair Strides
K-GFF – tk102
NWNSSCOMP – Torlack, stoffe, & tk102
xoreos tools – xoreos team https://xoreos.org/

with thanks to @Snigaroo for help deciding the class-based item properties

License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CCBY-NC 4.0

Donations

If you enjoy my mods and would like to show your support in a monetary manner, you may do so via PayPal at https://www.paypal.me/carterunited.



  • Submitter
  • Submitted
    03/13/2023
  • Category
  • TSLRCM Compatible
    Yes

 

  • 3 years later...
Posted

I've fixed several issues in the past weeks. One was a preexisting issue, while the others were introduced in v2.0.0. This was mostly down to me not having save files with Class-Based Properties and therefore not testing those as thoroughly as I ought to. If you installed one of the Class-Based Properties options before v2.0.4, follow these steps to fix any issues:

1. Install the latest version. You don't need to uninstall the previous version.

  • Make sure to install the same option you installed before.
  • If you are using another mod which edits the workbench dialogue (and is compatible with this mod) restore wrkbnch.dlg from the backup created.

If you haven't started the game yet or haven't acquired the crystal yet, you should be good to go. If you have, continue with the remaining steps to fix your save file.

2. Make sure you have a save file with the crystal item in your inventory (i.e. not in a lightsaber).

3. Download the KOTOR Savegame Editor (KSE) if you don't already have it.

4. Count how many levels of each class you have to determine what your crystal's class number should be using the table below. Whichever one you have the most levels in wins.

0 Jedi Guardian/Jedi Weapon Master/Sith Marauder
1 Jedi Sentinel/Jedi Watchman/Sith Assassin
2 Jedi Consular/Jedi Master/Sith Lord

5. Use KSE to replace your crystal item. Find which item you currently have; quest crystals start with qcrystal. The items with two numbers are the crystals with standard properties. The crystals with class-baseed properties have a third number for the class. Remove the existing item, then add the correct item.

  • For example, if you have currently have qcrystal_2_3 and have majority Jedi Sentinel/Jedi Watchman/Sith Assasssin levels, you should actually have qcrystal_2_3_1.

6. Use KSE to correct the global number 000_Quest_Crystal. This can be fund under Globals > Numerics. The number should have the same digits as the numbers in your crystal item, but in reverse.

  • For example, if your crystal item is qcrystal_2_3_1, your global number should be 132.
  • Don't include a leading 0. For example, if your crystal item is qcrystal_3_4_0, your global number should be 43.

If you are still having trouble, you can reach out to me in the #tech_support channel of the KOTOR Discord.

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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.