darthbdaman 71 Posted October 27, 2017 I was wondering if anyone could help me with this. I am trying to replace the sword used in the Dantooine Training sequences with a Lightsaber, with use in Jedi from the Start. Because the player will already have Lightsaber proficiency, this shouldn't be a problem, but I cannot get the Player or Bastila to equip Lightsabers. They both fight with Invisible weapons. I'm not sure if this is just an error with DeNCS decompiling things or what. The 3 scripts that I edited are here, here, and here. Quote Share this post Link to post Share on other sites
Kexikus 995 Posted October 27, 2017 I'll have a look at the scripts tomorrow, but an easier solution might be to simply edit the used item (dan13_practice.uti) or its baseitems.2da entry. Quote Share this post Link to post Share on other sites
darthbdaman 71 Posted October 27, 2017 I would like to have different colored lightsabers based on class. Otherwise I would definitely do it that way Quote Share this post Link to post Share on other sites
DarthParametric 3,783 Posted October 28, 2017 I remember playing around with those scripts years ago to swap in training sabers: The two I edited were k_pdan_cut01 and k_pdan_cut06, although I didn't add in any alignment checking to mine. I would think one issue for the player could be lack of the saber proficiency feat, but that shouldn't affect Bastila. Did you try just a simple swapping out of the UTI reference and none of the alignment checking to see what happens? To expound on what Kexikus seemed to be suggesting, you could create a "prop" saber item that doesn't require feats to use by extending baseitems.2da and see if that works. Quote Share this post Link to post Share on other sites
darthbdaman 71 Posted October 28, 2017 It's for Jedi from the Start, so the player already has Lightsaber proficiency. It's a class check (as the player already has a Jedi class and matching Lightsaber). The Bastila stuff was not working, which was really confusing me. I'm going to try some more basic swapping and see if that works. Thanks for the help. Quote Share this post Link to post Share on other sites
Kexikus 995 Posted October 28, 2017 I also edited those scripts for my SWTOR Style Training Saber mod. So I know that it's possible to change this part of the script. And I don't see anything wrong with your scripts here. Maybe try and change the given weapon to something else just to see if it's working at all. It could still be something like a missing feat that's only breaking this for lightsabers. Or try and make a new baseitem that doesn't require any feats but looks like a lightsaber. That also has the advantage that you can remove the constant humming sound that a normal lightsaber has as that sound is really disruptive for the cutscene. I did that for my Dantooine Training Lightsaber mod. One random comment: You'll definetly want to put these scripts in the .mod file as they'll screw up the Matale Grounds otherwise. Quote Share this post Link to post Share on other sites
darthbdaman 71 Posted October 28, 2017 Yes I figured that one out already haha. Thanks, I'll try messing around with it some more I got it working finally. I'm pretty sure it was an error with my nwnscript. Anyways thank you guys. And thanks for the humming tip. Holy ---- is the humming annoying Quote Share this post Link to post Share on other sites