Bradleymee Posted March 12, 2011 Share Posted March 12, 2011 hello. i need help. im creating a custom companion but somethings wrong. i made a new script as the simple companion tutorial instructed and looked for it in the script list but didnt see it. so i tried looking for a custom made script on the downloads website. but to no avail. so if there is no custom companion script for telling the npc to follow and stay. i would like it to be made asap. however if it is made. please provide me with a link. i would also like it if the companion could also marry the player character with the wedding mod. so please reply as soon as possible. thank you. Link to comment Share on other sites More sharing options...
David Brasher Posted March 12, 2011 Share Posted March 12, 2011 (edited) This is the link of where to go: Simple Companion Tutorial But it sounds like you were already there. It sounds like you didn't successfully save your script, or saved it with a different name than you thought you did. You can look at details in the CS file loading screen (just as if you were modcleaning) to see all the edits you have made in a mod, and if you gave your script an unexpected name, you can see what it is and go find it. This is not really a "scripting" task. All you need the script for is to carry the quest variable. Most of your work will be done in the quest window working with dialog infos and result scripts, and creating custom AI packages and applying them to your NPC. Lots of interconnected parts that all have to be set up right. But not a lot of lines of code in a traditional script like you think of when you think of computer programming. This task has so many separate parts that you can't just cut and paste something from the Internet into your mod, and you can't even have people tell you how to do well through posts. You just have to make all the parts and hook them up yourself. Unless you want to download something premade like CM Partners. So I recommend that you go back to the tutorial and do it again. If you get stuck come back to the forum with lots of information on exactly where you were and what you were doing when you got stuck so that you can ask a very precise question on how to get past the particular problem. EDIT: I had a thought. Perhaps you did not change script type from object script to quest script. Getting married sounds like a big can of worms and a battle to be fought another day after you have won the current battle. Edited March 12, 2011 by David Brasher Link to comment Share on other sites More sharing options...
Bradleymee Posted March 12, 2011 Author Share Posted March 12, 2011 ok so i found out what was causing that problem but now i tested the mod and i cant get the npc to follow or stay it just has "Rumors" as an option. is there something causing this to happen? i followed the details of the tutorial almost thoroughly but the npc only has rumors as an option. any more ideas? Link to comment Share on other sites More sharing options...
David Brasher Posted March 13, 2011 Share Posted March 13, 2011 What method did you use to add the new topics? NPCs won't talk about topics like "wait" and "follow" until they have been added. I assume you made a new quest with new dialog for the wait and follow commands? One approach would be to use the topic GREETING to give your companion a line of custom dialog with a result script that adds your new wait and follow topics. This can occasionally be unreliable and fail. Another option might be to have a quest script that uses code like:AddTopic AAMyWaitTopic Another option might be to have a custom trigger box with a custom script using this line of code. Another option might be to see if there are any pre-existing wait and follow topics that all players would already have by the point in the game at which they would meet your companion. You could then just add custom dialog infos to your companion under those topics. Link to comment Share on other sites More sharing options...
Bradleymee Posted March 14, 2011 Author Share Posted March 14, 2011 i would like to take the fourth option. but i cant find the specific companion conversation scripts. can you tell me the name of a particular preexisting companion? so i can see their wait or follow commands and find a way to use them? Link to comment Share on other sites More sharing options...
David Brasher Posted March 14, 2011 Share Posted March 14, 2011 The fourth option is the worst option that will give you the least satisfactory results. The first example I thought of was the Adoring Fan. If you have become the Arena Grand Champion and let the Adoring Fan follow you at any point, then these topics will have already been added to your savegame:ArenaFanChoice1AArenaFanChoice1BArenaFanChoiceHold You could add custom dialog infos using these topics to your custom quest. (The one with the script holding your quest variable.) Another example would the Mage Apprentices if you have already become the Arch-Mage:MageConvFollow MageConvWaitMageConvReturn If you looked hard enough, you might be able to find a more suitable set of topics, but if you used one of the other three options, you wouldn't have to spend all that time and effort and would achieve a better result. Link to comment Share on other sites More sharing options...
Recommended Posts