Jump to content
Sign in to follow this  
Rabid Squirrel

When a Unit is shot holding my Custom Weapon it Floats

Recommended Posts

Hi all,

 

I have been working on creating a custom weapon. For the most part I have gotten it right, but for some reason when I kill an AI holding my weapon it falls out of his hands, flops around a bit like a fish, then lands up like this:

8Kz7Ihg.jpg

 

Here is a list of the LOD's I have:

1.000

View - Pilot

ShadowVolume

Geometry

Memory

Land Hit

 

At first I thought it was the Geometry LOD because the weapon wasn't blocking bullets, but I have fixed that (https://community.bistudio.com/wiki/Validating_Geometries).

Then I thought maybe Adding a Land Hit LOD would help... still no luck.

 

Any and all help is appreciated.

Thanks in Advance!

Share this post


Link to post
Share on other sites

Does the Geometry LOD have mass?

 

Yeah it does, if you mean using Alt+M and then setting the Mass on the bottom left of Object Builder.

Share this post


Link to post
Share on other sites

Check your LOD Named Properties (Window menu or Ctrl+1):

 

GEOMETRY LOD

autocenter = 0

preferShadowVolume = 1

class = vehicle

 

OTHER LODS

lodNoShadow = 1

Share this post


Link to post
Share on other sites

Check your LOD Named Properties (Window menu or Ctrl+1):

 

GEOMETRY LOD

autocenter = 0

preferShadowVolume = 1

class = vehicle

 

OTHER LODS

lodNoShadow = 1

 

Thank you very much! That worked.

If you don't mind my asking, how did you know to do that? In reading and following tutorials I haven't seen a reference to 'Named Properties' before.

Share this post


Link to post
Share on other sites

You're welcome.

 

It's one of the problems of modding in Arma that there isn't full documentation, and often certain aspects are only mentioned in threads such as this. 

 

There are some references to Named Properties out there, but many are out of date, referring to Arma 1 or 2. Arma 3 seems to have simplified which variables make a difference, but you have to beware of them, particularly as copying/pasting an object into your project will also bring it's LOD named properties with it, and as you saw they can really screw up behaviour in a weird way.

 

One way to check what to set is to look at the Arma 3 Samples - download from Steam if you don't have them. They give example models and configs for different types of objects, including weapons.

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×