Dismiss Notice
Hey Guest,
If you are interested in ghosting, the Ghosting Awards for January 2025 has just been announced:

Click here to check it out!

Lard Line Modifier

Discussion in 'Anything and everything Free Rider' started by m1.c3, Aug 5, 2016.

?

Have you found this thread helpful?

  1. Yes

    60.0%
  2. No

    20.0%
  3. Somewhat

    20.0%
  1. m1.c3

    m1.c3 Active Member Official Author

    Lard Line Modifier
    These codes make infinite non-physical black lines using the program frhd-api that you can easily adjust.
    Two-Way Lines
    Horizontal (click for simplified version)
    Code:
    /*Horizontal Full*/
    var position = 50;
    track.addLine(new Line(-699245,position,699245,position));
    /*
    Help:
    var position:
    number = down
    -number = up
    */
    
    Vertical (click for simplified version)
    Code:
    /*Vertical Full*/
    var position = 0;
    track.addLine(new Line(position,-699245,position,699245));
    /*
    Help:
    var position:
    number = right
    -number = left
    */
    

    One-Way Lines
    Horizontal (click for simplified version)
    Code:
    /*Horizontal One-Way*/
    var startLine = -40;
    var position = 50;
    var direction = 1;
    track.addLine(new Line(direction*699245,position,startLine,position));
    /*
    Help:
    var startLine:
    number = right
    -number = left
    var position:
    number = down
    -number = up
    var direction:
    "1" = right
    "-1" = left
    */
    
    Vertical (click for simplified version)
    Code:
    /*Vertical One-Way*/
    var startLine = 50;
    var position = 0;
    var direction = 1;
    track.addLine(new Line(position,direction*699245,position,startLine));
    /*
    Help:
    var startLine:
    number = down
    -number = up
    var position:
    number = right
    -number = left
    var direction:
    "1" = down
    "-1" = up
    */
    
    Examples (open)
    lard Grid
    Code:
    var startX = -699245;
    var endX = 699245;
    var spacing = 490;
    var topY = -10000;
    var bottomY = 10000;
      for (var y = topY;
    y <= bottomY;
    y += spacing) {     track.addLine(new Line(startX, y, endX, y));
    } var startX = -10000;
    var endX = 10000;
    var spacing = 490;
    var topY = -699245;
    var bottomY = 699245;
      for (var x = startX;
    x <= endX;
    x += spacing) {     track.addLine(new Line(x, topY, x, bottomY));
    }
    One-Way Plus
    Code:
    var startLine = 40;
      var position = 50;
      var direction = 1;
      track.addLine(new Line(direction*699245,position,startLine,position));
    var startLine = 40;
      var position = -30;
      var direction = 1;
      track.addLine(new Line(direction*699245,position,startLine,position));
    var startLine = -40;
      var position = 50;
      var direction = -1;
      track.addLine(new Line(direction*699245,position,startLine,position));
    var startLine = -40;
      var position = -30;
      var direction = -1;
      track.addLine(new Line(direction*699245,position,startLine,position));
    var startLine = 50;
      var position = 40;
      var direction = 1;
      track.addLine(new Line(position,direction*699245,position,startLine));
      var startLine = 50;
      var position = -40;
      var direction = 1;
      track.addLine(new Line(position,direction*699245,position,startLine));
      var startLine = -30;
      var position = 40;
      var direction = -1;
      track.addLine(new Line(position,direction*699245,position,startLine));
      var startLine = -30;
      var position = -40;
      var direction = -1;
      track.addLine(new Line(position,direction*699245,position,startLine));
    I hope this helps and thanks for viewing this thread. If you have any questions I'll be glad to answer. :thumbsup:
     
    Last edited: Aug 21, 2016
    Calculus, FIREBEATS, a_drain and 3 others like this.
  2. m1.c3

    m1.c3 Active Member Official Author

    Last edited: Aug 20, 2016
  3. tylershai2

    tylershai2 Member

    awesome! this is gonna make things fun :)
     
    KillerMeemStar and m1.c3 like this.
  4. KillerMeemStar

    KillerMeemStar Well-Known Member Official Author

    I came to this thread, read the posts, and tried to like them... then I realized I already liked them. I don't REMEMBER THIS!!!!

    anyways nice job.
     
    m1.c3 likes this.
  5. JRayge11

    JRayge11 Active Member Official Author

    I votes yes. #helpful #toomanyhashtags?
     
  6. KillerMeemStar

    KillerMeemStar Well-Known Member Official Author

    way to beat a dead meme with a bat
     
    45ones likes this.
  7. JRayge11

    JRayge11 Active Member Official Author

    Thx!
     
  8. gaetgu

    gaetgu Member

    It's sad that the api was taken down
     
  9. mr_moo

    mr_moo Casual Member Official Author

    i cant seem to make it work
     
  10. STICKYMCSTICKSOM

    STICKYMCSTICKSOM Active Member Official Author

    do i paste it in console in draw a track?
     
  11. Light_Sky

    Light_Sky Active Member Official Author

    How do I use it?
     

Share This Page