touy
3rd Jul 08, 10:53 PM
Heh. A simple guide that needs only basic knowledge of modding to accomplish. Made in response to a few mods having troubles with displaying the correct frontend models for the correct race. I hope this will be of assistance.
There are only two things that need to be remembered in dealing with the Frontend .lua and those would be completeness and alphabetical order.
For example, if one were to make a new race mod, the base frontend .lua would display the races like this:
race_0 = "chaos_marine_race",
model_0 = "Art/UI/3D_Models/Chaos_Lord_Frontend",
race_1 = "eldar_race",
model_1 = "Art/UI/3D_Models/Eldar_Farseer_Frontend",
race_2 = "guard_race",
model_2 = "Art/UI/3D_Models/Imperial_Captain_Frontend",
race_3 = "necron_race",
model_3 = "Art/UI/3D_Models/Necron_Lord_Frontend",
race_4 = "ork_race",
model_4 = "Art/UI/3D_Models/Ork_Warboss_Frontend",
race_5 = "space_marine_race",
model_5 = "Art/UI/3D_Models/Force_Commander_Frontend",
race_6 = "tau_race",
model_6 = "Art/UI/3D_Models/Tau_Commander_Frontend",
Now let's add a new race to the frontend model .lua. Remember though that the race name to be used must match the Race BPS. Let's have this new race be "new_race" and add it to the .lua. That would mean that it would be placed between "necron_race" and "ork_race". Renumber the races and that is all that should be done.
This also works wonders for combiner mods as well. The trick, though, is to place the new frontend model .lua in the combiner mod folder (as this will overrule and take priority over the other frontend model .luas in the other race mod folders being combined). Make the new frontend model .lua contain all the races to be included and alphabetize the races.
Thus, the frontend models should display correctly... hopefully (It's worked up to this point after many tests, so knock on wood for luck.).
Remember though. This isn't only way to go about it (as other very excellent, well-made mods have demonstrated), but it's the safest way to go about it without having to deal with all the hassles that come with it... Again, I hope this proves useful to at least a few. I've yet to have success with the Frontend Music though...
There are only two things that need to be remembered in dealing with the Frontend .lua and those would be completeness and alphabetical order.
For example, if one were to make a new race mod, the base frontend .lua would display the races like this:
race_0 = "chaos_marine_race",
model_0 = "Art/UI/3D_Models/Chaos_Lord_Frontend",
race_1 = "eldar_race",
model_1 = "Art/UI/3D_Models/Eldar_Farseer_Frontend",
race_2 = "guard_race",
model_2 = "Art/UI/3D_Models/Imperial_Captain_Frontend",
race_3 = "necron_race",
model_3 = "Art/UI/3D_Models/Necron_Lord_Frontend",
race_4 = "ork_race",
model_4 = "Art/UI/3D_Models/Ork_Warboss_Frontend",
race_5 = "space_marine_race",
model_5 = "Art/UI/3D_Models/Force_Commander_Frontend",
race_6 = "tau_race",
model_6 = "Art/UI/3D_Models/Tau_Commander_Frontend",
Now let's add a new race to the frontend model .lua. Remember though that the race name to be used must match the Race BPS. Let's have this new race be "new_race" and add it to the .lua. That would mean that it would be placed between "necron_race" and "ork_race". Renumber the races and that is all that should be done.
This also works wonders for combiner mods as well. The trick, though, is to place the new frontend model .lua in the combiner mod folder (as this will overrule and take priority over the other frontend model .luas in the other race mod folders being combined). Make the new frontend model .lua contain all the races to be included and alphabetize the races.
Thus, the frontend models should display correctly... hopefully (It's worked up to this point after many tests, so knock on wood for luck.).
Remember though. This isn't only way to go about it (as other very excellent, well-made mods have demonstrated), but it's the safest way to go about it without having to deal with all the hassles that come with it... Again, I hope this proves useful to at least a few. I've yet to have success with the Frontend Music though...