Message

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Tutorial to create a task in DLL by Ana Caona#0335, based on d4cr3wd 's tutorial

1. Open Asssembly-CSharp.dll with DnSpy

2. Go to DialogueWheelScript, and look for HideShadows()

3. Once inside, do Right Click -> Edit Method and add your student in that if
statement. Don't forget to replace the ID with the ID of the student you make the
task for !
Refer to the following screenshot to see how to do :

https://i.imgur.com/cxl2ksA.png

4. Once it's done, press "Compile".

5. Go to SubtitleType, and scroll to the very very end

6. There, do Right Click -> Edit Class

7. Put a , (a coma) after CouncilToCounselor. Then, skip a line and paste


TaskIDLine at the very end of the list.
Refer to the following screenshot to see how to do. Don't forget to replace ID in
TaskIDLine with the ID of the student you make the task for !

https://i.imgur.com/PTSpl84.png

8. Once it's done, press "Compile"

9. Do File -> Save All -> Ok

10. Go to StudentScript and look for TaskLineResponseType

11. After doing Right Click -> Edit method, get and add a new if statement there as
on the screenshot :

https://i.imgur.com/uZJPkCN.png

12. Once it's done, press "Compile"

13. Go to SubtitleScript and look for UpdateLabel(SubtitleType

14. Around 907 line, you'll be at the good place. Here, do Right Click -> Edit
Method add a new if statement.
Refer to the screenshot to see what to do.

https://i.imgur.com/AUX4akO.png

15. Press "Compile"

16. Stay in SubtitleScript and look for GetClipLength

17. Right Click -> Edit Method and add a new if statement there

https://i.imgur.com/6BwlGn3.png

18. Press "Compile".

19. Go to TaskWindowScript, at the very beginning in Start()


20. Do Right Click -> Edit Method and add icon and description for your task like
on the following screenshot !

https://i.imgur.com/MSU8XO1.png.

21. Still in TaskWindowScript, look for GenericCheck() and do the following step :

https://cdn.discordapp.com/attachments/454994622545133579/650924415340511262/
unknown.png

22. Again in TaskWindowScript, just under what you've just done, in


AltGenericCheck(), do the following step :

https://cdn.discordapp.com/attachments/454994622545133579/650924614301646848/
unknown.png

23. You want to get a special thing to complete the task ?


Go to TaskManagerScript and look for UpdateTaskStatus()

24. Right Click -> Edit Method and add a new if statement there :

https://i.imgur.com/MGZuVVR.png

You can try writing an object you'd need to get, for example : Cigs, Soda, etc...
If the object isn't available or if you wrote it wrong, it'll appear in red.

You might also like