Jump to content

Recommended Posts

Posted
7 hours ago, izzyknows said:

Could you use a modified version of the spell the armbinder uses to shrink the just the "hands".. and not the entire arms?

Sounds good.

But it's make by torture devices author and he uses animation to cut off arms. I have no clue how to read hkx files or how to work with animations. DD only put on player keyword _td_deviousarmbinder and change akTarget.ChangeAnimArchetype(_TD_AnimArchetypeBound). And arms miraculously is cut off)

Posted
5 hours ago, Alchen said:

I have the Chasity belt and blindfold on but it won't let me take it off even though I use the key. Any help?

What mod say when you try to take off? And chastity belt need chastity key not restraint key.

 

Posted
4 hours ago, Elsidia said:

and blindfold

I check the blindfold properties - if difficulty work right than there is 20% chance that you can't access to lock with key too... Wait cool down and try again.

 

Posted

Is there a way to disable the time lock features?  I am playing with a non-standard time setting so an hour from last unlock attempt takes way too long.

Posted
2 minutes ago, deljason said:

Is there a way to disable the time lock features?  I am playing with a non-standard time setting so an hour from last unlock attempt takes way too long.

Not that I'm aware of, but it you pair it with something like AAF Sex Attributes willpower-based DD removal feature or Boston Devious Helper's option to ask NPCs to remove them, then maybe it's more tolerable?

Posted
On 3/15/2020 at 1:27 AM, deljason said:

Is there a way to disable the time lock features?

If you use original devious devices mod you can use a chair to wait a hour. In original mod waiting protect is only on sleep. If you want remove time lock almost you need use one of variant:

1) change the restraint script by using text editor and compile in CK.

or:

2) edit in fo4edit all dd armor to add timelock properties and value 0 - then probably restraint script itself allows take off without time restrictions. But maybe script can do bugged things if value will be 0 i don't test it. And this will work only on new armor. If you have already armor in inventory you need to destroy it and make new.  

 

If you interested on those things i can do further research to show you what exactly you need to do and what properties need to add in fo4edit. Just mention me in this thread.

I spent a weeks in study dd mod (esp and scripts) and i think i know many about it.

I can't sent to you a complete modified esp and pex files because in dd i fix many bugs and modify item properties to prevent new bugs in dd. If i sent those pex your life will be more complicated because i fix some critical bugs in scripts for my personal Fallout 4.

 

PS: I can say funny thing) original time lock in dd is bugged because its always use most easer dificulty 9 (not 4 as in description) I fix this script for me and then timelock is 3 - 4 hours. And in first time before you can start unlock it with key is from 5 hours to time what is set in dd items propreties)

Posted
On 3/14/2020 at 5:31 PM, vaultbait said:

Not that I'm aware of, but it you pair it with something like AAF Sex Attributes willpower-based DD removal feature or Boston Devious Helper's option to ask NPCs to remove them, then maybe it's more tolerable?

I've tried the willpower option and even with everything set to minimum willpower cost and max chance for success it never actually works.  I assume I'm doing something wrong there but so far no-go.  

Posted
7 hours ago, Elsidia said:

If you use original devious devices mod you can use a chair to wait a hour. In original mod waiting protect is only on sleep. If you want remove time lock almost you need use one of variant:

1) change the restraint script by using text editor and compile in CK.

or:

2) edit in fo4edit all dd armor to add timelock properties and value 0 - then probably restraint script itself allows take off without time restrictions. But maybe script can do bugged things if value will be 0 i don't test it. And this will work only on new armor. If you have already armor in inventory you need to destroy it and make new.  

 

If you interested on those things i can do further research to show you what exactly you need to do and what properties need to add in fo4edit. Just mention me in this thread.

I spent a weeks in study dd mod (esp and scripts) and i think i know many about it.

I can't sent to you a complete modified esp and pex files because in dd i fix many bugs and modify item properties to prevent new bugs in dd. If i sent those pex your life will be more complicated because i fix some critical bugs in scripts for my personal Fallout 4.

 

PS: I can say funny thing) original time lock in dd is bugged because its always use most easer dificulty 9 (not 4 as in description) I fix this script for me and then timelock is 3 - 4 hours. And in first time before you can start unlock it with key is from 5 hours to time what is set in dd items propreties)

The main issue is that there is often not a chair anywhere nearby when I would need it and there are often still enemies in the area that would prevent waiting.  

If there is a way to modify using fo4edit I'd be willing to give that a shot.

Posted
7 hours ago, deljason said:

I've tried the willpower option and even with everything set to minimum willpower cost and max chance for success it never actually works.  I assume I'm doing something wrong there but so far no-go.  

Never works as in using the removal hotkey reports that you have insufficient willpower, or you select the item class and it says you're not wearing one, or it acts like it's going to remove the item but never does, or you never even get the pop-up menu or...?

Posted
16 hours ago, deljason said:

