IkeCoast Posted March 21, 2015 Share Posted March 21, 2015 Fired my CSE to check something and forgot I HAVE a d3d9.dll in my Oblivion folder. http://www.nastyhobbit.org/data/media/13/picard-facepalm.jpg As soon as I finish defibrillating my modding computer, I'll reply here. Cheers! Link to comment Share on other sites More sharing options...
lupicatalum Posted March 21, 2015 Author Share Posted March 21, 2015 LMAO I havent laughed like that in ages! My fiancee says youre really clever and she likes you lol Link to comment Share on other sites More sharing options...
IkeCoast Posted March 21, 2015 Share Posted March 21, 2015 Thanks, Lupis, and your fiancée too. Well, sorry, but you left me behind a long time ago. I don't understand any of the error messages you got, other than it looks like the script that is causing you these troubles has not been assigned to a reference (an object), and we know that's not the case. I'm out of ideas here. I had the idea of installing the Mannequins mod you use as a master and then replicating your same steps, but even if I encounter the same errors as you, we will not be closer to the fix than before. I feel like Lieutenant Worf trying to fix the warp drive core before it fuses. With a pair of pliers. Sorry. Cheers! Link to comment Share on other sites More sharing options...
lupicatalum Posted March 21, 2015 Author Share Posted March 21, 2015 does CSE add any scripting capabilities or is it just OBSE that does that? do I have any scripting benifits specifically with CSE? Link to comment Share on other sites More sharing options...
IkeCoast Posted March 21, 2015 Share Posted March 21, 2015 It's OBSE what adds the scripting capabilities. CSE allows you to use these capabilities. But it also adds other features, like the ability to use esps as masters, improved performance... you should read the pdf to see all of them. Without the CSE, you can't use OBSE commands in your scripts unless you put them in external ini files, I think. Cheers! Link to comment Share on other sites More sharing options...
Striker879 Posted March 21, 2015 Share Posted March 21, 2015 The vanilla CS will recognize/use OBSE functions if you start it following the instructions in obse_readme.txt (start it with the CS shortcut pointing to ...\obse_loader.exe" -editor). I don't think the regular CS will be able to edit your mod with it's ESP masters though (so we're back to that WB ESMify/ESPify thing). I believe that CSE extends the abilities of the Script Editor as well as making it OBSE aware/compatible. Link to comment Share on other sites More sharing options...
IkeCoast Posted March 21, 2015 Share Posted March 21, 2015 Whoa, yes, the obse_loader.exe -editor command so the vanilla CS can recognize OBSE script commands. But as you point, Striker, this will disable the esp as a master function. Sigh. I share a trait with Chancellor Meresin: I do HATE not knowing things. Cheers! Link to comment Share on other sites More sharing options...
lupicatalum Posted March 21, 2015 Author Share Posted March 21, 2015 then ill use ini's if I release a mod with scripting. I can use the regular cs for scripting. problem solved. heres the mannequin script. ScriptName ReznodMannequinMarbleFScriptRef MySelfShort MessageStatusShort MessageAnswerShort CurrentStateShort MyAlertShort EditShort PoseShort SneakShort AlertShort UpdatePoseFloat TimerShort DummyCountFloat MyXFloat MyYFloat MyZFloat MyRotBegin OnLoadif ( MyX == 0 )if ( MyY == 0 )if ( MyZ == 0 )if ( MyRot == 0 ) set MyX to Player.GetPos X set MyY to Player.GetPos Y set MyZ to Player.GetPos Z set MyRot to Player.GetAngle Z set Pose to 0 set Sneak to 0 set Alert to 0endifendifendifendifSetForceSneak Sneakif ( Pose == 0 ) PlayGroup Idle 1elseif ( Pose == 1 ) PlayGroup BlockIdle 1elseif ( Pose == 2 ) PlayGroup CastSelf 1 ; leftelseif ( Pose == 3 ) PlayGroup CastSelfAlt 1 ; rightelseif ( Pose == 4 ) PlayGroup CastTarget 1 ; leftelseif ( Pose == 5 ) PlayGroup CastTargetAlt 1 ; rightelseif ( Pose == 6 ) PlayGroup CastTouch 1 ; two handedelseif ( Pose == 7 ) PlayGroup CastTouchAlt 1 ; right endifset Timer to 0SetGhost 1EndBegin OnActivateset MessageStatus to 1set MyX to GetPos Xset MyY to GetPos Yset MyZ to GetPos Zset MyRot to GetAngle ZEndBegin GameModeif ( Edit == 0 )if ( UpdatePose == 1 ) set MySelf to GetSelf if ( CurrentState == 0 ) set CurrentState to 1 endifelseif ( UpdatePose == 2 ) set UpdatePose to 0 set ReznodMannequinPoseActiveRef.MyRef to MySelf ReznodMannequinPoseActiveRef.MoveTo MySelf MoveTo ReznodMannequinContainerObjectendifendifif ( Timer < 0.8 ) set Timer to ( Timer + GetSecondsPassed )else SetUnconscious 1 SkipAnimendifif ( GetItemCount ReznodMannequinDummyWeapon > 1 ) set DummyCount to ( GetItemCount ReznodMannequinDummyWeapon - 1 ) RemoveItem ReznodMannequinDummyWeapon DummyCountelseif ( GetItemCount ReznodMannequinDummyWeapon == 0 ) AddItem ReznodMannequinDummyWeapon 1endifif ( CurrentState > 0 ) if ( CurrentState == 1 ) RemoveAllItems ReznodMannequinContainerObject set CurrentState to 2 Return elseif ( CurrentState == 2 ) SetUnconscious 0 ReznodMannequinContainerObject.RemoveAllItems MySelf SetAV Luck 0 set CurrentState to 3 Return elseif ( CurrentState == 3 ) EvaluatePackage ReznodMannequinActorAIWearable set CurrentState to 4 Return elseif ( CurrentState == 4 ) SetAV Luck 1 set CurrentState to 5 Return elseif ( CurrentState == 5 ) EvaluatePackage ReznodMannequinActorAIArmor SetAlert Alert set CurrentState to 6 Return elseif ( CurrentState < 10 ) set CurrentState to ( CurrentState + 1 ) Return else SetUnconscious 1 set UpdatePose to 2 set CurrentState to 0 endifelse SetPos X MyX SetPos Y MyY SetPos Z MyZ SetAngle Z MyRotendifif ( MessageStatus == 0 ) Returnelseif ( MessageStatus == 1 ) MessageBox "What would you like to do?" "Return" "Modify Inventory" "Pick Up" "Pose" set Edit to 1 set MessageStatus to 2elseif ( MessageStatus == 2 ) set MessageAnswer to GetButtonPressed if ( MessageAnswer == -1 ) Return elseif ( MessageAnswer == 0 ) set Edit to 0 set MessageStatus to 0 Return elseif ( MessageAnswer == 1 ) RemoveItem ReznodMannequinDummyWeapon 1 RemoveAllItems ReznodMannequinContainerObject ReznodMannequinContainerObject.Activate Player 1 set UpdatePose to 1 set MessageStatus to 1 Return elseif ( MessageAnswer == 2 ) RemoveItem ReznodMannequinDummyWeapon 1 RemoveAllItems Player Player.AddItem ReznodMannequinMarbleFObject 1 set MyX to 0 set MyY to 0 set MyZ to 0 set MyRot to 0 MoveTo ReznodMannequinContainerObject Return elseif ( MessageAnswer == 3 ) set MessageStatus to 3 Return endifelseif ( MessageStatus == 3 ) if ( Sneak == 1 ) if ( Alert == 1 ) if ( Pose == 1 ) MessageBox "What pose would you like?" "Return" "Face" "* Toggle Sneak" "* Toggle Weapon Drawn" "* Toggle Sheild Raised" "Casting Options" elseif ( Pose == 0 ) MessageBox "What pose would you like?" "Return" "Face" "* Toggle Sneak" "* Toggle Weapon Drawn" "Toggle Sheild Raised" "Casting Options" else MessageBox "What pose would you like?" "Return" "Face" "* Toggle Sneak" "* Toggle Weapon Drawn" "Toggle Sheild Raised" "* Casting Options" endif else if ( Pose == 1 ) MessageBox "What pose would you like?" "Return" "Face" "* Toggle Sneak" "Toggle Weapon Drawn" "* Toggle Sheild Raised" "Casting Options" elseif ( Pose == 0 ) MessageBox "What pose would you like?" "Return" "Face" "* Toggle Sneak" "Toggle Weapon Drawn" "Toggle Sheild Raised" "Casting Options" else MessageBox "What pose would you like?" "Return" "Face" "* Toggle Sneak" "Toggle Weapon Drawn" "Toggle Sheild Raised" "* Casting Options" endif endif else if ( Alert == 1 ) if ( Pose == 1 ) MessageBox "What pose would you like?" "Return" "Face" "Toggle Sneak" "* Toggle Weapon Drawn" "* Toggle Sheild Raised" "Casting Options" elseif ( Pose == 0 ) MessageBox "What pose would you like?" "Return" "Face" "Toggle Sneak" "* Toggle Weapon Drawn" "Toggle Sheild Raised" "Casting Options" else MessageBox "What pose would you like?" "Return" "Face" "Toggle Sneak" "* Toggle Weapon Drawn" "Toggle Sheild Raised" "* Casting Options" endif else if ( Pose == 1 ) MessageBox "What pose would you like?" "Return" "Face" "Toggle Sneak" "Toggle Weapon Drawn" "* Toggle Sheild Raised" "Casting Options" elseif ( Pose == 0 ) MessageBox "What pose would you like?" "Return" "Face" "Toggle Sneak" "Toggle Weapon Drawn" "Toggle Sheild Raised" "Casting Options" else MessageBox "What pose would you like?" "Return" "Face" "Toggle Sneak" "Toggle Weapon Drawn" "Toggle Sheild Raised" "* Casting Options" endif endif endif set MessageStatus to 4elseif ( MessageStatus == 4 ) set MessageAnswer to GetButtonPressed if ( MessageAnswer == -1 ) Return elseif ( MessageAnswer == 0 ) set MessageStatus to 1 Return elseif ( MessageAnswer == 1 ) set MyRot to ( Player.GetAngle Z - 180 ) set UpdatePose to 1 set MessageStatus to 3 Return elseif ( MessageAnswer == 2 ) if ( Sneak == 0 ) set Sneak to 1 else set Sneak to 0 endif set UpdatePose to 1 set MessageStatus to 3 Return elseif ( MessageAnswer == 3 ) if ( Alert == 0 ) set Alert to 1 else set Alert to 0 endif set UpdatePose to 1 set MessageStatus to 3 Return elseif ( MessageAnswer == 4 ) if ( Pose == 1 ) set Pose to 0 else set Pose to 1 endif set UpdatePose to 1 set MessageStatus to 3 Return elseif ( MessageAnswer == 5 ) set MessageStatus to 5 Return endifelseif ( MessageStatus == 5 ) if ( Pose == 2 || Pose == 3 ) MessageBox "What type of casting would you like to pose?" "Return" "* Self" "Target" "Touch" elseif ( Pose == 4 || Pose == 5 ) MessageBox "What type of casting would you like to pose?" "Return" "Self" "* Target" "Touch" elseif ( Pose == 6 || Pose == 7 ) MessageBox "What type of casting would you like to pose?" "Return" "Self" "Target" "* Touch" else MessageBox "What type of casting would you like to pose?" "Return" "Self" "Target" "Touch" endif set MessageStatus to 6elseif ( MessageStatus == 6 ) set MessageAnswer to GetButtonPressed if ( MessageAnswer == -1 ) Return elseif ( MessageAnswer == 0 ) set MessageStatus to 3 Return elseif ( MessageAnswer == 1 ) set MessageStatus to 7 Return elseif ( MessageAnswer == 2 ) set MessageStatus to 9 Return elseif ( MessageAnswer == 3 ) set MessageStatus to 11 Return endifelseif ( MessageStatus == 7 ) if ( Pose == 2 ) MessageBox "What variation of cast on self would you like to pose?" "Return" "* Left Handed" "Right Handed" elseif ( Pose == 3 ) MessageBox "What variation of cast on self would you like to pose?" "Return" "Left Handed" "* Right Handed" else MessageBox "What variation of cast on self would you like to pose?" "Return" "Left Handed" "Right Handed" endif set MessageStatus to 8elseif ( MessageStatus == 8 ) set MessageAnswer to GetButtonPressed if ( MessageAnswer == -1 ) Return elseif ( MessageAnswer == 0 ) set MessageStatus to 5 Return elseif ( MessageAnswer == 1 ) set Pose to 2 set UpdatePose to 1 set MessageStatus to 7 Return elseif ( MessageAnswer == 2 ) set Pose to 3 set UpdatePose to 1 set MessageStatus to 7 Return endifelseif ( MessageStatus == 9 ) if ( Pose == 4 ) MessageBox "What variation of cast on target would you like to pose?" "Return" "* Left Handed" "Right Handed" elseif ( Pose == 5 ) MessageBox "What variation of cast on target would you like to pose?" "Return" "Left Handed" "* Right Handed" else MessageBox "What variation of cast on target would you like to pose?" "Return" "Left Handed" "Right Handed" endif set MessageStatus to 10elseif ( MessageStatus == 10 ) set MessageAnswer to GetButtonPressed if ( MessageAnswer == -1 ) Return elseif ( MessageAnswer == 0 ) set MessageStatus to 5 Return elseif ( MessageAnswer == 1 ) set Pose to 4 set UpdatePose to 1 set MessageStatus to 9 Return elseif ( MessageAnswer == 2 ) set Pose to 5 set UpdatePose to 1 set MessageStatus to 9 Return endifelseif ( MessageStatus == 11 ) if ( Pose == 6 ) MessageBox "What variation of cast on touch would you like to pose?" "Return" "* Two Handed" "Right Handed" elseif ( Pose == 7 ) MessageBox "What variation of cast on touch would you like to pose?" "Return" "Two Handed" "* Right Handed" else MessageBox "What variation of cast on touch would you like to pose?" "Return" "Two Handed" "Right Handed" endif set MessageStatus to 12elseif ( MessageStatus == 12 ) set MessageAnswer to GetButtonPressed if ( MessageAnswer == -1 ) Return elseif ( MessageAnswer == 0 ) set MessageStatus to 5 Return elseif ( MessageAnswer == 1 ) set Pose to 6 set UpdatePose to 1 set MessageStatus to 11 Return elseif ( MessageAnswer == 2 ) set Pose to 7 set UpdatePose to 1 set MessageStatus to 11 Return endifendifEnd Link to comment Share on other sites More sharing options...
lupicatalum Posted March 21, 2015 Author Share Posted March 21, 2015 I realize neither of you are scripting gurus and ill use the obse loader thing for scripting then. I will NOT let this bump derail me Link to comment Share on other sites More sharing options...
Striker879 Posted March 22, 2015 Share Posted March 22, 2015 If CSE is just chocking when you try to load the original Reznod script why not copy it (using the regular CS) and paste it into Notepad, do your edit in Notepad, copy the edited version from Notepad and then paste it into a blank script in CSE. Maybe it will compile (make sure not to hit Compile All ... very bad idea). Link to comment Share on other sites More sharing options...
Recommended Posts