Grim Squeaker Posted March 20, 2006 Share Posted March 20, 2006 You're just making a new block that starts with a check whether Larok is there. You'll want it to have WEIGHT -1 (look it up in the readme, its not hard) so that it is at the top of the dialogue stack (i.e. if its conditions are met it'll play your dialogue instead of the normal one). You do their dialogue how you want to do it and at the end you COPY_TRANS to go into the normal dialogue Ahmed dialogue. I'm assuming here that you'll include this bit of code in a seperate file from your Ahmed dialogue file, so the .d will only be COMPILEd if Larok is installed. Or are Larok and Ahmed part of the same mod? If so, thats totally trivial and you shouldn't need our help at all. Link to comment
Thauron Posted March 20, 2006 Share Posted March 20, 2006 He already said he'd changed it to 'ahmeds'. <{POST_SNAPBACK}> Oops, sorry, my bad. I will try to be more attentive when responding the next time. Link to comment
Troll Posted March 21, 2006 Author Share Posted March 21, 2006 Or are Larok and Ahmed part of the same mod? If so, thats totally trivial and you shouldn't need our help at all. <{POST_SNAPBACK}> Yeah they're part of the same mod and WHOA! Come one gimmy a BREAK. I've had like a week doing this coding business, so it isn't really a trivial thing at all, so I do need your help. Link to comment
Grim Squeaker Posted March 21, 2006 Share Posted March 21, 2006 Well, all you're doing is making a new block before the rest of Ahmed's dialogues that has a condition of InParty("Guy") and a Global check so the talk doesn't play twice. Then at the end of your talk you are GOTOing your other block that you'll have written for his normal dialogue. It's just bringing together the stuff you've already got, nothing more. Link to comment
Troll Posted March 21, 2006 Author Share Posted March 21, 2006 Hang on. How do I put the bits in that make Larok talk back, i.e. Ahmed: G'day Larok! Larok: How's it goin' Ahmed: Alrite, yaself? Larok: Can't complain, can't complain. Would I use CHAIN and use Larok's Banter file? Link to comment
Grim Squeaker Posted March 21, 2006 Share Posted March 21, 2006 You'd use CHAIN yes, in much the way that you have before. However traditionally you'd want to use the characters J file as thats used for random conversation while in party thats not actually interparty banter. Just a convention really. Link to comment
Troll Posted March 21, 2006 Author Share Posted March 21, 2006 CHAIN IF ~InParty("Larok") Global("LarokAhmedTalk","LOCALS",0)~ THEN BEGIN JLarok AhmedLarokReunion ~L-Larok.... could it *be*?~ ==JLarok ~Aye, spirit-forger. It has been too long.~ Like this? Link to comment
Grim Squeaker Posted March 21, 2006 Share Posted March 21, 2006 Almost. First of all you don't say BEGIN when coding a CHAIN. Secondly your coding is saying that JLAROK begins the conversation which I imagine is not what you want as that has him walking to himself. Change that JLAROK in the header to the other speaker's dialogue file. Link to comment
Grim Squeaker Posted March 21, 2006 Share Posted March 21, 2006 Oh and one other little convention: The dialogue files tend to be <NAME>, B<NAME>, <NAME>J and <NAME>P. Its only the banter file that has a prefix as opposed to a suffix (don't know why). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.