Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 267

Hybrid View

  1. #1
    Master frontzosd's Avatar
    Join Date
    Jun 2012
    Location
    Greece
    Age
    55
    Posts
    615
    Rep Power
    1451

    Default



    If you like to change the position of speedcam Alert..
    As it is now, is very complicated!(because we need to change, more than one parameter!!)

    For this , i change the code...

    So!
    Replace your zip, with this:

    Open speedcam.lua file, at the start of this file!

    And change, for Portrait and Landscape , theese
    Numbers!!
    Look inside the spoiler.
    Spoiler: speedcam lua

    ---------------------------------------------------------------------------------------------------------------------------
    ----Set Position for Speedcams Alert----
    ---Portrait-----

    MODEL.SETPERSISTENT.lua.speedcamsPortraitTop = INT_MODEL(400)

    MODEL.SETPERSISTENT.lua.speedcamsPortraitLeft = INT_MODEL(200)

    ---------------------------------------------------------------------------------------------------------------------------

    ---------------------------------------------------------------------------------------------------------------------------
    ---Set Position for Speedcams Alert----
    ---Landscape----

    MODEL.SETPERSISTENT.lua.speedcamsLandscapeTop = INT_MODEL(200)

    MODEL.SETPERSISTENT.lua.speedcamsLandscapeLeft = INT_MODEL(250)
    ----------------------------------------------------------------------------------------------------------------------------




    Just change:
    For Portait
    (400). height! (More than 400, means we transfer the icon to the bottom and less to the top!!)

    (200) Left! ( More than 200, means we transfer the icon to the Right and less to Left)!


    ----

    For Landscape

    (200). Height
    (250). Left
    ----the same for Landscape!


    ------------------------
    For the other!

    For, Distance Text color:

    Open speedcam.css file, at the start

    Find this code:
    Spoiler: speedcam.css

    DISTTEXT.speedcam_text0 {
    color:#66ccff;
    glowcolor:#ffffcc;
    w:100%;
    h:100%;
    align:"CENTER";
    valign:"CENTER";
    alpha:33;

    }



    And... change this line
    color:#66ccff;

    With the color ,you like!
    Look at this site
    [Only registered and activated users can see links. ]
    For to found the color you. want! In hexadecimal format!

    Attached Files Attached Files
    • This post requires you to click the "LIKE this post" button to see Attachments.
    Last edited by frontzosd; 21st December 2019 at 12:23 PM.

  2.    Advertissements


 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •