sr_koth
sr_KOTH — King of the Hill + AI Soldiers + Reward Chest
– Dynamic King of the Hill events with rotating locations and an in-world flag.
– Optional armed AI soldiers (Expansion AI) replacing zombies, with full configurable gear.
– Reward chest spawns on capture, using a custom 3D model and proper attachments/magazines.
– Dynamic Events: Starts, cleans up, and rotates KOTH zones automatically.
– Capture Flag: In-world flag object marks the zone and helps orient players.
– Enemy: Spawns enemies based on KOTH config; can override counts per event.
– AI Soldiers (Optional): If Expansion AI is loaded, sr_KOTH spawns armed survivors with loadouts.
– Configurable Loadouts: Weapons, magazines, attachments, clothing (pants, boots, jackets, gloves, vests, helmets, backpacks).
– Reward Chest: Custom chest model; auto-fills with loot and attaches compatible mags/optics.
– Server starts → sr_KOTH chooses a hill and spawns zone + flag.
– Enemies spawn: zombies (default) or armed AI (if enabled and Expansion AI present).
– Players capture the zone → A reward chest appears and populates with configured loot.
– Event cleans up and rotates to a new location.
– AI Soldiers & Loadouts (`$profile:/Sirius/sr_kothAI.json`)
– Generated on first run. Controls whether armed AI soldiers are used and their gear.
– Defaults:
– `UseExpansionAI`: 1 (enable armed AI when Expansion AI is loaded)
– `EnemyCountOverride`: 0 (use each KOTH’s own `Enemies_Count`)
– `SpawnRadius`: 100.0
– `AIClasses`: ["eAI_SurvivorM_Mirek", "eAI_SurvivorM"]
– `Loadouts`: Assault (M4A1), Sniper (Mosin), Heavy (AKM) with attachments/clothing
– Edit and restart server to apply changes.
– KOTH Behavior & Enemy Counts (`$profile:/Sirius/KOTHConfig.json`)
– Global settings (`SRK_SettingsConfig`):
– `Minimum_Players`, `KOTH_Max_Simultaneous`, `KOTH_Time_Between`, `KOTH_Time_Limit`, `KOTH_Capture_Time`, `KOTH_Spawn_Start_Delay` control cadence and duration.
– `KOTH_Players_In_Radius_Check_Range` blocks starts if players are near the spawn.
– `KOTH_Capture_Speed_Bonus_PerPlayer_PerSec` and `…_Max` increase capture speed with more players.
– `KOTH_Flag_Lower_If_Abandoned` slowly lowers progress when empty.
– `Map_Marker_Enabled`, `LB_Marker_Radius`, `Perspective_Marker_Enabled`, `Notification_Enabled`, `Logging_Enabled`, `Debug_QuickMode` toggle visuals/notifications/logging.
– `KOTH_Enemies`: list of enemy classnames with `SpawnRarity` (spawn if `Random(0..99) >= SpawnRarity`). Lower values = more common.
– Per-location entries (`SRK_KOTHConfig` in `KOTHs`):
– `Name`, `Reward_Position`, `Reward_Orientation` place the event.
– `Capture_Radius` sets capture zone size.
– `Enemies_Count` exact number of enemies to spawn for the event.
– `Reward_Loot_Count` items to drop into the reward container.
– `KOTH_Type` filters loot pools (`Military`, `Medical`, `BaseBuilding`, `Sellables`, `Rare`).
– `Reward_Container_Classnames` preferred container(s) for this location.
– `Allowed_KOTH_Types` restricts which loot pools can be used at this location.
– sr_KOTH (this mod bundle).
– Optional: Expansion AI (only required if you enable AI soldiers).
Installation
– Place the mod in the server’s mod folder and add it to your `-mod` launch parameter.
– Start the server once to generate `$profile:/Sirius/sr_kothAI.json`.
– Set `UseExpansionAI` to 1 in the JSON if you want armed AI.
– AI with no weapon/clothing: Ensure classnames exist in your loaded mods; check server logs for `[sr_kothAI]` messages.
– Expansion AI not active: Confirm the Expansion AI mod is loaded and `UseExpansionAI` is set to 1.
– Rewards missing attachments: Verify items exist and are compatible
– Author: taxus & Merc
– Special Thanks to @Pupzee for making the Progressbar working
– Components: KOTH event system, optional Expansion AI integration, custom reward chest asset.
– Use on servers permitted; repacks must credit the author.
– Do not sell or redistribute without permission.
Revisions:
Old revisions of this mod are available below. Click the link to download.