Post by Zantus on Jan 23, 2016 3:21:49 GMT
Custom Modes, modes that are made by the players for the players. Though, it is quite a problem when (many) players themselves don't even know how to make them.
Well, lucky for those players, this is a simple guide on how to make one! Or at least my version.
First off, download/install these files/programs (unless you already have them):
You might think coding a mode will be hard since it's got, well, coding, but don't worry!
Most of the code included the Custom Mode files are explained in the most simple way, some may be self-explanatory enough.
If you have everything you need, we can begin.
A) Extracting & Preparing the Files
Have the example Custom Mode rar file downloaded, move it to where you want. Right-click it and choose Extract Here
Open the folder, and you should see a bunch of files. Before you can begin working on the mode, right-click one of the any .ms files in the folder (CUSTOM.ms, CUSTOMStart.ms or CUSTOMEnd.ms) and choose Open with...
Now find your Notepad++ by pressing on 'More options' (if on Windows 8, ugh) and make sure to use this program for all .ms files.
B) .ms files
Now you can start editing the files and write code for your own mode! Don't worry, like I stated before the coding is mostly explained inside the file. Open all three .ms files (CUSTOM.ms, CUSTOMStart.ms and CUSTOMEnd.ms). It should open Notepad++ for the first file, and with two tabs for the other two files.
Basically, the CUSTOM.ms file is the one you need to upload along with the mode's title screen and song.
CUSTOMStart.ms is the file for when the round begins.
CUSTOMEnd.ms is the file for when the round ends.
Now take your time to read the text, it may get confusing at first but get yourself used to it! Pretend all these are fill-in-the-blank questions.
All you really need to do with these .ms files is copy-paste code (mostly in CUSTOMStart.ms), put them in order to your liking and write all you want for your mode.
If you'd like a mode example, try downloading some custom modes that are out there for download. A simple one I made is Government Intervention mode (Direct Download Link)
Here's a list of code functions you can use (sadly, many of them are left unexplained): Features, Functions & Variables
REMEMBER TO END EACH LINE OF CODE WITH ;
C) Icons & Sprites
Icons! These aren't exactly needed unless you want a role to have an icon. I'm not going to exactly go really in-depth with this, I had to learn it for myself but I'll try my best to explain this.
With BYOND installed, you also actually have a sprite editor you can use, which are for .dmi files.
First, open MaleBase.dmi or FemaleBase.dmi, up to you.
Whoa, what's this? Well, this a basic student sprite, with an icon size of 32x32 (which is the maximum for Watcher sprites, though icon sprites for roles have no maximum size as far as I know, I mean look at shrek). You can double-click on one of the two sprites you see there and find out that it is a 'Movie' type icon.
Most or all character or equipped weapon icons for roles will use Movie for movement or alter for different directions they face. Items or inventory weapon icons will use 'Pixmap' which never changes its state.
The word 'dead' there is the state set for the icon. When the role dies, their icon will be set to that.
The 'M' is movement state. Right-click the icon and choose 'Edit State...' to edit its' basic setting.
Well, lucky for those players, this is a simple guide on how to make one! Or at least my version.
First off, download/install these files/programs (unless you already have them):
- BYOND (You might have this, but in case you don't)
- WinRAR (x86 if you have a 32-bit system, x64 if you have 64-bit system)
- Notepad++ (Click on Installer) (Optional, you can actually use normal Notepad but with this it's easier to avoid coding problems)
- The example Custom Mode files! (Only about 1.5MB size)
You might think coding a mode will be hard since it's got, well, coding, but don't worry!
Most of the code included the Custom Mode files are explained in the most simple way, some may be self-explanatory enough.
If you have everything you need, we can begin.
A) Extracting & Preparing the Files
Have the example Custom Mode rar file downloaded, move it to where you want. Right-click it and choose Extract Here
Open the folder, and you should see a bunch of files. Before you can begin working on the mode, right-click one of the any .ms files in the folder (CUSTOM.ms, CUSTOMStart.ms or CUSTOMEnd.ms) and choose Open with...
Now find your Notepad++ by pressing on 'More options' (if on Windows 8, ugh) and make sure to use this program for all .ms files.
B) .ms files
Now you can start editing the files and write code for your own mode! Don't worry, like I stated before the coding is mostly explained inside the file. Open all three .ms files (CUSTOM.ms, CUSTOMStart.ms and CUSTOMEnd.ms). It should open Notepad++ for the first file, and with two tabs for the other two files.
Basically, the CUSTOM.ms file is the one you need to upload along with the mode's title screen and song.
CUSTOMStart.ms is the file for when the round begins.
CUSTOMEnd.ms is the file for when the round ends.
Now take your time to read the text, it may get confusing at first but get yourself used to it! Pretend all these are fill-in-the-blank questions.
All you really need to do with these .ms files is copy-paste code (mostly in CUSTOMStart.ms), put them in order to your liking and write all you want for your mode.
If you'd like a mode example, try downloading some custom modes that are out there for download. A simple one I made is Government Intervention mode (Direct Download Link)
Here's a list of code functions you can use (sadly, many of them are left unexplained): Features, Functions & Variables
REMEMBER TO END EACH LINE OF CODE WITH ;
C) Icons & Sprites
Icons! These aren't exactly needed unless you want a role to have an icon. I'm not going to exactly go really in-depth with this, I had to learn it for myself but I'll try my best to explain this.
With BYOND installed, you also actually have a sprite editor you can use, which are for .dmi files.
First, open MaleBase.dmi or FemaleBase.dmi, up to you.
Whoa, what's this? Well, this a basic student sprite, with an icon size of 32x32 (which is the maximum for Watcher sprites, though icon sprites for roles have no maximum size as far as I know, I mean look at shrek). You can double-click on one of the two sprites you see there and find out that it is a 'Movie' type icon.
Most or all character or equipped weapon icons for roles will use Movie for movement or alter for different directions they face. Items or inventory weapon icons will use 'Pixmap' which never changes its state.
The word 'dead' there is the state set for the icon. When the role dies, their icon will be set to that.
The 'M' is movement state. Right-click the icon and choose 'Edit State...' to edit its' basic setting.
As you can see, 'M' stands for it being a Movement State, meaning when the role/icon moves they'll use that state. For modes, you shouldn't give this a state name so that the game will use it by default.
Double-clicking the M-state Movie will open this. It's a walk cycle! The first column should always be a standing sprite, because when they stop moving it'll switch to that.
Double-clicking on of the frames may open this Editor:
You can add even more Frames than 4, change the Delay for each frame - anything to your liking, like what I did in Glitch, for example.
Just play around with this and see what you can do.
Now there's another .dmi file called MaleBaseHead.dmi/FemaleBaseHead.dmi right? Well, what is it? It's this:
^
This is a smaller size icon (24x14) that will be the headicon of your icon. Iconicon.
It's important to make sure the State Name of the headicon is the name of your body icon!
That's it for icons! Sort of?
D) Title Screen & Song
This is relatively easy to handle.
First, we'll do the song. You'll need an .ogg or .wav format audio file for the title song (Audio Converter, if you need one).
Leave your song file in your mode's folder.
You could just use and test the CUSTOM.ogg file I've already provided.
For the title screen, you'll need a 512x512 height/width picture. The zkface.jpg file I provided will also work.
Open CUSTOM.dmi. Right-click on the empty white space and choose 'Import...' and then pick zkface.jpg or your own image.
You should now see this, all you need to do is give it a State Name which will have to be your mode's name.
Now you have to remember to set this up in CUSTOM.ms:
E) Uploading the Mode
If you've set up everything right, you should be done! Now to prepare to upload the mode.
Create a new .zip file (MAKE SURE it's .zip, not .rar), move your icons/sprites, extra .ms files and CUSTOMStart/End.ms into the thing and name it as 'MODEdependency.zip' or anything of the like.
Close the .zip file. Now open up Misuterii High to test your mode! It's recommended you do this on single-player/your own server. To do this, open the pager to open up Dream Daemon (or search for it, it's on your computer)
Now if you don't have the host files for Misu, you have to download it from the hub page <--
You'll get a .zip file named 'Misuterii Revamped.zip'. Save and extract it to anywhere you want and now you can you open single-player with Dream Daemon.
Misuterii Revamped.dmb is inside Misuterii Revamped.zip, you have to extract it.
Now press the green 'GO' button on Dream Daemon, and Misu should run. Press the yellow arrow button pointing up to enter it.
You should have a minihost/host/admin tab. Click on 'Custom Mode Upload' and then 'Dependency Bulk Upload', and upload your MODEdependency.zip.
Now click on 'Custom Mode Upload' again, only now you click on 'With Music and Picture'. You have pick three files, but remember that it's always in the same order: CUSTOM.ms (main .ms file), CUSTOM.ogg (music file) and finally CUSTOM.dmi (title screen), otherwise it won't upload properly.
Aaand your mode should be uploaded! Remember to turn on Courtesy Reboot or reboot the server once the round ends to avoid issues from occurring. The next time you'd like to upload your mode again, pick 'Select From Existing' so you don't have to upload it the same way everytime, unless you'd like to update your mode.
F) you're done yay
And that's it! You now have your own custom mode, even if it may be very basic! Now you can try approaching an advanced level of mode-making on your own, if you'd like to.
If you encounter coding issues (or issues in general), feel free to contact me through pager or on Misu, I'm online almost everyday.
I hope that wasn't too confusing, I surely might have to clean this up so let me know if it actually is, well, confusing.
Double-clicking the M-state Movie will open this. It's a walk cycle! The first column should always be a standing sprite, because when they stop moving it'll switch to that.
Double-clicking on of the frames may open this Editor:
You can add even more Frames than 4, change the Delay for each frame - anything to your liking, like what I did in Glitch, for example.
Just play around with this and see what you can do.
Now there's another .dmi file called MaleBaseHead.dmi/FemaleBaseHead.dmi right? Well, what is it? It's this:
^
This is a smaller size icon (24x14) that will be the headicon of your icon. Iconicon.
It's important to make sure the State Name of the headicon is the name of your body icon!
That's it for icons! Sort of?
D) Title Screen & Song
This is relatively easy to handle.
First, we'll do the song. You'll need an .ogg or .wav format audio file for the title song (Audio Converter, if you need one).
Leave your song file in your mode's folder.
You could just use and test the CUSTOM.ogg file I've already provided.
For the title screen, you'll need a 512x512 height/width picture. The zkface.jpg file I provided will also work.
Open CUSTOM.dmi. Right-click on the empty white space and choose 'Import...' and then pick zkface.jpg or your own image.
You should now see this, all you need to do is give it a State Name which will have to be your mode's name.
Now you have to remember to set this up in CUSTOM.ms:
E) Uploading the Mode
If you've set up everything right, you should be done! Now to prepare to upload the mode.
Create a new .zip file (MAKE SURE it's .zip, not .rar), move your icons/sprites, extra .ms files and CUSTOMStart/End.ms into the thing and name it as 'MODEdependency.zip' or anything of the like.
Close the .zip file. Now open up Misuterii High to test your mode! It's recommended you do this on single-player/your own server. To do this, open the pager to open up Dream Daemon (or search for it, it's on your computer)
Now if you don't have the host files for Misu, you have to download it from the hub page <--
You'll get a .zip file named 'Misuterii Revamped.zip'. Save and extract it to anywhere you want and now you can you open single-player with Dream Daemon.
Misuterii Revamped.dmb is inside Misuterii Revamped.zip, you have to extract it.
Now press the green 'GO' button on Dream Daemon, and Misu should run. Press the yellow arrow button pointing up to enter it.
You should have a minihost/host/admin tab. Click on 'Custom Mode Upload' and then 'Dependency Bulk Upload', and upload your MODEdependency.zip.
Now click on 'Custom Mode Upload' again, only now you click on 'With Music and Picture'. You have pick three files, but remember that it's always in the same order: CUSTOM.ms (main .ms file), CUSTOM.ogg (music file) and finally CUSTOM.dmi (title screen), otherwise it won't upload properly.
Aaand your mode should be uploaded! Remember to turn on Courtesy Reboot or reboot the server once the round ends to avoid issues from occurring. The next time you'd like to upload your mode again, pick 'Select From Existing' so you don't have to upload it the same way everytime, unless you'd like to update your mode.
F) you're done yay
And that's it! You now have your own custom mode, even if it may be very basic! Now you can try approaching an advanced level of mode-making on your own, if you'd like to.
If you encounter coding issues (or issues in general), feel free to contact me through pager or on Misu, I'm online almost everyday.
I hope that wasn't too confusing, I surely might have to clean this up so let me know if it actually is, well, confusing.