<?xml version="1.0"?>
<rss version="2.0"><channel><title>Lozeak random thoughts.</title><link>https://www.loverslab.com/blogs/blog/944-lozeak-random-thoughts/</link><description><![CDATA[
<p>
	Sometimes, I'd like to just write about something but not really intend for anyone to read it, here seems like a good place :D.
</p>

<p>
	Mostly, I'll talk about modding and other mods but I might talk about anything.
</p>
]]></description><language>en</language><item><title>Modders Guide: being compatible with SexLabs/ZAZ/DD mods.</title><link>https://www.loverslab.com/blogs/entry/7003-modders-guide-being-compatible-with-sexlabszazdd-mods/</link><description><![CDATA[<p style="text-align:center;">
	<u><strong>SendModEvent("dhlp-Suspend")/("dhlp-Resume") </strong></u>
</p>

<p>
	 
</p>

<p>
	If you running a scene or a lot of dialog or a scripted event that takes some time use.
</p>

<p>
	 
</p>

<p>
	SendModEvent("dhlp-Suspend") at the start.
</p>

<p>
	SendModEvent("dhlp-Resume") at the end.
</p>

<p>
	 
</p>

<p>
	A lot of mod respect this.
</p>

<p>
	 
</p>

<p>
	If you have something happen to the player that might interrupt a scene/event then you should use 
</p>

<p>
	RegisterForModEvent("dhlp-Suspend", "SuspendEventName")<br />
	RegisterForModEvent("dhlp-Resume", "ResumeEventName")
</p>

<p>
	With the event that create a variable that your mod will use.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p style="text-align:center;">
	<u><strong>DD Keywords</strong></u>
</p>

<p style="text-align:center;">
	 
</p>

<p>
	Devices have keywords to indicate what type of content they are from.
</p>

<p>
	DDs that don't have zad_BlockGeneric or zad_QuestItem, replace/remove do whatever with them they aren't relating to any removal content. 
</p>

<p>
	 
</p>

<p>
	DDs that have zad_BlockGeneric indicate that they are hard to remove and should only be removed by systems that require a decent amount of effort or via the mod owner intention.
</p>

<p>
	Example Whiterun Brothel : you have to be a pony girl and make a few deliverys across skyrim. Older mods may break cause zad_Questitem did not exsist
</p>

<p>
	<br />
	zad_QuestItem most mods should never touch these and work around them. If they do get removed for a quest (not recommended), you NEED to reequip them as soon as your content is done if you don't do this you will likely break other DD mods.
</p>

<p>
	 
</p>

