Search Archive

Progress Report

By BorisM · Sep 10, 2008in Hacks/Mods💬 361 posts👁️ 65,220 views
Page 13 of 15
Posted Mar 10, 2009 · 15:20 UTC#301
Hey Boris, Any chance you have this zip file? I click on the link and it takes you to a russian site that you seem to need to register on. I tried google translate and still couldn't work it out!

 

Thanks

 

Matt

 

Sorry... forgot that it requires registratoin. Fixed...

Posted Mar 10, 2009 · 20:20 UTC#302

Can anyone direct me to the Pause and Resume buttons that Toxit used in his Simulation mod?

 

Cheers

Posted Mar 10, 2009 · 23:01 UTC#303
Can anyone direct me to the Pause and Resume buttons that Toxit used in his Simulation mod?

 

Cheers

 

i too had a really hard time figuring everything out, what i did is i used his ui files and then edited everything for my mods to reflect.

Posted Mar 10, 2009 · 23:04 UTC#304

Sorry my bad! I meant the actual button bmp images, realise now I didn't make that clear :oops:

Posted Mar 10, 2009 · 23:06 UTC#305
Sorry my bad! I meant the actual button bmp images, realise now I didn't make that clear :oops:

 

i don't think he included the buttons, what i suggest is download my zip then just copy the pause/resume, slower, faster buttons.

Posted Mar 10, 2009 · 23:10 UTC#306

Thanks bud, I'm off back a few pages right now............ :)

Posted Mar 10, 2009 · 23:46 UTC#307

i-d-t,

 

Rapid won't let me d/l, says the limit has been reached....... :(

Posted Mar 10, 2009 · 23:49 UTC#308

i already uploaded it on the ftp site

Posted Mar 11, 2009 · 12:53 UTC#310
Hey Boris, Any chance you have this zip file? I click on the link and it takes you to a russian site that you seem to need to register on. I tried google translate and still couldn't work it out!

 

Thanks

 

Matt

 

Sorry... forgot that it requires registratoin. Fixed...

 

Thanks Boris, Are these the files used in the scripts? When I looked at speedcam.ui I can see the following script for example:

 


 

The files I downloaded from the link are all called something like

 

Fixed_Camera.ogg

speed_limit_010_mph.ogg etc

 

If I need to go in and change the sound called to the ones I downloaded then that's fine but I just wanted to check as this is the first time I have ventured into the audio side so was a little confused.

 

Thanks

 

Matt

Posted Mar 11, 2009 · 16:07 UTC#311
Thanks Boris, Are these the files used in the scripts? When I looked at speedcam.ui I can see the following script for example:

 

The files I downloaded from the link are all called something like

 

Fixed_Camera.ogg

speed_limit_010_mph.ogg etc

 

If I need to go in and change the sound called to the ones I downloaded then that's fine but I just wanted to check as this is the first time I have ventured into the audio side so was a little confused.

 

Thanks

 

Matt

 

Huh? Just downloaded the file back. Inside ZIP audio files are named EN_20_MPH_2.ogg etc., so they should be all good to go...

 

Did you D/L from Depositfiles or from some other link? Your file names look more like ULTRA-style voice warnings. Mine are based on iGO 2006 scheme...

Posted Mar 11, 2009 · 17:57 UTC#312

 

Huh? Just downloaded the file back. Inside ZIP audio files are named EN_20_MPH_2.ogg etc., so they should be all good to go...

 

Did you D/L from Depositfiles or from some other link? Your file names look more like ULTRA-style voice warnings. Mine are based on iGO 2006 scheme...

 

Sorry, my fault! I downloaded these from somewhere else and for some reason thought I got them from your link. I used your link and of course the files are what's used in the scripts.

 

Sorry.

Posted Mar 11, 2009 · 18:50 UTC#313

 

Huh? Just downloaded the file back. Inside ZIP audio files are named EN_20_MPH_2.ogg etc., so they should be all good to go...

 

Did you D/L from Depositfiles or from some other link? Your file names look more like ULTRA-style voice warnings. Mine are based on iGO 2006 scheme...

 

Sorry, my fault! I downloaded these from somewhere else and for some reason thought I got them from your link. I used your link and of course the files are what's used in the scripts.

 

Sorry.

 

No problem. Have fun with them.

Posted Mar 11, 2009 · 19:53 UTC#314

