abb1 Posted June 14, 2010 Report Share Posted June 14, 2010 that last error is a tough one. I can't seem to find where that code is being called out in any other ui file. Anyway too tired to continue examdiff. will try again tomorrow. Check these UI files out. I believe that these are the ones that are referenced: ADD: half_patch_var.ui half_patch.ui half_patch_800_480.ui Reference (add scripts relating to): START.UI place.ui model_variables.ui There might be a few others as well, but these are DEFINATELY referenced. Make sure that you add the calculations to the 'place.ui' folder Through a lot of trial and error, I got it working perfectly in Diaftias mod Quote Link to post Share on other sites
Jfinley0 Posted June 14, 2010 Author Report Share Posted June 14, 2010 that last error is a tough one. I can't seem to find where that code is being called out in any other ui file. Anyway too tired to continue examdiff. will try again tomorrow. Check these UI files out. I believe that these are the ones that are referenced: ADD: half_patch_var.ui half_patch.ui half_patch_800_480.ui Reference (add scripts relating to): START.UI place.ui model_variables.ui There might be a few others as well, but these are DEFINATELY referenced. Make sure that you add the calculations to the 'place.ui' folder Through a lot of trial and error, I got it working perfectly in Diaftias mod What scrips would be add to place.ui? I have all the patches in the proper ui files..... Thanks Jimbo Quote Link to post Share on other sites
abb1 Posted June 14, 2010 Report Share Posted June 14, 2010 What scrips would be add to place.ui? I have all the patches in the proper ui files..... Thanks Jimbo starting out, you will have to replace the header with this then add all this to the bottom. This is your mathematical calculations ;Common Multiplication and Division Function THEN you will have to add this bmp: z_sliderbar_bg_long.bmp Quote Link to post Share on other sites
abb1 Posted June 14, 2010 Report Share Posted June 14, 2010 If that does not do it, then you are missing code in one of the other ui files. Search for anything with reference to 'half_patch' or 'fuel calculator' Quote Link to post Share on other sites
Jfinley0 Posted June 14, 2010 Author Report Share Posted June 14, 2010 If that does not do it, then you are missing code in one of the other ui files. Search for anything with reference to 'half_patch' or 'fuel calculator' Thanks ABB1, I went back to your mod and copied the top lines and copied everything at the bottom of place.ui starting with the divisions scrip and now everything works. Thanks Jimbo Quote Link to post Share on other sites
abb1 Posted June 14, 2010 Report Share Posted June 14, 2010 If that does not do it, then you are missing code in one of the other ui files. Search for anything with reference to 'half_patch' or 'fuel calculator' Thanks ABB1, I went back to your mod and copied the top lines and copied everything at the bottom of place.ui starting with the divisions scrip and now everything works. Thanks Jimbo NP, your welcome ! Glad that you finally got it working! Quote Link to post Share on other sites
gnasr74 Posted June 14, 2010 Report Share Posted June 14, 2010 ok found that error, but now i am getting another error FFUIERROR: Unknown object identifier Identifier=[d_UmnDel1] Script"d_Delen" command 1. Anyway as an update add this into the place.ui file at the end to get rid of the last error i was getting. Now on to finding the next error:;Common Multiplication and Division Function run d_UmnDelDone dUmnDel1.set $1 dUmnDel2.set $2 dUmnDel3.set $3 dUmnDel4.set $1 1 run d_UmnogInit decval "dUmnDel2" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 0 'run dUmnDel3' 1 else_run 'incval "dUmnDel1" dUmnDel4, run d_UmnogRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_UmnogInit' else_run '1 run d_UmnogInit' run d_UmnDelDone dUmnDel1.set -1 dUmnDel2.set $1 dUmnDel3.set $3 dUmnDel4.set $2 1 run d_DelenInit incval "dUmnDel1" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 <= 0 'run dUmnDel3' 1 else_run 'decval "dUmnDel2" dUmnDel4, run d_DelenRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_DelenInit' else_run '1 run d_DelenInit' term d_UmnogInit term d_UmnogRepeat term d_DelenInit term d_DelenRepeat dUmnDel5.set 0 Hey i was close. i was only missing the top header part of the place.ui file. Oh well you beat me to it jimbo, good team work. Mine works now as well thanks for your help abb. do i still need that Restart.exe file in the extension folder if i am not using the map changer? Quote Link to post Share on other sites
Jfinley0 Posted June 14, 2010 Author Report Share Posted June 14, 2010 ok found that error, but now i am getting another error FFUIERROR: Unknown object identifier Identifier=[d_UmnDel1] Script"d_Delen" command 1. Anyway as an update add this into the place.ui file at the end to get rid of the last error i was getting. Now on to finding the next error:;Common Multiplication and Division Function run d_UmnDelDone dUmnDel1.set $1 dUmnDel2.set $2 dUmnDel3.set $3 dUmnDel4.set $1 1 run d_UmnogInit decval "dUmnDel2" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 0 'run dUmnDel3' 1 else_run 'incval "dUmnDel1" dUmnDel4, run d_UmnogRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_UmnogInit' else_run '1 run d_UmnogInit' run d_UmnDelDone dUmnDel1.set -1 dUmnDel2.set $1 dUmnDel3.set $3 dUmnDel4.set $2 1 run d_DelenInit incval "dUmnDel1" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 <= 0 'run dUmnDel3' 1 else_run 'decval "dUmnDel2" dUmnDel4, run d_DelenRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_DelenInit' else_run '1 run d_DelenInit' term d_UmnogInit term d_UmnogRepeat term d_DelenInit term d_DelenRepeat dUmnDel5.set 0 Hey i was close. i was only missing the top header part of the place.ui file. Oh well you beat me to it jimbo, good team work. Mine works now as well thanks for your help abb. do i still need that Restart.exe file in the extension folder if i am not using the map changer? I don't believe so. I think the restart.exe is for the map changer. Jimbo Quote Link to post Share on other sites
dch828 Posted June 15, 2010 Report Share Posted June 15, 2010 Would you mind posting the steps/code needed to do this mod? It would be nice to have it all on one page. Thanks! Quote Link to post Share on other sites
Jfinley0 Posted June 15, 2010 Author Report Share Posted June 15, 2010 Would you mind posting the steps/code needed to do this mod? It would be nice to have it all on one page. Thanks! As Abb1 mentioned earlier, it took lots of work and time to make this work. What I did was I opened another data file that had the fuel calculation and map changer and did a search on all the scrips and bmp files and copied them over. This is how to make changes etc. Read the comment from ABB1 about which ui files to search for. I will try to put steps together but I may miss a step or so. Let me know if you need help. Jimbo Quote Link to post Share on other sites
gnasr74 Posted June 15, 2010 Report Share Posted June 15, 2010 Would you mind posting the steps/code needed to do this mod? It would be nice to have it all on one page.Thanks! Here you go, I know how hard it is to read through the entire thread to piece together the mod, so hope this makes it easy for everyone: 1. You have to add the extension folder inside IGO folder in APL2 in the AVIC. There will be a FuelCalc Folder inside of the folder and you can download it from Abb1's mod. There are three files inside 1. FuelCalc.ui; FuelCalc_800_480.ui and FuelCalc_var.ui.(I got this off the forum) 2. Then copy the half_patch_800_480.ui to 800_480/ui folder from Abb1 Mod 3. Then copy the half_patch.ui and half_patch_var.ui to common/ui folder. 4. Then copy over the Bmp File (bmp="z_sliderbar_bg_long.bmp" and "IDT_onmap_fuelcalc.bmp") also from ABB1 mod. 5. Then copy the script line (FuelCalc) to 800_480/ui/navigationmap.ui: ;FUEL CALC . 6. Then Add these lines to the model_variables.ui: ;Half Patches import "ui_pioneer/common/ui/half_patch_var.ui" and . 7. Then Add these lines to the top of the start 800_480 file: ;Half Patches import "ui_pioneer/800_480/ui/half_patch_800_480.ui" 8. Then Add these lines to the end of the start.ui file: ;Half Patches import "ui_pioneer/common/ui/half_patch.ui" 9. Then replace the header of the place.ui file with this: 10. Then add this to the bottom of the place.ui file: ;Common Multiplication and Division Function run d_UmnDelDone dUmnDel1.set $1 dUmnDel2.set $2 dUmnDel3.set $3 dUmnDel4.set $1 1 run d_UmnogInit decval "dUmnDel2" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 0 'run dUmnDel3' 1 else_run 'incval "dUmnDel1" dUmnDel4, run d_UmnogRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_UmnogInit' else_run '1 run d_UmnogInit' run d_UmnDelDone dUmnDel1.set -1 dUmnDel2.set $1 dUmnDel3.set $3 dUmnDel4.set $2 1 run d_DelenInit incval "dUmnDel1" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 <= 0 'run dUmnDel3' 1 else_run 'decval "dUmnDel2" dUmnDel4, run d_DelenRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_DelenInit' else_run '1 run d_DelenInit' term d_UmnogInit term d_UmnogRepeat term d_DelenInit term d_DelenRepeat dUmnDel5.set 0 Quote Link to post Share on other sites
Jfinley0 Posted June 15, 2010 Author Report Share Posted June 15, 2010 Would you mind posting the steps/code needed to do this mod? It would be nice to have it all on one page.Thanks! Here you go, I know how hard it is to read through the entire thread to piece together the mod, so hope this makes it easy for everyone: 1. You have to add the extension folder inside IGO folder in APL2 in the AVIC. There will be a FuelCalc Folder inside of the folder and you can download it from Abb1's mod. There are three files inside 1. FuelCalc.ui; FuelCalc_800_480.ui and FuelCalc_var.ui.(I got this off the forum) 2. Then copy the half_patch_800_480.ui to 800_480/ui folder from Abb1 Mod 3. Then copy the half_patch.ui and half_patch_var.ui to common/ui folder. 4. Then copy over the Bmp File (bmp="z_sliderbar_bg_long.bmp" and "IDT_onmap_fuelcalc.bmp") also from ABB1 mod. 5. Then copy the script line (FuelCalc) to 800_480/ui/navigationmap.ui: ;FUEL CALC . 6. Then Add these lines to the model_variables.ui: ;Half Patches import "ui_pioneer/common/ui/half_patch_var.ui" and . 7. Then Add these lines to the top of the start 800_480 file: ;Half Patches import "ui_pioneer/800_480/ui/half_patch_800_480.ui" 8. Then Add these lines to the end of the start.ui file: ;Half Patches import "ui_pioneer/common/ui/half_patch.ui" 9. Then replace the header of the place.ui file with this: 10. Then add this to the bottom of the place.ui file: ;Common Multiplication and Division Function run d_UmnDelDone dUmnDel1.set $1 dUmnDel2.set $2 dUmnDel3.set $3 dUmnDel4.set $1 1 run d_UmnogInit decval "dUmnDel2" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 0 'run dUmnDel3' 1 else_run 'incval "dUmnDel1" dUmnDel4, run d_UmnogRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_UmnogInit' else_run '1 run d_UmnogInit' run d_UmnDelDone dUmnDel1.set -1 dUmnDel2.set $1 dUmnDel3.set $3 dUmnDel4.set $2 1 run d_DelenInit incval "dUmnDel1" 1 incval "dUmnDel5" 1 1 runif dUmnDel2 <= 0 'run dUmnDel3' 1 else_run 'decval "dUmnDel2" dUmnDel4, run d_DelenRepeat' runif dUmnDel5 1000 'dUmnDel5.set 0, 30 run d_DelenInit' else_run '1 run d_DelenInit' term d_UmnogInit term d_UmnogRepeat term d_DelenInit term d_DelenRepeat dUmnDel5.set 0 Great Job! I don't think I would have done this well! Jimbo Quote Link to post Share on other sites
N-S-E-W Posted June 27, 2010 Report Share Posted June 27, 2010 Nice team work guys. 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.