Here is an basic example script of a triple bj
You must be registered to see the links
you can add that unzipped folder in
Mods -> Scripts
and test it out to see the functionality
Getting Started
You are gonna need something like VSCode to edit the lua files which you can download for free
You must be registered to see the links
Folder Structure
When you open the zip the important ones to note are
triple.lua (your script/voice line/character set up happens in here) [every script needs a lua file that initializes everything]
Voice -> Main (your saved voice lines are stored here)
Poses (your scenes/captures are stored here) [Drag and drop from your captures into the poses folder]
Voice Lines
I use this fakeyou text to speech to add voicelines for characters I want
but not always going to be accurate
You must be registered to see the links
You can download and use an mp3 converter and add these to the Main folder in Voice
you'll see that the mp3 files are named the way they are used in the triple.lua
For example
I saved the voice file in my example as
ahri I did a good job, right.mp3
which you use in the triple.lua through adding quotations to the text
ahri "I did a good job, right"
LUA setup
You'll need to initialize each script with what map and characters will be used which is
label Start()
game.CreateMap("Map_Bedroom")
game.m_controlsUI.Show()
ahri = game.CreateHuman("ahri kda")
actorB = game.CreateHuman("Generic Male")
actorC = game.CreateHuman("Generic Male")
actorD = game.CreateHuman("Generic Male")
Jump("Main")
stop
You can add the scenes by copy and pasting the pose name into the triple.lua in the order that you want
and add the character variables + time
triplehandjob(ahri, actorB, actorC, actorD, 0.3)
If a scene has just two characters you would need to set it up appropriately, etc.
triplehandjob(ahri, actorB, 0.3)
The number value at the end (ex. 0.3) is the delay to get into position
If 0 the character will instantly snap into position, at a higher number the slower the character will get into position
I know its not super detailed regarding other features but hope this helps!
I referenced the tutorial_main.lua from the tutorial to learn more about the different features you can use
you can copy things from other scripts to try out