Jump to content

Help: Setting up gamemode


Recommended Posts

I dunno how to set up special gamemode that has special level setting but it doesnt show up

modmain: 

Spoiler

game_modes =
{
    {
        name = "Aritas",
        label = "The Verge",
        description = "Escape the darkness in this Gate Realm.
* Enter the world through the Fractured Gateway.
* PLACEHOLDER
* Use what you can find to fuel the Hearth.",
        settings =
        {
            ghost_sanity_drain = true,
            portal_rez = false,
            level_type = "LEVELTYPE_Aritas",
        }
    }
}
 

modgenmain : 

Spoiler


AddLevel( "LEVELTYPE_ARITAS", {
    id = "ARITAS",
    name = "The Verge",
    desc = "Oh your pitiful embers will flicker out eventually... along with your sanity.",
    location = "forest",
    version = 1.03,
    overrides={
        -- MISC
        task_set = "default",
        start_location = "default",
        world_size = "small",
        branching = "never",
        loop = "never",
        specialevent = "none",
        autumn = "default",
        winter = "noseason",
        spring = "noseason",
        summer = "noseason",
        season_start = "default",
        day = "onlynight",
        weather = "never",
        lightning = "never",
        frograin = "never",
        wildfires = "never",
        touchstone = "never",
        boons = "never",
        disease_delay = "none",
        prefabswaps_start = "default",
        petrification = "none",

        -- RESOURCES
        flowers = "default",
        grass = "default",
        sapling = "default",
        marshbush = "never",
        reeds = "never",
        trees = "default",
        flint = "default",
        rock = "default",
        mushtree = "never",
        fern = "never",
        flower_cave = "never",
        wormlights = "never",

        -- UNPREPARED
        berrybush = "rare",
        carrot = "rare",
        mushroom = "default",
        banana = "never",
        lichen = "never",

        -- ANIMALS
        cave_ponds = "never",
        slurper = "never",
        bunnymen = "never",
        slurtles = "never",
        rocky = "never",
        monkey = "never",

        -- MONSTERS
        spiders = "never",
        cave_spiders = "never",
        tentacles = "never",
        liefs = "never",
        deciduousmonster = "never",
        bats = "never",
        fissure = "always"
        wormattacks = "never",
        worms = "never",
    },
}

 

Link to comment
Share on other sites

Ok sorry i didn't fully understood the initial request.

@PeterA I hope i'm not disturbing you by asking, but there are two modders that recently tried to create custom gamemode with custom level settings and they are both unsuccessful. One is _IvoCZe_ in this topic, the other one is the creator of the Sister Reunited mod. Maybe you can provide useful information about how to achieve this ?

It would be nice to have modders creating this kind of stuff, could even lead to kind of custom events created by community.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...