DeltaVenom Posted May 7, 2012 Share Posted May 7, 2012 KOTOR 1 So I'm trying to create this tukata party member replacing canderous, load up kotor, theres two. tab out, back in, reload, theres 3!? (I know im supposed to exit out all the way each time) So, um. Any ideas on how to fix this? PS Tried searching, cause i know i read about this somewhere but I'm horrible at finding stuff like this, and, didn't find anything *Edit* Seems like each new thing clones one, i left the Hawk, reentered, 4, left, reentered, still 4, so each new thing that occurs for the first time results in another. But, when i take the Tukata Canderous in my party, theres only one... Link to comment Share on other sites More sharing options...
logan23 Posted May 8, 2012 Share Posted May 8, 2012 I'm assuming the Script that creates the Character does not check wither the NPC already exist in the module. Basically you need to have in the script to either destroy the Trigger or do a If statement to check if the NPC is present. In the script it will only spawn the character if you do not have the NPC already in the module. If the NPC is in the Module= True then have the script do nothing. Link to comment Share on other sites More sharing options...
Hassat Hunter Posted May 8, 2012 Share Posted May 8, 2012 Of course if it's an "onenter" deleting it is a no-no. And with the "is there" check a new one is spawned if in your team and thus not on that map next time you enter without that member. So best would probably add a new global, and set that global when spawned, and add a check to only spawn the NPC if the global is unset... solved. Link to comment Share on other sites More sharing options...
DeltaVenom Posted May 8, 2012 Author Share Posted May 8, 2012 Okay, so i restarted the whole thing (turns out i was actually using the wrong .utc /facepalm) On Darth333's tutorial, Step 4 kinda confuses me...if anyone could shed some light i'd appreciate it Also, if someone could find the VO Resref for Tukata (Attack1/2/3, die, and anything else would be nice, i need at least three. Found something similar, but it didn't have the line. Link to comment Share on other sites More sharing options...
Fastmaniac Posted May 9, 2012 Share Posted May 9, 2012 I had the same problem with the recruitment mod I've created. Stoffe gave me the solution to that problem: If I remember correctly there is an event script (k_pebn_pophawk) in the Ebon Hawk area that runs whenever the area is loaded (loading savegames counts as this too). This script will first delete all party members from the area and then spawn them at waypoints at the locations of the ship where they should be waiting around. The problem is most likely caused by how this script works. It will delete party member NPCs based on their tag, while it will spawn them based on their party table slot. So if you've added a new NPC to the party table with a tag other than one of the standard party members the removal part will fail (since the script doesn't know about the tag of your new NPC), but the spawn part will succeed. This would result in both the original NPC being there, and a new copy being spawned in. Hope it applies to you as well... Fastmaniac That's really hard to find Link to comment Share on other sites More sharing options...
harIII Posted May 18, 2012 Share Posted May 18, 2012 Also, if someone could find the VO Resref for Tukata (Attack1/2/3, die, and anything else would be nice, i need at least three. Found something similar, but it didn't have the line. You go to BIFs, Templates, Sound Sets and then find the one for the tukata. In that file you'll find the references to the tukata during combat and other stuff. Link to comment Share on other sites More sharing options...
Kyr'am Galaar Posted May 18, 2012 Share Posted May 18, 2012 I have no advice, I'm just stuck on why would you want to replace Canderous with a tuk'ata? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.