Since I am in the USA can I just copy the MPH ones? I figured I would save space since I will never use KMH. They won't ever play anyway right? :)

 

Also where do the AUDIO files go?

 

Is it the APL2\VBT\AUDIO folder?

Posted Mar 11, 2009 · 20:36 UTC#315
Since I am in the USA can I just copy the MPH ones? I figured I would save space since I will never use KMH. They won't ever play anyway right? :)

 

Also where do the AUDIO files go?

 

Is it the APL2\VBT\AUDIO folder?

 

No, APL2\iGO\AUDIO

 

You can use whatever sub-set of files you want, as long as scripts do not call ones you do not have...

Posted Mar 13, 2009 · 18:09 UTC#316
New UI files for speed camera usage.

 

Files in COMMON\UI - work in progress on spoken camera warnings. It seems to finally speak camera types properly, but does not pick correct speed to say... Everyone is welcome to fix :)

 

Boris, not sure if you ever fixed the issue where it does not the say the correct speed, I had the same problem and think I have fixed it. I think I found 2 issues.

 

1. I don't think the dCurSCSpeed variable is populated when the call to the warn script gets called as my always seemed to use the the sound from the dCurSCSpeed < 9 line. I changed dCurSCSpeed to %navigation.curr_speedcam.speed_limit.value and it started calling the different sounds.

 

2. After making the above change it called the correct sound at 40mph but called the 70mph one at 60mph and the 80mph one at 70mph. My guess is the value of the camera speed limit is in km/h and is stored as an integer. According to google 70mph would be 112.65408km/h and round to 113. The code for 70mph does a < 113 comparison and so wouldn't be called. I changed it to < 114 and it called the 70mph sound correctly, I also changed the 60mph from < 97 to < 98 and it called the 60mph correctly. I think the other values I use would round down an be caught by the correct runif but if you use others then they may need changing.

 

Here is my code for fixed cameras, I'm using different sounds from the original and so far I have confirmed that 40mph, 60mph and 70mph are called correctly. I've also only used speed limits that are used in the UK.

 

	
;Fixed

Posted Mar 13, 2009 · 19:33 UTC#317

Nice...

 

I did have direct reference to %navigation.curr_speedcam.speed_limit.value but that did not seem to owqrk for me either. I'll try it again though...

Posted Mar 14, 2009 · 19:02 UTC#318
Nice...

 

I did have direct reference to %navigation.curr_speedcam.speed_limit.value but that did not seem to owqrk for me either. I'll try it again though...

 

I'm pretty happy with it so far, it seems to pick up the correct camera type and speed limit. I do have one issue though that I hope you may have some ideas for!

 

I tried it on the way home with a route set and the guidance muted and the speedcam warning didn't sound (the visible warning was displayed). I'm sure with the stock system the dog barks whether the guidance is muted or not. I noticed that there is some code in the new speedcam scripts that seem to deal with if the volume is muted by unmuting and setting the volume to a predefined level. It is setting the 2 system values .sound.sound_muted and .sound.sound_volume. I'm not sure what these are set to when the guidance is muted as my buttons visibility is controlled by sound.announcer.muted. I'm also not sure whether this value has any affect on whether any sounds should play or not as it would make sense if the announcer was muted that other sounds would be heard as normal.

 

Any ideas, or pointers?

 

Thanks

 

Matt.

Posted Mar 14, 2009 · 22:35 UTC#319
I'm pretty happy with it so far, it seems to pick up the correct camera type and speed limit. I do have one issue though that I hope you may have some ideas for!

 

I tried it on the way home with a route set and the guidance muted and the speedcam warning didn't sound (the visible warning was displayed). I'm sure with the stock system the dog barks whether the guidance is muted or not. I noticed that there is some code in the new speedcam scripts that seem to deal with if the volume is muted by unmuting and setting the volume to a predefined level. It is setting the 2 system values .sound.sound_muted and .sound.sound_volume. I'm not sure what these are set to when the guidance is muted as my buttons visibility is controlled by sound.announcer.muted. I'm also not sure whether this value has any affect on whether any sounds should play or not as it would make sense if the announcer was muted that other sounds would be heard as normal.

 

Any ideas, or pointers?

 

Thanks

 

Matt.

 

Hmm, I'll need to think about it. I suppose if you want to keep audible warnings, you could just have it ignore mute settings.... I'll play with it.

 

