Mentrillum / Slender-Fortress-Modified-Versions

A modification of Team Fortress 2 based on the game Slender: The Eight Pages.
GNU General Public License v3.0
34 stars 23 forks source link

Having issues with a pack. #107

Closed Catlexis closed 1 year ago

Catlexis commented 1 year ago
L 02/08/2023 - 09:05:03: [sf2.smx] hypersnatcher_nerfed...
L 02/08/2023 - 09:05:03: [sf2.smx] rake...
L 02/08/2023 - 09:05:03: [sf2.smx] weepingangel...
L 02/08/2023 - 09:05:03: [sf2.smx] fnaf1_foxy...
L 02/08/2023 - 09:05:03: [sf2.smx] fnaf1_freddy...
L 02/08/2023 - 09:05:03: [sf2.smx] fnaf1_bonnie...
L 02/08/2023 - 09:05:03: [sf2.smx] fnaf1_goldenfreddy...
L 02/08/2023 - 09:05:03: [sf2.smx] fnaf1_chica...
L 02/08/2023 - 09:05:03: [sf2.smx] slenderman...
L 02/08/2023 - 09:05:03: [sf2.smx] Loaded 9 boss profile(s) from directory!
L 02/08/2023 - 09:05:03: [sf2.smx] Loading boss profile files from directory configs/sf2/profiles/packs/FiveNight2...
L 02/08/2023 - 09:05:03: [sf2.smx] addons/sourcemod/configs/sf2/profiles/packs/FiveNight2/fnaf2mangle.cfg...FAILED (reason: Parsing failed. Check the formatting of your file!)
L 02/08/2023 - 09:05:03: [sf2.smx] addons/sourcemod/configs/sf2/profiles/packs/FiveNight2/fnaf2bboy.cfg...FAILED (reason: Parsing failed. Check the formatting of your file!)
L 02/08/2023 - 09:05:03: [sf2.smx] addons/sourcemod/configs/sf2/profiles/packs/FiveNight2/fnaf2puppet.cfg...FAILED (reason: Parsing failed. Check the formatting of your file!)
L 02/08/2023 - 09:05:03: [sf2.smx] addons/sourcemod/configs/sf2/profiles/packs/FiveNight2/fnaf2freddy.cfg...FAILED (reason: Parsing failed. Check the formatting of your file!)
L 02/08/2023 - 09:05:03: [sf2.smx] addons/sourcemod/configs/sf2/profiles/packs/FiveNight2/fnaf2chica.cfg...FAILED (reason: Parsing failed. Check the formatting of your file!)
L 02/08/2023 - 09:05:03: [sf2.smx] addons/sourcemod/configs/sf2/profiles/packs/FiveNight2/fnaf2bonnie.cfg...FAILED (reason: Parsing failed. Check the formatting of your file!)```

I managed to get this to work but then my configs are now having issues. I do not know why. I used the config re-writer on the single config and it turned it into multiple so I figured putting them together in a pack would still work as intended but I guess not?

Here one of the config files text:

 "fnaf2_freddy"
{
    "name" "Toy Freddy"
    "type" "2"
    "speed" "350.0"
    "acceleration" "6000.0"
    "speed_max" "450.0"
    "walkspeed" "100.0"
    "walkspeed_max" "200.0"
    "model" "models/i6nis_2/toyfreddy/toyfreddy.mdl"
    "model_scale" "1.0"
    "eye_pos" "0 0 80"
    "mins" "-16 -16 0"
    "maxs" "16 16 64"
    "maxyawrate" "600.0"
    "fov" "360"
    "skin" "0"

    "enable_random_selection" "1"

    "teleport_time_min" "6.0"
    "teleport_time_max" "8.0"
    "teleport_range_min" "100.0"
    "teleport_range_max" "1000.0"
    "teleport_target_rest_period" "8.0"
    "teleport_target_persistency_period" "8.0"
    "teleport_target_stress_min" "0.8"
    "teleport_target_stress_max" "1.0"
    "teleport_type" "0"

    "static_shake" "1"
    "static_on_look" "1"
    "static_on_look_gracetime" "5.0"
    "static_on_radius" "1"
    "static_rate" "0.25"
    "static_rate_decay" "0.5"
    "static_radius" "200.0"
    "kill_radius" "60.0"
    "scare_radius" "300.0"
    "scare_cooldown" "10.0"

    "search_view_distance" "1000.0"
    "alert_gracetime" "0.0"

    "chase_duration" "4"

    "wake_radius" "600.0"

    "wander_move" "0"

    "animations"
    {
        "idle"
        {
            "1"
            {
                "name" "idle"
            }
        }
        "walk"
        {
            "1"
            {
                "name" "run"
                "playbackrate" "1.0"
            }
        }
        "run"
        {
            "1"
            {
                "name" "run"
                "playbackrate" "1.0"
            }
        }
    }

    "death_cam" "1"
    "death_cam_pos" "0 0 72"
    "death_cam_overlay" "1"
    "death_cam_time_overlay_start" "0.0"
    "death_cam_time_death" "0.6"
    "death_cam_play_scare_sound" "0"

    "companions"
    {
        "type" "on_spawn on_difficulty_change"
        "boss_group"
        {
            "bosses"
            {
                "1" "fnaf2_chica"
                "2" "fnaf2_bonnie"
                "3" "fnaf2_mangle"
                "4" "fnaf2_bboy"
                "5" "fnaf2_puppet"
            }
        }
    }

    "sound_spawn_all"
    {
        "paths"
        {
            "1" "slender/fnaf2/animatron2_intro_1.wav"
        }
    }

    "sound_player_deathcam"
    {
        "paths"
        {
            "1" "slender/fnaf2/animatron_kill.wav"
        }
    }

    "sound_scare_player"
    {
        "paths"
        {
            "1" "slender/fivenights_common/animatron_scare.wav"
        }
    }

    "sound_static"
    {
        "paths"
        {
            "1" "slender/static.wav"
        }
    }

    "overlay_player_death"
    {
        "1" "overlays/slender/fnaf2/toyfreddyscare"
    }

    "sound_alert_music"
    {
        "paths"
        {
            "1" "slender/fnaf2/return_danger_loop.wav"
        }
    }

    "sound_chase_music"
    {
        "paths"
        {
            "1" "slender/fnaf2/animatron2_chase.wav"
        }
    }

    "mat_download"
    {
        "1" "materials/models/i6nis_2/toyfreddy/newfreddy_body"
        "2" "materials/models/i6nis_2/toyfreddy/newfreddy_eyes1"
        "3" "materials/models/i6nis_2/toyfreddy/newfreddy_head"
        "4" "materials/overlays/slender/fnaf2/toyfreddyscare"
    }

    "download"
    {
        "1" "materials/models/i6nis_2/toyfreddy/eyemask.vtf"
        "2" "materials/models/i6nis_2/shared/white.vtf"
        "3" "materials/models/i6nis_2/shared/metalbarebump.vtf"
        "4" "materials/models/i6nis_2/shared/animatronic_exp.vtf"
    }

    "attributes"
    {

        "reduced speed on look"
        {
            "value" "0.5"
        }

        "reduced walk speed on look"
        {
            "value" "0.0"
        }
    }
}

Any help would be appreciated.