Jump to content

Recommended Posts

Posted

Good News.

I finally got the create my own missions with SAM's shooting at me. They were working in Campaign and Single Mission Mode but not on homebrewed missions.

I had to mod'd a couple of ini files. Do this:

 

1- Add this to the GroundObjectData.ini (So I don' muck with the original)

 

[Object037]

ObjectName=Mo_SA-2LF

ObjectFullName=Mobile SA-2LF SAM Launcher

ObjectDataFile=Mo_SA-2LF_data.ini

 

2- Make a copy of the SA-2LF.ini and rename it Mo_SA-2LF.ini (to match the ObjectName entry above)

 

3- Make a copy of the SA-2LF_Data.ini and rename it Mo_SA-2LF_data.ini

I made this up combining a couple of model. I expected to see a tank chassi with a SAM, but it did not. It works, I'll work on the ini file to pinpoint the actual fix

 

[MissionData]

NationName=SOVIET

ServiceStartYear=1962

ServiceEndYear=2000

GroundObjectRole=Movile_SAM

Availability=COMMON

Exported=TRUE

ExportStartYear=1962

ExportAvailability=COMMON

 

[GroundObjectData]

DamagedModel=

DestroyedModel=sa-2_launcher_destroyed.LOD

DestroyedEffect=VehicleFireEffect

EmptyMass=3600.00

Component[001]=Chassis

Component[002]=Launcher

 

[sound]

EngineSoundName=TankEngine

MovementSoundName=TankTrack

 

[DetectSystem]

TargetType=AIR

OpticalSight=TRUE

NightSight=TRUE

VisualRange=5000.0

ViewportPosition=0.0,0.0,2.30

MaxVisibleDistance=4800.0

DataLink=TRUE

RadarCrossSection=3

 

[WeaponSystem]

TargetType=AIR

MissileRange=55000.000000

MinMissileRange=6000.000000

PitchAngleRate=8

MaxPitch=80.0

MinPitch=0.0

DefaultPitchAngle=30.0

YawAngleRate=

YawLimited=

MinYaw=

MaxYaw=

DefaultYawAngle=0

MissileLaunchTime=2.0

YawModelNodeName=

PitchModelNodeName=rail

 

[MovementSystem]

MaxRoadSpeed=50

MaxOffRoadSpeed=30

PowerAvailable=520

MaxTurnRate=16.0

MaxDeceleration=5.0

SuspensionConstant=28.0

MovementEmitterName=TrackedVehicleDustEmitter

MovementEmitterPosition=0.0,-3.13,0.50

 

[Chassis]

ModelNodeName=chassis

MaxExtentPosition= 1.60, 3.17, 1.51

MinExtentPosition=-1.60,-3.13, 0.00

HasArmor=TRUE

ArmorMaterial=STEEL

Armor[FRONT].Thickness=15

Armor

.Thickness=15

Armor

.Thickness=15

Armor[REAR].Thickness=9.2

Armor[TOP].Thickness=9.2

Armor[bOTTOM].Thickness=9.2

SystemName[001]=Engine

 

[Engine]

SystemType=ENGINE

MaxExtentPosition= 0.92,-1.10, 1.50

MinExtentPosition=-0.92,-3.01, 0.44

 

[Launcher]

ModelNodeName=legs

MaxExtentPosition= 2.39, 4.20, 1.72

MinExtentPosition=-2.39,-4.70, 0.00

HasArmor=FALSE

SystemName[001]=Missile

 

[Missile]

SystemType=MISSILE

MissileID=1

WeaponTypeName=SA-2F

WeaponPosition=0.00,3.95,2.06

ShowMissile=TRUE

IndependentPitchMovement=TRUE

 

 

Here's a mission

 

[MissionHeader]

AircraftType=F-4e

MissionMap=DESERT

MissionType=RECON

StartTime=16:00:00

StartDate=09/18/1969

 

[MissionData]

FriendlyAirActivity=1

EnemyAirActivity=1

FriendlyAirDefenseActivity=1

EnemyAirDefenseActivity=1

PlayerMissionID=1

PlayerPositionID=1

MissionNumber=5123

 

[Weather]

WeatherType=CLEAR

WeatherAlt=2000.0

WeatherThickness=500.0

FogAmount=1.8

ContrailAlt=900.0

StartWindDirection=150

StartWindSpeed=2.57222

WindGustingAmount=4.57222

 

[AircraftMission001]

AircraftType=F-4e

Name=SHOWTIME

FormationType=USFighter

Size=2

RandomChance=100

MissionType=RECON

ObjectiveID=1

RatingForSuccess=50

StartOnGround=FALSE

Position=620000.000,500000.000,200.0

Heading=180.0

Speed=180.0

Alignment=FRIENDLY

Loadout=SEAD

Waypoint[01].Position=620100,501000,1000

Waypoint[01].Size=300.0

Waypoint[01].Command=WAYPOINT

WAYPOINT[01].Speed=200

 

[GroundMission001]

GroundObjectType=Mo_SA-2LF

Name=AD Btn

FormationType=SovietAD

Size=8

RandomChance=100

MissionType=AIR

ObjectiveID=1

RatingForSuccess=50

Alignment=ENEMY

Heading=350

Speed=0

Position=620100.000,501000.000,0.0

Waypoint[01].Command=DEFEND_POSITION

 

[GroundMission002]

GroundObjectType=FANSONG

Name=AD Btn

FormationType=SovietAD

Size=2

RandomChance=100

MissionType=AIR

ObjectiveID=1

RatingForSuccess=50

Alignment=ENEMY

Heading=350

Speed=0

Position=620200.000,501000.000,0.0

Waypoint[01].Command=DEFEND_POSITION

Posted

Mitch

 

I am still trying to find the root cause and get them to work correctly. It looks like the SAM's are shooting in Visual Mode since they do not seem to lock on my aircraft even if I am just flying around baiting them.

I have narrowed down the shooting portion of the SAM's, but more work is still in progress, stay tuned for more data.

As for the SAM Radar locking, it seems that they are not linking with the FanSong Radars. There is a DataLink variable that is set to true, but if I snoop in the DLL, it has a 4-byte value. You expect the TRUE/FALSE value to be only one byte. So I am trying to figure out the DataLink variable, wheter is the range to the linked SAM's and/or a TRUE plus a range.

As for the height that they are shooting, there are several variables in the SAM, since the mission starts right on top of them, I may not meet some min variable requirements. I'll look at that later.

CP

  • 2 months later...
Guest Ranger332
Posted

sams will engage the standered aircraft as is it the addon that they dont seem "to see" so is the working on the addons (note the f-4E is a stardered craft)

Guest capun
Posted

Echo

I have not done much work here, it seems that it is an AI issue. The SAM's radar locking seems to be the issues. You could try modding the SAM via the weapons ini to change their characteristics (FOV, G capabilities, etc) but at this point I think it is a coding issue that needs a patch for Ground to Air and for Air to Ground targetting.

I am waiting for the second patch to see what they fixed.

  • 2 years later...
Posted

Hi capun!

Can You explain me please about DATALINK=True variable?

Whet does it means?

And maybe there is some article aboun variables in DATA.ini files

Guest capun
Posted

BTW

 

This is a very old thread, changes have happened with the newer patches.

 

The Datalink=True means that the weapon has a link to a tracking radar nearby that passes data to the ballistic computer.

 

In some ships, or Mobile AAA, they may have a radar unit with the same variable

 

In some cases like the SAM batteries, a FanSong radar has to be nearby

 

You can go to my site's PaperWorks and read some of the documents and tutorial, some of them are fairly old and out of date.

 

Another place is Charles, he has a couple of documents that may help

Posted

Thank you. I decided to correct SA-8L missile and radar

My brother was a captain on patrolship,wich was equipped with SA-8 and I saw 2 launch of SA-8L !

Guest capun
Posted

A gimble looks like a gyroscope mount, so it can move up/down, left/right. In this case the seeker head is mounted in a gimble. The limit is the degrees that the seeker head can move to acquire the target.

 

Word of caution, if you make the limit too big and the missile seeker is under the wing, it can actually acquire your plane as a target and explode as you launch.

Posted

And "SeekerTrackRate" I think means seeker refresh time in seconds?

Correct If I`m wrong.

I`m trying to make a cockpit file for ground object SA-8L to operate this unit manually

Guest capun
Posted

That I don't remember off the top of my head, I think it is degrees per second but I am not sure. It should be bigger is better.

 

You may get the correct answers from weapons specialists, head to Column5's site, there is a weapons forum there

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