<p style="text-align:center;">
	<u><strong>Slavery mods (AKA Don't enslave slaves)</strong></u>
</p>

<p style="text-align:center;">
	 
</p>

<p>
	If your mod uses ZAZ the using the zbfSlavefaction ranks are the way to go DON'T enslave players that have 0 or higher and when you enslave use the faction 0 or higher to indicate this then set the rank to -1 when your enslavement is over.
</p>

<p>
	 
</p>

<p>
	What about DD slavery mod that don't use ZAZ (i think my mod Devious Followers is the only one !)
</p>

<p>
	First you must RegisterForModEvent("PlayerRefEnslaved", "Your Event Name1"),   RegisterForModEvent("PlayerRefFreed", "Your Event Name2")
</p>

<p>
	When Sendmodevent("PlayerRefEnslaved") from another mod is sent you must have a flag within your mod that stops your mod enslaving the player.
</p>

<p>
	When Sendmodevent("PlayerRefFreed") from another mod is sent you must have a flag within your mod that allows your mod to enslave the player.
</p>

<p>
	 
</p>

<p>
	All DD mod that use this will be compatible with each other !!! 
</p>

<p>
	 
</p>

<p>
	BUT WHAT ABOUT ZAZ &lt;---&gt; DD
</p>

<p>
	 
</p>

<p>
	If SS is installed when you use  SendModEvent("PlayerRefIsFree") it will use either Sendmodevent("PlayerRefEnslaved") or Sendmodevent("PlayerRefFreed")﻿ depending on players status (either zbfFactionslave is being used or another mod has sent Sendmodevent("PlayerRefEnslaved"))
</p>

<p>
	 
</p>

<p>
	After this is done if you use this check to make sure your not enslaving a already enslaved player. 
</p>

<p>
	Use Sendmodevent("PlayerRefEnslaved") at the start of your enslavement and SS will add zbfSlaveFactions for you and all mods that have that check will not touch your captured player until they escape.
</p>

<p>
	When you are freeing a player/or they escape use Sendmodevent("PlayerRefFreed") and SS will use zbfSlaveFactions to mark the player as fair game for slavery mods that use zaz, and for DD mods that have registered this mod event.
</p>

<p>
	 
</p>

<p>
	Step by step of how it should work.
</p>

<ol>
	<li>
		Player has met conditions to be enslaved
	</li>
	<li>
		Either before(onUpdateloop) or now your Mod uses SendModEvent("PlayerRefIsFree")
	</li>
	<li>
		SS will either do Sendmodevent("PlayerRefEnslaved") or Sendmodevent("PlayerRefFreed") back
	</li>
	<li>
		If Sendmodevent("PlayerRefFreed") was the result you enslave player. Otherwise you don't and stop here.
	</li>
	<li>
		If you enslave player use Sendmodevent("PlayerRefEnslaved") 
	</li>
	<li>
		At end of enslavement use Sendmodevent("PlayerRefFreed")
	</li>
</ol>

<p>
	With SS you will be compatible with all mods that use zbfSlaveFaction on the player correctly.
</p>

<p>
	 
</p>

<p style="text-align:center;">
	<u><strong>Guide to DD and not having access to Disable player controls.</strong></u>
</p>

<p style="text-align:center;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	So since DD4.0 + You are unable to use DisablePlayerControls in mod because some item cause DD to spam enable player controls on some things (Movement,Fighting,Sneaking,Menu,Activation)
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	Here are some of my solutions to get these thing back.
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	<br />
	For Movement = game.setplayeraidriven(true) will stop player moving,
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	game.setplayeraidriven(False) to reenable, 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	Fighting =
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 An Update loop calling 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 Game.GetPlayer().UnequipItem(Game.GetPlayer().GetEquippedWeapon(),false,true)    Game.GetPlayer().UnequipItem(Game.GetPlayer().GetEquippedWeapon(true),false,true)<br />
	Game.GetPlayer().UnequipSpell(Game.GetPlayer(). GetEquippedSpell(),0),0)<br />
	Game.GetPlayer().UnequipSpell(Game.GetPlayer(). GetEquippedSpell(),1),1)<br />
	Game.GetPlayer().UnequipSpell(Game.GetPlayer(). GetEquippedSpell(),2),2)<br />
	) (this will allow player to enter combat but only with bare hands)<br />
	(if used with game.setplayeraidriven(true) the player can still spin around by drawing weapon)<br />
	OR <br />
	You could make an armbinder and ankle chains DDs with no model to do this.<br />
	(This is the cleanest looking way but you may not want the player to have hands around there back and you can’t do other things)<br />
	OR<br />
	Update loop with <br />
	PlayerRef.IsWeaponDrawn() <br />
	PlayerRef.SheatheWeapon()<br />
	(This will force player out of combat state if used with game.setplayeraidriven(true) the player can still spin around by drawing weapon)
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	abSneaking = Use of an update loop w/ Game.GetPlayer().Issneaking() then Game.GetPlayer().StartSneaking() will move them out of sneak.
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	abMenu = No idea atm &gt;&lt;
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	<br />
	abActivate = Unknown the solution will depend on situation…. You can call BlockActivation() or Lock() on some Objectrefences.<span>﻿</span>
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	<br />
	Blocking activation in furniture (
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	An update loop on the furniture that has this 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	if (Game.GetPlayer().GetSitState()== 0)<br />
	Activate(Game.GetPlayer())<br />
	Endif
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	RegisterforSingleUpdate(1.0)
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;text-align:center;">
	<u><strong>Willpower and Resistance</strong></u>
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;text-align:center;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	<span>﻿I really should of added this back in the day because it was a good idea. (Wrote this part on 14/08/2024)<br />
	Devious follower Injects a 4 Global's into Update.esm _DWill (0101A2A7), _DResist(0101A2A8), _DLowWill(0103E8F4), _DMedWill(0103E8F4)</span>
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	The idea of this is that other mods and use the Willpower stat like it's a native stat to Skyrim.
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	If you add a Float Global called _DWill in your mod. 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	Then use SSEEdit to change the formID to 0101A2A7 now you'll have a global that you can use in your mod to represent Willpower but other mods that use it will work with your mod without any need for Sendmodevents. For example Spank that ass and SexLab Survival (0.635+) lowers resistance/willpower.
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	Either way willpower is track 0-10.
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	Resistance is 0-20. 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	When Resistance is 0 then willpower should be reduce by 1. 
</p>

<p style="background-color:#1c1c1c;color:#bcbcbc;font-size:14px;">
	I'm pretty sure you can alter willpower by 0.1/0.01 ect and it should still work fine if you want to ignore Resistance system I used (which I should of done in the first place).
</p>
]]></description><guid isPermaLink="false">7003</guid><pubDate>Tue, 03 Jul 2018 16:54:26 +0000</pubDate></item><item><title>Mini Guide Stable Skyrim.</title><link>https://www.loverslab.com/blogs/entry/6555-mini-guide-stable-skyrim/</link><description><![CDATA[
<p>
	So modding sucks at time install a million mods play the game for a while and booom CTD on loading saves...
