0% found this document useful (0 votes)
28 views1 page

Custom Laugh Example

The document provides instructions for replacing Ayano's laugh stages in a game using specific commands. It details the process of creating an empty game object, attaching a custom audio source, and replacing the laugh variable with the new sound. Additionally, it mentions the option to replace all laugh stages with custom sounds and includes a note about the cutscene creator.

Uploaded by

shanzaytar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views1 page

Custom Laugh Example

The document provides instructions for replacing Ayano's laugh stages in a game using specific commands. It details the process of creating an empty game object, attaching a custom audio source, and replacing the laugh variable with the new sound. Additionally, it mentions the option to replace all laugh stages with custom sounds and includes a note about the cutscene creator.

Uploaded by

shanzaytar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

/here you can replace ayano's 4th laugh stage using this.

oneframe:true
newempty:Somename:0,0,0:0,0,0
playsound5:BAKA.ogg:Somename:false:false
[Somename]:<AudioSource>:Somename:clip
<YandereScript>:YandereChan:Set:Laugh4:[Somename]
destroy:Somename
end

/this command loads an empty gameobject to attach the audiosource script to.
newempty:Somename:0,0,0:0,0,0

/this command attaches the custom audio and audiosource script to the empty. Make
sure the custom audio is in the sounds folder! Or you'll have write the directory
to the audio file
playsound5:BAKA.ogg:Somename:false:false
/by the way, you dont need to use only playsound5 for this, you can use playsound4
or playsound3 or any command that attaches the audiosource component to a
gameobject

/this command attaches the custom sound variable to a posemod variable.


[Somename]:<AudioSource>:Somename:clip

/this command replaces the laugh4 variable with the custom sound.
<YandereScript>:YandereChan:Set:Laugh4:[Somename]

/this command deletes the empty gameobject so the sound doesnt play upon starting
the cutscene, which is why we're also using oneframe:true
destroy:Somename

/this command stops the cutscene from playing.


end

/these commands replace all of ayano's laugh stages if you want that...
<YandereScript>:YandereChan:Set:Laugh4:[sound]
<YandereScript>:YandereChan:Set:Laugh3:[sound]
<YandereScript>:YandereChan:Set:Laugh2:[sound]
<YandereScript>:YandereChan:Set:Laugh1:[sound]

//cutscene made by rino fukahori

You might also like