• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Creating and Exporting Models from Unity for use in 7D2D

Updating for A21

Here are the links you will need to get started modding A21 using Unity. You must use Unity 2021.3 to create new assets for A21.  

Things you will need to follow along with the videos (note that the video talks about old version of unity but it is the same process).  

Step 1:  Download the Unity Hub and Unity 2021.3.19f1:  https://unity3d.com/get-unity/download/archive

then Install it.

Step 2:  Download my Unity 2021.3 template projecthttps://drive.google.com/file/d/1yPQ2yOj1Oe7pOml3ytfZcNggWWTAD4gq/view?usp=sharing then unpack it, saving it to a location you will remember.  

Step 3:  Open unity Hub, and click the ADD button, locate my project template, and select that folder. 

You now have a properly configured modding platform.  The project includes the TFP tagmanager, Linear lighting configuration, and the export script needed to export your new things as .unity3d bundles.  

Step 4:  Go watch the tutorial videos.

https://www.youtube.com/user/xythq/playlists?shelf_id=0&view=1&sort=dd

Step 5:   Make something cool, and have fun doing it! 

 
Last edited by a moderator:
[video=youtube;rfe-EUDnpeE]

here is a tutorial how to export the vanilla weapons, retexture them and get them as new ones in again. You could, if you place your own models at the same position, get every weapon mesh in you want.

I´ll post an advanced tutorial, with fire and reload animations, soon....

 
[video=youtube;rfe-EUDnpeE]
Where can I learn the proper structure for the xml file that even makes the mod visible by sdx

to load? Learning this from scratch with no experience is a little frustrating.

 
Last edited by a moderator:
Where can I learn the proper structure for the xml file that even makes the mod visible by sdxto load? Learning this from scratch with no experience is a little frustrating.
The video tutorial on using SDX, including the instructions of how to setup the xml files for sdx to use is forthcoming. The delay is because we are striving to make sure everything is perfectly clear for the absolute beginner. Several of us have gone through the written tutorial line by line a few times, improving it on every iteration. I understand that folks are eager to move forward with modeling, but unless we get this right the first time, we will be buried in support questions.

Remember, as it relates to adding new game objects to 7d2d, you only have to run sdx one time without any mods selected. Once that's done, you can drop most unity3d files (any that do not have required scripts for animation, lighting etc) into the Mods/SDX/Resources folder found in your game directory, then manually add the new object as a new block into your blocks.xml. No need to re-run sdx for that. The standard format for the lines you need to add to the basic block are:

Code:
<block id="2013" name="newblock">  <!-- Need a unused ID number and name -->
	<property name="Shape" value="ModelEntity" />  <!-- required exactly as typed -->
	<property name="Model" value="#NewBlock?NewBlockPrefab" /> <!-- required - #____ is the name of the unity3d file, ?__ is the name of the object inside that file -->
               <property name="Material" value="wood" />  <!-- pick any material, but one with some stability, like wood, metal etc. -->
       </block>
Look at a similar block in the blocks.xml for other properties you might want to add, like to enable picking up the block, enabling collision with the block, etc. Add those lines as you desire.

The launch of the website is scheduled for early September, but there is a chance that it will be available sooner than that. Patience please, we are nearing the goal.

 
Last edited by a moderator:
[video=youtube;M8BO-vK6Jno]

here is the promissed advanced tutorial, it shows how to get a weapon from the unity store in. Also you will learn how to animate it and make custom sounds for it.

 
The new SDX tutorial website is live, look under the SDX tool forum for details. I made my latest videos public now that the tutorial is released. More on the way.

 
hey if i made a new chest for me how get i a custom window on it ?
That depends on what you want in the way of customization. You can make the container size larger or smaller in the loot.xml for that container. More advanced window changes are done in the UI files.

 
Import custom NPC models with animation

Hi, could you say, or make tutorial how import custom model of NPC, with animations(like in Starvation)?

Or how change vanilla skins of zombies, etc.

Thanks.)

 
Hello, I would like to ask you to make a video lesson on how to properly make a zombie animation for the game

7 Days to Die I've reviewed a lot of videos in YouTube but nothing like that! I tried to do it myself but nothing came of it ..... If there is an opportunity to make a video lesson I will be very thankful for you in advance !!

 
Hi, could you say, or make tutorial how import custom model of NPC, with animations(like in Starvation)?Or how change vanilla skins of zombies, etc.

Thanks.)

I would like to second Okami's request! :smile-new:

 
Animation SDX

Well, its been a while since I posted here. I've been teaching myself how to animate objects and entities in Unity and get them to work in 7D2D. I've made dozens of entities; zombies, animals, machines, NPC's etc, that use SphereII's new SDX animation mod. I don't totally sux at it now, so its close to time to make some new tutorial videos on these processes. I'll probably start with simple objects like machines and workstations, and move towards zombie and animal animations.

I have some time off around the holidays, so will plan to make some then. Here is a video of something I made earlier today. Its a bit rough in the transitions, but that can be polished if he finds work somewhere. Enjoy...

SubZero.jpg

 
I've made dozens of entities; zombies, animals, machines, NPC's etc
The snowman video... Its just so wrong in so many ways.

Like, I was actually uncomfortable watching it hover-glide around and spider scream at you... .oO((chills down spine))

I was never "Down" with Santa and Rudolf is just a glorified mule-deer so I always could rely on good old Frosty.

But... now?. Nope.

I don't think snow, let alone snowmen, will ever hold the same childhood wonder and happyness for me.

Thanx (lol)

 
The snowman video... Its just so wrong in so many ways.Like, I was actually uncomfortable watching it hover-glide around and spider scream at you... .oO((chills down spine))

I was never "Down" with Santa and Rudolf is just a glorified mule-deer so I always could rely on good old Frosty.

But... now?. Nope.

I don't think snow, let alone snowmen, will ever hold the same childhood wonder and happyness for me.

Thanx (lol)
Haha, he even scarier now that hes finished. Still need to get a ranged effect working, but there are issues with that.

 
Uploaded the first in a series of tutorials on legacy entity animation for 7D2D. Starting very basic, and will build from there. This tutorial requires a basic mastery of making an SDX mod and exporting an object, such as was covered in previous tutorials.

Enjoy...

Moving the animation tutorials to their own thread.

 
Last edited by a moderator:
HEEEEELP My 3d model sees so in the game

I took a vanilla model and added new textures with 3D coat and this appears in the game

ej 1.jpg

using unity 5.3.8p2

ej 2.jpg

and the XML code

ej.jpg

 
Check the error at the bottom of unity. Might be why your inspector window is empty too.

- - - Updated - - -

In the xml there's a space between piconew? and piconewprefab.

 
Thanks!! just one more problem

thank you very much,!! I can see it now if I just have a problem with the gun sight

zoom.jpg

And my config

config.jpg

unity.jpg

 
Back
Top