Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/10/2019 in Posts

  1. aidenpons

    Custom Level Cafeteria Framework

    I've picked up LRR modding again, and one of RRU's dreams has, I think, always been to convert the Training Missions accessible from the main menu into an area where you could quickly play custom levels. However, given the difficulty of file naming (Cror_13.map), CFG shenanigans (FrontEndX and FrontEndY), and images, it's just generally been a bit painful: hence why several levels just overwrite existing ones: clearly not good for compatibility. However, I have created a Cafeteria framework which allows you to insert your own levels with ease! It functions by ignoring the config for the tutorial levels entirely and creating its own new batch of levels: RRULevel01 through to RRULevel08*, shamelessly copying the icons and positioning from the tutorials (why not?) But from here, levels can be inserted using a common file configuration: you only need to specify the level number and some properties about the level: for instance, what biome, what level name, erosion parameters. * It will be extremely easy to extend this up to 8+25 = 33 using the existing LevelPicker, and it is straightforward to add more, so there's hardly a limit. Screenshots? Well, I have to say they don't exactly look that impressive due to Community Edition not having a background for the tutorial missions. But I guarantee you it works! Download the framework here (also contains a template which contains Driller Night.). I also have prepared some examples for you, using Ice Sanctuary. Bolt Molt, Cunning Canyons, and Xiron: download these here. List of levels that are known to use the framework. Bracketed indicates name of author. - Ice Sanctuary (aidenpons) - Bolt Molt (Cyrem) - Cunning Canyons (alan) - Xiron (aidenpons), download links for the four above - Christchurch (aidenpons) - Hard Luck (JimbobJeffers) - Water Lot of Fun II (aidenpons) Known Issues and General Shenanigans: - Levels that do not have data set to them will show up as RRU Level 05 or suchlike, and clicking them will crash the game. Just click on the levels you actually installed files for - The set of default priorities includes Priority_BuildPath. If Improvements Pack is not installed, this will show up as an empty box. However, it does not have an effect on the game. You can modify this for your own maps. - Due to the Training Missions being unable to reliably access saved data, you will not have upgraded trained raiders. This is especially a problem where certain levels require Explosive Experts (eg Bolt Molt). If this is neccessary, load a save with upgraded raiders, go back to the main menu, and re-access the Training Missions. - Using the same number for two sets of level data will probably cause stupid stuff. Just don't even try. - Plays up on Cafeteria v0.9.3 due to that version of Cafeteria liking to do doubles of everything you tell it, which doesn't work well when the commands are separate. However it works fine with the version of Cafeteria that comes with Community Edition. - No background for Training Missions means it looks extremely glitchy as it doesn't 'paint' over where your cursor / anything else was. The menu is still functional. This depends on what version of CE you are using. - "Reward" (the scoring system) is currently not functional. - A crystal requirement of less than 25 will not be reflected in the size of the crystal bar on the right (for instance in Driller Night you can clearly see you only need five crystals). This is because the size of the crystal bar is actually defined under Reward. You can change this by using CFG:SetProperty in script.txt - The menu still says "Training Missions" as opposed to "RRU Levels" or suchlike. The hope is that @Cyrem will be able to automate this into Cafeteria: such that you don't even need to pick a number, you just put your files in a Custom Levels\MyLevelName folder and Cafeteria sorts everything out, and it shows up! With thanks to: @Cyrem for Cafeteria, for the modding tools, for the forum, and for everything Also putting up with the pings on the Discord @alan for making me realise that we weren't restricted to just Level01...Level25 for level names @everyone for making RRU my happy place (this is why Christchurch was not included as one of the example levels).
    1 point
  2. Cyrem

    Custom Level Cafeteria Framework

    Great stuff Aiden! I think we can get a good amount of this automated in Cafeteria with an unrestrained amount of levels that can be added.
    1 point
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.