MOE Lycanthropy and Lichcraft

Post » Sun Jun 12, 2011 9:50 pm

Hey there, I got a half question half request. Is there any modder out there that can do for thePOSTALdude's http://tesnexus.com/downloads/file.php?id=7902 what Sabregirl did for werewolves in blood moon with http://planetelderscrolls.gamespy.com/View.php?view=mods.detail&id=2518 ? What I'm looking for exactly is a way to have the werewolves and the player only transform on the nights of Masser being full. Changing every night night screw up a quest I'm doing in the game, besides wanting the realism mod experience for being a werewolf.

(added at 2:27am est) I defenatly know for sure being a werewolf that transforms every night would mess up starting the thieves guild starter quest...

A post made in the topic http://www.gamesas.com/index.php?/topic/1120469-quick-questions-quick-answers-the-26th/page__st__140 page 8, 5 posts down made by AndalayBay suggests there's a way to track the moon phases in their post of a snippet of code from the orrery dlc. I'm way too new to this sorta thing to do it on my own at the moment that's why I'm making this request.

Added a bit latter: incase the topic above ever goes poof into cyber space the post is below.

_______________________________
User is offline AndalayBay

*
* Diviner
* PipPipPip

* Add as Friend
* PM this member

* Group: Members
* Joined: 07-April 09
* Location:Ontario, Canada

Posted 24 November 2010 - 02:19 PM

View Postghastley, on 24 November 2010 - 12:34 PM, said:
Is there any way a script can determine the phase of either moon for Lyncanthropic purposes?. Since this is determined by worldspace, I'm confining this to Tamriel, where I hope no mods are messing with the climate settings and changing the cycle length after the start.

Also is it true that the cycles for both moons have the same length?

(Edit: I discovered that the Orrery, a plug-in I don't have, is doing this, but is that accurate, or is it using its own phases that don't match the observed ones?)


The Orrery does it manually. It just uses GameDaysPassed. It says there are eight phases of the moons (0-7). I don't know too much about the moon phases. Even though I own the plugin, I never use the darn thing once I've activated the Orrery!

Anyway it uses a variable called phasevar and the value of this variable determines which power you get when you click on the console.

Here's the calculation for phasecalc:

if ( GetStage DLCOrrery > 30 )
if ( dayspassed != GameDaysPassed )
set dayspassed to GameDaysPassed
set phasecalc to dayspassed
set calcdone to 1
endif
if ( calcdone == 1 )
if ( phasecalc == 0 )
set phasevar to 0
set calcdone to 2
set buttonvar to -1
elseif ( phasecalc < 24 )
set phasevar to ( phasecalc / 3 )
set calcdone to 2
set buttonvar to -1
elseif ( phasecalc == 24 )
set phasevar to 0
set calcdone to 2
set buttonvar to -1
else
set phasecalc to ( phasecalc - 24 )
return
endif
endif
endif



Not sure if this helps much...

This post has been edited by andalaybay: 24 November 2010 - 02:21 PM
User avatar
KRistina Karlsson
 
Posts: 3383
Joined: Tue Jun 20, 2006 9:22 pm

Return to IV - Oblivion