Placement Configs - oSoDirty/DNA_Keycards GitHub Wiki

Strongroom and Keycard Placements:

Options found at (DNA_Keycards/System/Main/KeyCard_Main_System_Config.json)

You have the options of:

Completely ignoring the config and using whatever you would usually use to make map edits:

Just be warned that some of these methods have persistence checks and falsely flag some of our stuff as persistent, so this check will need to be disabled.

Random Placement:

This requires you to define positions and orientations, and to tell it how many spawns to choose.

Using crates, and yellow tier as examples. Strongrooms annd other tiers are done the same.

To turn on random spawns:

    {
        "dna_Option": "(0) Use DNA To Spawn Crates (0 = off, 1 = random, 2 = static) If off, you will need to place the crates yourself",
        "dna_Setting": 1
    },

Then tell it how many:

    {
        "dna_Option": "(2) Yellow Crates Spawn Count",  //some text removed for fitment
        "dna_Setting": 7
    },

Then provide location info:

"m_DNAYellow_Crate_Locations": [
    {
        "dna_Location": "3328.848389 198.472443 13084.715820",
        "dna_Rotation": "49.643105 0.0 0.0"
    },
    {
        "dna_Location": "3417.205078 220.203018 12482.855469",
        "dna_Rotation": "152.570480 0.0 0.0"
    },
    {
        "dna_Location": "3734.099365 190.571991 12992.083984",
        "dna_Rotation": "-67.026039 0.0 0.0"
    },
    {
        "dna_Location": "7692.147949 135.166931 12745.474609",
        "dna_Rotation": "113.838051 0.0 0.0"
    },
    {
        "dna_Location": "7863.049805 140.041382 12411.023438",
        "dna_Rotation": "-178.859634 0.0 0.0"
    },
    {
        "dna_Location": "8649.050781 105.542427 12778.619141",
        "dna_Rotation": "56.239315 0.0 0.0"
    },
    {
        "dna_Location": "6029.302246 300.994934 7857.963379",
        "dna_Rotation": "163.454498 0.0 0.0"
    },
    {
        "dna_Location": "5949.381348 304.476501 7758.266602",
        "dna_Rotation": "74.914856 0.0 0.0"
    },
    {
        "dna_Location": "12040.500000 27.478399 14358.700195",
        "dna_Rotation": "-52.271988 0.0 0.0"
    },
    {
        "dna_Location": "12316.581055 21.902687 14292.520508",
        "dna_Rotation": "-60.831333 0.0 0.0"
    },
    {
        "dna_Location": "12202.111328 11.130913 9803.389648",
        "dna_Rotation": "111.130592 0.0 0.0"
    },
    {
        "dna_Location": "13119.605469 6.150215 10449.920898",
        "dna_Rotation": "-76.559540 0.0 0.0"
    },
    {
        "dna_Location": "12935.905273 6.271965 8156.300781",
        "dna_Rotation": "114.085686 0.0 0.0"
    },
    {
        "dna_Location": "12033.036133 5.921062 3621.758545",
        "dna_Rotation": "-172.767624 0.0 0.0"
    },
    {
        "dna_Location": "12074.839844 3.048074 3459.416260",
        "dna_Rotation": "-172.411758 0.0 0.0"
    },
    {
        "dna_Location": "10343.739258 6.163039 2226.721191",
        "dna_Rotation": "137.0 0.0 0.0"
    },
    {
        "dna_Location": "9974.634766 6.885249 1890.477783",
        "dna_Rotation": "150.857895 0.0 0.0"
    },
    {
        "dna_Location": "7004.480957 6.188052 2906.517090",
        "dna_Rotation": "118.636078 0.0 0.0"
    },
    {
        "dna_Location": "6993.927734 6.201120 2683.522705",
        "dna_Rotation": "105.598465 0.0 0.0"
    },
    {
        "dna_Location": "4415.735840 3.032235 2249.343506",
        "dna_Rotation": "-134.683762 0.0 0.0"
    },
    {
        "dna_Location": "6329.942871 9.301888 2579.995605",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Location": "6037.622559 302.243195 7690.995605",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Location": "12003.086914 28.353891 14272.604492",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Location": "12206.666992 18.235729 9530.065430",
        "dna_Rotation": "0.0 0.0 0.0"
    }
],

Be sure to have as many as or preferably many more locations than number of spawns chosen.

Static Placement:

To turn on static spawns:

    {
        "dna_Option": "(0) Use DNA To Spawn Crates (0 = off, 1 = random, 2 = static) If off, you will need to place the crates yourself",
        "dna_Setting": 2
    },

A number doesn't need to be defined, static will spawn all provided locations. See above for locations example.

Though the system has a filter for non locations:

"m_DNAYellow_Crate_Locations": [
    {
        "dna_Location": "0.0 0.0 0.0",
        "dna_Rotation": "0.0 0.0 0.0"
    }
],

It's best to remove them while leaving the main body like so:

"m_DNAYellow_Crate_Locations": [
],

Removing the main body for a tier will cause errors and a crash log.

Smol Crate Placement:

These are a bit different. They only spawn static, and there is only one array for placements. Options found at (DNA_Keycards/System/Other/SmolCrates_Config.json)

    {
        "dna_Tier": "Yellow",
        "dna_Location": "13249.240234 4.267279 9916.133789",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Tier": "Green",
        "dna_Location": "13237.559570 6.460884 9922.253906",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Tier": "Blue",
        "dna_Location": "13241.906250 5.385430 9917.638672",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Tier": "Purple",
        "dna_Location": "13245.394531 4.683599 9916.873047",
        "dna_Rotation": "0.0 0.0 0.0"
    },
    {
        "dna_Tier": "Red",
        "dna_Location": "13238.091797 6.161747 9918.354492",
        "dna_Rotation": "0.0 0.0 0.0"
    },

must also set "dna_SpawnSmolCrates": to 1 or true to activate spawns. Just repeat as many placements as needed and just set which ever tier you'd like and it will spawn them.

ALL OTHER ASSETS MUST BE PLACED WITH A MAP EDITOR OF YOUR CHOICE

Another note: When using VPP to place objects, you need to check the box that says "filter by scope" or you will not find what you're looking for.