lfnetwork.com mark read register faq members calendar

Thread: All my scripting needs (others can request scripts as well)
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 12-28-2011, 02:42 PM   #1
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
All my scripting needs (others can request scripts as well)

DONE More coming soon


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY

Last edited by UltimateHK47; 01-15-2012 at 06:00 PM.
UltimateHK47 is offline   you may: quote & reply,
Old 01-15-2012, 06:06 PM   #2
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
UPDATE:

Need a new script, so far I havn't been able to get what I needed.

A script to change the dialouge files from n_blabla to p_blabla. It will be fired At the end of n_blabla.
Help is appreciated. Thanks

(Sorry Canaan thanks for the link you gave me but i din't see a way to change files, tell me if i was being a blind noob )


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY
UltimateHK47 is offline   you may: quote & reply,
Old 01-15-2012, 08:21 PM   #3
Fastmaniac
Rookie
 
Fastmaniac's Avatar
 
Join Date: Aug 2009
Location: Germany
Posts: 164
Current Game: SR IV
You mean like changing the conversation file of a character after a recruitment?

In this case you can create an identical "twin" character (n_blah.utc) with a different dialogfile (n_blah.dlg). When recruiting the NPC you add the other "twin" to the party (p_blah.utc) which has a different dialog (p_blah.dlg).

For any other case I can only give you this advice: If it's a one time activated conversation (n_blah.dlg) try starting the conversation with a script:

Code:
void main(){

object oNPCtospeakto = GetObjectByTag("TAG_OF_NPC");
object oPC = GetFirstPC();

AssignCommand(oPC, ActionStartConversation(oNPCtospeakto, "DIALOG_FILE", FALSE,CONVERSATION_TYPE_CINEMATIC, int bIgnoreStartRange = FALSE));

}
That should do the trick.

Hope that helps...
Fastmaniac is offline   you may: quote & reply,
Old 01-16-2012, 11:33 AM   #4
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
Thanks! Question-
You put DIALOG_FILE
What do i insert, p_bla or n_bla
If its n_bla, does it ignore the first thing the npc wpuld say, so if it was about to load the recruitment conversation it could only be done 1nce, the 1st time you talk to the npc? If you dont understand ill explain more clearly.


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY
UltimateHK47 is offline   you may: quote & reply,
Old 01-16-2012, 04:17 PM   #5
Fastmaniac
Rookie
 
Fastmaniac's Avatar
 
Join Date: Aug 2009
Location: Germany
Posts: 164
Current Game: SR IV
With the script I posted above you can initiate a conversation with the NPC you're communicating with (replace TAG_OF_NPC with your tag) and the name of the file ("DIALOG_FILE"). For your recruitment mod this should be "n_blah.dlg". This conversation should be triggered only one time with the end of it being the recruitment node. After that, when the NPC is in the party he should use the p_blah.dlg which is written into his .utc.
Fastmaniac is offline   you may: quote & reply,
Old 01-16-2012, 04:56 PM   #6
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
Hmm, thanks!! Ill test it sometime soon, as im taking an arrow in the knee because im not playing skyrim


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY
UltimateHK47 is offline   you may: quote & reply,
Old 01-26-2012, 01:54 PM   #7
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
Another script. As im sure some know the script to make a character exit, can someone show me it in use. oGoodbye, is that part of it?


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY
UltimateHK47 is offline   you may: quote & reply,
Old 01-27-2012, 12:26 PM   #8
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,464
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
^^^ Destroying an object is part of it! oGoodbye has nothing to do with it, other than that it is a placeholder used in a destroy NPC script, the one you posted in the script shack.

Your script requests are way too vague. How do you want the player to exit? Fade to black, walk away, run away, scream in misery?

Without more effort from you on describing what you want, why would someone take the time to help you? You are already creating work for someone, why make it harder for them to help you....


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn is offline   you may: quote & reply,
Old 01-27-2012, 03:09 PM   #9
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
I mean, just a fade out. Ill try and be more specific

A script to make an npc exit by fading out of view.


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY
UltimateHK47 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Modding requests > All my scripting needs (others can request scripts as well)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:00 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.