Guest Messenjah Posted July 25, 2012 Share Posted July 25, 2012 So, it has come to my attention that in order to run dialogue, the quest containing the dialogue have start game enabled set. I have a bunch of mini-quests within my mod for the player to fulfill. So I decided to clean up my design by placing all dialogue views under one quest and run that with start game enabled. I would then link the dialogue to the other quests through scripts and fragment scripts. So, for my first quest, I did this: Stage 0 = NullStage 10 = Start stageStage 100 = Complete Quest. An NPC tells you that he will talk to you if you buy him a drink at the bar. You purchase a Black-Briar and give it to him, completing the quest. When you first talk to him, the fragment starts stage 10 and displays the objective for stage 10. I even used QuestProperty.Start() to make sure that it would start the quest. Now, the actual quest does not have start game enabled. The other quest is supposed to start it. What happens? Well, the dialogue all works, the conditoins seem to work fine, but it doesn't start, it doesn't complete, and it doesn't display in the quest menu. What is wrong? Link to comment Share on other sites More sharing options...
Killerbuddy Posted July 25, 2012 Share Posted July 25, 2012 Is the dailouge edited NPC dialouge, or is it custom dialouge you put into the game? Link to comment Share on other sites More sharing options...
Guest Messenjah Posted July 25, 2012 Share Posted July 25, 2012 Custom dialogue, custom npc, custom voice file.... everything is custom other than the mead. :P Another interesting thing.... I checked start game enabled on the actual quest as well and now the dialogue doesn't show up but it did when it was unchecked? Doesn't make sense because the dialogue is run by a different quest that has start game enabled... Link to comment Share on other sites More sharing options...
Guest Messenjah Posted July 25, 2012 Share Posted July 25, 2012 Do I need to set a quest alias for the custom npc? I don't really know what aliases do exactly yet, Don't they just add unique properties to an npc or item that applies only during the quest itself? Link to comment Share on other sites More sharing options...
steve40 Posted July 25, 2012 Share Posted July 25, 2012 (edited) Do I need to set a quest alias for the custom npc? I don't really know what aliases do exactly yet, Don't they just add unique properties to an npc or item that applies only during the quest itself? ABSOLUTELY! Afaik, the quest needs to manage all NPCs and objects via quest aliases otherwise stuff simply won't work :biggrin:Depending on the quest settings, the quest may not start if some of the aliases are not filled. I'm not an expert on quests, so if Gasti is around, this is his area of mastery. Edited July 25, 2012 by steve40 Link to comment Share on other sites More sharing options...
Guest Messenjah Posted July 25, 2012 Share Posted July 25, 2012 But in this case... I'm just using a unique actor who speaks and if you pick up ANY bottle of Black-Briar mead... should satisfy the condition.... I don't really see a reason for any alias in this particular quest? Link to comment Share on other sites More sharing options...
Guest Messenjah Posted July 25, 2012 Share Posted July 25, 2012 Man, I don't know. I've been banging my head for 3 days over this. I think I've had 4 hours of sleep a night working on this and I can't get the thing working. I actually wrote a longer quest originally with a crap ton of dialogue and objectives. Took me a day and a half to write with very little sleep in-between to find out that it was broken an I couldn't even get the npc's to say anything. Started over and over and over and I can't get it to work. The only way I can get it to work is with start game enabled and the dialogue and objectives all in the same quest.... I tried adding aliases but then I got a weird error reporting that there was a problem with my aliases... all I pointed to was the custom, unique npc that I made myself and the drink which should be generic and really shouldn't be an alias anyway. There aren't any unique items being used in the quest, just generic ones and they don't even do anything.... just just checks to see if the drink is in the players inventory or not and removes it when the quest stage changes.... nothing special at all. So what is wrong? Link to comment Share on other sites More sharing options...
David Brasher Posted July 25, 2012 Share Posted July 25, 2012 Aliases are trouble. You should steer clear of them and use as few as possible. The leading cause of a quest that won't start because no dialog at all is available is a bad alias that can't fill. One alias like this will make it so the custom dialog options your quest NPCs have are not even there to click on. If you think you have bad aliases, you can set them to optional so that everything else will work even if the aliases can't fill. This can help you with diagnostics. Link to comment Share on other sites More sharing options...
gasti89 Posted July 25, 2012 Share Posted July 25, 2012 If aliases are set properly the quest will start. There's no "bad alias". If an alias doesn't fill then the modder made something wrong, wich could be condition without optional, forget allow disabled or things like this. Link to comment Share on other sites More sharing options...
David Brasher Posted July 26, 2012 Share Posted July 26, 2012 @ gasti89 There's no "bad alias". If an alias doesn't fill then the modder made something wrong, "Bad alias" is a phrase that is used to describe aliases which are not set up perfectly and which do not work and which break things surrounding them. Sure, if everyone was a genius experienced hard core scripter and quest coder who worked for Bethesda, then there would not be much of the operator error that creates bad aliases and breaks quests. But we are living in the real world, and most people who are new to modding Skyrim create bad aliases at one point or another. (It is very very common, there are probably more bad aliases created than functional ones, and extensive debugging is required.) So. What terminology do you prefer to use to describe the state of having an alias that does not function as desired? Link to comment Share on other sites More sharing options...
Recommended Posts