BTW, I got it working using the speed variable. Just needed to set it in a different script, and now it gives my MPH announcements...

Posted Mar 14, 2009 · 23:27 UTC#320

 

Hmm, I'll need to think about it. I suppose if you want to keep audible warnings, you could just have it ignore mute settings.... I'll play with it.

 

BTW, I got it working using the speed variable. Just needed to set it in a different script, and now it gives my MPH announcements...

 

 

nice! can't wait for the new version!

Posted Mar 15, 2009 · 02:07 UTC#321
nice! can't wait for the new version!

 

It's the same as posted here, except I moved variable setting to a script closer to actual speech:


Posted Mar 15, 2009 · 15:11 UTC#322
I'm pretty happy with it so far, it seems to pick up the correct camera type and speed limit. I do have one issue though that I hope you may have some ideas for!

 

I tried it on the way home with a route set and the guidance muted and the speedcam warning didn't sound (the visible warning was displayed). I'm sure with the stock system the dog barks whether the guidance is muted or not. I noticed that there is some code in the new speedcam scripts that seem to deal with if the volume is muted by unmuting and setting the volume to a predefined level. It is setting the 2 system values .sound.sound_muted and .sound.sound_volume. I'm not sure what these are set to when the guidance is muted as my buttons visibility is controlled by sound.announcer.muted. I'm also not sure whether this value has any affect on whether any sounds should play or not as it would make sense if the announcer was muted that other sounds would be heard as normal.

 

Any ideas, or pointers?

 

Thanks

 

Matt.

 

Hmm, I'll need to think about it. I suppose if you want to keep audible warnings, you could just have it ignore mute settings.... I'll play with it.

 

BTW, I got it working using the speed variable. Just needed to set it in a different script, and now it gives my MPH announcements...

 

I've been looking into this and I was driving about I noticed that the overspeed alert still sounded even when the guidance was muted. That sound is the standard !alert5.wav so I wondered if having the ! in the first character of the sound file would make this work. I renamed one of my alerts to have a ! as the first character and the speed camera I was testing last night started sounding the alert even when guidance was muted. My next plan is to rename each of the warning sounds and see if this solves my problem.

Posted Mar 16, 2009 · 06:19 UTC#323
I've been looking into this and I was driving about I noticed that the overspeed alert still sounded even when the guidance was muted. That sound is the standard !alert5.wav so I wondered if having the ! in the first character of the sound file would make this work. I renamed one of my alerts to have a ! as the first character and the speed camera I was testing last night started sounding the alert even when guidance was muted. My next plan is to rename each of the warning sounds and see if this solves my problem.

 

Interesting find... I didn't know file name affected its mute-ability...

Posted Mar 16, 2009 · 09:53 UTC#324
I've been looking into this and I was driving about I noticed that the overspeed alert still sounded even when the guidance was muted. That sound is the standard !alert5.wav so I wondered if having the ! in the first character of the sound file would make this work. I renamed one of my alerts to have a ! as the first character and the speed camera I was testing last night started sounding the alert even when guidance was muted. My next plan is to rename each of the warning sounds and see if this solves my problem.

 

Interesting find... I didn't know file name affected its mute-ability...

 

 

Well, I'm still not sure whether it does or not! I drove to work this morning past 3 speedcams (some test, some real) with guidance muted and 2 of the 3 warnings sounded. The one that didn't sound a warning was a test cam I had put on close to a corner.

 

I noticed that the it only sounds the warning if it thinks it's a new camera and the way it decides that is if the current distance to the cam is further than it was previously. I also noticed that when it stores the distance in the variable it adds 30 (metres, I think) to it (presumably to counter slght gps inaccuracy). This makes me wonder if the camera isn't picked up until you are quite close to it then the potential is there for you to be closer than the last time the variable was updated and therefore not be identified as a new camera and not sound the warning. I'm wondering if this is what happened on my example.

 

It's all just guesswork really though, I wish there was a way you could debug this without having to keep loading changes to the car and trying them out!

Posted Mar 16, 2009 · 17:56 UTC#325

I would like to just use the files i need for the 3d buildings and the speedcam settings. Please let me know which files i need from those files and where i need to put them. I am having a hard time with the speedcam especially. Any help would be greatly appreciated. thank you

Page 13 of 15