Git Product home page Git Product logo

anarchy-bepinex's Introduction

Anarchy

Deprecated No Longer Supported. Please see https://github.com/yenyang/Anarchy.

Anarchy disables error checks for tools in a way that the errors are not shown at all.

This mod allows you to place vegetation and props (with DevUI 'Add Object' menu) overlapping or inside the boundaries of other objects and close together.

For consistency within the community, please do not use the term Anarchy to mean something else for CSL2.

Sully has prepared an Amazing! demo video about detailing with Anarchy available on Youtube.

Dependencies

Unified Icon Library

BepInExPack

Change Log

Available on Github

Donations

If you want to say thank you with a donation you can do so on Buy Me A Coffee.

Translations

I am looking for volunteers to help translate the mod into the official languages. For those interested please go to CrowdIn. Current Localization Support: Spanish by Nyoko, German by Hendrix, and Chinese Simplified by RilkeXS.

Detailed Descrption

The mod also has:

  • Optional Tool icon
  • Keyboard shortcut (Ctrl+A)
  • Optional flaming chirper
  • Option to automatically enable with bulldozer
  • Optional mouse tooltip
  • Opt-In Option to allow multiple copies of unique buildings using toolbar menu. Effects of multiple buildings stack!
  • Option to set minimum clearance below elevated networks even while Anarchy is active in case you don't remove the zoning under a low bridge. It would be better just to remove the zoning.

These features are no longer part of Anarchy and have moved to a new mod called Better Bulldozer:

  • Icons for game manipulation and bypass confirmation for bulldozer.
  • Icon to show and EXCLUSIVELY target invisible paths/markers with the bulldozer and remove invisible paths/markers.
  • Icon to EXCLUSIVELY target surfaces with the bulldozer and remove with one click.

