Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

adding a new onhit property?

Page: 1 of 1
 Canderis
12-03-2008, 4:55 PM
#1
What files would I need to edit to make a new onhit property for a wepon?

EDIT: Would it be possible to make a script to change the texture of an object when fired?
 Mandalore_The_Great
12-03-2008, 8:27 PM
#2
you just go into the item editor and select on hit properties..... should see it in the KOTOR tool....
 Canderis
12-04-2008, 4:49 PM
#3
No. I mean like a custome one. Not a onhit property already made.
 Star Admiral
12-04-2008, 5:17 PM
#4
Not sure about the custom onhit properties, but if I had to guess, than no, not possible. Someone else confirm?

As to changing the texture of an object when fired, I'll say your best bet is to make two identical objects, one with the old texture and one with the new one. The script simply swaps the items when fired.

- Star Admiral
 Canderis
12-04-2008, 6:09 PM
#5
If i cant do one then i dont need to do the other.
 Mandalore_The_Great
12-07-2008, 12:13 AM
#6
Well SithSpecter is doing it. Try this http://www.lucasforums.com/showthread.php?t=187137)
In his Ultimate Ranged Mod, he's adding all these new ammunition types and stuff.
 Canderis
12-07-2008, 12:15 AM
#7
That isnt an on hit property. Thats an ammo type.
 Mandalore_The_Great
12-07-2008, 12:17 AM
#8
but he made a grenade launcher that explodes on impact in there somewhere.
 Canderis
12-07-2008, 12:26 AM
#9
Well then mabey he knows. Hopfuly he'll speak.
Page: 1 of 1