Getting rid of "Your horse is stabled outside the city g

Post » Thu May 03, 2012 10:42 pm

I've created a new worldspace which the player's horse doesn't travel to. When fast traveling around it, the message "Your horse is stabled outside the city gate." keeps coming up. What is the most elegant way to get rid of this?
User avatar
sarah
 
Posts: 3430
Joined: Wed Jul 05, 2006 1:53 pm

Post » Fri May 04, 2012 1:19 am

I've created a new worldspace which the player's horse doesn't travel to. When fast traveling around it, the message "Your horse is stabled outside the city gate." keeps coming up. What is the most elegant way to get rid of this?
Kill your horse.
User avatar
butterfly
 
Posts: 3467
Joined: Wed Aug 16, 2006 8:20 pm

Post » Thu May 03, 2012 7:13 pm

Kill your horse.
Um.... it wouldn't be a very good mod if it killed the player's horse...

Yes, I thought of moving the player to a black room, make the player invisible, forcing the player to mount it, and then killing the said horse before moving the player to the new worldspace... it should work, but it's been known for the player character to get bugged if the horse dies while being ridden. Anything less clunky and buggy?
User avatar
kiss my weasel
 
Posts: 3221
Joined: Tue Feb 20, 2007 9:08 am

Post » Thu May 03, 2012 9:41 pm

Find the game setting sFastTravelHorseatGate, and change the text there to a spacebar stroke.
You can also 'nullify' any other text game setting like this, like the messages which appear when picking flora, the 'loading area' one... Never remove completely the text in them, always leave at least a blank space, or else all messages will stop appearing.
User avatar
Miss K
 
Posts: 3458
Joined: Sat Jan 20, 2007 2:33 pm

Post » Fri May 04, 2012 3:36 am

Thanks! I got the same suggestion simultaneously from two different places. :)

Since I'm using OBSE, I ended up using the function con_SetGameSetting sFastTravelHorseatGate " " and con_SetGameSetting sFastTravelHorseatGate "Your horse is stabled outside the city gate." in order to turn it on and off upon entering and exiting the wordspace.
User avatar
willow
 
Posts: 3414
Joined: Wed Jul 26, 2006 9:43 pm

Post » Thu May 03, 2012 6:11 pm

You might need to put the setting in a GetGameLoaded test. Some of these settings get reset when the player loads a saved game. Also the con version of those functions won't work from scripts. I think you want this http://cs.elderscrolls.com/index.php/SetStringGameSettingEX instead.
User avatar
Charlie Sarson
 
Posts: 3445
Joined: Thu May 17, 2007 12:38 pm

Post » Thu May 03, 2012 9:06 pm

Um.... it wouldn't be a very good mod if it killed the player's horse...
It was a joke.
User avatar
Alister Scott
 
Posts: 3441
Joined: Sun Jul 29, 2007 2:56 am

Post » Thu May 03, 2012 3:19 pm

It was a joke.

I suppose it would have worked and would have been more elegant than forcing the player to mount an invisible horse. :biggrin:

You might need to put the setting in a GetGameLoaded test. Some of these settings get reset when the player loads a saved game. Also the con version of those functions won't work from scripts. I think you want this http://cs.elderscrolls.com/index.php/SetStringGameSettingEX instead.

con_SetGameSetting sFastTravelHorseatGate " " Actually did work quite well in a script though I think I'll use SetStringGameSettingEX as suggested instead since it seems to directly change the variable instead of using the console as a workaround. I'll run a quest script to keep the variable updated.
User avatar
Marquis T
 
Posts: 3425
Joined: Fri Aug 31, 2007 4:39 pm

Post » Thu May 03, 2012 2:30 pm

Yes, to be more accurate, the docs say that the console version doesn't work reliably from a script. I was too tired to type all that earlier :D Glad you got it sorted. Very good timing actually - I'll probably need to use the same function soon. ;)
User avatar
Natalie Harvey
 
Posts: 3433
Joined: Fri Aug 18, 2006 12:15 pm


Return to IV - Oblivion