Results 1 to 14 of 14

Thread: Unity tutorials for A17 7D2D Modders

  1. #1
    Community Moderator xyth's Avatar
    Join Date
    Dec 2016
    Location
    Florida, USA
    Posts
    1,825
    Rep Power
    1

    Unity tutorials for A17 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 at 12:57 PM.

  2. #2
    Refugee
    Join Date
    Jan 2018
    Location
    South Africa
    Posts
    27
    Rep Power
    0
    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.

  3. #3
    Colony Founder DUST2DEATH's Avatar
    Join Date
    Jun 2014
    Location
    AU - HDHQ Overhaul
    Posts
    1,874
    Rep Power
    1
    Oh you sneaked this thread in. Looking forward to more tuts, saved my butt so many times. Thanks

  4. #4
    Community Moderator xyth's Avatar
    Join Date
    Dec 2016
    Location
    Florida, USA
    Posts
    1,825
    Rep Power
    1
    Quote 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

  5. #5
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Enemy for life
    Posts
    22,399
    Rep Power
    1
    Please sticky.

  6. #6
    Survivor
    Join Date
    Jan 2015
    Posts
    72
    Rep Power
    1
    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 at 09:59 AM.

  7. #7
    Refugee
    Join Date
    Jan 2019
    Posts
    1
    Rep Power
    0
    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?

  8. #8
    Community Moderator xyth's Avatar
    Join Date
    Dec 2016
    Location
    Florida, USA
    Posts
    1,825
    Rep Power
    1
    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.

  9. #9
    Refugee
    Join Date
    Aug 2018
    Location
    Spain
    Posts
    24
    Rep Power
    0
    2019-01-23.jpg

    FUN WITH FLAGS! Thanks for tutorials!

  10. #10
    Community Moderator xyth's Avatar
    Join Date
    Dec 2016
    Location
    Florida, USA
    Posts
    1,825
    Rep Power
    1
    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.

  11. #11
    Hunter dutchplayers's Avatar
    Join Date
    Dec 2018
    Location
    Netherlands
    Posts
    134
    Rep Power
    0
    Quote Originally Posted by Mideval View Post
    2019-01-23.jpg

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

  12. #12
    Ranger bdubyah's Avatar
    Join Date
    Dec 2016
    Location
    Tennessee
    Posts
    347
    Rep Power
    1
    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.

  13. #13
    Community Moderator xyth's Avatar
    Join Date
    Dec 2016
    Location
    Florida, USA
    Posts
    1,825
    Rep Power
    1
    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.

  14. #14
    Ranger bdubyah's Avatar
    Join Date
    Dec 2016
    Location
    Tennessee
    Posts
    347
    Rep Power
    1
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •