I just started playing around with modding KotOR so am not familiar with the tools .. I downloaded kotor tools and all of his recommended extras and I started in on creating crystals.
I realize that in not making a light crystal I am subjecting myself to a bit of tedium .. but I'm not worried about that as my crystals are based on the light crystal installed.
Okay .. so .. I'm using kotor tools. I have created a couple of crytal uti files (g_w_sbrcrs80.uti and g_w_sbrcrs81.uti - if anyone has suggestions on naming conventions to avoid conflicts, I would be glad to hear them). I have also created two tga files to go with them. I also edited the upgrade.2da - adding them as upgrade 25 and upgrade 26.
I copied these files plus all of the lightsabre files I want to use (g1_w_xxxsbr(1-2), g_w_xxxsbr(1-5)) to the override directory.
Okay .. so now I run into a problem .. when I try to edit the lightsabre properties I cannot bind a property to my new crystals .. they don't show up in the list. And if I manually add them through XML editing .. I get an exception error saying they aren't in upgrades.2da (when I load the xml file)
Is there a way to get kotor tools to see my upgrades.2da file as it's source or is there something I am missing?
Seawolfe
Originally posted by seawolfe
I just started playing around with modding KotOR so am not familiar with the tools .. I downloaded kotor tools and all of his recommended extras and I started in on creating crystals.
I realize that in not making a light crystal I am subjecting myself to a bit of tedium .. but I'm not worried about that as my crystals are based on the light crystal installed.
Okay .. so .. I'm using kotor tools. I have created a couple of crytal uti files (g_w_sbrcrs80.uti and g_w_sbrcrs81.uti - if anyone has suggestions on naming conventions to avoid conflicts, I would be glad to hear them). I have also created two tga files to go with them. I also edited the upgrade.2da - adding them as upgrade 25 and upgrade 26.
I copied these files plus all of the lightsabre files I want to use (g1_w_xxxsbr(1-2), g_w_xxxsbr(1-5)) to the override directory.
Okay .. so now I run into a problem .. when I try to edit the lightsabre properties I cannot bind a property to my new crystals .. they don't show up in the list. And if I manually add them through XML editing .. I get an exception error saying they aren't in upgrades.2da (when I load the xml file)
Is there a way to get kotor tools to see my upgrades.2da file as it's source or is there something I am missing?
Seawolfe
The default naming convention is g_w_sbrcrstlxx, but your names are fine.
AFAIK it uses the default .2da files so you can't add your own upgrades outright.
You could, in KotOR Tool, add all of the properties you want using a different upgrade type, i.e. Attack Bonus +5 with upgrade 'required to activate' of the Solari Crystal. You could use any upgrade type it doesn't matter, as you're going to change it soon anyways.
Write down how far down it is in the property list, starting from 0. So, for the blue lightsaber, zero would be Alignment Limitation Light Side with an UpgradeID of 24. Property 5 would be Attack Bonus 1 with an UpgradeID of 4, etc.
When you are done editing it save. Then open the .uti file up in GFFEditor and click on the plus, then click on the plus on PropertiesList. There will be a lot of nodes here. Find the number(s) you wrote down before, 29 for the sake of argument, and click on the plus next to the same number in the PropertiesList, i.e. 29. Then go down to where it says UpgradeType and put in the number from the upgrade.2da that you want to use instead (25 or 26 in your case).
Repeat for all of the Properties you added and then click on the UpgradeType again, so the program will recognize the change you have made (it's wierd that way), then save. You can now give yourself the new custom upgrade crystals and put them in your saber.
:fett:
Well .. someone posted just as I put in a post about being ignored ... fortunately I caught it before leaving tonight .. thanks for the info Jedi_5002.
Happy to help out a fellow new modder
:fett:
Hey Fred .. I don't suppose you could make Kotor Tools check the override directory for .2da files eh?