Jump to content

Recommended Posts

Posted

Gents / All,

 

Could use a little help.  On a few custom models, when weapons such as bombs, rockets, etc. strike the model, the game is not registering a "hit".  And therefore, not displaying the destroyed .lod file.  We have set the armorvalue and damagepoints to 0 and used a stock destroyed .lod to validate, but the destroyed .lod never appears.  Any ideas on why that would be happening? 

Posted

Does the model_DATA.ini have:

 

[GroundObjectData]
DamagedModel=
DestroyedModel=Tank_Destroyed.LOD     <---------- This entry
DestroyedEffect=VehicleFireEffect

 

or

 

Is the model in the terrain_types.ini?

 

[TargetType001]
Name=barrack1
FullName=Barrack
ModelName=barrack1.lod
TargetType=BUILDING
ActiveYear=0
TargetValue=20
UseGroundObject=FALSE
DamagePoint=10.0
ArmorValue=0.0
ArmorType=0
RepairRate=0.150
StartDetectChance=0
StartIdentifiedChance=0
IncreaseDetectChanceKey=0
MaxVisibleDist=8000.0
DamagedModel=
DestroyedEffect=MediumShortStructureCollapse
DestroyedModel=barrack1_destroyed                   <---------- This entry
SecondaryChance=25
SecondaryEffect=SmallExplosionEffect

Posted

im assuming you have set collision co-ords and min max extents also...?

 

from my mig21 data.INI...

 

MinExtentPosition=-0.60,-6.12,-0.66
MaxExtentPosition= 0.60, 0.19, 1.06
CollisionPoint[001]= 0.00, 0.74, 1.06
CollisionPoint[002]= 0.00, 0.74,-0.60
CollisionPoint[003]= 0.60, 0.74, 0.00
CollisionPoint[004]=-0.60, 0.74, 0.00
CollisionPoint[005]= 0.00,-6.12,-0.49
CollisionPoint[006]= 0.00,-6.12, 0.49
CollisionPoint[007]= 0.49,-6.12, 0.00
CollisionPoint[008]=-0.49,-6.12, 0.00

Posted

Don't forget that after SF2: North Atlantic came out naval objects need a collision LOD. 

 

From the ThirdWire California Class cruiser. 

 

 [GroundObjectData]

DamagedModel=
DestroyedModel=
DestroyedEffect=ShipDestroyedEffect
DamageEffect=ShipFireEffect
SystemDamageEffect=ShipSystemFireEffect
CollisionMesh=CGN-36_COL.LOD                   <---------- Needed for weapons to impact the object.
SinkTime=63.0
EmptyMass=11501120.0
Component[001]=Hull
Component[002]=Superstructure
Posted

Appreciate you taking time out to offer your suggestions!  This was for a terrain_types.ini building/factory object.  I believe we have resolved the error, but just need to run a few more tests to confirm.  Strangely enough, it appears to have been related to a DamagePoint entry being set too high...but still need to validate!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..