If there is a way to modify using fo4edit I'd be willing to give that a shot.

Ok, It's take a little more time because i found another little bug.

First theory - i describe there only variables what need for timelock. There is more variables like allowboobypin and part of it not worked in bugged version.

Those variables is described if dd isn't bugged in other way valuables is set to 1 hour:

UnlockCooldown (default 3 hours) - this valuable is need if you failed unlock device by key (not key, key broken, or you failed to reach keyhole [i think this not worked in bugged version])

RepairCooldown (default 5 hours) - this valuable is trigger when you failed repair jammed lock. To try new chance of repair you need wait 5 hours. I think broken keylock not trigered in bugged version or trigger very rare. I don't test this valuable and not set it.

EscapeCooldown (default 3 hours) - this valuable is need if you failed struggle out, lockpick or cut off device.

LockShieldTimerMin (default 3 hours) - this valuable set minimum time before you can use key to unlock device. If you unlock device then next time when you put on exactly those device (not the new device what you get by craft, buy or from random event) those variable not work instead of it starting work UnlockCooldown. Ok i try to example. UnlockCooldown=1.0, LockShieldTimerMin=3.0 - first time before you can take it off will be 3 hours. But if you put on that device back again and choose lock it - you need wait only 1 hour because starting work other variable. But if you put those device in chest and randomly got on the same device then now waiting time will be 3 hours.

LockShieldTimerMax (default 7 hours) - this valuable set maximum time before you can use key to unlock device and works in pair with LockShieldTimerMin.

How? - randomizer takes valuable between LockShieldTimerMin and LockShieldTimerMax and put it on device before you can use key to unlock device. In default time can varies from 3 hours to 7 hours in not bugged version. In bugged version it will be always 1 hour. In theory if you set in device says LockShieldTimerMin=100 hours and LockShieldTimerMax = 200 hours there probably be waiting time more that 1 hour but i not tested it in game.

 

Now a little bug what i found: if you set UnlockCooldown =0.0 hours and RepairCooldown =0.0 hours - you never can take out those device. All time it's says - you need wait 0 hours to take off device. I'm not tested if you wait 1 hour and then try to take off device - maybe it will be success. Instead to fix this bug you need put valuable minus 1 hour (-1.0). In fo4edit it can be done by right mouse click on valuable and press edit.

 

Now return to your problem:

You need add to all inventory devices (armor with name) those properties or modify if it already are in devices (in some devices those properties is already set be careful):

UnlockCooldown = -1.0

EscapeCooldown = -1.0

LockShieldTimerMin = 0.0

LockShieldTimerMax = 0.0

 

probably you can set variable RepairCooldown=-1.0 - i don't test it but in theory it may work but trigger very rare in bugged version.

 

Before you do it - i recommend do a backup copy of devious devices.esp to avoid any problems

 

In spoiler i put screenshot from fo4edit:

 

Spoiler

Clipboard.jpg.112e6da3092ce65cbd2ea13c3d1cbfad.jpg

 

 

Good luck to your work!)

 

 

 

 

Posted
15 hours ago, back01 said:

Is this being updated?

You mean mod? No, Kimy return to Skyrim and not work on this mod anymore. Only fan made changes for personal use. Or some addons what change some mechanics like take off hopping or blinding.

Posted

Update to the modified DD_Library script file, which allows it to be applied mid-game. In the previous upload, the extra database arrays were not initialized as the OnInit event is not run. This one fixes this bug.

 

 

DD_Library.7z

Posted

Hi,

 

I've two questions regarding the papyrus code.

 

1) In DD_Library function

 

Bool Function RemoveDevice(Actor akActor, Armor InventoryDevice, Armor RenderedDevice = none, Bool DestroyDevice = False, Bool CheckDependencies = True)

 

I've found

 

        if InventoryDevice.HasKeyword(DD_kw_ItemType_Suit)
            akActor.UnEquipItemSlot(33)
        endif

 

For body attire I always use UnEquipItemSlot(3)

 

2) There is the event "OnSleepStop" which increase the time for a handful of timelocks to prevent "cheating"

    Anyway different to skyrim papyrus Sleeping and Waiting have separated Events in Fallout 4, so "cheating"  is still possible while simply sitting on a chair and waiting some hours.

    Is that how it should work ?

 

Regards

 

 

 

Posted
6 hours ago, Adetu said:

For body attire I always use UnEquipItemSlot(3)

Be careful... there are item slots, and there are item slot indexes: https://www.creationkit.com/fallout4/index.php?title=Biped_Slots

