Announcement

Collapse
No announcement yet.

Unity Tutorials for 7D2D Modders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unity Tutorials for 7D2D Modders

    I started a series of new video tutorials that will hopefully make it easier for folks to get into using Unity 2018.

    This first video walks you through loading the template tutorial project into your copy of Unity 2018.2.x. I don't cover downloading Unity and installing it as that is covered well by Unity. By the end of tutorial 1 you should have everything loaded that you will need to begin basic modding in Unity. The Unity project template is on my github repo and is preconfigured with the exportbundles script and has all known tags preconfigured. The first video covers downloading and installing that project folder. Download it at:https://github.com/7D2D/Templates-and-Utilities

    At the same location there is a version 2 of the template that adds the new export script that is compatible with Linux and OSx clients, fixing the tag location on the flag so it can be picked up, and changing the shader to show the cutout on the flag. I left the old one as it follows the video exactly but use the new version when you can. Its also built on a slightly newer version of 2018.2 so if you get a popup about a different version just hit continue and it will update the template to whatever version of Unity you have loaded.

    Video #1: Setting up Unity 2018

    https://youtu.be/0_MbTZJpAHM

    After watching this, there is a short second video on how to make your own flag for the Fun with Flags modlet.

    Video #2: Making a Flag

    https://youtu.be/YptlVAKykl8

    Let me know what you think and if anything isn't clear so far. I will address those at the beginning of tutorial 3.

    Happy modding!
    Last edited by xyth; 02-01-2019, 12:57 PM.

    #2
    I'm trying to get your flags to show on Linux. I have found a bug. I can't git to save my life, so I'll describe it here:

    Linux's file system is case sensitive. The naming of folders and files is crucial. Your "Items.xml" file should start with a lower-case "i" -- "items.xml"

    (The file in https://github.com/7D2D/A17Mods/tree...thFlags/Config)

    When that fix is made, the mod loads on Linux.

    HTH.

    Comment


      #3
      Oh you sneaked this thread in. Looking forward to more tuts, saved my butt so many times. Thanks

      Comment


        #4
        Originally posted by dbat View Post
        I'm trying to get your flags to show on Linux. I have found a bug. I can't git to save my life, so I'll describe it here:

        Linux's file system is case sensitive. The naming of folders and files is crucial. Your "Items.xml" file should start with a lower-case "i" -- "items.xml"

        (The file in https://github.com/7D2D/A17Mods/tree...thFlags/Config)

        When that fix is made, the mod loads on Linux.

        HTH.
        Thanks. I'll fix and try to remember that

        Comment


          #5
          Please sticky.

          Comment


            #6
            Thanks for the tutorial.
            I've added a flag but I'm unable to pickup or hit the new flag.

            Edit: Got it working by applying the tag to the pole itself.
            Last edited by NerdScurvy; 12-16-2018, 09:59 AM.

            Comment


              #7
              The tutorial for Unity and the projects are very helpful. Thanks a lot for that.
              But what would be important is a description of the tags. It would be important to know when which tag can be used and what effects these tags have. Could you write a short description for the tags in the sample project?

              Comment


                #8
                Tags are used by the game code as an identifier. Some tags identify entity body parts like E_BP_Head, others identify properties like T_Deco for distant trees or E_Vehicle for vehicle entities. The tag most often used is T_Mesh_B which makes a block interactable. I am not aware of anyone using any tags other than the ones I have listed here but that may change as modders dig deeper into the code to try new things.

                Comment


                  #9
                  2019-01-23.jpg

                  FUN WITH FLAGS! Thanks for tutorials!

                  Comment


                    #10
                    Added version 2 of the template that:

                    Adds the new export script that is compatible with Linux and OSx clients
                    Fixes the tag location on the flag so it can be picked up
                    Changes the shader to show the cutout on the flag.

                    I left the old one as it follows the video exactly but use the new version when you can. It's also built on a slightly newer version of 2018.2 so if you get a popup about a different version just hit continue and it will update the template to whatever version of Unity you have loaded.

                    Comment


                      #11
                      Originally posted by Mideval View Post
                      [ATTACH=CONFIG]27335[/ATTACH]

                      FUN WITH FLAGS! Thanks for tutorials!
                      Amazing work! ♥♥♥♥load of copy-paste... Would you like to share your modlet?

                      Comment


                        #12
                        Where did you get all the tags from? I'm trying to figure out what all I need tag-wise on a new turret I'm making. Completely new to this stuff.

                        Comment


                          #13
                          We find them but poking around in the game code. You won't need anything but T_Mesh_B for a block like a turret.

                          Comment


                            #14
                            Ah, okay. I thought I had read electrical stuff needed other tags.

                            If you have the time, maybe look here: https://7daystodie.com/forums/showth...-model-in-game

                            I'd appreciate any tips on what I'm missing here.

                            Comment


                              #15
                              do u have a list of tags, I've seen a thread on it but cant fined it.

                              Comment

                              Working...
                              X