[REL] Horse Whistle

Post » Wed May 16, 2012 5:44 pm

Horse Whistle is a simple http://www.gamesas.com/index.php?/topic/1292671-rel-script-dragon/ plugin that makes your horse walk to you.

Requirements
http://www.gamesas.com/index.php?/topic/1292671-rel-script-dragon/

Download
http://skyrimnexus.com/downloads/file.php?id=1767

Installation
(After installing ScriptDragon) Copy 'horsewhistle.asi' and 'horsewhistle.ini' to your Skyrim install directory.

Configuration
Change horsewhistle.ini to the key you want to use to whistle for your horse. The default key is Numpad 4. (There is a list of keycodes in the .ini file.)

How You'll Know It's Working
In the game, it will print a message telling you it has started.
Like this: "[Horse Whistle] started, press Numpad 4 to use"

Known Issues
I currently cannot find a way to make the horse path to your location at anything faster than the slowest walk speed. If anyone wants to poke around and fix this, I've uploaded the http://www.megaupload.com/?d=DTWSTPEC (drop into pluginsrc directory and add to the scripts.sln Solution in Visual Studio, copy horsewhistle.asi from the tmp\horsewhistle directory after building).
User avatar
Ben sutton
 
Posts: 3427
Joined: Sun Jun 10, 2007 4:01 am

Post » Thu May 17, 2012 1:06 am

Horse Whistle is a simple http://www.gamesas.com/index.php?/topic/1292671-rel-script-dragon/ plugin that makes your horse walk to you.

Requirements
http://www.gamesas.com/index.php?/topic/1292671-rel-script-dragon/

Download
http://skyrimnexus.com/downloads/file.php?id=1767

Installation
(After installing ScriptDragon) Copy 'horsewhistle.asi' and 'horsewhistle.ini' to your Skyrim install directory.

Configuration
Change horsewhistle.ini to the key you want to use to whistle for your horse. The default key is Numpad 4. (There is a list of keycodes in the .ini file.)

Known Issues
I currently cannot find a way to make the horse path to your location at anything faster than the slowest walk speed. If anyone wants to poke around and fix this, I've uploaded the http://www.megaupload.com/?d=DTWSTPEC (drop into pluginsrc directory and add to the scripts.sln Solution in Visual Studio, copy horsewhistle.asi from the tmp\horsewhistle directory after building).

There is a console/scripting command already in place to toggle running/walking. I dont remember what it is, but it's something like "set forcerun 1"
User avatar
Justin
 
Posts: 3409
Joined: Sun Sep 23, 2007 12:32 am

Post » Thu May 17, 2012 4:48 am

I can't find anything like that on the http://uesp.net/wiki/Skyrim:Console.
User avatar
Amie Mccubbing
 
Posts: 3497
Joined: Thu Aug 31, 2006 11:33 pm

Post » Wed May 16, 2012 3:15 pm

This mod is a cool idea. It's always annoying when you dismount your horse to fight enemies, get in over your head, and then wind up about what feels like a mile away from where you left your horse. I'm surprised they didn't implement a horse whistle mechanic, since they stated that Red Dead Redemption was one of the inspirations for features in Skyrim, and I know that horse whistling was a feature in Red Dead Redemption.
User avatar
Nick Swan
 
Posts: 3511
Joined: Sat Dec 01, 2007 1:34 pm

Post » Wed May 16, 2012 7:56 pm

I can't find anything like that on the http://uesp.net/wiki/Skyrim:Console.
The UESP isn't giving a full list of scripting commands, obviously. There are commands to force sneak and to force run. They've both been around since Morrowind and were in Skyrim as well as Fallout.

It's SetForceRun.
User avatar
Robert Bindley
 
Posts: 3474
Joined: Fri Aug 03, 2007 5:31 pm

Post » Thu May 17, 2012 2:00 am

The UESP isn't giving a full list of scripting commands, obviously. There are commands to force sneak and to force run. They've both been around since Morrowind and were in Skyrim as well as Fallout.

It's SetForceRun.

I'm guessing this only affects the player. In any case, it's not in ScriptDragon right now.


Edit: Tested it in game, doesn't do anything to the horse ("SetForceRun 1" prints "SetForceRun >> 0.0" in the console, and the horse doesn't move any faster).
User avatar
Stephanie I
 
Posts: 3357
Joined: Thu Apr 05, 2007 3:28 pm

Post » Wed May 16, 2012 3:04 pm

I was going to request something like this. I hate having to choose between either 1 min walking back to my horse or fast traveling to have him show up.
User avatar
Rebecca Dosch
 
Posts: 3453
Joined: Thu Jan 18, 2007 6:39 pm

Post » Wed May 16, 2012 4:52 pm

I'm guessing this only affects the player. In any case, it's not in ScriptDragon right now.


Edit: Tested it in game, doesn't do anything to the horse ("SetForceRun 1" prints "SetForceRun >> 0.0" in the console, and the horse doesn't move any faster).
Why would you guess that? If it only affected the player, why would I tell you to use it?

Remember in the beginning of Morrowind, when Fargoth sneaks to his hidden stash? SetForceSneak. The scripting commands work, you're just not using them properly.
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm

