Make a creature companian have "Travel" option?

Post » Wed Nov 30, 2011 6:52 am

Basically,

i'm modifying Grumpy and Emma's pack guar companian mod to suit my own personal taste/needs
i'm not really planning on redistributing it as my changes are so minor... in theory...

i just want to give it the Travel option so i can have a portable transport system.

I've done it before with npc companians and its worked fine,

but i just tried adding travel destinations to the pack guars AI in the CS but in game the travel option doesnt even show


i was wondering if anyone else has tried this and if so is there a way to make this work? as it is beyond my VERY limited modding knowledge

and i havnt been able to google an answer myself
User avatar
Gaelle Courant
 
Posts: 3465
Joined: Fri Apr 06, 2007 11:06 pm

Post » Wed Nov 30, 2011 3:58 am

Adding standard travel like NPC standard travel service topic: I don't think it is possible.
The only viable way I see is calling global script(s) from a dialog result. Global script(s) will move player/creature using positioncell.
User avatar
Alberto Aguilera
 
Posts: 3472
Joined: Wed Aug 29, 2007 12:42 am

Post » Wed Nov 30, 2011 1:25 am

Adding standard travel like NPC standard travel service topic: I don't think it is possible.
The only viable way I see is calling global script(s) from a dialog result. Global script(s) will move player/creature using positioncell.



Hmm well i only tried it because the pack guar in question already has "companian share" topic, which is typically an NPC topic.. and then theres Creeper and the talking mudcrad that have "barter" so i figured "travel" should work fine... but it don't... and although i AM willing to learn, i have no idea how to script really so if someone could give me an example or something to work from that would be great.
User avatar
HARDHEAD
 
Posts: 3499
Joined: Sun Aug 19, 2007 5:49 am

Post » Tue Nov 29, 2011 10:06 pm

Since barter works, you might just be able to sneak travel in. I'm not sure how, but looking at how they did the creature merchants will give you an idea.

If not, the easiest way will be to create an invisible NPC and when the appropriate topic is chosen with the creature, spawn the invisible NPC and ForceGreeting them. You can then add the travel AI to them. It will cost money though, so you may want to use scripts to restore the player's money afterward (if appropriate).
User avatar
glot
 
Posts: 3297
Joined: Mon Jul 17, 2006 1:41 pm

Post » Wed Nov 30, 2011 5:13 am

Since barter works, you might just be able to sneak travel in. I'm not sure how, but looking at how they did the creature merchants will give you an idea.

If not, the easiest way will be to create an invisible NPC and when the appropriate topic is chosen with the creature, spawn the invisible NPC and ForceGreeting them. You can then add the travel AI to them. It will cost money though, so you may want to use scripts to restore the player's money afterward (if appropriate).


hmm might be an idea, and i dont mind about using money, im not a cheapskate, im just too lazy to run to certain travel agents :P
User avatar
Glu Glu
 
Posts: 3352
Joined: Sun Apr 01, 2007 5:39 am

Post » Tue Nov 29, 2011 9:29 pm

Hmm... I was thinking this would require a scripting because I did not see any creature teleport service so far, but... I just tried with Creeper, and it works just like with a standard NPC.
Korroded-Korpse, I wonder why it did not work for you, maybe you did not set the arrow pointer in the destination cell or tested with not enough money to reach destination?
User avatar
jodie
 
Posts: 3494
Joined: Wed Jun 14, 2006 8:42 pm

Post » Wed Nov 30, 2011 5:07 am

I don't actually see a problem. All creatures have an AI tab identical to NPCs', and travel fields are present there. As long as you can initiate dialogue with your guar, the travel option should be available if you set destinations for it. Is it not?
User avatar
Emma-Jane Merrin
 
Posts: 3477
Joined: Fri Aug 08, 2008 1:52 am

Post » Tue Nov 29, 2011 9:58 pm

HMM unless maybe its just grumpy and emma's packguar, maybe its got some conflicting scripting inside it, as thats what i tried it on...

i did it just like any other npc, set a travel arrow to pelgiad to test it and the travel option didnt even appear

i'll try again tho, thanks for that info
User avatar
Danny Blight
 
Posts: 3400
Joined: Wed Jun 27, 2007 11:30 am

Post » Wed Nov 30, 2011 5:06 am

Just confirming it works for Lulu (tested with 3 teleporting destinations: Pelagiad, Seyda Neen, Caldera exteriors) :)
User avatar
QuinDINGDONGcey
 
Posts: 3369
Joined: Mon Jul 23, 2007 4:11 pm

Post » Wed Nov 30, 2011 12:46 am

Just confirming it works for Lulu (tested with 3 teleporting destinations: Pelagiad, Seyda Neen, Caldera exteriors) :)



How the?! ?_?

i did try it again, and set up destinations to pelgiad, dren plantation, hla oad and gnaar mok

also added all other services to check whether any show up but when i tested in game none of them were there.... :(

am i just being stupid?

maybe i should try from a fresh game or something... as im testing it from a saved game
User avatar
jennie xhx
 
Posts: 3429
Joined: Wed Jun 21, 2006 10:28 am

Post » Tue Nov 29, 2011 8:04 pm

you see,
if it works from a fresh new game, it may work from a saved game...
if it does not work from a fresh new game, it should not work from a saved game...
if it works from a saved game, it should work from a fresh new game...
if it does not work from a saved game, it may work from a fresh new game...

[EDIT]my usual typos
User avatar
A Lo RIkIton'ton
 
Posts: 3404
Joined: Tue Aug 21, 2007 7:22 pm


Return to III - Morrowind