Search Archive

Progress Report

By BorisM · Sep 10, 2008in Hacks/Mods💬 361 posts👁️ 65,220 views
Page 11 of 15
Posted Mar 04, 2009 · 04:06 UTC#251

BorisM,

 

It was my bad. I have iGo 8.3 with skin mod on my other GPS, and house number shows on the map nearby the cursor. Therefore, I assumed that's where the number should show and didn't notice that you put it on the street info bar.

 

Thank you for sharing your scripts and help.

 

BTW, the script for "simulate" button which replace "fly over" seems not included in your latest script pack.

Posted Mar 04, 2009 · 09:26 UTC#252

eurotuner29,

 

You will have to use the code that BorisM posted and modify it to your needs.

 

You need to make two text indicators. One of them for the white speed indication and one for the red speed indication. You can have the white one visible all the time and place the red one on top of the white one when your current drive speed is higher than the speed limit.

 

So copy and paste your code one time under each other. Change the color for the bottom one to FF0000 (red). Then add the following to the visiblemodel= part of the bottom one: "navigation.current_speed.value>navigation.current_speed_limit.value". If you don't want any other changes, keep the rest as it is.

 

Your code will look something like this:

 

;*** White speed indicator

;*** Red speed indicator

 

Good luck!

Posted Mar 04, 2009 · 10:27 UTC#253

dumpystig,

 

I have just checked my unit on Fullscreen Cockpit mode and it works fine except that the speedindicators stay on screen. I have corrected it now and when switching to Fullscreen Cockpit mode everything gets hidden as it is supposed to do.

 

The Fullscreen Cockpit function only hides the multi-info window and the second route instruction. I haven't changed anything in the route instructions, so the only thing that could cause a problem is the multi-info window code.

 

I have included all my .ui files in this post so that you can run a comparison on them to see what is different in yours. If you need software to do this, you can download Notepad++ for free. It has a compare plugin to compare two files with each other (works very nice).

 

Keep in mind that I have other mods installed; Compass delete route button, Mute nav voice button, Simulation control, Speedcams & 3D buildings and of course the Speedindicators.

 

Good luck and let me know what you find.

ui_pioneer.rar

Posted Mar 04, 2009 · 14:16 UTC#254
eurotuner29,

 

You will have to use the code that BorisM posted and modify it to your needs.

 

You need to make two text indicators. One of them for the white speed indication and one for the red speed indication. You can have the white one visible all the time and place the red one on top of the white one when your current drive speed is higher than the speed limit.

 

So copy and paste your code one time under each other. Change the color for the bottom one to FF0000 (red). Then add the following to the visiblemodel= part of the bottom one: "navigation.current_speed.value>navigation.current_speed_limit.value". If you don't want any other changes, keep the rest as it is.

 

Your code will look something like this:

 

;*** White speed indicator

;*** Red speed indicator

 

Good luck!

 

Well it did not work out. I did exactly as described above but the speed stays red.

Posted Mar 04, 2009 · 14:54 UTC#255

Can you post your complete navigatemap_800_480.ui file as an attachment?

Posted Mar 04, 2009 · 15:02 UTC#256
Can you post your complete navigatemap_800_480.ui file as an attachment?

 

Sure.

navigatemap_800_480.zip

Posted Mar 04, 2009 · 15:12 UTC#257

I'm trying to modify the section ;*** current speed, altitude when not navigating.

Posted Mar 04, 2009 · 16:01 UTC#258

eurotuner29,

 

I think I have an idea what's going on here. You're trying to change the color of your drivingspeedindicator on the speedlimit when not navigating. Your code says that this indicator will only show when you don't have a valid speedlimit: !navigation.current_speed_limit.valid

 

This means that the condition navigation.current_speed.value>navigation.current_speed_limit.value will always be true because your drivespeed will aways be greater than "not valid" (probably equals 0). Hence the always red indicator.

 

If you want the drivespeedindicator to change color you will have to find another way, because it is impossible to do so with a comparison to the speedlimit because the indicator will only show when there is no speedlimit available.

 

You can try this code instead, but I'm not sure it will work;

 

;*** White speed indicator only shows when manuver distance is not valid

;*** Red speed indicator shows when manuver distance is not valid, Speedlimit > 0 and Drivespeed > Speedlimit

 

Good luck!

Posted Mar 04, 2009 · 16:15 UTC#259

Ok i will try it. Thank you for your help and time!

Posted Mar 04, 2009 · 16:22 UTC#260

Why would you want to use distance to maneuver as the visible model? Unless you want to show speed only when navigating on a route?

 

Just put white and red indicators on the same spot, with red one having a higher Z value. Show the white one always, and red only when there is a speed limit and current speed is greater...

Posted Mar 04, 2009 · 16:36 UTC#261
Why would you want to use distance to maneuver as the visible model? Unless you want to show speed only when navigating on a route?

 

Just put white and red indicators on the same spot, with red one having a higher Z value. Show the white one always, and red only when there is a speed limit and current speed is greater...

 

I'm sorry i didnt make the code up i was just copy and pasting them to make something work and really cant understand the codes, so i must have picked that up from someone. Boris can u please modify the code above to the way u think it should look? I would appreciate it.

