Giter VIP home page Giter VIP logo

roadsunited_core's People

Contributors

killface1980 avatar unlawful-productions avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

insus100

roadsunited_core's Issues

Menu throws exception

The mod is not working ATM. The menu is not being intitialized, either cause the Singleton which calls it is set wrong or because of the deserialization not working.

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at RoadsUnited_Core.RoadsUnited_CoreMod.OnSettingsUI (UIHelperBase helper) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
System.Exception: A Mod caused an error

6L parking lines

Just to let you know that both Germany and North America are missing the parking lines on the 6 lane avenue

==> Mod can't find the Core mod folder any more (GetModPath), so the APRMaps in the 633547552 folder are ignored. Help needed.

reenabling the hook4 to lock texture orientation (American Roads)

So I've had a bit of a leave of absence here, school, new job, kids, family, etc... But I've been scouring the code for the hook system. That being said, I am heavily testing this with bool checks against "instance.m_nodes.m_buffer[nodeID].Info.m_connectgroup," and there are 4 different flags for trams. The meat of the code is in renderinstancenodenew(), in the 1st and 4th if checks. The 4th one is what flips the textures around by switching the following in this snippet: (simplified)

//From private void RenderInstanceSegmentNew()
    if(invert2)//if invert2 == true
    {
        invert2 = false;
        NetSegment Segment = instance.m_segments.m_buffer [segmentID]
        int endNode = instance.m_segments.m_buffer [segment].m_endNode;
        //endNode variable is created separately to retain the original nodeValue after reassignment
        Segment.m_endNode = Segment.m_startNode;
        Segment.m_startNode = endNode;
        Segment.m_flags |= NetSegment.Flags.Invert;// |= is bitwise OR

        int endDir = Segment.m_endDirection;
        Segment.m_endDirection = Segment.m_startDirection;
        Segment.m_startDirection = endDir;
    }

NExt Oneways

I have a similar error and arrows and lines have disappeared from elevated NEXT oneways. On other road types lane markings seem to work but not the asphalt texture (brightness control doesn't work and the texture looks like it is the vanilla one to me)

Missing NExt Support

Basic Oneway (?) from NExt missing support. Needs an own texture as suggested by Kralsgerecht.

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.