Replies: 6 (Who?), Viewed: 610 times.
Instructor
Original Poster
#1 Old 23rd Apr 2021 at 11:18 PM Last edited by Battery : 9th Oct 2021 at 3:43 PM.
Default Sims 3 Script Extender Overview
Mod Page:


What Is the Sims 3 Script Extender (S3SE) ?


When do I need S3SE ?


How modders use S3SE


Table of Content


Link: Tutorial and Shwocase by Lyralei Tutorial - Using Battery's S3SE tool as a script modder

Post 2: S3SE Installation


Post 3: General Methods


Post 4 Audio / Sound:


Post 5: File Input / Output


Post 5: File Input / Output Directory


Post 6: File Input / Output File
Advertisement
Instructor
Original Poster
#2 Old 23rd Apr 2021 at 11:19 PM Last edited by Battery : 9th Oct 2021 at 3:44 PM.
S3SE Installation:

Step 1



Step 2



Step 3


Step 4


Step 5
Instructor
Original Poster
#3 Old 23rd Apr 2021 at 11:19 PM Last edited by Battery : 9th Oct 2021 at 3:19 PM.
General Methods:

Battery.S3SE

void FastQuitApplication()


bool IsInitialized()


void Free() and void Startup()
Instructor
Original Poster
#4 Old 23rd Apr 2021 at 11:20 PM Last edited by Battery : 9th Oct 2021 at 3:20 PM.
Audio / Sound:

Battery.S3SE.Audio

MusicStatus GetMusicStatus()




void Music_NextPlaylistSong()




void Music_SetPlaylist(string[] PlaylistPaths)




void PauseMP3Music()




void PlayMP3Music(string path)





void PlayWav(string path)



void PlayWav(string path, bool loop)



void ResumeMP3Music()




void SetVolumeMP3Music(ushort Volume = 100)





void SetVolumeMP3Music(ushort Volume = 100)




void SetVolumeMP3Music(stringVolume = "100")





void StopMP3Music()

Instructor
Original Poster
#5 Old 23rd Apr 2021 at 11:20 PM Last edited by Battery : 9th Oct 2021 at 3:21 PM.
Directory

Battery.S3SE.IO

Assembly LoadAssembly(string path)


Assembly LoadAssembly(string path, bool RunInitializer)




Battery.S3SE.IO.Directory


string UserModDirectory


bool Create(string path)


bool DeleteDirectory(string path)


bool Exists(string path)


List<string> GetFiles(string path)


List<string> GetFilesOfType(string path, string extension)


List<string> GetFilesOfTypeContaining(string path, string extension, string MustContain)


List<string> GetFolders(string path)


string GetUserModFolderPath()
Instructor
Original Poster
#6 Old 23rd Apr 2021 at 11:23 PM Last edited by Battery : 9th Oct 2021 at 3:21 PM.
File

Battery.S3SE.IO.File

bool Exists(string path)


bool DeleteFile(string path)


string GetFilename(string path)


string GetFilenameWithoutExtension(string path)


byte[] ReadAllBytes(string path)


string ReadAllText(string path)


void WriteAllBytes(string path, byte[] message)


bool WriteAllText(string path, string Text)
Virtual gardener
staff: administrator
#7 Old 24th Apr 2021 at 4:05 PM
Thank you so much for the documentation! (Not sure if you're done, if not, sorry for making this reply break the chain!) That was something I struggled with a little with what's there that could be useful in my future mods or whatever I was working on at the time. So I'll check this out with my new upcoming mod and see what i can use!

Thank you for this again!
Back to top