MGE-XE functions documentation

Post » Tue Jan 19, 2016 7:42 am

XE Sky Variations.esp is helpful for deciphering sky/fog/ambient/sun colour functions but otherwise I'm at a loss how to interpret the usage (if indeed they are usable) of other functions defined in the MGE-XE customfunctions.dat file. Interesting sounding functions include texture (MGESetMeshTexture, etc), mesh (MGELoadMesh, etc) and I/O related (MGEPushKey, etc) ones.

User avatar
Spooky Angel
 
Posts: 3500
Joined: Thu Aug 10, 2006 5:41 pm

Post » Tue Jan 19, 2016 9:11 am

Many of them don't work at all. Or, at least, I was never able to get them to work. MGEPushKey would've been nice, same for MGEGetEyeVec. Honestly the modding wiki could use an update across the board for MWSE/MGEXE documentation, most of Merz' new functions aren't even listed.

User avatar
Lauren Denman
 
Posts: 3382
Joined: Fri Jun 16, 2006 10:29 am

Post » Tue Jan 19, 2016 5:14 pm


Thanks for sharing your knowledge and experience, as always. For now, I'll proceed with what is documented somewhere or another. It's probably better that way; I've got more than enough to keep me busy already.

User avatar
Milagros Osorio
 
Posts: 3426
Joined: Fri Aug 25, 2006 4:33 pm

Post » Tue Jan 19, 2016 8:35 pm


Took a look at the source code. Here's the ones that (should?) work with latest MGE XE beta.


Spoiler

xGetGS
xSetGS

xSetSunriseSunset
xSetWeatherAmbient
xSetWeatherFog
xSetWeatherScattering
xSetWeatherSky
xSetWeatherSun

MGEWipeAll
MGEOutputDebugString
MGEOutputVersionString
MGEGetVersion
MGEGetScreenWidth
MGEGetScreenHeight

MGEWipeHUDElements
MGEWithHUD
MGECancelWithHUD
MGELoadHUD
MGEPositionHUD
MGEScaleHUD
MGEFullscreenHUD
MGEEnableHUD
MGEDisableHUD
MGEChangeHUDTexture
MGEChangeHUDEffect
MGEFreeHUD
MGENIDLoadHUD
MGENIDPositionHUD
MGENIDScaleHUD
MGENIDFullscreenHUD
MGENIDEnableHUD
MGENIDDisableHUD
MGENIDChangeHUDTexture
MGENIDChangeHUDEffect
MGENIDFreeHUD

MGEEnableZoom
MGEDisableZoom
MGEToggleZoom
MGEZoomIn
MGEZoomOut
MGEZoomInBy
MGEZoomOutBy
MGESetZoom
MGEZoom
MGEStopZoom
MGEGetZoom

MGEEnableShader
MGEDisableShader
MGESetShaderFloat
MGESetShaderLong
MGESetShaderVector

User avatar
Maria Garcia
 
Posts: 3358
Joined: Sat Jul 01, 2006 6:59 am

Post » Tue Jan 19, 2016 9:57 am


Thanks. Good to know for future reference.

User avatar
Lory Da Costa
 
Posts: 3463
Joined: Fri Dec 15, 2006 12:30 pm


Return to III - Morrowind