Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 329 of 381 FirstFirst ... 229279319327328329330331339379 ... LastLast
Results 3,281 to 3,290 of 3807
  1. #3281
    Master
    Join Date
    Nov 2017
    Location
    Romania
    Posts
    312
    Rep Power
    150

    Default

    Heya ,coleagues If i want to change the symbol of altitude,where i can find this symbol and what its the name?From what i know its located in the_skin_by_pongo ,but i cant find it As always appreciate your suggestion Thx

  2.    Advertissements


  3. #3282
    Master pavolino's Avatar
    Join Date
    Mar 2017
    Location
    italy
    Posts
    181
    Rep Power
    193

    Default

    In Luna Pongo are: ico_altitude and ico_height_up and down for the change of altitude
    I think are the same in others nextgen

  4. #3283
    Master
    Join Date
    Nov 2017
    Location
    Romania
    Posts
    312
    Rep Power
    150

    Default

    @pavolino,found it :the skin by pongo/ui_nextgen/res/the_dark/nodpi
    Lets tests begin

  5. #3284
    Master BIRBANTE's Avatar
    Join Date
    Jan 2016
    Location
    TUSCANY - ITALY
    Posts
    348
    Rep Power
    293

    Default

    They are not only in that folder but also in the_color and the_bright.

  6. #3285
    Master
    Join Date
    Nov 2017
    Location
    Romania
    Posts
    312
    Rep Power
    150

    Default

    Well, i changed the ico as @pavolino and @BIRBANTE suggested but dont work
    I want to make this new altitude to work i an old version of skin,but seems to be more than simply change the ico files Its also a new function/button :show height and the way updown button in cockpit:
    Its some coding trick,wich its beyond my knowledge
    I will try more home, in tablet its difficult but if you have more suggestion im all eys and ears
    PS I found function way updown in the _skin_by_pongo.lua
    Question its: if i copy the function in my old ux, the skin will be work, Bcs the encoding its different
    Last edited by cristianyxtl; 12th June 2021 at 10:53 AM.

  7. #3286
    Master pavolino's Avatar
    Join Date
    Mar 2017
    Location
    italy
    Posts
    181
    Rep Power
    193

    Default

    The ico altitude is only normal with two tracks. so if you change that must work. As for up and down, keep in mind (but you already know) that there are three icons to change ... the svg is made up of three levels
    I don't remember when the function was present in the old skins. Since Luna has been around, I have dedicated myself only to that

  8. #3287
    Master kwbs's Avatar
    Join Date
    Jul 2017
    Location
    IL
    Posts
    808
    Rep Power
    230

    Default

    Quote Originally Posted by cristianyxtl View Post
    Well, i changed the ico
    This is the origin ico_altitude

    [Only registered and activated users can see links. ]

    To which icon image do you want to change?

  9. #3288
    Master
    Join Date
    Nov 2017
    Location
    Romania
    Posts
    312
    Rep Power
    150

    Default

    The old skin dont have this function :way updown : like new skin And i want to implement this new function in old skin
    Its about next to relief symbol apeear a car and arrow up or down
    Spoiler: code
    local altitude = 0
    local svg = ""
    local delta = 2
    altitudeID = -1
    function sc_way_up_down()
    if MODEL.navigation.current_altitude() > altitude and ((MODEL.navigation.current_altitude() - altitude) * (MODEL.navigation.current_altitude() - altitude >= 0 and 1 or -1)) > delta then
    altitude = MODEL.navigation.current_altitude()
    svg = "ico_height_up.svg"
    ui.vHeightvis = 1
    elseif MODEL.navigation.current_altitude() < altitude and ((altitude - MODEL.navigation.current_altitude()) * (altitude - MODEL.navigation.current_altitude() >= 0 and 1 or -1)) > delta then
    altitude = MODEL.navigation.current_altitude()
    svg = "ico_height_down.svg"
    ui.vHeightvis = 1
    end
    if altitudeID != -1 then
    killDelayed(altitudeID)
    end
    altitudeID = doDelayed(150, function()
    altitudeID = -1
    if altitude - delta <= MODEL.navigation.current_altitude() and MODEL.navigation.current_altitude() <= altitude + delta then
    svg = ""
    ui.vHeightvis = 0
    ui.ui_SideList.height_direction = ""
    end
    end)
    return svg
    end


    I write this function in the old skin ,but require more,its only just half of the job bcs new skin has new encoding
    @kwbs you are right the ico altitude its the same ,in fact this i want to implement in old skin. :ico_height_up and down along with the function itself
    Last edited by cristianyxtl; 12th June 2021 at 12:49 PM.

  10. #3289
    Master kwbs's Avatar
    Join Date
    Jul 2017
    Location
    IL
    Posts
    808
    Rep Power
    230

    Default

    @cristianyxtl

    Would this "OLD ZIP" assist you?

    Spoiler: It have ico-height-down & ico-height-up
    [Only registered and activated users can see links. ][Only registered and activated users can see links. ]
    Attached Files Attached Files

  11. #3290
    Master
    Join Date
    Nov 2017
    Location
    Romania
    Posts
    312
    Rep Power
    150

    Default

    @kwbs this do the job How old he is?
    I want this but for skin version 21 may 2020
    Last edited by cristianyxtl; 12th June 2021 at 01:24 PM.

 

 

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
  •