Hanners Posted January 10, 2020 Posted January 10, 2020 Hello, Super stupid question, but I feel like I cannot figure out for the life of me how to modify the number on the side of a ship. I realize that with something like the Stennis it is baked into the actual texture itself, but what about ships like the Oliver Perry or Ticonderoga? The .dds textures show numbers 0-9, so it doesn't seem like it's a huge stretch. I've tried editing the description.lua files inside of Bazar/Liveries, but alas nothing that I can find. I do see how the description.lua files do have a texture V-offset based on the naming texture (10 listed on Perry, from 1/10, 2/10, etc., while Ticonderoga has 12, from 1/12 to 2/12, etc), but I still haven't been able to find out how to edit the number. If anyone could point me to how to modify the hull number for these ships that have the full numeric texture table, much like how one can do for aircraft, it would be super appreciated!
Grimes Posted January 10, 2020 Posted January 10, 2020 Well the simple answer is you go into the editor, select payload, and choose the different ships from the list. In a modding to add more ship names sense, as you've looked through the livery files, well it is a whole lot more complicated. The Perry and Tico share the same problem in this regard. They use a single animation argument to draw different parts of the same texture file for both digits at the same time. Compounding issues is that both digits can change throughout the range of the same animation argument. As a result you cannot control the numbers like you can with aircraft. For instance with aircraft it reads whatever is in the "Bort Number" value in the editor to draw that, for ships you have to use draw arguments and specify a specific ship from the choices. Changing the ship name on the back is comparatively easy as it is just a vertical list of names, but they also correspond to the the same animation argument. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Hanners Posted January 10, 2020 Author Posted January 10, 2020 Hmm, I see what you are saying. Thank you for responding, Grimes. I guess it would really be a nice-to-have thing in future versions of DCS. =)
Recommended Posts