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)
![Merge Materials Mergematerials](https://2img.net/r/ihimizer/img829/7730/mergematerials.jpg)
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
![Merge Materials Mergematerialserr](https://2img.net/r/ihimizer/img828/5012/mergematerialserr.jpg)
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 6:12 pm; edited 2 times in total
» How can i have my laptimes in the world records page?
» Problems event.ini and account
» Account problem
» AI driver laptime bug,
» not registered to do lap times?
» i beat Wr.. but im no in list
» Nürburgring GP (GT)
» Problem in All Round PRO Ranking with BMW M3 E30 Gr. A @ Vallelunga