OpenToontownTools / OpenLevelEditor

An open sourced modernized version of Disney's in-house Toontown Online level editor used to create .dna files.
MIT License
58 stars 14 forks source link

leveleditor: A couple new feautres #8

Closed Benjamin8693 closed 4 years ago

Benjamin8693 commented 4 years ago

Replaced the --clash launch option with --server. This will pave the way for future updates to the level editor that are tailored for specific Toontown games. Right now, there are four modes: "online", "rewritten", "clash", and "offline". Only Clash has a difference at this time.

Added a custom hoods feature. Look at the sample.json file in the hoods folder for a demo on how to create a custom hood. Custom hoods will be loaded automatically when their .json file is present in the hoods folder.

Note: Feel free to change some of the logic regarding how these are loaded. Right now, simply having a custom hood in your hoods folder will automatically load it upon boot of the level editor. I decided to go this route instead of having you to additionally specify that you wanted to load your custom hood. I'm indifferent either way, I just think this is more convenient.

drewc5131 commented 4 years ago

Very nice! I have expanded upon this concept greatly and completely modularized the included playgrounds as well.