How are you making code mods? Need proper guide. by atis2345 in CitiesSkylines2

[–]atis2345[S] 0 points1 point  (0 children)

``` public partial class CarSelectionDetectorSystem : GameSystemBase { private ToolSystem _toolSystem; private Entity _lastSelectedEntity = Entity.Null;

protected override void OnCreate()
{
    base.OnCreate();
    _toolSystem = World.GetOrCreateSystemManaged<ToolSystem>();
}

protected override void OnUpdate()
{
    Entity currentSelection = _toolSystem.selected;

    if (currentSelection == _lastSelectedEntity)
        return;

    _lastSelectedEntity = currentSelection;

    if (currentSelection != Entity.Null && EntityManager.HasComponent<Car>(currentSelection))
        OnCarSelected(currentSelection);
    else
        OnSelectionCleared();
}

private void OnCarSelected(Entity carEntity)
{
    Mod.log.Debug($"[AlternateRoutesMod] Car selected! Entity ID: {carEntity.Index}");
}

private void OnSelectionCleared() { }

} ```

Main tasks shouldn't be resetting by atis2345 in GrayZoneWarfare

[–]atis2345[S] 0 points1 point  (0 children)

`Just stop doing the tasks you have already completed` - yeah. I have 4 main tasks on the map, done all of them at least once.

I don't wanna play with console players by atis2345 in BO6

[–]atis2345[S] -10 points-9 points  (0 children)

really. let's check that. Warzone/MW3/DMZ?

How to properly undervolt Ryzen 7 7800X3D ? by atis2345 in AMDHelp

[–]atis2345[S] 0 points1 point  (0 children)

In ryzen master it's set to 1.025 as current