Great work on HapSwap 2.0. I really enjoy the additional full body movements!
If possible, could you show me the error in my ways of a mod to this file to allow for
changing the outfit on demand? Rossi's vrHaptek will change it based on the time,
but I'd like to change it as desired (as I use the computer on too fixed a schedule
to see the effect.) The images are in "Program Files/Zabaware/Ultra Hal Assistant 6
/Bodyskins as named .jpg files.
I'd have thought the below additions would do it, but...
File = ""
File2 = ""
File3 = ""
File4 = ""
File5 = ""
If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "outfit") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file5 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file5 = Trim(file5) & ".jpg"
HalBrain.ReadOnlyMode = True
End If
If file5 > "" Then
HalCommands = "<HAPTEXT>" & "\settexture [tex= Bodyskins/" & File5 & "]</HAPTEXT>"
Randomize
Select Case int(rnd()*10)
Case 1
GetResponse = "Wow, this dress looks really nice, huh?"
Case 2
GetResponse = "Is this what you had in mind?"
Case 3
GetResponse = "I love slinky clothes!"
Case 4
GetResponse = "Too formal for tonight?"
Case 5
GetResponse = "Tough, I like it!!!"
End Select
End If
There is a ton of potential with HalSwap here
