Jump to content

xWilburCobbx

Members
  • Posts

    92
  • Joined

  • Last visited

Nexus Mods Profile

About xWilburCobbx

Profile Fields

  • Country
    United States
  • Favourite Game
    Dark Souls

xWilburCobbx's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I also have this issue, everytime I launch the CK it seems to vary in how bad it is. I suspect it has something to do with resizing the preview window.
  2. I have answered my own question! As it turns out, it just shows the objectives in the order the script sets them in, I don't know why it didn't dawn on me till now. So (90) is at the bottom, and (5) is at the top. self.SetObjectiveDisplayed(90) self.SetObjectiveDisplayed(80) self.SetObjectiveDisplayed(75) self.SetObjectiveDisplayed(74) self.SetObjectiveDisplayed(70) self.SetObjectiveDisplayed(60) self.SetObjectiveDisplayed(50) self.SetObjectiveDisplayed(40) self.SetObjectiveDisplayed(30) self.SetObjectiveDisplayed(6) self.SetObjectiveDisplayed(5)
  3. Ok new development... It's got to be something SKI UI is doing. If I set the value by using the OnOptionDefault() function with a float value that is set to 0.1, it will work normally. float Property fDefPer = 0.1 auto event OnOptionDefault(int option) gPercent.SetValue(fDefPer) fPer = fDefPer SetSliderOptionValue(_Multiplier, fPer, "x{2}") IncQS.UpdStatVal() iTot = gTotIncStat.GetValue() as int ;Updates the ForceMoney value SetTextOptionValue(_ForceMoney, iTot) endEvent Something about SKI UI's slider system is probably outputting strange values.
  4. I don't know why this is happening, but I have a simple math operation that takes a global variable, multiplies it by 0.1. Normally this outputs like it should, but if I use an MCM programmed for SKI UI to adjust the 0.1 and put it back, it outputs the value by 1 less then it should. This script fragment is the main one that runs this calculation: gTotalPaid.GetValue() = 5,000 * gPercent.GetValue() = 0.1 fTot = (gTotalPaid.GetValue() * gPercent.GetValue()) gTotIncStat.SetValue(fTot) fTot outputs 500 if untouched, but if I move it up to 0.11 and back to 0.10, it then outputs 499. This isn't the full code, but this is what I use for my SKU UI. These are the important pieces of the code that actually do the adjustments: What's weird is it will subtract 1 from only some multiples. Multiples of 0.05 generally subtract 1, but not all. 0.08 will even give me a flat 400. Does anyone know why Papyrus calculates like this? It shouldn't be rounding up/down since 0.10 should be outputting whole numbers. It just takes 1 away from the result on some multiplier values for seemingly no reason.
  5. Sounds worse than lumping them all together to be honest, imagine having 11+ quests in your list! I think what I have isn't too bad, some things are getting moved around to different quest anyways.
  6. That's probably what I would do normally, but in this case it's extremely important all 11 objectives are available at once. It doesn't look too bad when your inside cities, but some cities are outside and it crowds the compass a bit. The game will embolden the closest objective so it's not horrible, but it might be a bit inconvenient if the player has to double check the map in some cases.
  7. I actually have two different questions. The way my quest works you need to have a lot of objective markers, it has 11 and they are all displayed at once. To help keep the objectives in order, I tried changing the IDs of my first two objectives so it fits in the list alphabetically. In game they just show in the order they were created in! Even if I delete them and recreate them using the same IDs they still appear in their original place. Also, is there a way to make the objectives selectable? Like the Misc quest, but without actually putting in the misc quest. None of these are necessarily game breaking, but if there is any way I can improve the aesthetic I would like to know. My mod is gonna ship soon and I want to make it look it's best.
  8. Yeah, I figured as much, thanks for clarifying. Its super useful to know that once a function is ran, no matter what state the script changes to while running the function, it wont stop and it will only change for future runs.
  9. You aren't kidding! I typo'd "GotoState("Standby")" and wrote "Standb" I had a bit of a hard time understanding why my trigger wasn't usable after I clicked away the fail message. I opened the .psc back up and immediately spotted it, luckily my script is small!
  10. Noted. Thanks! I changed it up, I wasn't aware changing the state didn't end the current function abruptly. Which brings me to my next consistently recurring train of thought. What will force a script to drop what it's doing, besides "return"? Would this work? Or will it only read the current running function before before having issues? I have a feeling this will fail to run "MyFunc()" inside the "Waiting" state, and will run the one inside the empty state instead. That would makes since to me, but let's make sure I am not going insane here.
  11. That's actually kind of crazy. My SSD is rated to last up to 10 years or more, SSDs in general are actually surpassing HDDs in life span. This is with normal use as well. My lap can only house 1 SATA drive at a time, I was only able to install my Samsung because newer PCs have M.2 slots and that's what I ordered it with. So I actually have 3GBs of storage, 1GB of an ultra high speed M.2 SSD, and 2GB of a SATA SSD which is slower, but not noticeably. No need! If you insist you have my permission, but It was a very simply test. I also got to learn that the CK is limited in how fast it can operate, which is advantageous knowledge to anyone who is sketchy about its overall performance. This program was released in 2012? That's not even counting its existence for developers, could go all the way back as far as Morrowind! It's an ancient piece of software, that has way too many bugs to count. Its a no wonder it runs like truck.
  12. This is interesting actually, I never knew because I always just use Funcion when I make them. Makes since I wouldn't know that, especially if declaring it an Event is moot.
  13. Well ReDragon2013 gave me a new idea, funny enough it's actually related to a completely different issue with the script, the way you re-did my delete function with "myF_REM(Int i = 0)" got me thinking about it. I didn't remember I could only do 1 Linked Reference per keyword on an object, so I changed the system to dynamically erase every object in a linked chain. "change button position to prevent ESC pressed error" I have never heard of this one before, when I go into the game I can't use ESC to exit, and when I turn my controller on it forces me to pick one of the options. Is this related to SkyUI? I have been testing this mod on the vanilla version, trying to keep it away from dependencies since the mod is just too simple. Also, you really go out of your way to re-write the script in your own technique, that's pretty awesome. What I notice is you really like to use IF statements then manually force the script to stop with RETURN. Why is that? Do you just like to keep things on 1 level for read-ability? maxarturo I decided to use your way because it makes me feel like my script has more stable security against multiple activations. Though I don't know if it actually does, or if using a bool/int does the job equally well. testiger2 & NexusComa2 I am no programmer! So I don't understand concepts like "Fist time Flag" yet. I am scratching the surface on learning more advanced methods of scripting, so I appreciate the knowledge. So, this is what I have come up with, it does 1 new operation but it does essentially the same thing. The only thing that I am unsure of is using a while loop in "Function DeleteRef()". I heard this can bloat saves, but is it fine if its just fired for a brief amount of time? I feel like uninstalling the mod while its actively doing this in a save is a highly unlikely phenomenon.
  14. I used my phone to time everything out, and here are the results. System OS: Windows 10 Home 64-bit System Manufacturer: Micro-Star International Co., Ltd. System Model: GL75 9SDK Processor: IntelĀ® Core i7-9750H CPU @ 2.60GHz (12 CPUs), ~2.6GHz Memory: 16384MB RAM GPU: NVIDIA GeForce GTX 1660 Ti Drive: Samsung SSD 860 EVO 2TB Results Run 1 Dawnguard.esm Dragonborn.esm HearthFires.esm Skyrim.esm Update.esm (~2:41) Run 2 Dawnguard.esm Dragonborn.esm HearthFires.esm Skyrim.esm Update.esm TESV - MiddleEarth.esm TESVMiddelearthII.esp (~4:16) Cell load (~2:00) (This one was hard to do speaking CK was having viewport issues. Its took 5sec to load all the object references and get into the cell, and about 2 minutes to load the models in the viewport for the cell & 6 neighboring cells.) Conclusion I would run the same test and compare your results, people in general have a bad sense of time! I thought it only took less than 1 min to load the base game+dlc, but I was way off! If you are right, then I don't see much of a reason to invest in a more a powerful system just for this purpose. Even if its an extra minute or 2, it wouldn't make sense. Only buy a new PC if you plan on doing current gen gaming with it.
  15. There is some pretty big differences. https://www.creationkit.com/index.php?title=Events_Reference You can't just make events like you can functions. Example 1 is the way to go, besides why would you want launch an event from an event? If it has to initiate through 1 event, then any functions it runs are all based on the event anyways. You can add multiple events to the script though. Event OnInit() EndEvent Event OnActivate() EndEvent
×
×
  • Create New...