Weapons, Ammo & Explosions
4 documents in this category
-
Weapons Weapons are one of the key parts of the engine. Without weapons you can't shoot things. Weapons here aren't just limited to infantry carried weapons, vehicles also use these too. Parameter Default Description Style --- The weapon's holding style in third person. More details can be found below.
- Supported Version: W3D Engine 5.0
- 0 comments
- 1,431 views
-
A weapon cannot fire without an ammo type. Parameter Default Description Ammo Type Normal This determines if the ammo is just a regular bullet, or a type of C4 explosive. ModelFilename What is the W3D model that this projectile fires
- Supported Version: W3D Engine 5.0
- 0 comments
- 1,435 views
-
Overview Recoil is the "kick" of a weapon when it is fired, causing the user's aim to drift off the target, thus limiting accuracy and forcing the user to compensate. This differs from spread, which is a random error that changes the intended trajectory of each fired projectile, while the weapon remains aimed at the same spot. By contrast, recoil changes the orientation of the weapon itself, so even a weapon with no spread will no longer be able to hit the same spot. Recoil mechanics
- Supported Version: W3D Engine 5.0
- 0 comments
- 2,325 views
-
This tutorial will cover both adding an ammo counter to a weapon (imagine the Halo Assault Rifle's ammo display), as well as adding a timer to the C4 object in the world, instead of having to use an animation to display the timer. It's simple, but does require some setup. Setting up the Number Texture The first step is creating a texture for the counters. It needs to have the numbers laid out in a grid format, like this: 0 1 2
- Supported Version: W3D Engine 5.0
- 0 comments
- 1,727 views