From 968f2c9267ec9c6d18646ade0fa1d66e90a751e8 Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Fri, 27 Jan 2023 19:43:06 +0000 Subject: [PATCH] Add troubleshooting section based on Exporting a weapon for Xonotic page --- Blender-to-IQM.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Blender-to-IQM.md b/Blender-to-IQM.md index 00abebe..ff53020 100644 --- a/Blender-to-IQM.md +++ b/Blender-to-IQM.md @@ -26,6 +26,25 @@ Blender when exporting to IQM 4. Export to a file path of your choosing, /path/to/umbra.iqm. Put the names of all the animations in the animations box, using commas for multiple anims. Then hit the export button and hopefully it will work without any errors. 5. Your model will need a .framegroups file to be used in Xonotic, look at the example file at the beginning of this article or check the [Framegroups](Framegroups) section of this wiki. +### Troubleshooting + +- _**Broken shadow artifacts (enabled with `r_shadows 2` and disabled `r_shadow_shadowmapping 0`):**_
+To solve this, the possible way is exporting to IQM from Blender, selecting bone and mesh (both highlighted). That issue could happen to player models. +
Reference: https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2667 + +- _**When exporting to IQM, get duplicated names in the texture:**_
+duplicatedtexturenameloadingerror
+Take a closer look what is telling here:
+_The "Materials" option controls how material names are generated. "material+image-ext" combines the name of the material and the name of the UV-map image (without its extension or directory) to generate the material name, "material" uses only the name of the material, and "image" just uses the name of the UV-map image (without its directory)._

+When you export to IQM, you need to watch out that detail after selected File > Export > Inter-Quake Model (.iqm, .iqe).
+Pay attention to this [section](##textures-and-materials) when you need to export correctly, the material/texture(image) should be one thing, so do the following: Export IQM > Materials: > select `material` or `image` instead `material+image-ext`.
+exportiqmiqeblenderdetails
+ +- _**Model scale animations aren't working:**_
+SMD format doesn't support bone scaling animations, although you try to compile them into dpmodel tool, it won't change nothing. More info here: https://steamcommunity.com/groups/BlenderSourceTools/discussions/1/152392786900223348/
+Same goes for IQM. + + ### Notes As of 01/06/2012, Xonotic uses these animations: -- 2.39.2