SC2Mapster is quite empty unlike last year and before but I will post two systems I made recently and that I would like to share.
LotV League MMR Promotion / Demotion System
In 2011 or 2012 I created a system for promotion and demotion with league icon that was based on Win rate and adding some random points for gaining next league. Years ago, I already updated the system to use MMR value but it was far from the way it is made in the LotV ladder. Around training some control I decided to update the system based on the Ladder Revamp that Blizzard made last year.
What is the system?
A GUI-based system made with triggers to track stats for any game you wish to use the system on. Can be used online and offline via Handle Of Player.
What use does it have?
The same as the use you have for using SC2Bank files to track wins and losses. If you also like having stats and deciding things the ladder way, then you might find use in it. It could be good for melee based mods and maps.
Improvements & Features
The triggers have been improved a lot in comparison to the needless repeating of actions that was in the first releases
League and MMR system with placement UI the same way as LotV Ranked Ladder
Just like there is no mid-season demotion, there is no mid-game demotion, it will update in the beginning another time when the map is launched
Promotion happens when the MMR is reached based on the mentioned ranges
The actual battle net system has more complexity such as uncertainty factor and others but to make the best of it offline, with a variable in the formula, one can determine if much more or less MMR can be rewarded or lost.
Requires only few changes to implement into a map – you only need to set the Int. Victory to the winning player and run CareerStatsChange definition. It can be adjusted for team to win, I have done that in the past but in that case Victory can be replaced by a group.
Includes a mini-game that mostly you may not be interested in training but for the purpose to test the system, it is In the map.
This system is for campaign maps and used in my missions. It is probably the only way to use your own system time for the lighting in-game. Day/Night isn’t something new, you can have different times based on Elapsed Time events with Blend from one lighting to another. Years ago I felt like making the lighting based on my local time. So, if it is evening, I liked if entering the map, also to be evening. I didn’t know how to do that, since triggers cannot use your Windows system time.
Now you can do that with at least one double-click before starting a map. It requires external utility, otherwise it is quite easy. I also wanted the time to differ based on season (time of the year) but I did not feel like using blending between lights, so you can do that yourself if you wish.
What use does it have?
It is mostly for offline play, unless you find use to implement it online per player.
Besides using it as a way to play different time of the day based on your time, so it feels more immersive, this is also a proper application of resources I submitted last year. Switching the Skybox model in-game distorted the texture mapping and it did not look well, so I had to use a Doodad of the Skybox to TextureSelectById the Skybox to the day and night version. Now, the day, sunset, night Skyboxes also change along with the light based on your local time of the day. There are 3 Skyboxes for the city, though, the lights are more.
I use them for Korhal, and I know one would say it would not be necessarily behaving like Earth around the Sun. Still, I think the concept of Korhal is that of a planet in the habitable zone with environment similar to that of the Earth.
Lights to use based on your local time
Different times of changing the light based on a season
Opportunity to have a constant light in one place, while the Day/Night changes outside (some lights cover the whole map, only in 3 lights more than one region is used - at Sunset, Dusk and Night you will see the other region)
How to use
Copy the EnvironmentOfPlanet action definition and make sure you have a var for the SC2Bank or use the same from the attached map.
Use the same SC2Bank from the triggers inside this map or use your own SC2Bank to create the section with name Environment (optional name). It is preferable to keep the trigger adding the HHmm part of the substring inside the Key name because the external program can find easily the exact part to print your local time into if there is a unique place within the SC2Bank. This will ensure it will replace exactly this part and won't mess up your SC2Bank.
Once the triggers are there and the variable and SC2Bank properly connected, also the Skybox Doodad is placed on the map if you want to use it and linked within EnvironmentOfPlanet, you are set. It will create the entry in the SC2Bank.
For offline play, place RxFind.exe (Regex search and replace tool, you can also get it from the original website) and SyncPlanetTime.bat in the Documents\StarCraft II\Banks folder. For online find the Banks\ folder for your battle net account and place the same files there. All that matters is they need to be in the same folder, unless you want to specify path and edit code.
Every time before you launch your map double click or start the SyncPlanetTime.bat and it will do the rest for you (setting local time and the map will update the light and the Skybox based on your time.
Put the DayNight.SC2Bank (example bank), RxFind.exe and SyncPlanetTime.bat in your Banks\ folder.