]> git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
Fix too big images
authorLegendaryGuard <rootuser999@gmail.com>
Sun, 17 Apr 2022 22:07:29 +0000 (22:07 +0000)
committerLegendaryGuard <rootuser999@gmail.com>
Sun, 17 Apr 2022 22:07:29 +0000 (22:07 +0000)
Exporting-a-weapon-for-Xonotic.md

index 4c7fa115b0737e18e6c71a9169e8508c20319812..8bb6fbc796231b287f045ec30ac3e64fc8b15bcb 100644 (file)
@@ -64,7 +64,7 @@ Keep in mind, you need to set these modifiers for the mesh/model object:
 
 MUST contain `tag_handle`, `tag_shell` and `tag_shot` bone names attached. These tag_names MUST be attached, if not the model will cause errors.
 
-`tag_Somename` is another one, you can add if you need some optional animation in this bone.
+`tag_Somename` is another one, you can add if you need some optional animation in this bone. (Not useful for [old methodology](#old-methodology))
 
 Moreover, watch out about position and rotation. `h_*.iqm` alterates the position and rotation of `v_*.md3`. The positions may not be equal.
 
@@ -82,15 +82,14 @@ Use Source Tools addon in Blender to export the model and animations.
 
 - For `h_*`:
 Select the mesh and 1 animation and click Export, you need to export all animations one per one: 
-<br/><img src="uploads/3775545047aa58d6e4fcb37df4f500a1/blenderSMDexport1.jpg" alt="blenderSMDexport1" width=700 /><br/>
-Repeat the process:<br/><img src="uploads/b7c8b250fc1af6b30c999506e7143930/blenderSMDexport2.jpg" alt="blenderSMDexport2" width=700 /><br/><br/>
-<img src="uploads/9e9efa19232d1c47fd982ad0da2eb1df/blenderSMDexport3.jpg" alt="blenderSMDexport3" width=700 /><br/><br/>
-<img src="uploads/2c929b6993d5e370c1d5498a03cb4ba8/blenderSMDexport4.jpg" alt="blenderSMDexport4" width=700 />
+<br/><img src="uploads/3775545047aa58d6e4fcb37df4f500a1/blenderSMDexport1.jpg" alt="blenderSMDexport1" width=380 /><br/><br/>
+Repeat the process:<br/><img src="uploads/b7c8b250fc1af6b30c999506e7143930/blenderSMDexport2.jpg" alt="blenderSMDexport2" width=350 /><br/><br/>
+<img src="uploads/9e9efa19232d1c47fd982ad0da2eb1df/blenderSMDexport3.jpg" alt="blenderSMDexport3" width=350 /><br/><br/><img src="uploads/2c929b6993d5e370c1d5498a03cb4ba8/blenderSMDexport4.jpg" alt="blenderSMDexport4" width=350 />
 <br/><br/>
 
 - For `g_*` and `v_*`:
 Just select the mesh:
-<br/><img src="uploads/ec37639792378bb6ef9684b19d45a056/blenderSMDexport5.jpg" alt="blenderSMDexport5 width=700 /><br/>
+<br/><img src="uploads/ec37639792378bb6ef9684b19d45a056/blenderSMDexport5.jpg" alt="blenderSMDexport5" width=350 /><br/>
 
 Use `iqm.exe` from [IQM exporter](https://gitlab.com/xonotic/iqm), in Windows, in CMD execute for convert SMD to IQM for `v_*` and `g_*`: <br/>`iqm v_myweapon.iqm v_mesh.smd`
 <br/>`iqm g_myweapon.iqm g_mesh.smd`
@@ -108,7 +107,7 @@ Save those compiled model files into `models/weapons/` folder where they belong.
 **Conclusion**: Sometimes, renaming formats can be useful to save effort. Note: it's a kind of weird way to do stuff, the issue of model resources was found here: https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2629#note_686988936
 
 If you received spamming errors like that:<br/>
-<img src="uploads/1f769ede89975be78d88eaad1b062a3d/spammingerrorstagweapon.jpg" alt="spammingerrorstagweapon" width=600 /><br/>
+<img src="uploads/1f769ede89975be78d88eaad1b062a3d/spammingerrorstagweapon.jpg" alt="spammingerrorstagweapon" width=450 /><br/>
 It's because you didn't do correctly the steps after exporting the models. Remember, `g_*` and `v_*` MUST contain one bone. 
 
 # Old methodology