Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Scripting help concering Slow Time


shinny
 Share

Recommended Posts

I wanted to practice some scripting, I'm very new at it so I decided to do something simple. My goal was to add a bow in the game that, when fired, slows time for a second or two. I was confused on how to do this though in Papyrus. Do I have to slow time by using some sort of Shout property or is there some way to just add the actual effect to the player when the bow is fired?

I googled a lot about magic effects and shouts but could not find any good explanations on how to use them in Papyrus.

 

If someone could provide an example script with an explanation that would be great.

 

Link to comment
Share on other sites

Hi shinny, stop by the 'Introductions' thread and shout a hello! :D

Cookies will soon come your way!

 

I am not sure about that enchantment. It 'may' work the way you want, but it may be difficult to setup.

 

An 'enchantment' on the weapon would probably take effect as soon as you equip the bow. And I am not sure if 'conditions' on the enchantment could be added to only activate when fired.

 

A script 'might' work, by adding and then removing the enchantment after a few seconds. But it might mess up if the 'kill camera' activates. (It does slow time and the camera follows the arrow.)

The script would also be problematic, getting it to execute only when you fire the weapon.

Link to comment
Share on other sites

To my best knowledge there is no script function that allows you to 'catch' the fire/release-string-of-bow-state. Which makes it kind of hard to achieve what you explain.

 

If you would slow time when you hit something that would be something different. You could achieve that by creating special ammo that has the slow time effect - the magic effect is called VoiceSlowTimeEffect. You would need to attach that to your ammo.

 

The other option i see if you insist on scripting would be to check for the controls - you can get the release state of the pressed buttons/controls and then 'fire' your slowtime magic effect whenever that particular button/control is released.

 

As Brett suggested the Steady Hand perk: It changes the bowspeedbonus - that means actor value "bowspeedbonus" affects the speed of the world around you when you draw an arrow - and any actor value can be set/changed via a script of course. Normal value for it is 1 and it would have to be set to something lower like 0.5 or 0.25 to actually affect speed of the world around you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...