Does anyone know how to make a power more than once a day?

Post » Sun May 27, 2012 11:40 am

I'm asking all the modders do you know how to add a power for more than once a day? I'm talking only about the once a day powers. So please help, if you dont understand the question let me know so I can elaborate more. Thanks
User avatar
Karen anwyn Green
 
Posts: 3448
Joined: Thu Jun 15, 2006 4:26 pm

Post » Sun May 27, 2012 4:41 am

It's exceedingly easy. They're called Lesser Powers. It is just as easy to make them, too, all you need to do is change one setting on the Spell in the Creation Kit.

If you want to change the racial abilities into Lesser Powers, grab the Creation Kit, load up Skyrim.ESM, navigate to Spells in the Object Window, type "power" into the filter, open up the Powers you wish to change, and change their type from Power to Lesser Power.

That's it.
User avatar
Carlitos Avila
 
Posts: 3438
Joined: Fri Sep 21, 2007 3:05 pm

Post » Sun May 27, 2012 7:06 am

It's exceedingly easy. They're called Lesser Powers. It is just as easy to make them, too, all you need to do is change one setting on the Spell in the Creation Kit.

If you want to change the racial abilities into Lesser Powers, grab the Creation Kit, load up Skyrim.ESM, navigate to Spells in the Object Window, type "power" into the filter, open up the Powers you wish to change, and change their type from Power to Lesser Power.

That's it.

So what if I wanted to make a power only used 3 times a day but no more?
User avatar
Richard Dixon
 
Posts: 3461
Joined: Thu Jun 07, 2007 1:29 pm

Post » Sun May 27, 2012 10:45 am

You would need to script that. With the normal types, you either get once per day or unlimited uses.
User avatar
Nicole Mark
 
Posts: 3384
Joined: Wed Apr 25, 2007 7:33 pm

Post » Sun May 27, 2012 4:14 am

You can also set a different duration on the spell so it can be used every 8 hours.
User avatar
matt oneil
 
Posts: 3383
Joined: Tue Oct 09, 2007 12:54 am

Post » Sun May 27, 2012 5:17 am

You can also set a different duration on the spell so it can be used every 8 hours.

So setting it to 8 hours means I cant use it for another 8 hours?
User avatar
xxLindsAffec
 
Posts: 3604
Joined: Sun Jan 14, 2007 10:39 pm

Post » Sun May 27, 2012 6:14 pm

you can add a very simple script to your magic effect that basically increments a global variable by 1 each time it is used with additional conditions to allow it to reset every 24 hours.

then in your spell for the lesser power it only fires the magic effect when the property value is less than 3



example script:

GlobalVariable Property UseCount  AutoEvent OnEffectStart(Actor akTarget, Actor akCaster)   UseCount.Value += 1   If (UseCount.Value =http://forums.bethsoft.com/topic/1373255-does-anyone-know-how-to-make-a-power-more-than-once-a-day/= 1)	  RegisterForSingleUpdateGameTime(24)   EndIfEndEventEvent OnUpdateGameTime()   UseCount.Value = 0EndEvent




you will have to apply a condition when you add this magic effect in your lesser power so that the Global Variable UseCount must be less than 3 in order for the effect to fire.

example:

GetGlobalValue UseCount < 3 AND


this is a simple solution, and not a concrete "3 times per day" based on the actual day of the game. it will work as "3 times per 24 hours" which is not the same thing. to get it working as a true "3 times per day" you will have to use a slightly more complex set up that retrieves the gametime global variable, and you would have to run conditions against it. way more trouble than it's worth IMO, 3-times-per 24 hours should be good enough for what you are going for i think
User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am

Post » Sun May 27, 2012 11:08 am

Thank you so much amethyst hope this works!
User avatar
An Lor
 
Posts: 3439
Joined: Sun Feb 18, 2007 8:46 pm


Return to V - Skyrim