FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    need some help with editing unit positions

    Scheduled Pinned Locked Moved General Discussion
    10 Posts 4 Posters 156 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z Offline
      Zanryo
      last edited by

      hi
      i was wondering if anyone could helpe me how to edit unit positions. the reason i am asking is because while using a mod. some of the units when placed are unaligned and are pointing like 45 degrees to the left. the mod also does this to many of the vanilla and buildings from other mods mainly point defense buildings. i have tried to see if i could find anything off in the mod files but its quite the headache going throug littleral every map looking at units and trying to identify at which unit i'm looking at. so i was wondering if anyone would be so kind to help me on the way? i'm pretty new to modding to maybe my lack of general knowledge is what is stopping me form finding the info i need. so any and all help would be appreciated! i have added i screenshot to better show what i mean. the mod in question is total mayhem found on FAF app.
      9420_16.jpg

      1 Reply Last reply Reply Quote 0
      • SaverS Offline
        Saver
        last edited by

        Hi, you can only edit the unit's orientation in the mesh, so via Blender. The bone model needs to be adjusted. Here's an example from Blender:

        32f75073-68f1-42b7-afea-d406fadbdeaa-image.png

        59072968-e8a1-4c1d-a5d7-11b8190a0a37-image.png

        auch mal fünf gerade sein lassen

        1 Reply Last reply Reply Quote 0
        • Z Offline
          Zanryo
          last edited by

          so no way of editing it by changing some values? guess time to download blender then. thanks for the advice!

          Z 1 Reply Last reply Reply Quote 0
          • SaverS Offline
            Saver
            last edited by

            Feel free to stop by FAF's Discord. They can help you get the right tools. Learning the applications isn't quite as easy, though. Good luck 😉

            auch mal fünf gerade sein lassen

            1 Reply Last reply Reply Quote 0
            • Z Offline
              Zanryo @Zanryo
              last edited by

              i'll try the discord as well. because blender is refusing to load any of the files for now. thanks for the speedy reply! cheers dude! 👌

              1 Reply Last reply Reply Quote 0
              • SaverS Offline
                Saver
                last edited by Saver

                You will need the following information: SupCom_Import_Export_Blender Python scripts to import and export Supreme Commander units (.scm) and animations (.sca) in Blender. Unfortunately, I don't have it to hand right now. @CDRMV He could also provide you with the data on his Discord. Perhaps you could visit his project. You'll find some good explanations there, too. https://forum.faforever.com/topic/6034/commander-survival-kit-a-new-sim-mod/238 Ask him, he also helps

                auch mal fünf gerade sein lassen

                1 Reply Last reply Reply Quote 0
                • Z Offline
                  Zanryo
                  last edited by

                  thank you for the heads up. i managed to get a working script to import and export files. at least the import seems to work. now i trying to figure out how my edits appear in game. whenever i do an edit to rotate a unit on its z axis and try to export it, nothing seems to change. when i open the file i edited it remained in the same position from before my edits. so my changes are obviously not coming through. so probably doing something wrong myself. i'll try to reach out to the one you mentioned as well as trying myself.

                  C 1 Reply Last reply Reply Quote 1
                  • Z Zanryo referenced this topic on
                  • DeribusD Offline
                    Deribus Moderator
                    last edited by

                    There was a FAF patch years ago which rotated the default position of point defence. If you can find that in the GitHub that'll be a good start. I don't think any model or bone changes are required.

                    SaverS 1 Reply Last reply Reply Quote 2
                    • C Offline
                      CDRMV @Zanryo
                      last edited by

                      @Zanryo
                      It doesn't has anything to do with the Models. So you dont need to Change thier Bones. The Rotation is caused by Code which spawns the Units If you Build them in this Direction. Personally I dont have study the Code of so much but it hast Something to do with the Categories as well. As I Said on my Post related to the Commander Survival Kit Nomander already leads you to the right Direction to find an Solution for it. I already looking Forward for this Solution because I want to add it into my own Mods as well. Personally I think this Rotation Feature of Defenses should be an Setting in the Lobby Option.

                      1 Reply Last reply Reply Quote 1
                      • SaverS Offline
                        Saver @Deribus
                        last edited by

                        @Deribus @CDRMV Thanks for the tip. I wasn't sure, unfortunately. I hadn't worked on this type of unit before. So I learned something, too. Great 🙂

                        auch mal fünf gerade sein lassen

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post