</p>

<p>
	So your saves are now loading but mods arn't working ....
</p>

<p>
	 
</p>

<p>
	These are a few fixes I've used to make Skyrim work....
</p>

<p>
	<a href="https://www.nexusmods.com/skyrim/mods/85443/" rel="external nofollow">https://www.nexusmods.com/skyrim/mods/85443/</a> - basically, I've never had a CTD from loading a save since I added this.
</p>

<p>
	 
</p>

<p>
	Then only skyrim.ini tweaks....
</p>

<p>
	 
</p>

<p>
	[Papyrus]
</p>

<p>
	fUpdateBudgetMS=2.0
</p>

<p>
	fExtraTaskletBudgetMS=2.0
</p>

<p>
	fPostLoadUpdateTimeMS=2000.0
</p>

<p>
	iMinMemoryPageSize=256
</p>

<p>
	iMaxMemoryPageSize=1024
</p>

<p>
	iMaxAllocatedMemoryBytes=115200
</p>

<p>
	bEnableLogging=1
</p>

<p>
	bEnableTrace=1
</p>

<p>
	bLoadDebugInformation=0
</p>

<p>
	 
</p>

<p>
	These setting seem to stop papyrus lagging out (aka script lag) so mod work better and faster.
</p>

<p>
	 
</p>

<p>
	This post also make Skyrim run smoother.
</p>

<p>
	<a href="https://forums.nexusmods.com/index.php?/topic/546499-performance-tweaks-for-smooth-gameplay/page-9#entry5796896" rel="external nofollow">https://forums.nexusmods.com/index.php?/topic/546499-performance-tweaks-for-smooth-gameplay/page-9#entry5796896</a>
</p>

<p>
	 
</p>

<p>
	If you get CTDs randomly in game this can help....
</p>

<p>
	<a href="https://www.nexusmods.com/skyrim/mods/72725/" rel="external nofollow">https://www.nexusmods.com/skyrim/mods/72725/</a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Outside of this 
</p>

<p>
	<a href="http://wiki.step-project.com/" rel="external nofollow">http://wiki.step-project.com/</a> has like a million guides if you have time the more you follow the more skyrim will rock !!!
</p>
]]></description><guid isPermaLink="false">6555</guid><pubDate>Tue, 17 Apr 2018 17:50:00 +0000</pubDate></item><item><title>My path to making Devious followers.</title><link>https://www.loverslab.com/blogs/entry/6502-my-path-to-making-devious-followers/</link><description><![CDATA[
<p style="text-align:center;">
	<span style="font-size:18px;"><span style="color:#27ae60;"><u>The long path to the Devious Followers</u></span></span>
</p>

<p style="text-align:center;">
	<u><font color="#27ae60"><span style="font-size:18px;">and my Elderscrolls Journey </span></font></u>
</p>

<p>
	 
</p>

<p>
	I guess it all started with Elder scrolls :Daggerfall, my friend had a copy of the game and I'd borrow it all the time cause it was like one of the best games ever. Eventually, because of me and my friend playing the game so much the disk got scratch to death until it died. We did get another copy later which shared a simalar fate but by that time I moved away and move on to other games.
</p>

<p>
	 
</p>

<p>
	Roll on Morrowwind, I remember reading the previews for Morrowind and was like OMG a modern Daggerfall with good graphic and thinking "Is it even possible and I can't wait", Anyway I got the game which came with a creation kit on an extra disc. I loved the game ofc it was awesome, I do not miss the hours of searching for an NPC or swinging my sword on the target the size of the moon and getting miss miss miss miss, I do understand though why it was like that it was moving on from Daggerfall, still for it's time it was one of the best PC experiences you could get. I did make some mod on Morrowwind but it was small stuff like uping weapon dmg and size, I do remember applying a lizard texture to a human or something and making it massive which made me laugh like crazy. Either way, at this time wikis did not exist and I didn't know how to program.
</p>

<p>
	 
</p>

