Jump to content

Home

Unique placeables ?


DSieg

Recommended Posts

Hi. I was working on a mod which adds an item in the game. I did it on the Jedi on the Endar Spire (n_sithappren002.utc) and the corpse dropped a lightsaber with the other items.

I did some research and I understood I must not play with this corpse... I also read some explanations about unique placeables, and here is my question : in Kotor 1, where is the first unique placeable. Is there one on the Endar Spire ?

 

If I can avoid scripting, I would be very glad (last time, I succeded but all this compiling/decompiling thing is killing me).

 

Thanks.

Link to comment
Share on other sites

Thanks for your answer. I think the same about this corpse, but I read on topics that it could crash some cut-scene on the Leviathan.

About the container, I think its content must be scripted (it seems to depend on your class).

 

I finally managed to easily script something to add the item on the corpse in the script that spawns enemies after the duel between the two jedi (k_pend_reinfrc03.ncs) :

void main() {
ActionPauseConversation();
CreateObject(1, "end_reinforce2", GetLocation(GetObjectByTag("wp_end_reinforce2_1", 0)), 0);
CreateObject(1, "end_reinforce1", GetLocation(GetObjectByTag("wp_end_reinforce1_1", 0)), 0);
object oJedi = GetObjectByTag("end_jedi01");
if (GetIsObjectValid(oJedi)) {
	CreateItemOnObject("g_a_mstrrobe062", oJedi);
}
}

I tested it and it seems to work correctly. :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...