Jump to content

Home

Lightsaber = grenade?


JediKnight707

Recommended Posts

I'm new to KotOR Tool and I am messing around with the lightsabers. All i do is change the properties and the description and save it as mysaber. i go into the game and type giveitem mysaber. i go into inventory and it shows a grenade that says "no description availble" and u cant equip it or do anything with it. Is it something with the name, or is it where I'm saving it? I save it in the override folder. :slsaber::saberb:

Link to comment
Share on other sites

Ossus Keeper is right... :)

 

The grenade you're getting is what we refer to as a "null-nade" meaning your cheat code is calling up a "non-existent" file. As Ossus stated, change the .uti's ResRef and Tag lines to match your .uti filename (without the .uti extension).. ;)

Link to comment
Share on other sites

oh ok thanks guyz. i have another question thats not about lightsabers. i was adding things to the workbench and i was wondering if you can add the lightsaber parts that you need for your first lightsaber?

 

EDIT: Crap the saber still turns out to be a null-nade. All i chenged this time was add 5 energy damage, change the description, and make the cost 100 (its usually 900). any suggestions? :jedijawa:

 

EDIT2: CRAP!!! this time all i did was change the name to mysaber. it STILL came as a null-nade!!!! I dont know whats wrong maybe its where im changing the name? i change the TemplateResRef, the Tag, and the Description name. then i save it in my override folder, thats it! any help will be great!

Link to comment
Share on other sites

oh ok thanks guyz. i have another question thats not about lightsabers. i was adding things to the workbench and i was wondering if you can add the lightsaber parts that you need for your first lightsaber?

Nope. Just adding it to inventory via cheat, bench or store will not fire the proper scripts to set the global. Without it setting the proper global, Bao-Dur won't "know" you have the parts and offer to build your saber.

 

My Hak-Pad is an example of how you can get the parts "cheated" and still fire the proper game scripts. It uses a dialogue node to fire the script "a_give_quest_ls"...

 

If you want to view the source for the saber parts, you can view it here:

 

Using KT: KotorII > BIFs > scripts.bif > Script, Source > a_give_quest_ls.nss

 

EDIT2: CRAP!!! this time all i did was change the name to mysaber. it STILL came as a null-nade!!!! I dont know whats wrong maybe its where im changing the name? i change the TemplateResRef, the Tag, and the Description name. then i save it in my override folder, thats it! any help will be great!

 

Template ResRef: mysaber

Tag: mysaber

 

Description: "Anything you want"

 

Make sure in the upcrystals.2da, your columns are filled out appropriately:

 

label: "anything you want"

template: "your saber crystal's Template ResRef entry" (without the .uti extension)

 

short, long & double mdlvars: "you saber's Template ResRef entry"

 

In your case, it would be: mysaber

 

again, without the .uti extension...If you don't have a particular model for different variations (such as you only have a regular sized version), fill the other entries with ****

 

make sure however your actual files do have the .uti extension ;)

Link to comment
Share on other sites

I wasn't changing the upcrystals.2da, so maybe thats why! but what did you mean "if you don't have a particular model for different variations (such as you only have a regular sized version), fill the other entries with ****"?

For each variation: short saber, regular saber & double-saber... you need a seperate .uti / .mdl file for.

 

If your saber is only available in the regular length, fill the entries for:

 

shortmdlvar: ****

longmdlvar: mysaber

doublemdlvar: ****

Link to comment
Share on other sites

Oh alright. maybe thats why it still wasn't working! And how could I make it so that Bao-Dur would "know" I have the parts?

 

EDIT: DANGIT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! it still won't work!!!!! I did everything you said.......shoot! Well, I'm tired I'm gonna hit the hay...maybe it will fix itself in the morning...

Link to comment
Share on other sites

Oh alright. maybe thats why it still wasn't working! And how could I make it so that Bao-Dur would "know" I have the parts?

You'll need to get the parts normally or via cheat using the script I noted above. There's no alternative unless you start setting globals in KSE...

 

EDIT: DANGIT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! it still won't work!!!!! I did everything you said.......shoot! Well, I'm tired I'm gonna hit the hay...maybe it will fix itself in the morning...

Curious.

 

Are you re-spawning the items when you're testing your saber? If you're trying to 're-use' a pre-spawned crystal or saber from a savegame... the fixes won't work. The savegame "remembers" the old information that was available when it was first spawned.

 

After you've done the fixes, go into your game and re-spawn a new crystal or saber and see if it works :)

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...