Skip to content

How do I change a unit?

User Avatar
#42
Auto-translated
Ishmael
Hello. I have encountered a problem when replacing Bone Dragons for Necropolis. More specifically, the bone and ghost ones (the Spectral ones changed as needed).
I replaced Necro T7 with the previous T6 (i.e., now Heralds instead of Dragons, and I put another unit in the Heralds' place). However, after saving the changes and launching the game, their "Skeletons" and "Geometries" disappeared. And if I understood correctly, the file they referenced (Skeleton and Geometry of the Heralds) was also erased. No such problems were observed with other changed units! In general, I hope experts can explain what is wrong.  
----
*I think this might be because the names of the pre-DLC creatures are very long. They had an issue with embedding. If anything, I change units through the Map Editor (I don't know how correct this method is, but for now it's the most convenient for me).
the names are long because these are not files, but a piece of text in the model file
here is how the Banshee is recorded

Banshee

   
       
       
   
   
   
   
    1



and here is how the Wight is recorded

Wight

   
       
           
               
               
                0
               
                    0
                    0
                    0
               
               
                0
                0
               
                true
                true
                0
               
                    0
                    0
                    0
               
                0
               
                5
                false
                L_NORMAL
                DM_DONT_CARE
                false
                M_GENERIC
                AM_ALPHA_TEST
                true
                false
                false
                false
           
       
       
           
               
               
                0
               
                    0
                    0
                    0
               
               
                0
                0
               
                true
                true
                0
               
                    0
                    0
                    0
               
                0
               
                5
                false
                L_NORMAL
                DM_DONT_CARE
                false
                M_GENERIC
                AM_ALPHA_TEST
                true
                false
                false
                false
           
       
   
   
       
           
            Global
            true
           
            B080C7E8-4B44-4157-996B-FEC6BBEC3EF6
       
   
   
       
           
            172502D9-17FD-4615-81C0-9FCC2180A1BD
           
            Global
           
                3.18326
                2.73856
                4.99828
           
           

                0.169839
                0.0762311
                1.37565
           

           
                1.64591
                -0.111639
                3.73294
           
           
                0
                0
                0
                0
           
           
               
                   
                    AI
                   
                    0
                    0
                   
                        0
                        0.143901
                        1.40137
                   
                   
                        0.825303
                        0.825303
                        1.30628
                   
                    795E7565-56B9-4792-9882-1DF8F5E97DA8
               
           
            2
           
                1
                1
           
           
                StickShape
                BodyShape
           
           
           
       
   
   
    1



in the Banshee files, links to materials, skeletons and geometry are written, while in the Wight, it's not links to files, but the direct content of the files; the Map Editor cannot copy and paste that
Мои мини-моды

Мод RTF

Мои NCF существа