Difference between revisions of "Talk:Simple Companion Tutorial"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Lordnincompoop
(Umm, ok, but what about this?)
imported>DragoonWraith
Line 33: Line 33:


Instead of making a companion, i'm planning on making a pet, but how do you do that?
Instead of making a companion, i'm planning on making a pet, but how do you do that?
:Reasonable question. I imagine that it's not much different from this, but you use a Creature instead of an NPC.
:For dialogue, though, you couldn't use a creature... hmm.
:My guess would be that if you want to be able to talk to the pet, you create an invisible dummy NPC (using [[SetActorAlpha]] 0), which you position in the middle of the pet (using [[MoveTo]] and [[SetPos]]), and when the player Activates the pet (an OnActivate block in the pet's script), you have the player talk to the NPC. Because the NPC is invisible and in the middle of the pet, the player will look at the pet, so the pet will look like it's talking. Then you just have to modify the dialogue on the NPC to affect the pet.
:These are just some ideas, I've never actually tried to make a companion or a pet. If you're looking for more information, you may want to try the [http://www.bethsoft.com/bgsforums/index.php?showforum=24 Forums]. If you find anything, it would be awesome if you reported back here!
Also, please sign your posts in Talk pages with <nowiki>~~~~</nowiki> at the end of your post. Thank you.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 16:30, 10 April 2008 (EDT)

Revision as of 16:30, 10 April 2008

Thanks for the tutorial Mightylink, it looks pretty nice and thorough. There are a few things that need to be done to wiki-fy it, though. As this is a wiki, no pages are allowed to have by-lines so the credits section would need to be removed. It would also be good to section the article using headers. There are other goodies on that page, including how to link to internal wiki pages, that are good to know. Again, thanks and welcome to the wiki!--Haama 11:51, 30 March 2008 (EDT)

I removed the whole credit section, along with the byline notice Haama put up. Haama already explained it well enough, I don't have to do that again. And I'd like to add that a companion tutorial is most welcome, thank you!
--Qazaaq 12:04, 30 March 2008 (EDT)
Ya sorry im still new to wiki and cs, im very surprised I even made that tutorial and wondering why more advanced users havent done so already, it was quite easy to make after i figured out how to use quest variables. I would of killed for that tutorial but like they say if you want it done right you gata do it yourself. Now others dont need to struggle like I did :P I'm also gana change the part about quest priority, I didnt know how it worked till now.
--Mightylink

Please help!

I did everything exactly as you did in the tutorial, planning to change the name of the NPC and relocate her in a small new cave, surrounded by baddies. I also was planning to use the inventory sharing thing that you said about. however, every time I get to the part where you type code into the result script box and hit compile, I get a bunch of errors! they all say: trying to access local variable 1 in script 'AAveroniascript'-- variable not found continue? yes/no/yes to all.


Please help!!!! just breaking into the NPC section of the CS. did the basic NPC tutorial you have a link to. understood it fully. made a couple of test NPC's. I am semi-proficient. I had not been exposed to questing or dialouge, but I did everything as you dictated and meticulously checked and re-checked it. Is there something different with the post Shivering Isles CS? I know the lip syncing thing is supposed to be broke but that shouldn't affect the stuff done in this tutorial. I am very frustrated right now as I have spent 2:00 (home from school) to 10:00 (10 minutes ago) trying to get this to work. --Ben cope 18:35, 4 April 2008 (EDT)


You had the same trouble as me when I first started :P You use the quest name not the script name.
set questname.variablename to 1
See my forum topic here: http://www.bethsoft.com/bgsforums/index.php?showtopic=826601&hl=

Mightylink 06:58, 6 April 2008 (EDT)

Please sign your edits on Talk pages with ~~~~
Thank you
Dragoon Wraith TALK 06:47, 6 April 2008 (EDT)

Sorry, still a wiki virgin here <_<

Mightylink 06:58, 6 April 2008 (EDT)

Umm, ok, but what about this?

Instead of making a companion, i'm planning on making a pet, but how do you do that?

Reasonable question. I imagine that it's not much different from this, but you use a Creature instead of an NPC.
For dialogue, though, you couldn't use a creature... hmm.
My guess would be that if you want to be able to talk to the pet, you create an invisible dummy NPC (using SetActorAlpha 0), which you position in the middle of the pet (using MoveTo and SetPos), and when the player Activates the pet (an OnActivate block in the pet's script), you have the player talk to the NPC. Because the NPC is invisible and in the middle of the pet, the player will look at the pet, so the pet will look like it's talking. Then you just have to modify the dialogue on the NPC to affect the pet.
These are just some ideas, I've never actually tried to make a companion or a pet. If you're looking for more information, you may want to try the Forums. If you find anything, it would be awesome if you reported back here!

Also, please sign your posts in Talk pages with ~~~~ at the end of your post. Thank you.

Dragoon Wraith TALK 16:30, 10 April 2008 (EDT)