this new feature allow you to load settings (light/shaders/trasparencies...) from a previous version of your track.
For example you can use this method when want to do a fix on your track. Previously, in the early not public release of KofEdit, you should have to do all the settings once more each time you build a new package. This feature is saving a lot of time during development.
1)import the new track from .ase
2)save it in kto (myTrackNew.kto)
3)open the new kto (myTrackNew.kto)
4)select tool->merge materials and point to the old .kto (myTrackOld.kto)
5)save the merged kto (myTrack.kto)

NOTE: the new .kto needs to be in your track folder, otherwise it will fail loading. The name could be even a temporary name (myTrackNew.kto).
How does it work and problem fixing
This method copy setting from the old kto to the new, based on the name of the object.
For each object in the new kto will load the settings from objects with the same name on the old kto.
This will lead to problems in case there are 2 objects on the old kto with the same name but different materials.
For this reason, be careful with the naming of your objects. Object should be always unique to avoid problems.
here an example of a merge error

in this case in the old kto there were 2 objects called 10Road07. One was with the correct road texture, the other was with a texture of the kerbstone.
Once the merge is done settings for 10Road07 are done twice, and the last (the kerbstone) will be showed.
This problem needs to be fixed in the 3d model removing all the duplicates.
In case your old kto has duplicate objects follow this procedure to fix it:
1)fix the problem in your 3d model (either renaming or deleting one of he dups. careful not to leave holes.) taking notes of what you are doing (keep track of objects and textures).
2)export in YourTrackNoDups.kto.
3)do merge material with YourTrackWithDups.kto
this will still show the problem because in the YourTrackWithDups.kto settings for the fixed object are still substituted twice (so overwritten).
4) change manually the settings (texture/shaders and so on)for the objects you fixed.
5) save the new kto YourTrack.kto. This new kto will contain 1 object with the correct setting, so will not generate problems for the following merge materials.
For example you can use this method when want to do a fix on your track. Previously, in the early not public release of KofEdit, you should have to do all the settings once more each time you build a new package. This feature is saving a lot of time during development.
1)import the new track from .ase
2)save it in kto (myTrackNew.kto)
3)open the new kto (myTrackNew.kto)
4)select tool->merge materials and point to the old .kto (myTrackOld.kto)
5)save the merged kto (myTrack.kto)

NOTE: the new .kto needs to be in your track folder, otherwise it will fail loading. The name could be even a temporary name (myTrackNew.kto).
How does it work and problem fixing
This method copy setting from the old kto to the new, based on the name of the object.
For each object in the new kto will load the settings from objects with the same name on the old kto.
This will lead to problems in case there are 2 objects on the old kto with the same name but different materials.
For this reason, be careful with the naming of your objects. Object should be always unique to avoid problems.
here an example of a merge error

in this case in the old kto there were 2 objects called 10Road07. One was with the correct road texture, the other was with a texture of the kerbstone.
Once the merge is done settings for 10Road07 are done twice, and the last (the kerbstone) will be showed.
This problem needs to be fixed in the 3d model removing all the duplicates.
In case your old kto has duplicate objects follow this procedure to fix it:
1)fix the problem in your 3d model (either renaming or deleting one of he dups. careful not to leave holes.) taking notes of what you are doing (keep track of objects and textures).
2)export in YourTrackNoDups.kto.
3)do merge material with YourTrackWithDups.kto
this will still show the problem because in the YourTrackWithDups.kto settings for the fixed object are still substituted twice (so overwritten).
4) change manually the settings (texture/shaders and so on)for the objects you fixed.
5) save the new kto YourTrack.kto. This new kto will contain 1 object with the correct setting, so will not generate problems for the following merge materials.
Last edited by Andrea Lojelo on Wed Jul 21, 2010 4:12 pm; edited 2 times in total













» Linearita' Volante...
» 24 May 2012: Zandvoort
» 17 May 2012: Sepang
» Best free anti virus software?
» netKar PRO v1.3.0.1 RSR update
» Crash on opening ingame server browser
» new PC title in development at Kunos Simulazioni: Assetto Corsa
» Open Wheel Series Skin Pack