Latest  | Search | Go
Edit this page   |   Attach file 

  Home | Tutorials | Technical Reference | Runtime | API Documentation | ContentCreation > CreatingWeapons  

Creating & Rigging New Weapons (Draft)

Being drafted, come back later!

Overview

This tutorial shows how to rig up a weapon with animations from first person and third person, and covers the artistic and scripting tasks involved in the process.

First Person Setup

Import the skeletally rigged hand/arm model, attach vertices, animate, export one animation for each of firing, idle, reloading. Save the model as XXX.xml

Third Person Seutp

Export a lower poly version (no more than XXX polys) without the hand or animations. Save as XXX.xml

Creating & Configuring Weapon Scripts

Clone nop>AssaultRifle.cs script for another weapon, open it up, adjust the nop>ClassName, adjust weapon model names, adjust bone offsets, adjust animation names, and save.

Testing it out

Drop a weapon of type YourWeapon into Reality Builder, using the Insert drop-down (The Shelf item #11 noted at RealityBuilder), press F5 to enter Play! mode, and walk over it to pick it up.

CreatingWeapons   Edit | Attach | Ref-By | Printable | Diffs | r1.4 | > | r1.3 | > | r1.2 | More