OgarProject / Ogar

An open source Agar.io server implementation, written with Node.js.
Other
715 stars 825 forks source link

Quicker way to customize Ogar with gamemodes and skins #629

Open IAP-Reloaded opened 8 years ago

IAP-Reloaded commented 8 years ago

There should be an easier way to customize Ogar.

Right now in order to add gamemodes you have to put all the code yourself. You can't really add skins, however

Instead, I think you should be able to drop a .ZIP file (that actually has an extension of .OGARMODE) into a "custom" folder containing all that was changed in the "src" folder. It would simply merge all the code when needed.

Skins would be added by dropping a .ZIP file (showing the extension of .OGARSKIN) with a .png file and then a file named Skins.json that had values for the image name and what you type in to get the skin. These .OGARSKIN files would be in the "custom" folder. Like the gamemodes, it would simply merge all the code when needed.

Both custom skins and gamemodes would be added by dropping the file into a "custom" folder found in your installation of Ogar, or by typing this command:

install [skin|gamemode] [source]

You would put skin or gamemode depending on which one it would be. Alternatively:

install [source]

Would detect skin or gamemode based on the file extension (.OGARMODE vs. .OGARSKIN).

Both of these would be able to use a local file or one off of GitHub/the internet.

This essentially works like resource packs in Minecraft.

jerk commented 8 years ago

https://github.com/AJS-development/Ogar-unlimited

Luka967 commented 8 years ago

@sethdm02 That is a completely different thing bud.

SorryAgario commented 8 years ago

Where do we get the "ZIP" with the extension "OGARMODE" "OGARSKINS"? @IAP-Reloaded

Luka967 commented 8 years ago

Soon incoming update which will support plugins, add-on commands and gamemodes along with another perfomance fix.