diaftia Posted September 7, 2009 Report Share Posted September 7, 2009 Does anyone know how to pull up just the route timeline on a screen? This is the line that shows when you are in the route menu/Route information screen. It's a line with the freeway symbols going through it and is active when in a route with an arrow going across it. I found the items that represent it in the route_800-480 file but when I pulled them up everything was 0 and the bar was not present (which I assume is related). I want to pull this bar into another screen in an existing layer but cant seem to get it to work. Any ideas? Quote Link to post Share on other sites
bsnively Posted September 7, 2009 Report Share Posted September 7, 2009 I wanted to find this out too. On the Gurjon Speedomter extension, the only other iconmodel that I see is the But this doesn't seem right from the name of it...plus the x/y coordinates are off for where it was on the screen. Wonder if it's not using an iconmodel to draw that? Anybody have any suggestions...? (elegant bump I suppose......) EDIT: Maybe something to do w/ this in the script: ui_Route.y d_slrouteDS_y - moving the ui_Route to the y coordinate to be seen?? I'll play around w/ it a little too... Quote Link to post Share on other sites
bsnively Posted September 7, 2009 Report Share Posted September 7, 2009 Alright - this is how you get it to show up. In the state area (say speedometer.ini in the common folder) or wherever you are putting it. You need this line in the uselayer section: Then you need to have the init script put it where you want it: the ui_Route.y moves it to a variable position - the variable being d_slrouteDS_y. The last thing that needs to be done is in the 800_480 file - need to define where the y location is for that variable. So - in my example the Speedomter_800_480.ui has: Which places the bar at the y location of 352. Worked pretty well for me. the ported speedometer extension now has the route bar on it.. Here are the two complete files so far - need A LOT of work: ;--visota ;-- Tekuschaja ulica ;-- skrosti ;--Znak zapretnyx povorotov ; ;-- Ukazateli povorotov-- ;-- "Pvoroti" button ;AK ;-- blizaisij pavorot ;-- vijezd iz kolca ;-- Compass ;--gurjon Speed kamera ;-- Speedcam add ;-- gurjon znaciok kamery -- ; ;-- gurjon distancija / sredniaja skorast -- ;-- gurjon knopka vykliucenija zvuka kamery -- ;--cifry ;--Time to turn ;-- gurjon knopka perekliuchateli waipoint -- ;--gurjon -- flazki ;--gurjon Adress navigaciji ;; ;--gurjon -- vremia pribitija v cel ;--gurjon -- rastojanie do celi ;-- speed limit ;-- proidenoe rastojanie ;-- AVG speed ;-- "Trip" button ;-- "Previous State" button ;; Quote Link to post Share on other sites
bsnively Posted September 7, 2009 Report Share Posted September 7, 2009 Now it just seems like I'm trying to get post counts up, but... here's a pic. need a lot of work - I know... Quote Link to post Share on other sites
diaftia Posted September 7, 2009 Author Report Share Posted September 7, 2009 Hi Ben- Thanks again for the reply! I just want to clarity. You said in the common folder put the first bit of code in the speedometer.ini file. That file is in the 800_480 folder so I think you meant the speedometer.ui file in the common/ui folder. I got it working thanks to you! Nice work Ben! Quote Link to post Share on other sites
bsnively Posted September 7, 2009 Report Share Posted September 7, 2009 Looks great. Really looks a lot better than what I had so far - great work. I may simply grab what you've done so far. Thanks!! Ben Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.