The Elder Scrolls Forums

TES Construction Set and Plugins >> General TES Construction Set

Pages: 1
Mehrunes_Dagon
Adept

Reged: 09/01/03
Posts: 310
Loc: Actually, finally on Nirn again. I forgot what it looked like from your perspective. Hahahaha.
Detecting Magicka
      #2976955 - 08/27/04 07:14 PM

Is there a function to detect your maximum magicka? Not current, but maximum.

If not, does anyone know how it's calculated?

--------------------
I am the God of Destruction. Fear me.

http://groups.msn.com/DalothIsland/

Post Extras: Print Post   Remind Me!   Notify Moderator  
cyran0
Initiate

Reged: 06/04/04
Posts: 58
Re: Detecting Magicka [Re: Mehrunes_Dagon]
      #2977561 - 08/27/04 10:48 PM

Base magicka is 0.5 x intelligence, but race, birthsigns, spells, potions, and enchantments will modify the base value either directly or by altering intelligence. It may be possible to detect the effects of all these different factors (Madd_Mugsy has been doing work along that line with his alternative leveling mode, you may want to examine his work), but I certain it is very cumbersome.

Post Extras: Print Post   Remind Me!   Notify Moderator  
ManaUser
Master

Reged: 05/31/00
Posts: 6115
Loc: Long Beach, CA, USA
Re: Detecting Magicka [Re: Mehrunes_Dagon]
      #2978162 - 08/28/04 02:19 AM

short Temp
short MaxMagicka

set Temp to GetMagicka ;Stores current magicka
ModCurrentMagicka 9999 ;Sets current magicka to max magicka
set MaxMagicka to GetMagicka ;The value you want.
ModCurrentMagicka -9999 ;Sets current magicka to 0
ModCurrentMagicka Temp ;Sets current magicka to original value. (May require Tribunal)

A little clunky, but not that bad really. You could probabnly run it every frame with no problem.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Mehrunes_Dagon
Adept

Reged: 09/01/03
Posts: 310
Loc: Actually, finally on Nirn again. I forgot what it looked like from your perspective. Hahahaha.
Re: Detecting Magicka [Re: ManaUser]
      #2981702 - 08/29/04 01:58 AM

I was thinking of something like that, just I supposed that the player might think it odd that his magick flickered (unless it happened too fast). I have a way, I just thought there was an easier one.

--------------------
I am the God of Destruction. Fear me.

http://groups.msn.com/DalothIsland/

Post Extras: Print Post   Remind Me!   Notify Moderator  
ManaUser
Master

Reged: 05/31/00
Posts: 6115
Loc: Long Beach, CA, USA
Re: Detecting Magicka [Re: Mehrunes_Dagon]
      #2981876 - 08/29/04 03:10 AM

Since it all happens within one frame, I don't think it would show at all.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1


Extra information
0 registered and 4 anonymous users are browsing this forum.

Moderator:  Umrahel, Freddo, Pete, Hungry Donner, Attrebus, Miltiades, tegger 

Print Thread

Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 65

Rate this thread
 
Jump to

The Elder Scrolls Homepage

*
UBB.threads™ 6.3

Click for Privacy Statement 2003 Bethesda Softworks LLC, a ZeniMax Media company. All Rights Reserved.
PRIVACY POLICY | TERMS & CONDITIONS | LEGAL INFORMATION | CONTACT US