Jump to content
jeanba

How to add 152 mm as targets on Israeli map ?

Recommended Posts

Hello

 

I am trying to modify the Israeli map by replacing in some artillery positions T34 with D-20 152 mm

The D20 is properly installed in my objects / ground directory and I can see it works well for instance by creating a close air support mission.

But if I create a strike mission : The D-20 can be properly designed as strike objective

During the mission, it can be "targeted", but if I try to visualize it (shift F8), the gun is invisible.

I defined the "target type" as follows :

(it is very similar to the M109 defined in Israel2 terrain by Wrench :

 

 

[TargetType208]

Name=d-20
FullName=D-20 152mm Artillery
TargetType=ARTILLERY
ActiveYear=0
TargetValue=150
UseGroundObject=TRUE
GroundObjectType=D-20
RepairRate=0.0
StartDetectChance=50
StartIdentifiedChance=25
IncreaseDetectChanceKey=10
MaxVisibleDist=8000.0
DamagedModel=
DestroyedEffect=SmallRocketGroundExplosion
SecondaryEffect=VehicleFireEffect
DestroyedModel=Crater.LOD
SecondaryChance=100

 

 

Can you help me ?

 

Thank you in advance

Share this post


Link to post
Share on other sites

How are you looking for it "in game"?  Use a "targets test mission", and make sure the object is actually there.

 

if you're just scrolling around on the map, it may not have spawned. Ground Objects only exist in a 50km "bubble of reality" around the Player's aircraft

 

Try adding this line to the _types entry, below the FullName=

 

ModelName=D-20.lod

 

it shouldn't make any difference, as all that info is in the objects files within it's GO folder. But it can't hurt.

 

the example below shows several different items, 88Pak43, French M1897 75mm, FT-17C, and an Sdkfz-251 w/2cm flak gun. and they all work, and shoot

 

 

  • Like 2

Share this post


Link to post
Share on other sites

Thank you wrench

My input was fully ok

Actually, I had made a test mission but I checked the gun with my plane tto far from ti as you told.

I remade teh test, and you can see the results in the screenshot section :)

Share this post


Link to post
Share on other sites

glad you got it working!! Saw the screenshots.

 

I've done this for so long, it's almost instinctual, and I have to think about it when explaining it someone

Share this post


Link to post
Share on other sites

I understand, it happens also for me

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

×

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..