About This File
TDF Prostitution Dance CTD Fix
Â
fixes the NPC dancing ctd.
Â
TLTR:
Â
guess finally found the reason for the random ctd's on NPC dancing.
Never can be 100% sure, however, after long time of searching and testing I am pretty pretty sure that's the reason.
It's not the NPC dancer, it's the onlookers.
Testing dancing events in a row, I got a sever frame drop caused by script stacking.
Checking the crash logs again and again I found one thing what appeared always in addition to the dancer.
Caused by the onlooker package.
Checking this, I found a double entry in a procedure. This messed up and stacked the procedure.Â
If you install this, you will notice at once, the onlookers say there lines in an overwhelming amount, they will not stop the chatter.
Because the script stacking is gone.
Â
You can put the fix direct into TDF with xedit, however, I prefer the FE mod, avoid changes in original.
The dance timer are now accesible via xedit e.g.
Â
PS: on the way to fix the issue; I replaced dances, created a new behaviour hkx and matched timers to dances (see list original timers if you want revert).
As the origininal behaviour drows a warning (outdated), I included the new one into this mod.
If you don't want it, just delete the meshes folder.
Â
Thanks you to @TheDriedFinger for the original ang giving permission for tweaks.
and
to @Pfiffi for the SE conversion.
Â
I use a older version and made the tweaks for this. If you got an extension, load thia after and forward the tweaks of extension
or vice versa.
Â
Here the original timers:
Â
float Duration
  if DanceAnim == "BB_BoPeep"
    Duration = 220
  elseif DanceAnim == "BB_CyberThunderCider"
    Duration = 195
  elseif DanceAnim == "BB_DoubleLariat"
    Duration = 205
  elseif DanceAnim == "BB_EvenEvenEven"
    Duration = 225
  elseif DanceAnim == "BB_Galaxias"
    Duration = 85
  elseif DanceAnim == "BB_HurlyBurly"
    Duration = 150
  elseif DanceAnim == "BB_KissMe"
    Duration = 270
  elseif DanceAnim == "BB_LilyLilyBurningNight"
    Duration = 235
  elseif DanceAnim == "BB_MassaraBlueJeans"
    Duration = 250
  elseif DanceAnim == "BB_MeguMeguFire"
    Duration = 230
  elseif DanceAnim == "BB_MosaicRoll"
    Duration = 195
  elseif DanceAnim == "BB_SweetDevil"
    Duration = 165
  elseif DanceAnim == "BB_DanceAnim1Begin"
    Duration = 95
  elseif DanceAnim == "BB_CustomDanceAnim1"
    Duration = (CustomDanceAnimDuration[0].GetValue() as float)
  elseif DanceAnim == "BB_CustomDanceAnim2"
    Duration = (CustomDanceAnimDuration[1].GetValue() as float)
  else
    Duration = 10
Â
Â
OG TDF Prostitution
Â
1. you see hookers working now.
Â
2. reworked city hooker packages
Â
3. added new type "freelancer". This one uses the independant slots.
  a slot can only be used by one type hooker. Freelancer or independant.
Â
  Freelancer behave like before. No change in behaviour or quest stuff etc.
 The only difference to before, the have fun occasionally.
Â
 Make a freelancer is done via a spell. Cast -> freelancer, recast no freelancer.
Â
4. Another spell added, make hookers work harder. Can be cast on hookers only. Revert, cast again.
 This feature is build into freelancer spell.
 It sets the energy value to 90 (50 default), so the hookers move a bit more to find clients.
Â
5. new type "Private Hookers"
  Made via spell as above.
 This one is quite special, it doesn't use slots anymore.
 Invisible as hookers for player, guards, no cut, no dialogue.
 Can be cast on followers, any npc except other type hookers and childs.
 It's like they are private NPC's which have fun occasionally.
 They can have fun to each other, to other type hookers, any other npc.
Â
6. added spell "Horselovers"
  works only on privates. They might choose a npc or horse.
Â
7. added book "how stop privates from traveling to bed"
  read skips travel, reread allows travel
Â
All books, items are craftable smelter, should be something iron ingot leather strips like iron dagger.
Â
7. TDF aroused Rape patch.Â
   This is for TDF aroused rape (not needed for the TDF Prostitution)
   extends max cooldown from 5min to 20min and applies different packages for NPC or follower.
  This can be installed as a mod (needs TDF aroused rape as master)
Â
All spells are lesser power shouts (through mouth), or some are regular spell in addition (left those in).
Â
For the OG TDF Prostitution you need the original mods (link somewhere in support thread) .
Extract content into a new folder, e.g. deskop folder.
Copy/overwrite the content into the original mods.
Â
Â
PS:
the original description got messed up.Â
What I could save you can find in this txt file.
Â
Â
Â
Â
Â
Edited by Tlam99