Posted Mar 04, 2009 · 16:38 UTC#262

I'm using keepers speedo and elevation mod and only want them to show when no route is designated.

Posted Mar 04, 2009 · 16:48 UTC#263
I'm sorry i didnt make the code up i was just copy and pasting them to make something work and really cant understand the codes, so i must have picked that up from someone. Boris can u please modify the code above to the way u think it should look? I would appreciate it.

 

It all depends on when you want to show it, really, but something like this (again, you'd need to adjust positions and colors to your liking... I am just lifting it from a different skin):

; Show normal white speed always

; Above it show pinkish speed, when approaching speed limit

; Same level as pink, but this one is visible if there is a speed limit and we are above it.

 

Something like this should work...

Posted Mar 04, 2009 · 16:50 UTC#264
BorisM,

 

It was my bad. I have iGo 8.3 with skin mod on my other GPS, and house number shows on the map nearby the cursor. Therefore, I assumed that's where the number should show and didn't notice that you put it on the street info bar.

 

Thank you for sharing your scripts and help.

 

BTW, the script for "simulate" button which replace "fly over" seems not included in your latest script pack.

 

Ah, I see... One could show house numbers by the cursor here, too, but my approach is to clutter the map as little as possible, and current street line is there already, so I put it there... Besides, it also looks logical enough in 2D mode.

 

I didn't put simulate piece in the latest scriptset, because I didn't have slower/faster buttons disappearing correctly, and I don't use it enough to keep messing with it :)

Posted Mar 04, 2009 · 17:09 UTC#265
I'm sorry i didnt make the code up i was just copy and pasting them to make something work and really cant understand the codes, so i must have picked that up from someone. Boris can u please modify the code above to the way u think it should look? I would appreciate it.

 

It all depends on when you want to show it, really, but something like this (again, you'd need to adjust positions and colors to your liking... I am just lifting it from a different skin):

; Show normal white speed always

; Above it show pinkish speed, when approaching speed limit

; Same level as pink, but this one is visible if there is a speed limit and we are above it.

 

Something like this should work...

 

Boris, This will also disappear when a route is selected?

Posted Mar 04, 2009 · 17:50 UTC#266
Boris, This will also disappear when a route is selected?

 

No, this one should just show the speed, regardless of routing. If you want to remove it when navigating, add "&!navigation.has_route" to visiblemodels.

Posted Mar 04, 2009 · 18:02 UTC#267

Thank you Boris. I just went for a test run and it works perfectly. Now i'm gonna just add what you said so when i'm navigating it will disappear.

Posted Mar 04, 2009 · 18:44 UTC#268
Thank you Boris. I just went for a test run and it works perfectly. Now i'm gonna just add what you said so when i'm navigating it will disappear.

 

You're welcome!

Posted Mar 04, 2009 · 18:57 UTC#269

Ah, I see... One could show house numbers by the cursor here, too, but my approach is to clutter the map as little as possible, and current street line is there already, so I put it there... Besides, it also looks logical enough in 2D mode.

 

I didn't put simulate piece in the latest scriptset, because I didn't have slower/faster buttons disappearing correctly, and I don't use it enough to keep messing with it :)

 

Yeah, I don't think it's important either. You've covered all useful items already. Great work! I am even happier with my $200 F500BT with your scripts. Thanks again!!!

Posted Mar 04, 2009 · 20:04 UTC#270
Yeah, I don't think it's important either. You've covered all useful items already. Great work! I am even happier with my $200 F500BT with your scripts. Thanks again!!!

 

You're welcome! Glad you like it.

Posted Mar 05, 2009 · 11:00 UTC#271

Guys,

 

I have finally found the solution to hide the custom simulation/flyover buttons when the simulation/flyover finishes without pressing the stop button.

 

There are three scripts that need to hide the simulation/flyover buttons:

 

In start.ui:

In setting.ui: state after simulation end

In advmenu.ui: state after flyover end

 

In "start.ui" file, place the code to hide the buttons under the "btnNMB_Cursor.y 210" line in "sc_ShowTopMenu" script.

 

In "setting.ui" file. place the code to hide the buttons under the "headericon.bmp "746_32K_MN-783_32b.bmp"" line in "st_navisettings" state.

 

In "advmenu.ui" file, place the code to hide the buttons under the "headericon.bmp "746_32K_MN-781_32b.bmp"" line in "st_AdvRouteMenu" state.

 

Example code for "setting.ui" file:

 








Posted Mar 05, 2009 · 16:45 UTC#272

Great!

Posted Mar 05, 2009 · 16:55 UTC#273

could you post those three files,

Posted Mar 05, 2009 · 18:23 UTC#274

tried it and it did not work for me, i can't get past the startup message,anyone else tried it?

Posted Mar 05, 2009 · 19:48 UTC#275

You need to make sure that u use the same button names as you have used in "navigatemap.ui". I have included all my script files so that you can compare them with yours.

 

It works on my unit. When simulation or flyover finishes, al the buttons get hidden. Also when you press the menu key during simulation or flyover, the simulation or flyover stops and the buttons get hidden.

ui_pioneer.rar

Page 11 of 15