<p>
	Oblivion time, I think I came to the game late (lack of good PC) enjoyed it but once I discovered loverslab and nexus, the first adult mod I used was Claudia's Little Secret which was magic and an incredible achievement by the author, not long after I discovered Lovers lab and the rest.
</p>

<p>
	 
</p>

<p>
	Now, between this and skyrim I learnt how to program (in University) which was a dream of mine since I was a kid.
</p>

<p>
	 
</p>

<p>
	Skyrim arrived, which at the start was sad Oblivion mods died off fast like it was sad and Sexlab took a while to get running so mod were few and far between but like 2 year in to was beginning to get awesome and even then I wanted to make mods, I slowly learnt how to edit small things in mods I didn't like but everytime I tryed to make a mod I'd hit my head against wall as it failed and I couldn't understand. I didn't invest a huge amount of time into but I was all the time getting there.
</p>

<p>
	 
</p>

<p>
	Then one day when altering a mod DD Sexist guards cause it didn't work like I wanted it too I worked out something that I could use the dialogue system to basically entirely move my mod along, then one day I woke up early and started my mod I spent hour and hours of it not working, one problem is I had to install the SKSE scripts correctly the problem was I saw the scripts there that were in the errors on compiling so I thought it was installed but I didn't realise SKSE replaces a lot of vanilla scripts but it took me like hours to work this out. There were like a million problem like that but literally after 12 hours of trying and trying.Then, I got a follower to equip a collar on my character if they didn't have one and Devious followers was born.
</p>

<p>
	 
</p>

<p style="text-align:center;">
	<span style="font-size:18px;"><span style="color:#27ae60;"><u>Why I made Devious Followers?</u></span></span>
</p>

<p style="text-align:center;">
	 
</p>

<p>
	Basically, player slave encounters(PSE) gave me and experience I really wanted to have agian in Skyrim. So my mod is very different from that but PSE was a player slave themed mod that worked with the gameplay of Oblivion and the content wasn't too long to bore you. I'd love to run around the world trying to escape enslavement and taking risks but of course I'd balance the game so eventually I'd get captured and this is the mantra I took with devious followers.
</p>

<p>
	In Devious followers the game ticks on a lot, you being able to afford everything your follower nice and happy but then either another mod effects your gold or you made so it's pretty hard to keep the follower payed off or you need to remove some Device that puts you in debt, the mod begins lacking money you'll have to sell your freedoms slowly and well is balanced well you'll move back and forth with the deal trying to avoid the punishment for breaking enslavement and the interest on existing debt and skyrim becomes trying to buy your freedoms back but time rolls on you are at this point a slave ofc, if you totally fail you get the harsh enslavement and it's easy enough to farm gold to get free but problem is you can't escape your follower still, those damn deals you made and the feeling that you could be free but failing is what I love and the reason I made this mod. Also, while all this is going on you can still play the game, your not stuck reading pages of content so hopefully you'll never get bored. 
</p>

<p>
	 
</p>

<p>
	The other reason is I want to be there from the start of the modding scene for the next elder scrolls game.
</p>

<p>
	 
</p>

<p style="text-align:center;">
	<span style="font-size:18px;"><span style="color:#27ae60;"><u>What's next? My dream skyrim!</u></span></span>
</p>

<p style="text-align:center;">
	 
</p>

<p>
	I'd love to make more mods, the problem is time like for example the other day I wanted to make it so becoming a milk maid in milk maid economy so I made a small mod that drugged the player on rape or drinking a potion it took me like 4-6 hours to do it and the things I want to do are so much grander (I dream of more than I can do). Basically, I want to do my stuff like devious followers but on a different scope it will be called Devious Skyrim or Devious Events, so it would be avoidable things that would catch the player out or space out in a way it won't inconvenience the player too much. For example, hunters looking to capture the dragon born to like enslave them or just steal there stuff, or if mages defeat you in combat they curse you so you can't wear clothes or at night if you don't have a follower in town maybe people will rob you or try out some devices on you. There are grander things like quest where a Collar every 7 days teleport you to a bandit camp where they fuck you then let you go and only once outside the camp the chain will disappear (reappear on reentering) so you have to pay a mage to remove the collar magic then go get the key from the bandits. Either way, my dream is to have skyrim be a game about trying to escape and avoid being enslaved but unfortunately it's always a little too hard.
</p>

<p>
	 
</p>

<p>
	Lozeak out !
</p>
]]></description><guid isPermaLink="false">6502</guid><pubDate>Mon, 09 Apr 2018 02:42:44 +0000</pubDate></item></channel></rss>