Currently it applies to these tools:

  • Object Tool
  • Net Tool (While using the net tool Anarchy will now let you violate the clearance of other networks. I don't recommend having zoning under low bridges.)
  • Area Tool (Can exceed limits for specialized industry areas)
  • Bulldoze Tool (Option to default Anarchy to ON when activated)
  • Terrain Tool (Cross the line within playable area.)
  • Upgrade Tool
  • Line Tool from Line Tool Lite by Algernon

You can activate anarchy with the keyboard shortcut "Ctrl+A" or with the optional tool icon that only appears while using the above tools.

You can tell anarchy is active using optional Flaming Chirper, the tool icon, or a tooltip.

The following errors will not occur while Anarchy is enabled:

  • Overlap Existing
  • Invalid Shape
  • Long Distance
  • Tight Curve
  • Already Upgraded
  • In Water
  • No Water
  • Exceeds City Limits (This provides Cross the line Functionality)
  • Not On Shoreline
  • Already Exists
  • Short Distance
  • Low Elevation
  • Small Area
  • Steep Slope
  • Not On Border
  • No Groundwater
  • On Fire
  • Exceeds Lot Limits (Editor Only)

If you find an error that you think should be added or if you find a tool that this should also be included, please let me know.

Props and Trees

Placing standalone props is an unsupported feature of the game. You need DevUI to access the 'Add Object' menu via the home button to place standalone props.

With Anarchy enabled, you can place props and trees overlapping or inside the boundaries of buildings, nets, areas, other trees, other props, etc. Props and trees placed with Anarchy enabled cannot be overriden later (even if later Anarchy is disabled), but can be removed with bulldozer or brush.

Props overlapping with buildings or nets may sometimes be culled by the game, and disappear until reloading or something interacts with or near them. The mod has an option to routinely refresh props that were culled so they don't disappear. This affects performance but you can adjust the frequency. You can also manually trigger a prop refresh using a button in the options menu.

Pro tip: Use the brush mode to remove trees and standalone props. If you unselect the brush snapping option for "Remove only matching type", and right click you can remove them within a radius and it only targets standalone props and trees.

Invisible Paths, Roads, and Markers

The mod will automatically toggle the DevUI setting to "Show Markers" when drawing or plopping invisible paths, roads, object markers, etc.

You can toggle DevUI Setting to "Show Markers" yourself using DevUI -> Gameplay -> Show Markers. There is also a toggle in Extra Landscaping Tools 2.0 or later while drawing surfaces.

ABSOLUTELY, NEVER, attach an invisible path/road to an invisible paths/roads in growable/zoned buildings!!! Several triggers that will occur later will crash your game. You can attach an invisible path or road to an invisible paths/roads in ploppable building, but if you later want to apply one of the various building upgdrades you will need to remove the attached invisible networks first.

Disclaimer

This mod does NOT allow you to do everything including:

  • If the vanilla net tool would remove an existing network, it will still do that.
  • Even if the mod disables the error check, the UI may still prevent you from doing something.
  • Does not give additional control for prop placement.
  • Not much testing is done on the effects of this mod on maps created using the unfinished editor.

Please save frequently, in multiple files, and learn to use responsibly.

Support

I will respond on the code modding channels on Cities: Skylines Modding Discord

Credits

  • yenyang - Mod Author
  • Chameleon TBN - Testing, Feedback, Icons, & Logo
  • Sully - Testing, Feedback, and Promotional Material.
  • Algernon - Help with UI, Cooperative Development & Code Sharing
  • Bad Peanut - Image Credit for Flaming Chirper
  • T.D.W., Klyte45, krzychu124, & Quboid - Cooperative Development & Code Sharing
  • Localization: Nyoko (Spanish), Hendrix (German), and RilkeXS (Chinese Simplified)
  • Dante, starrysum - Testing, Feedback

anarchy-bepinex's People

Contributors

yenyang avatar

Stargazers

 avatar CScgy avatar Saksham Khurana avatar Matthew Hazlett avatar Zalax avatar  avatar Jayandare avatar  avatar Alfie Moon avatar  avatar

Watchers

Matthew Hazlett avatar Alexander Gemsa avatar  avatar  avatar

anarchy-bepinex's Issues

Can't see invisible roads/paths while bulldoze tool is closed as of 1.2.2

Using 1.2.1 I could enable the target markers option with the bulldozer, and when I would exit the bulldozer tool I could still see invisible roads and paths to detail around them until I went back in and disabled target markers. Now when I exit the bulldozer tool I can no longer see the paths. It's just guesswork trying to place surfaces to make custom roads and paths.

Props previously placed are disappearing when placing new props

For some reason this started happening today, before today it wasn't an issue. Now whenever I place new props it's making previously placed props disappear, most especially props previously placed using Anarchy but it's happening with other props to a lesser extent. The refresh props option doesn't seem to do anything (it didn't do anything before either) and reloading my save or the game doesn't seem to make them re-appear either. I saw there was a new version out yesterday so I tried installing that and it's not helping either. I really love the mod, it's really opened up my creative possibilities so I hope this is something you can do something about. Anyways thanks for the hard work.

Automatic hiding

I have added a whole lot of trees to an area, but now when I lay a road through this area, the trees remain on top of the road.

I even tried with Anarchy off, but then still the road was covered in trees.

Would it be possible for the trees to be automatically hidden when a road is laid over the trees?

SUGGESTION: Anarchy enable / disable per category

I use anarchy a lot for say adding trees where I like, then I leave it on by mistake and end up making messed up road networks, or not destroying placed trees when laying down roads or buildings due to leaving it on. Would be great if the mod could store on/off status per category (network, building, props) for e.g. so the user can have the anarchy enabled where they want it and leave it disabled everywhere else.

Also, great mod! It's revitalized my skylines 2 interest!

Crashing on startup

I'm getting an error that starts off with:
TypeLoadException: Could not load type of field 'Anarchy.AnarchyMod:k__BackingField'

I cannot figure out how to fix it

Not an issue but a question/request

Hey man, great mod.

Could you maybe look into making Bulldoze somehow works to delete invisible paths?
There is a few invisible paths that we can use with the game right now from the Dev object menu (invisible pedestrian path, road paths, etc) but the issue is that once you place them, there is no way to remove them as nothing selects it.

Maybe as part of the Anarchy mode you could try to see if there is a way.

Thanks!

Anarchy should not allow placing roads when placing roads with parallel tool with train tracks

Hello,

I am on 1.3.2, and i experience problems when placing roads parallel to train tracks using parallel tool (Click on train tracks with road to let it guide you).

The problem occurs when the road is placed underneath the train tracks, sometimes messing up their nodes and not being able to fix by destroying the road (the road is invisible). Also when there is possibility to place the road through the train tracks (in curve), it places the road too - should this be intended behavior?

First photo is after creating straight parallel road (PATHFINDING FAILED). First photo

The second when there is a curve. Second photo

Thank you for your time

Trams and Trains continue to stall after most recent Anarchy update.

The PreventOverride component is still an issue on my trams and trains, but the sims and cars seem to be fixed. I ran the game after the update with Anarchy installed then after noticing the issue persisted I disabled anarchy and reloaded. Trams and trains were still stuck so I rebuilt the areas of the track where they were getting stuck and redrew the lines. It doesn't matter what new track I build the trams will only get so far from the station before stalling permanently. Would love some help fixing this! Thank you for your hard work!

UI Bug with XBOX360 controller

I know this does not effect many users but using an Xbox 360 controller you are unable to use the up down arrows on the D pad to select the Anarchy check box.

Method to replicate issue.
When choosing a menu option like building roads for example you would select the advanced options to the left by pressing the X button on the controller. then scroll up and down the options with the D Pad buttons, however you are unable to reach the Anarchy selection menu entry by doing this.

Anarchy Mod help

[Error : Unity Log] ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load type of field 'Anarchy.AnarchyMod:k__BackingField' (2) due to: Could not resolve type with token 0100005f from typeref (expected class 'Game.Modding.ModSetting' in assembly 'Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:Game.Modding.ModSetting member:(null)
Could not resolve type with token 0100005f from typeref (expected class 'Game.Modding.ModSetting' in assembly 'Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:Game.Modding.ModSetting member:(null)
Stack trace:
System.Reflection.Assembly.GetTypes () (at :0)
Unity.Entities.TypeManager.InitializeAllComponentTypes () (at <44bbde2b9f584d7f9739ff08060d49d7>:0)
Unity.Entities.TypeManager.Initialize () (at <44bbde2b9f584d7f9739ff08060d49d7>:0)
Unity.Entities.AttachToEntityClonerInjection.Initialize () (at <2342a8de2d77430196f9dd8f6c3aee00>:0)
Unity.Entities.AttachToEntityClonerInjection..cctor () (at <2342a8de2d77430196f9dd8f6c3aee00>:0)
Rethrow as TypeInitializationException: The type initializer for 'Unity.Entities.AttachToEntityClonerInjection' threw an exception.
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Request for adding

Just started using this mod, and already have to say that I love it. Very useful for beautifying my roundabouts.

My request comes from this use. Would it be possible to show guidelines so for example, I could find the centre of a roundabout easier?

Game freezes every 2 seconds

I have observed that the whole game freezes every 2 seconds and it stops doing it once I disable this mod.
I checked all mods I have in use one by one and I figured out this is the one is causing the problem.

It started to happen today.

Manual Installation

Hi, sorry. I maybe the only one having problem installing the mod.

Is there an instruction how to manually install the mod without the Thunderstore Mod ?
Other mod worked fine when I just downloaded the files and put them in plugins folder, but didnt works for your mods.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.