mercredi 8 juillet 2015

How to make a weapon for RO2 & RS

Here's a link to your setup for your weapon:
http://ift.tt/1S9nB9K
This has all the classes you'll need pre-made to be edited for your weapon.
1.
Now let's set up our mutator.
Let's add it to:
C:\Users\Name\Documents\My Games\RedOrchestra2\ROGame\Src

2.
Let's now examine the files we have, We 8 files in total, two for testing the weapon in game, and 6 for the weapon itself.
So what does each of them do?

Let's start from the bottom.

MyNewWeaponBullet: this is our bullet's properties

ROAmmo_MyNewWeaponMag: This tells the weapon what properties it's ammo has.

RODmgType_MyNewWeaponBullet: This tells us what happens when a player is hit from our weapon

ROWeap_MyNewWeapon: This is our weapon class itself, it tells us what fire modes it has, recoil, accuracy, animations, all of that stuff that is very important for the weapon to function.

ROWeap_MyNewWeaponContent: This tells us what Static meshes, skeletal meshes, animation trees we use for your weapon

ROWeapAttach_MyNewWeapon: This class is for the third person skeletal mesh.

And those are all our key classes for a new weapon.
The final two classes are for testing our weapon with a role. We'll get to this later.
~TBC~


How to make a weapon for RO2 & RS

Aucun commentaire:

Enregistrer un commentaire