PDA

View Full Version : Activate Item Help


baka-chan
05-16-2006, 10:53 PM
Hi. ^_^ I'm starting to learn editing.

I have a question here. Using the kotor tool, I edited the item..let's say a_belt_01.uti.
Then at the property name, I selected activate item. There were force powers there. However, when I tried adding it onto the equipment and load it into the game, it doesn't provide the force power (e.g. Shock).
Any help here would be greatly appreciated.

EnderWiggin
05-16-2006, 11:02 PM
Welcome to the Forums!

Because a belt isn't a grenade, or a weapon for that matter, it can't activate shock.
When would it? Not when equipped, because then it wouldn't do anything. It would have nothing to attack.

_EW_

baka-chan
05-17-2006, 12:05 AM
So..if i apply it on a weapon it would work? That's because adding a feat on a belt works.
EDIT: I tried it on a weapon and still no active force powers..

EnderWiggin
05-17-2006, 06:03 AM
Hmm..

I never really did this.

Try adding it to a grenade.

See what happens.

_EW_

baka-chan
05-17-2006, 10:05 AM
Grenade..hmm I'll try. I don't get it though..why a grenade? I mean once you throw it it's gone..i think @_@

Darth333
05-17-2006, 10:51 AM
This can't be done without adding a line to spells.2da and some scripting. You also need an item that you can activate such as a grenade or an armband to fire the script.

These tutorials could be useful:
Spells.2da editing: http://www.lucasforums.com/showthread.php?t=130898
How to script a force power: http://www.lucasforums.com/showthread.php?t=137498

You can look at k_inc_force.nss to get the code for the shock force power.

baka-chan
05-17-2006, 12:20 PM
Oh i see. Hmm the scripting tools require .net right? May I know how big is the file?

tk102
05-17-2006, 12:31 PM
I assume you're referring to jmac7142's script generator which requires .NET 1.1 -- however you say you've already edited the .uti with KotOR Tool which also requires .NET 1.1 so that's not an issue. The script generator program is only about 135kb, but note that you don't need any special scripting tools other than the compiler (http://www.lucasforums.com/showthread.php?t=143681).

RC-1162
05-17-2006, 12:45 PM
where could i download the script generator? (jmac's, that is)

tk102
05-17-2006, 01:01 PM
From the Starwarsknights.com Modding Tools (http://www.starwarsknights.com/tools.php) page of course. ;)