]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Weaponsystem.md
explain autobuilds
[xonotic/xonotic.wiki.git] / Weaponsystem.md
index 190743521eb6453596d02043188e09275d69625c..cba62db20427fa9ab9f1713df57abe889e248f44 100644 (file)
@@ -1,27 +1,32 @@
 There are 3 weapons systems coded in Xonotic
 
-\* 1. simple animated model, muzzlr flash handling on h\_ model:
- **\* h\_tuba.dpm, h\_tuba.dpm.animinfo - invisible model controlling the animation
- tags:
- shot = muzzle end
- shell = casings ejection point
- weapon = attachment for v\_tuba.md3
-**\* v\_tuba.md3 - first and third person model
- **\* g\_tuba.md3 - pickup model
-** 2. fully animated model, muzzle flash handling on h\_ model:
- **\* h\_tuba.dpm, h\_tuba.dpm.animinfo - animated first person model
- tags:
- shot = muzzle end
- shell = casings ejection point
- handle = corresponding to the origin of v\_tuba.md3
-**\* v\_tuba.md3 - third person model
- **\* g\_tuba.md3 - pickup model
-** 3. fully animated model, muzzle flash handling on v\_ model:
- **\* h\_tuba.dpm, h\_tuba.dpm.animinfo - animated first person model
- tags:
- shot = muzzle end
- shell = casings ejection point
-**\* v\_tuba.md3 - third person model
- tags:
- shot = muzzle end (for muzzle flashes)
- \*\* g\_tuba.md3 - pickup model
+1. simple animated model, muzzl flash handling on `h_` model:
+
+  * `h_tuba.dpm`, `h_tuba.dpm.animinfo` - invisible model controlling the animation  
+    tags:  
+    shot = muzzle end (shot origin, also used for muzzle flashes)  
+    shell = casings ejection point (must be on the right hand side of the gun)  
+    weapon = attachment for `v_tuba.md3`  
+  * `v_tuba.md3` - first and third person model  
+  * `g_tuba.md3` - pickup model  
+
+2. fully animated model, muzzle flash handling on `h_` model:
+
+  * `h_tuba.dpm`, `h_tuba.dpm.animinfo` - animated first person model  
+    tags:  
+    shot = muzzle end (shot origin, also used for muzzle flashes)  
+    shell = casings ejection point (must be on the right hand side of the gun)  
+    handle = corresponding to the origin of `v_tuba.md3` (used for muzzle flashes)  
+  * `v_tuba.md3` - third person model  
+  * `g_tuba.md3` - pickup model  
+
+3. fully animated model, muzzle flash handling on `v_` model:
+
+  * `h_tuba.dpm`, `h_tuba.dpm.animinfo` - animated first person model  
+    tags:  
+    shot = muzzle end (shot origin)  
+    shell = casings ejection point (must be on the right hand side of the gun)  
+  * `v_tuba.md3` - third person model  
+    tags:  
+    shot = muzzle end (for muzzle flashes)  
+  * `g_tuba.md3` - pickup model