Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
X
xonotic
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 3
    • Merge Requests 3
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xonotic
  • xonotic
  • Wiki
  • Weaponsystem

Last edited by Martin Taibr Mar 04, 2017
Page history

Weaponsystem

There are 3 weapons systems coded in Xonotic

  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
  1. 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
  1. 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
Clone repository

Quick Resources

Repository Access and Compiling
Introduction to QuakeC
Tips for new developers
Programming QuakeC stuff in Xonotic