if player.GetIssix Male let filepath := GetBipedModelPath 0 upperbodyrefelseif player.GetIssix Female let filepath := GetBipedModelPath 1 upperbodyrefendiflet nifID := NifOpen $filepath 1let filepath := NifGetPath nifIDset tempvalue to 1while tempvalue <= NifGetNumChildren nifID ;<--------- This is the line where it crashes; if NifGetNthChildMaterial tempvalue nifID == skin; set upperbodystep to 2; message "Yes skin found"; endif set tempvalue to tempvalue + 1loop
let nifID := NifOpen $filepath 1let filepath := NifGetPath nifIDset tempvalue to 1while tempvalue <= NifGetNumChildren nifID set material to NifGetNthChildMaterial tempvalue nifID if sv_Compare skin material == 0 set upperbodystep to 2 messagebox "Yes skin found" endif set tempvalue to tempvalue + 1loopNifClose nifID
NifClose - Closing nif #32-0getRegNif - Finding nif registered as #32-0.getRegNif - Nif #32-0 found.getRegNif - Nif root is good.
scn Scriptshort mtbInvalidint Stageint ReEquipint Switchedint iNifIDint ixNiffloat fQuestDelayTimefloat mtfM11float mtfM12float mtfM13float mtfM21float mtfM22float mtfM23float mtfM31float mtfM32float mtfM33float mtfVXfloat mtfVYfloat mtfVZref Shieldref rScriptstring_var mtsShieldPathstring_var mtsBackshieldPathstring_var mttPercentifiedPatharray_var mtaMatrixRotation ;3x3 array of floatsarray_var mtaVectorTranslation ;length 3 array of floats, with the format [x y z]Begin Gamemode let rScript := Script let Shield := ReverseShield SetDebugMode 1 if ( Stage == -1 ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Nif reportet as invalid." NifClose iNifID PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " UnequipItem Shield." if ( Player.GetEquipped Shield ) Player.UnequipItemNS Shield endif PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Restore Path." let mttPercentifiedPath := ( sv_Percentify mtsShieldPath ) SetBipedModelPathEx $mttPercentifiedPath, 0, Shield PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Reset Variables." sv_Destruct mtsShieldPath, mtsBackshieldPath, mttPercentifiedPath let mtaMatrixRotation := mtaVectorTranslation := ar_Null ResetAllVariables PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " StopQuest." StopQuest Quest Return elseif ( Player.GetEquipped Shield ) if ( Player.IsWeaponOut == Switched ) Player.UnequipItemNS Shield let ReEquip := 1 if Eval ( !( Switched := ( !Player.IsWeaponOut ) ) ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Switch to normal mode." let mttPercentifiedPath := ( sv_Percentify mtsShieldPath ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Switch to backshield mode." let mttPercentifiedPath := ( sv_Percentify mtsBackshieldPath ) endif SetBipedModelPathEx $mttPercentifiedPath, 0, Shield sv_Destruct mttPercentifiedPath endif Return elseif ( ReEquip ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " ReEquip Shield." Player.EquipItemNS Shield let ReEquip := 0 Return elseif ( Stage < 5 ) && ( Stage > -1 ) let Stage += 1 if ( Stage == 1 ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Set fQuestDelayTime." let fQuestDelayTime := 0.1 Return elseif ( Stage == 2 ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " AddItem Shield." Player.AddItemNS Shield 1 Return elseif ( Stage == 3 ) let mtsShieldPath := ( GetBipedModelPath, 0, Shield ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " ShieldPath: %q" + mtsShieldPath + "%q" Return elseif ( Stage == 4 ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " NifOpen." let iNifID := ( NifOpen $mtsShieldPath, 1 ) ;Change Slot let ixNif := -1 While ( ( ixNif += 1 ) < ( NifGetNumExtraData iNifID ) ) if Eval ( "NiStringExtraData" == ( NifGetNthExtraDataType ixNif, iNifID ) ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Corrct ExtraDataType." if Eval ( "Prn" == ( NifGetNthExtraDataName ixNif, iNifID ) ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Correct ExtraDataName." Break endif endif Loop let mtbInvalid := ( ( ixNif == ( NifGetNumExtraData iNifID ) ) || ( "Bip01 L ForearmTwist" != ( NifGetNthExtraDataString ixNif, iNifID ) ) ) if Eval ( !mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Change ExtraDataString." let mtbInvalid := ( !NifSetNthExtraDataString "Bip01 L Shoulder Helper", ixNif, iNifID ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Error before changing ExtraDataString." endif ;Adjust Rotation & Translation if Eval ( !mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Searching Shield:2." let mtbInvalid := ( ( ixNif := ( NifGetChildIndexByName "Shield:2", iNifID ) ) == -1 ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Error before searching Shield:2." endif if Eval ( !mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Checking Type." let mtbInvalid := ( "NiTriStrips" != ( NifGetNthChildType ixNif, iNifID ) ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Error before checking Type." endif if Eval ( !mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Get Rotation Matrix & Translation Vector." let mtaMatrixRotation := ( NifGetNthChildLocalRotation ixNif, iNifID ) let mtaVectorTranslation := ( NifGetNthChildLocalTranslation ixNif, iNifID ) let mtbInvalid := ( ( !LPSoBGlmcbTranslationNonDefaultShields ) && ( ( ( mtaVectorTranslation[0] ) || ( mtaVectorTranslation[1] ) || ( mtaVectorTranslation[2] ) ) || ( ( mtaMatrixRotation[0][0] ) || ( mtaMatrixRotation[0][1] ) || ( mtaMatrixRotation[0][2] ) || ( mtaMatrixRotation[1][0] ) || ( mtaMatrixRotation[1][1] ) || ( mtaMatrixRotation[1][2] ) || ( mtaMatrixRotation[2][0] ) || ( mtaMatrixRotation[2][1] ) || ( mtaMatrixRotation[2][2] ) ) ) ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Error before retrieving Rotation Matrix & Translation Vector." endif if Eval ( !mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Adjust Rotation." ;Rotation ; -0.0249 -0.1966 -0.3256 ; -0.1247 0.9655 -0.2287 ; 0.3593 -0.1710 -0.9174 let mtfM11 := ( mtaMatrixRotation[0][0] -= 1.0249 ) let mtfM12 := ( mtaMatrixRotation[0][1] -= 0.1966 ) let mtfM13 := ( mtaMatrixRotation[0][2] -= 0.3256 ) let mtfM21 := ( mtaMatrixRotation[1][0] -= 0.1247 ) let mtfM22 := ( mtaMatrixRotation[1][1] -= 0.0345 ) let mtfM23 := ( mtaMatrixRotation[1][2] -= 0.2287 ) let mtfM21 := ( mtaMatrixRotation[2][0] += 0.3593 ) let mtfM22 := ( mtaMatrixRotation[2][1] -= 0.1710 ) let mtfM33 := ( mtaMatrixRotation[2][2] -= 1.9174 ) let mtbInvalid := ( !NifSetNthChildLocalRotationTEMP mtfM11, mtfM12, mtfM13, mtfM21, mtfM22, mtfM23, mtfM31, mtfM32, mtfM33, ixNif, iNifID ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Error before adjusting Rotation." endif if Eval ( !mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Adjust Translation." ;Translation ; x: 25 y: -11 z: -20 let mtfVX := ( mtaVectorTranslation[0] += 25 ) let mtfVY := ( mtaVectorTranslation[1] -= 11 ) let mtfVZ := ( mtaVectorTranslation[2] -= 20 ) let mtbInvalid := ( !NifSetNthChildLocalTranslationTEMP mtfVX, mtfVY, mtfVZ, ixNif, iNifID ) else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Error before adjusting Translation." endif ;Unknown Shield Format if ( mtbInvalid ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Unknown shield format." let Stage := -1 MessageBox "Mesh ist nicht zu gebrauchen." Return endif let mtsBackshieldPath := ( NifGetPath iNifID ) PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " Backshield path: %q" + mtsBackshieldPath + "%q" Return else PrintD ( ASCIIToChar 2 ) + "LPRS (" + ( GetFormIDString rScript ) + "):" + ( ASCIIToChar 3 ) + " EquipItem Shield." Player.EquipItemNS Shield Return endif endifEnd
===============================================Game Instance : 1 | Time : 05-21-2010 14-22-49===============================================NifSE::NifLoad - loading saved NifFilesNifSE::NifLoad - Clearing previous RegList.NifSE::NifLoad - Previous RegList cleared.NifSE::NifLoad - Load complete.LPRS (01000803): Set fQuestDelayTime.LPRS (01000803): AddItem Shield.LPRS (01000803): ShieldPath: "ReverseShield.nif"LPRS (01000803): NifOpen.NifSE::NifOpen - "ReverseShield.nif" opened for editing.NifSE::NifFile c'tor - NifFile created for editing.NifSE::NifFile.setRoot - Setting root to root of "ReverseShield.nif"!NifSE::CheckFileLocation - File "ReverseShield.nif" found in folders!NifSE::NifFile.setRoot - Nif read from stream of file "ReverseShield.nif".NifSE::NifFile.setRoot - Nif is good; v20.0.0.5. Loaded 3 ExtraData nodes, collision, 1 Children nodes, and 0 Effects nodes.NifSE::NifFile.setRoot - Editable nif, setting basePath and determining filePath.NifSE::NifFile.reg - Registering "ni\Test-Rohfile_0.nif" on RegList.NifSE::NifFile.reg - Registered as #1-0.NifSE::NifOpen - "ReverseShield.nif" registered as #1-0.NifSE::NifGetNumExtraData - Getting number of ExtraData nodes in nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNumExtraData - Returning 3 ExtraData nodes.NifSE::NifGetNthExtraDataType - Getting the type of ExtraData #0 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthExtraDataType - Returning "BSXFlags".NifSE::NifGetNumExtraData - Getting number of ExtraData nodes in nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNumExtraData - Returning 3 ExtraData nodes.NifSE::NifGetNthExtraDataType - Getting the type of ExtraData #1 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthExtraDataType - Returning "NiStringExtraData".LPRS (01000803): Corrct ExtraDataType.NifSE::NifGetNthExtraDataName - Getting the name of ExtraData #1 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthExtraDataName - Returning "Prn".LPRS (01000803): Correct ExtraDataName.NifSE::NifGetNumExtraData - Getting number of ExtraData nodes in nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNumExtraData - Returning 3 ExtraData nodes.NifSE::NifGetNthExtraDataString - Getting string value of ExtraData #1 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthExtraDataString - Returning "Bip01 L ForearmTwist".LPRS (01000803): Change ExtraDataString.NifSE::NifSetNthExtraDataString - Setting the string value of ExtraData #1 of nif #1-0 to "Bip01 L Shoulder Helper".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifSetNthExtraDataString - ExtraData value set successfully.LPRS (01000803): Searching Shield:2.NifSE::NifGetChildIndexByName - Getting the index of Child "Shield:2" of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifFile.getChildIndexByName - Getting NiAVObject Node "Shield:2".NifSE::NifGetChildIndexByName - Child found.LPRS (01000803): Checking Type.NifSE::NifGetNthChildType - Getting the type of Child #0 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthChildType - Returning "NiTriStrips".LPRS (01000803): Get Rotation Matrix & Translation Vector.NifSE::NifGetNthChildLocalRotation - Getting local Rotation of Child #0 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthChildLocalRotation - Returning child's local rotation.NifSE::NifGetNthChildLocalTranslation - Getting local Translation of Child #0 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetNthChildLocalTranslation - Returning child's local translation.LPRS (01000803): Adjust Rotation.NifSE::NifSetNthChildLocalRotation - Setting local Rotation of Child #0 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifSetNthChildLocalRotation - Local Rotation of Child #0 of nif #1-0 has been set.LPRS (01000803): Adjust Translation.NifSE::NifSetNthChildLocalTranslation - Setting local Translation of Child #0 of nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifSetNthChildLocalTranslation - Local Translation of Child #0 of nif #1-0 has been set.NifSE::NifGetPath - Getting the path to nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifGetPath - Returning "ni\Test-Rohfile_0.nif".LPRS (01000803): Backshield path: "ni\Test-Rohfile_0.nif"LPRS (01000803): EquipItem Shield.LPRS (01000803): Switch to backshield mode.LPRS (01000803): ReEquip Shield.NifSE::CreateNifFile - FileFinder requesting nifScript file "Meshes\ni\Test-Rohfile_0.nif".NifSE::getRefNif - Finding nif with filename "Test-Rohfile_0.nif".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifFile.commitChanges - Writing to "ni\Test-Rohfile_0.nif".NifSE::CreateNifFile - Nif created.NifSE::DeleteNifFile - FileFinder has finished with nifScript file "ni\Test-Rohfile_0.nif".NifSE::getRefNif - Finding nif with filename "Test-Rohfile_0.nif".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::DeleteNifFile - Nif deleted.LPRS (01000803): Switch to normal mode.LPRS (01000803): ReEquip Shield.LPRS (01000803): Switch to backshield mode.LPRS (01000803): ReEquip Shield.NifSE::CreateNifFile - FileFinder requesting nifScript file "Meshes\ni\Test-Rohfile_0.nif".NifSE::getRefNif - Finding nif with filename "Test-Rohfile_0.nif".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifFile.commitChanges - Writing to "ni\Test-Rohfile_0.nif".NifSE::CreateNifFile - Nif created.NifSE::DeleteNifFile - FileFinder has finished with nifScript file "ni\Test-Rohfile_0.nif".NifSE::getRefNif - Finding nif with filename "Test-Rohfile_0.nif".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::DeleteNifFile - Nif deleted.LPRS (01000803): Switch to normal mode.LPRS (01000803): ReEquip Shield.LPRS (01000803): Switch to backshield mode.LPRS (01000803): ReEquip Shield.NifSE::CreateNifFile - FileFinder requesting nifScript file "Meshes\ni\Test-Rohfile_0.nif".NifSE::getRefNif - Finding nif with filename "Test-Rohfile_0.nif".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::NifFile.commitChanges - Writing to "ni\Test-Rohfile_0.nif".NifSE::CreateNifFile - Nif created.NifSE::DeleteNifFile - FileFinder has finished with nifScript file "ni\Test-Rohfile_0.nif".NifSE::getRefNif - Finding nif with filename "Test-Rohfile_0.nif".NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.NifSE::DeleteNifFile - Nif deleted.set quest.stage to -1set Stage >> -1LPRS (01000803): Nif reportet as invalid.NifSE::NifClose - Closing nif #1-0NifSE::getRegNif - Finding nif registered as #1-0.NifSE::getRegNif - Nif #1-0 found.NifSE::getRegNif - Nif root is good.
queryloadoblivion root = D:\Programme\Spiele\Oblivion\List of BSA files: (excluding BSA files known to contain non-NIF data) D:\Programme\Spiele\Oblivion\Data\Clean Spellbook.bsa D:\Programme\Spiele\Oblivion\Data\DLCBattlehornCastle.bsa D:\Programme\Spiele\Oblivion\Data\DLCFrostcrag.bsa D:\Programme\Spiele\Oblivion\Data\DLCHorseArmor.bsa D:\Programme\Spiele\Oblivion\Data\DLCOrrery.bsa D:\Programme\Spiele\Oblivion\Data\DLCShiveringIsles - Meshes.bsa D:\Programme\Spiele\Oblivion\Data\dlcthievesden.bsa D:\Programme\Spiele\Oblivion\Data\DLCVileLair.bsa D:\Programme\Spiele\Oblivion\Data\Knights.bsa D:\Programme\Spiele\Oblivion\Data\LP's Shield On Back.bsa D:\Programme\Spiele\Oblivion\Data\Oblivion - Meshes.bsa D:\Programme\Spiele\Oblivion\Data\Raceenabler.bsa D:\Programme\Spiele\Oblivion\Data\Unarmored Skill for Everyone.bsa 13 total.Registering String Interface.Registering Serialization Interface.Registering NifSE Hooks. Initialization complete.NifLoad - loading saved NifFilesNifLoad - Clearing previous RegList.NifLoad - Previous RegList cleared.NifLoad - Load complete.NifOpen - "ReverseShield.nif" opened for editing.NifFile c'tor - NifFile created for editing.NifFile.setRoot - Setting root to root of "ReverseShield.nif"!CheckFileLocation - File "ReverseShield.nif" found in folders!NifFile.setRoot - Nif read from stream of file "ReverseShield.nif".NifFile.setRoot - Nif is good; v20.0.0.5. Loaded 3 ExtraData nodes, collision, 1 Children nodes, and 0 Effects nodes.NifFile.setRoot - Editable nif, setting basePath and determining filePath.NifFile.reg - Registering "ni\Test-Rohfile_0.nif" on RegList.NifFile.reg - Registered as #1-0.NifOpen - "ReverseShield.nif" registered as #1-0.NifGetNumExtraData - Getting number of ExtraData nodes in nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNumExtraData - Returning 3 ExtraData nodes.NifGetNthExtraDataType - Getting the type of ExtraData #0 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthExtraDataType - Returning "BSXFlags".NifGetNumExtraData - Getting number of ExtraData nodes in nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNumExtraData - Returning 3 ExtraData nodes.NifGetNthExtraDataType - Getting the type of ExtraData #1 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthExtraDataType - Returning "NiStringExtraData".NifGetNthExtraDataName - Getting the name of ExtraData #1 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthExtraDataName - Returning "Prn".NifGetNumExtraData - Getting number of ExtraData nodes in nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNumExtraData - Returning 3 ExtraData nodes.NifGetNthExtraDataString - Getting string value of ExtraData #1 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthExtraDataString - Returning "Bip01 L ForearmTwist".NifSetNthExtraDataString - Setting the string value of ExtraData #1 of nif #1-0 to "Bip01 L Shoulder Helper".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifSetNthExtraDataString - ExtraData value set successfully.NifGetChildIndexByName - Getting the index of Child "Shield:2" of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifFile.getChildIndexByName - Getting NiAVObject Node "Shield:2".NifGetChildIndexByName - Child found.NifGetNthChildType - Getting the type of Child #0 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthChildType - Returning "NiTriStrips".NifGetNthChildLocalRotation - Getting local Rotation of Child #0 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthChildLocalRotation - Returning child's local rotation.NifGetNthChildLocalTranslation - Getting local Translation of Child #0 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetNthChildLocalTranslation - Returning child's local translation.NifSetNthChildLocalRotation - Setting local Rotation of Child #0 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifSetNthChildLocalRotation - Local Rotation of Child #0 of nif #1-0 has been set.NifSetNthChildLocalTranslation - Setting local Translation of Child #0 of nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifSetNthChildLocalTranslation - Local Translation of Child #0 of nif #1-0 has been set.NifGetPath - Getting the path to nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifGetPath - Returning "ni\Test-Rohfile_0.nif".CreateNifFile - FileFinder requesting nifScript file "Meshes\ni\Test-Rohfile_0.nif".getRefNif - Finding nif with filename "Test-Rohfile_0.nif".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifFile.commitChanges - Writing to "ni\Test-Rohfile_0.nif".CreateNifFile - Nif created.DeleteNifFile - FileFinder has finished with nifScript file "ni\Test-Rohfile_0.nif".getRefNif - Finding nif with filename "Test-Rohfile_0.nif".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.DeleteNifFile - Nif deleted.CreateNifFile - FileFinder requesting nifScript file "Meshes\ni\Test-Rohfile_0.nif".getRefNif - Finding nif with filename "Test-Rohfile_0.nif".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifFile.commitChanges - Writing to "ni\Test-Rohfile_0.nif".CreateNifFile - Nif created.DeleteNifFile - FileFinder has finished with nifScript file "ni\Test-Rohfile_0.nif".getRefNif - Finding nif with filename "Test-Rohfile_0.nif".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.DeleteNifFile - Nif deleted.CreateNifFile - FileFinder requesting nifScript file "Meshes\ni\Test-Rohfile_0.nif".getRefNif - Finding nif with filename "Test-Rohfile_0.nif".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.NifFile.commitChanges - Writing to "ni\Test-Rohfile_0.nif".CreateNifFile - Nif created.DeleteNifFile - FileFinder has finished with nifScript file "ni\Test-Rohfile_0.nif".getRefNif - Finding nif with filename "Test-Rohfile_0.nif".getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.DeleteNifFile - Nif deleted.NifClose - Closing nif #1-0getRegNif - Finding nif registered as #1-0.getRegNif - Nif #1-0 found.getRegNif - Nif root is good.
1>tes4_bsa.obj : error LNK2001: unresolved external symbol _inflateInit_1>tes4_bsa.obj : error LNK2001: unresolved external symbol _inflate1>tes4_bsa.obj : error LNK2001: unresolved external symbol _inflateEnd1>D:\Bethesda Softworks\Oblivion\OBSE Source Code\NifSE\Debug - Static\NifSE.dll : fatal error LNK1120: 3 unresolved externals
g_msgIntfc = (OBSEMessagingInterface*)obse->QueryInterface(kInterface_Messaging); g_msgIntfc->RegisterListener(g_pluginHandle, "OBSE", OBSEMessageHandler);
void OBSEMessageHandler(OBSEMessagingInterface::Message* Msg){ if (Msg->type == OBSEMessagingInterface::kMessage_PostLoad) { // initialize script editor components CLIWrapper::InitializeComponents(g_CommandTableData); delete g_CommandTableData; // register known plugins with the messaging API g_msgIntfc->RegisterListener(g_pluginHandle, "NifSE", CSEInteropHandler); g_msgIntfc->RegisterListener(g_pluginHandle, "ConScribe", CSEInteropHandler); // dispatch message to all listeners _D_PRINT("Plugin interop initialized; Message dispatched\n"); g_msgIntfc->Dispatch(g_pluginHandle, 'CSEL', NULL, 0, NULL); }}