Jump to content
Sign in to follow this  
lappihuan

LOD and Config to be able to add EH "Hit"

Recommended Posts

Hello Guys

I made a model that i need to check for Hits (by bullets) ingame.

I have "Geometry", "Hitpoints", "Fire Geometry" LODs the same as 1.000 LOD

Do i need something in the config for them?

My Config:

class CfgPatches
{
   class herz
   {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {};
   };
};

class CfgVehicles {    
   class Static;
   class herz : Static {
       scope = 2;
       model = "herz\model\herz.p3d";
       displayName = "Herz";
       faction = "Default";
       vehicleClass = "Small_items";
   };
};  

Are some other LODs needed?

Share this post


Link to post
Share on other sites

You need a LOT more than that, and those extra LODs wont work. example the Fire Geometry LOD has to be simpler shapes and the Hitpoint LOD has only named vertexes in it.

Suggest you read or watched some tutorials (plenty here or in the ArmA2 Editing section), then try again.

EDIT ..... are you just wanting a very simple target box ?

Share this post


Link to post
Share on other sites

Well i'm working on a medical system in my mod, I want to create a heart and lungs as model to check for hits.

I will watch your Tutorial Vids again, then i will try it again.

thanks :)

Share this post


Link to post
Share on other sites

A player or AI model? Sorry I do vehicles only, not sure if that's possible for a body model.

Share this post


Link to post
Share on other sites

Basicly it won't be on any player model (includet)

I made a heart and lungs as standalone models in 3DS Max, ingame i would attachTo those objects to any model (player or AI) to simulate the human anatomy.

Maybe its not the best way but this allow me to add this to any model ingame :)

E: Now the problem is ingame, i spawned those objects via Editor and added a EH "Hit" but it does only fire when a Frag Granate explodes near, bullets are ignored. But i think this is because i set up the LODs in a wrong way.

Share this post


Link to post
Share on other sites

out of the back of my head: what you might wanna do first to test your "organs" is to oversize those, so that they are bigger than the human model you attach it to and see if that works first. Reason for this, in Arma a bullet never passes through a character model, it stops in it (so you cannot have a bullet kill a second target behind the first - although i remember someone doing a test, but i am pretty sure the weapon used was 12.7mm or above).

Share this post


Link to post
Share on other sites

Yes, i hope this will not be a problem later.

But in the first place i just spawned them on the ground as standalone objects to test them.

If this will be the problem later i would need to change the penatribility of all character models and give my organs some "realistic" values to compensate the decrease from the characters.

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  

×