Passer au contenu principal

Blog Bonus : Amélioration des Armes !

· 3 minutes de lecture
Gabriel T. Nardy

One of our main focus for nanos world is having fun, and we believe that the small details are the big support for the experience to be complete. In the past weeks, we've been working on improving and adding small features to common actions such as firing, picking up objects and even how you perceive them happening. Here's the highlights!

Nouvelles animations d'armes

Since the beginning, our weapons were stiff when shooting giving an impression of rigidity and lack of fluidity. With the simple improvement of adding firing animations to that, look how it looks better:

Nouveaux effets pour les obus à balles

Besides new animations, we added a subtle detail: Bullet Shells Drop SFX. And not that simple! The sound is precisely played in the location and moment the shells hit the ground or any surface, listen:

Check out a complete before and after comparison of some of the weapons, you can notice all the improvements in detail!



Note that nanos world weapons animations and aiming are completely generated procedurally, that means when you are in First Person, the weapon sight location is calculated dynamically to be positioned right in the middle of your eyes, in a true first person mode.

Sons lors du ramassage d'objets

A subtle sound detail added when you grab and drop a Weapon, and also now the object is slightly thrown to forward:

Lunettes de visée

Is is really easy to add attachable objects in any Weapon, for example attaching a AWP Scope, we use the SM_Scope_25x56 mesh for that:

-- Crée une arme AWP
local weapon = Weapon(location or Vector(), rotation or Rotator(), "nanos-world::SK_AWP")

-- Attache un mesh statique de lunette de visée, avec un décalage configuré pour être parfaitement aligné
weapon:AddStaticMeshAttached("sight", "nanos-world::SM_Scope_25x56", "", Vector(20, 0, 11))

-- Ajuste l'emplacement du viseur pour placer le sniper à l'endroit exact où sera le centre de la lunette de visée lors de l'ADS
weapon:SetSightTransform(Vector(-15, 0, -4.6), Rotator(0, 0, 0))

This is completely procedural, it also uses the 3D Mesh scope materials!

tip

You can also check the Official Weapons Package, and see how a RedDot has been added to a P90!

That's it! Thank you all!