Giter Site home page Giter Site logo

simie / precisionengineering Goto Github PK

View Code? Open in Web Editor NEW
85.0 85.0 21.0 34.71 MB

Mod for Cities: Skylines adding measurement and snapping tools.

Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=445589127

License: Other

Batchfile 0.03% C# 99.97%
c-sharp game-development mod unity3d

precisionengineering's People

Contributors

klyte45 avatar simie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

precisionengineering's Issues

Compass Feature Request

Displays the heading of the road relative to north (from start to end points). Toggle which angle snap is used with a button on the toolbar (default protractor) and then use CTRL.

GuideLines: incorrect handling of curved roads

As can be seen in the screenshot, the mod suggests that the continuation of the road goes from the center of the curvature of the road segment, instead of direction of the segment's end, which I presume would be the correct behavior.

request: improve snap features and still a minor visual issue

the visual issue i'm talking about is that @asset editor your values are displayed without that black (tool-tip?) background like in-game, but i already mentioned that on your steam page a few weeks ago.

in personal priority i still suggest :

  • a snapping key modifier even when in-game free-form is used or general default snapping is disabled.
  • addition key modifier to prevent snapping to default in-game grid < usability mostly at asset editor
  • additional snap to same road type
  • track / rail snapping at asset editor is awful. (i know tracks are custom there but it`s no pillar mod! ;)
  • workaround for terrain/ground raising issue xD (jk)

minor :

  • toggle feature for modifier key "shift",

last but for challenge and awesomeness:

  • select / copy / mirror / rotate features oO !
  • mouse hover + button for edit road / pillar height (at least for free/no collision road parts)

Coordinates feature request

When holding shift, display the coordinates (north then east, in numbers of tiles) relative to the center of the map.

Infinite Grid feature request

Infinite Grid: The normal grid of cells, but centered on the middle of the map and aligned with the map. Toggleable by a button on the toolbar. Reset with a button on the toolbar. Hold ALT and click within another grid to realign the infinite grid to the other one. Hold ALT and click and drag to realign the grid manually, and ALT-right-click-drag to rotate it.

Loading NetTool spam on main menu

It would seem that PrecisionEngineering has some problems in combination with Traffic Manager in an odd way:

  1. Start the game
  2. Go to the map or asset editor
  3. After loading, go to the main menu again
  4. Now PrecisionEngineering spams the log with: [PrecisionEngineering] Loading NetTool thousands of times

Consequences of this bug, is that the fps drops significantly over time in the main menu when this is happening (perhaps because of all that loading?). Another thing to add, is that when this is happening, and you happen to open a window in the main menu (e.g. new game, tools, content manager, etc.) and try to close that, it throws the following exception without allowing me to close the window:

NullReferenceException
at (wrapper managed-to-native) UnityEngine.Behaviour.get_enabled () <0x00075>
at ColossalFramework.UI.UIComponent.get_isEnabled () <0x0001c>
at ColossalFramework.UI.UIComponent.Focus () <0x0005a>
at ColossalFramework.UI.UIView.PopModal (int) <0x001aa>
at ColossalFramework.UI.UIDynamicPanels.Hide (string,int) <0x000f3>
at LoadSavePanelBase`1.OnClosed () <0x0006e>
at (wrapper dynamic-method) object.DynamicEventWrapper_OnClosed (NewGamePanel,ColossalFramework.UI.UIComponent,ColossalFramework.UI.UIMouseEventParameter) <0x00018>
at ColossalFramework.UI.UIComponent.OnClick (ColossalFramework.UI.UIMouseEventParameter) <0x000c8>
at ColossalFramework.UI.UIButton.OnClick (ColossalFramework.UI.UIMouseEventParameter) <0x0027f>
at ColossalFramework.UI.UIInput/MouseHandler.ProcessInput (ColossalFramework.UI.IInputTranslator,UnityEngine.Ray,ColossalFramework.UI.UIComponent,bool) <0x00bd1>
at ColossalFramework.UI.UIInput.ProcessMouseInput () <0x002ba>
at ColossalFramework.UI.UIInput.Update () <0x00055>


(Filename:  Line: -1)

Trying to close it the second time seems to work though and prevents the exception from happening again.

I hope you can replicate the issue. I've nailed it down to Precision Engineering and Traffic Manager. Without Traffic Manager, Precision Engineering works fine.

Random crash on load

There seems to be a crash happening that might be caused by your mod :

========== OUTPUTING STACK TRACE ==================

000000013FF641E6 (Cities) Scripting::ScriptingWrapperFor
0000000004E0E68C (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:FindObjectsOfType (System.Type)
0000000004E0E5AD (Mono JIT Code) UnityEngine.Object:FindObjectOfType (System.Type)
00000000564BFBA9 (Mono JIT Code) UnityEngine.Object:FindObjectOfType ()
0000000056578E43 (Mono JIT Code) PrecisionEngineering.PrecisionEngineeringManager:get_NetToolProxy ()
0000000056578D1A (Mono JIT Code) PrecisionEngineering.PrecisionEngineeringManager:Load ()
0000000056578A89 (Mono JIT Code) PrecisionEngineering.PrecisionEngineeringManager:SimulationStepImpl (int)
00000000845D47BD (Mono JIT Code) SimulationManagerBase`2<object, object>:SimulationStep (int)
0000000056578A25 (Mono JIT Code) PrecisionEngineering.PrecisionEngineeringManager:ISimulationManager.SimulationStep (int)
0000000030551FC4 (Mono JIT Code) SimulationManager:SimulationStep ()
0000000004E908DB (Mono JIT Code) SimulationManager:SimulationThread ()
0000000004DD8BBB (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
000007FEE9284063 (mono) mono_set_defaults
000007FEE91D8399 (mono) mono_runtime_invoke
000007FEE9201767 (mono) mono_thread_interruption_request_flag
000007FEE92B68A9 (mono) unity_mono_method_is_generic
00000000771159CD (kernel32) BaseThreadInitThunk
000000007724B891 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

It's not a major issue as it doesn't happen all the time but I thought you might want to check it out.

Can't build mod

I for some reason can't build the mod. Any know reason for why this happens?

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.