According to the documentation some functions use slots indexes (e.g. https://www.creationkit.com/fallout4/index.php?title=GetWornItem_-_Actor), while other functions use slots (e.g. https://www.creationkit.com/fallout4/index.php?title=UnequipItemSlot_-_Actor). Of course the documentation might be wrong, it has happened before. In the end the only way to know for sure is trying it out.

 

6 hours ago, Adetu said:

Anyway different to skyrim papyrus Sleeping and Waiting have separated Events in Fallout 4, so "cheating"  is still possible while simply sitting on a chair and waiting some hours

I am obviously not Kimy ? but I took a very close look at the DD code base before starting with my mod. I am pretty sure that this is an oversight that got in when the code was ported from Skyrim.

Posted
18 hours ago, Adetu said:

There is the event "OnSleepStop"

Ok in original Kimy mod is protect only from sleep and not from waiting on chair.

And original protect from sleep is bugged and works wrong. As i mention before in this thread if you decide sleep 10 hours and after 3 hours interrupt or are interrupted by enemies then waiting time for unlock increases by 7 hours: (10-3) and not depend of time for what you need wait for it. If you need wait 1 hours then now you need wait 8 hours. It's because Kimy uses OnPlayerSleepStart and takes from here probably time of sleep. And if sleep is interrupted then it uses probably sleep time not real. To fix this bug you need use both events: in OnPlayerSleepStart put starting sleep time in variable. And in OnPlayerSleepStop you calculate real time of sleeping by using defined variable from OnPlayerSleepStart. And for waiting on chair you need similar functions OnPlayerWaitStart, OnPlayerWaitStop - to fix bug with chairs.

 

On original version of Kimy dd you can wait on chair and time passes. Just wait on chair and take of device easy.

 

I fix it in my private  fallout 4. If you need i can publish those fix fragments here for you just ask me.

Posted

@Elsidia DD uses a struct WornDevices for keeping track what DD items the player/actor is wearing currently. You can use the info from the struct.  But, it will be kind of messy. Arrays are slow in my opinion.

Posted
25 minutes ago, Tron91 said:

WornDevices for keeping track what DD items the player/actor is wearing currently.

I know but i still newbie in fallout 4 scripting and without good wikipedia about it i still not understand much. I know for player have FormList Property DD_PlayerEquippedItems Auto Const list. Maybe it's works faster and maybe i use it. And as i read in description those database can be full and not accept new actors. I still think for devices detect write new functions what uses FormList Property DD_FL_AnalPlugs Auto Const by branching in deeper. Or use only single formlist what not so deep. But still i'm not clearly understand what operators is better to make those script) First i cut off dd types by Itemcount>1  as example DD_kw_ItemType_Collar and the check what exactly collar have by collar formlist. Sounds like that.

Posted
7 minutes ago, Adetu said:

Regarding the calculation

I found those because in dd study process i found sleep protect and understand why i can use chair but not bed. And then when i try add OnPlayerWaitStart i found that there no variable for prognoses waiting time. And then in game i found then i can break sleeping process and test it. Found that dd time increases)

Posted
Spoiler
3 hours ago, vietthai96 said:

i think this mod need an update, it is too old now

 

 

Well this mod is fine, we need new mods utilizing the Framework this mod provides.

Posted
9 hours ago, Tron91 said:

Well this mod is fine

First need fix bugs in framework and meshes conflict, devices wearing conflict and end visual and equipment bugs. I fix something but not all - still have no clue how to do it.

Posted
23 hours ago, vietthai96 said:

i think this mod need an update, it is too old now

 

20 hours ago, Tron91 said:
  Reveal hidden contents

 

 

Well this mod is fine, we need new mods utilizing the Framework this mod provides.

 

11 hours ago, Elsidia said:

First need fix bugs in framework and meshes conflict, devices wearing conflict and end visual and equipment bugs. I fix something but not all - still have no clue how to do it.

Elsidia is quite right, DD would need 'fixing' first.

And personally, I would rather rewrite DD from scratch to do it [and while it's crossed my mind a few times, I lack the script knowledge to really pull it off, at least for now].
The use of inventory & rendered items, while an alright idea, Papyrus can't really handle it too well, and as much as Kimy tried to avoid adding requirements, F4SE functions would suit it quite well, equipping/unequipping one of the Corset's chastity belts via Object Mod's (OMOD), rather than entirely separate inventory/rendered item, for instance, or as @Kharoshas done in RH, more consistently restrictive gear [I mean, have you seen the Yokes or Armbinders in an AAF scene? ?].

Hell, if anything, I'd rather tear through the source scripts for RH, and hook a "revitalised DD" into its API, with a rewritten plugin to go with it.
One of the other downsides of trying to 'remake' DD vs updating it [with or without hookin into RH], is the assets.
Either you update DD, via Kimy [and she'll likely want/need to check permissions again anyway at this point], or ask the original creators/authors of the assets to use em (and sure, they'll likely give you the go-ahead as long as they're appropriately credited, but it's still a rather important potential sticking point).

Or you get new assets. Which is expensive [assuming commissioned works or premade assets from somewhere] and time consuming to implement until or unless you get a good workflow down and/or they're made FO4-ready with say, CBBE-Bodyslide files with 'em.
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...