shane2243 Posted July 10, 2009 Share Posted July 10, 2009 wasnt too sure where to put this, i tried to use the "recruit npc in under 10 steps" tutorial, but i just started getting confused, and then my head started to hurt. i basically want to stick a twi'lik (or some other dodgy looking alien) in the dantooine courtyard (i've got the "make carth a jedi" mod installed and i want the twi'lik pretty much next to that npc) and i want him to be selling a droid, the same one that guards the sandal/matale enclaves. the conversation will pretty much go like this "buy my droid-how much-4000-ill give you t3-t3+2000-[force persaude] ill give you t3 and you'll give me the battle droid plus 2000credits-ok" easy peasy? cept i think i've had too many red bulls and every time i readt that tutorial i get lost, i'd like to do the mod myself, i just kinda need help? any help greatly appreciated. thanks =]]. [edit] i have just this minute noticed that when i save my .dlg file (creating it in kotor tool) and come to re-open it, it opens as a blank document, any ideas why? thanks again. [edit2] having switched the tools i was using, i'm pretty sure i made everything except the "goodbye"script, but my npc wont spawn? i linked the spawn script to the dialouge, as suggested by darth333 in another thread i saw, but still nothing, i even borrowed the spawn script from another persons mod, and changed the cordinates and the name and stuff, but still nothing, i can give any details needed to see where i am going wrong. p.s. sorry to be a total noob, i just seem to suck at this and i really want this to work, cos i think i have some good ideas to bring to the mod scene. Edit: Show spoiler (hidden content - requires Javascript to show) i think that picture includes everything, i may have missed something in that, but i dont think i did, if anyone notices where i went wrong, its probably something really obvious that ive over looked. thanks in advance. Link to comment Share on other sites More sharing options...
Star Admiral Posted July 10, 2009 Share Posted July 10, 2009 What about the dialog for the merchant that you buy the droid from? From what I understand, this Dustil character will only spawn when you talk to him, but obviously, since the character can't exist until it is spawned, nothing will happen. - Star Admiral Link to comment Share on other sites More sharing options...
shane2243 Posted July 10, 2009 Author Share Posted July 10, 2009 ah...bummer, to be honest, im just trying to get the simple script to work first then make it more selly and stuff, how would i script him to like just be there? thanks. Link to comment Share on other sites More sharing options...
Star Admiral Posted July 10, 2009 Share Posted July 10, 2009 Multiple ways. How do you want the merchant to appear? When you talk to someone, access a computer terminal, enter the module, etc.? - Star Admiral Link to comment Share on other sites More sharing options...
shane2243 Posted July 10, 2009 Author Share Posted July 10, 2009 i just want him to be there, and then when we're done with our little trade he trots along like the good little twi'lik he is =] Link to comment Share on other sites More sharing options...
Star Admiral Posted July 10, 2009 Share Posted July 10, 2009 To spawn the twi'lek when you enter the module, use the following script. void main() { if( GetObjectByTag( "merchant" ) == OBJECT_INVALID ) object oNPC = CreateObject( OBJECT_TYPE_CREATURE, "merchant", Location( Vector( 0.0, 0.0, 0.0 ), 0.0 ) ); ExecuteScript( "old_k_pdan_14a_area", OBJECT_SELF ); } Compile and save it as k_pdan_14a_area. Be sure to first replace the "merchant" with the tag of your own merchant character and all the 0.0s with the coordinates of where you want the merchant to be. Use KT to extract the original k_pdan_14a_area script and rename it to old_k_pdan_14a_area. Drop both into your Override folder and see if it works. - Star Admiral Link to comment Share on other sites More sharing options...
shane2243 Posted July 10, 2009 Author Share Posted July 10, 2009 something truely awesome, but unexpected, happened. Show spoiler (hidden content - requires Javascript to show) i think i know why though...it might be the spawning script? Edit: ok so i fixed that now this happens =[ Show spoiler (hidden content - requires Javascript to show) if thats not clear at all, t3 is sposed to be dustil, but he's nothing? would this be because i warped from the spire to dantooine? (i didnt get t3) sorry for double posting. [edit] ok so i fixed that problem, but when one is fixed three more seem to arrive ¬_¬, there are now LOADS of the npc, all just standing around the same area, the pc when relativly close to the npc has a tendancy to jump all over the place, the npc is equiped with a weird clothing type (simple inventory fix?) and when he's in my party on the level up screen half of him is gone, like he's been moved down 3 feet (assuming he's about 5ft11)...ok so 4 problems...am i just doomed to fail? [/edit] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.