X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Weaponsystem.md;h=cba62db20427fa9ab9f1713df57abe889e248f44;hb=5f04bc751a076d7027a63fb5cacb9a7114370cce;hp=9df4e92dbebaa573e2b3cba090784512379c5a6d;hpb=ab458cf870e3ca2cc8add65895be2f428879ac16;p=xonotic%2Fxonotic.wiki.git diff --git a/Weaponsystem.md b/Weaponsystem.md index 9df4e92..cba62db 100644 --- a/Weaponsystem.md +++ b/Weaponsystem.md @@ -1,29 +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 (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 +1. simple animated model, muzzl flash handling on `h_` 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 + * `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