Difference between revisions of "User:Ichinin"

Jump to navigation Jump to search
210 bytes added ,  08:10, 17 February 2007
m
"Bye-bye PlaceAtMe and MoveTo, Hello Questscripts"
imported>Ichinin
("Bye-bye PlaceAtMe and MoveTo, Hello Questscripts")
imported>Ichinin
m ("Bye-bye PlaceAtMe and MoveTo, Hello Questscripts")
Line 7: Line 7:


First, i wanted to get rid of alot of scripting. The dialogue system is perfect for reducing scripting on the NPCs.
First, i wanted to get rid of alot of scripting. The dialogue system is perfect for reducing scripting on the NPCs.


First, i created two AIpackages:
First, i created two AIpackages:
Line 25: Line 26:


Voila.. i now have dialogue options for making a simple NPC follow or stay.
Voila.. i now have dialogue options for making a simple NPC follow or stay.


Neat eh?
Neat eh?


But there is more. What about '''Companion Share'''?
But there is more. What about '''Companion Share'''?
Line 35: Line 40:


I create a dummy cell, like others had done. I made sure i had a barrel with zero items and no respawn set and put a barrel into the dummy cell.
I create a dummy cell, like others had done. I made sure i had a barrel with zero items and no respawn set and put a barrel into the dummy cell.


Then i made 4 NPCs and gave them references (as usual) Now, the nice part is that i figured that while the Quest script was doing its dialogue thing, it could also do the companion share thing so no NPC would have to have much or ANY scripting.
Then i made 4 NPCs and gave them references (as usual) Now, the nice part is that i figured that while the Quest script was doing its dialogue thing, it could also do the companion share thing so no NPC would have to have much or ANY scripting.


I create a variable in the quest script and set the ID number of the NPC i had selected the "-Companion Share" topic for. Then the quest script would pick that up, set a reference variable to the choosen NPC and do the removeallitems... (forward and back).
I create a variable in the quest script and set the ID number of the NPC i had selected the "-Companion Share" topic for. Then the quest script would pick that up, set a reference variable to the choosen NPC and do the removeallitems... (forward and back).


i also did a dummy item that i used Additem, Equip, Removeitem to make them "dress up" again, but i realised that you could to
i also did a dummy item that i used Additem, Equip, Removeitem to make them "dress up" again, but i realised that you could to
Line 46: Line 53:


And they would "dress up" again too. However, the NPC would change its position so i thought it would be better to just use a dummy item.
And they would "dress up" again too. However, the NPC would change its position so i thought it would be better to just use a dummy item.


Anyway, that was my first entry on this site. I hope someone will read it and find it useful.
Anyway, that was my first entry on this site. I hope someone will read it and find it useful.
--[[User:Ichinin|Ichinin]] 08:10, 17 February 2007 (EST)
Feel free to brows my [http://www.geocities.com/Ichinin/oblivion/ Oblivion] and [http://www.geocities.com/Ichinin/mwstuff.htm Morrowind] mods.
Anonymous user

Navigation menu