Post » Thu May 17, 2012 5:05 am

I just realized that you can hold down use key on companions to get them to do things without going into dialog... so I think implementing some type of whistle would be awesome. ( and make companion horses too )
User avatar
Add Meeh
 
Posts: 3326
Joined: Sat Jan 06, 2007 8:09 am

Post » Wed May 16, 2012 8:05 pm

If SetForceRun isn't working anymore in Skyrim, there must be an alternative method. One I cant think of off the top of my head was in Oblivion, ForceRun was a binary value in each AI package. If you can edit the AI package record, you could toggle Forced Running there.
User avatar
Ross
 
Posts: 3384
Joined: Thu Aug 10, 2006 7:22 pm

Post » Wed May 16, 2012 9:07 pm

we need a Lydia-whistle
User avatar
Shaylee Shaw
 
Posts: 3457
Joined: Wed Feb 21, 2007 8:55 pm

Post » Wed May 16, 2012 6:34 pm

Why would you guess that? If it only affected the player, why would I tell you to use it?

Remember in the beginning of Morrowind, when Fargoth sneaks to his hidden stash? SetForceSneak. The scripting commands work, you're just not using them properly.

It doesn't work in conjunction with PathToReference. I've made it work one time, and I have no idea how, can't replicate it at all, with successful SetForceRun/SetPathSprinting etc. calls.
User avatar
gary lee
 
Posts: 3436
Joined: Tue Jul 03, 2007 7:49 pm

Post » Wed May 16, 2012 10:24 pm

we need a Lydia-whistle
I looked into doing this, don't think I can until the CK is out at least.
User avatar
Niisha
 
Posts: 3393
Joined: Fri Sep 15, 2006 2:54 am

Post » Wed May 16, 2012 9:15 pm

I've seen NPCs run to specific references in-game before. When you order your companion to perform a specific action they do walk, but there has to be a way to change that.
User avatar
Danel
 
Posts: 3417
Joined: Tue Feb 27, 2007 8:35 pm

Post » Wed May 16, 2012 5:32 pm

I've been trying to replicated whatever happened during the one test session where the horse actually ran. No dice so far.
User avatar
Lauren Denman
 
Posts: 3382
Joined: Fri Jun 16, 2006 10:29 am

Post » Thu May 17, 2012 3:09 am

Maybe it's just me, but anytime I get too far away from say Lydia, I'll hold the sprint button, and she will automatically start sprinting towards me. Have you tried this to see if the horse will do it as well? I'm assuming it's "following you" like a follower does in order to get it to come to you?
User avatar
james tait
 
Posts: 3385
Joined: Fri Jun 22, 2007 6:26 pm

Post » Wed May 16, 2012 5:58 pm

I looked at setting it up to use the package for the AI that makes them follow you. It appears the API for ScriptDragon doesn't current support it (EvaluatePackage seems to take a package in game (though I can't get it to work in the console) but in SD's API it only takes the actor as a parameter).
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am

Post » Thu May 17, 2012 5:32 am

Thanks for the beginnings of a great mod. :thumbsup:
User avatar
Gemma Woods Illustration
 
Posts: 3356
Joined: Sun Jun 18, 2006 8:48 pm

Post » Wed May 16, 2012 8:03 pm

Would it be possible to simply use "SETAV SPEEDMULT XXX" instead of ForceRun to increase the movement speed of the horse when called?

Having Speedmult set to 200 for example is 2X faster than the default 100 movement speed.

Only issue is the animation would still probably show it walking, except really really fast :P

And it might not work on "creatures", only NPCs/Player.
User avatar
Bones47
 
Posts: 3399
Joined: Fri Nov 09, 2007 11:15 pm

Post » Wed May 16, 2012 11:04 pm

Would it be possible to simply use "SETAV SPEEDMULT XXX" instead of ForceRun to increase the movement speed of the horse when called?

Having Speedmult set to 200 for example is 2X faster than the default 100 movement speed.

Only issue is the animation would still probably show it walking, except really really fast :P

And it might not work on "creatures", only NPCs/Player.

If I'm not mistaken, he mentioned trying that in the official ScriptDragon thread, and said it didn't work.

My only suggestion, which would work, but might be a tiny bit jarring, is to teleport the horse a short ways behind the player, then have the horse walk to him. This would avoid having long wait times. Not the most optimal solution, but one that may work for the time being.
User avatar
Spencey!
 
Posts: 3221
Joined: Thu Aug 17, 2006 12:18 am

Post » Wed May 16, 2012 2:53 pm

If I'm not mistaken, he mentioned trying that in the official ScriptDragon thread, and said it didn't work.

My only suggestion, which would work, but might be a tiny bit jarring, is to teleport the horse a short ways behind the player, then have the horse walk to him. This would avoid having long wait times. Not the most optimal solution, but one that may work for the time being.


Yeah unfortunately SpeedMult doesn't work (or rather, it doesn't set the horse to run mode). Also, I did try to make it teleport first, but I was having issues with it not pathing after it teleported. I'll test it more tonight and put up a new version that does this.
User avatar
katsomaya Sanchez
 
Posts: 3368
Joined: Tue Jun 13, 2006 5:03 am


Return to V - Skyrim