Jump to content

Recommended Posts

Posted (edited)

I noticed that in some brought from SF1 or third party made patrol boats there is one more line added in the [Missiondata] section , in their dataini file, which won't appear in SF2  stock patrol boat's dataini files:

GroundObjectRole=WARSHIP
WarshipClass=Patrol_Boat

In SF2 stock patrol boat's files it just this line only:

GroundObjectRole=PATROL_BOAT

So, I am a little confused here. Is the second line ignored in SF2 engine/series or does  it still count ? If it does, what does that line exactly ? How does it affect that specific ground object ?

Thank you in advance!

Edited by UllyB
Posted (edited)

Every ground object has a declaration GroundObjectRole=

The stock SF ground objects available are:

GroundObjectRole=TANK
GroundObjectRole=APC
GroundObjectRole=RECON
GroundObjectRole=ARTILLERY
GroundObjectRole=COMMAND
GroundObjectRole=MOBILE_AAA
GroundObjectRole=STATIC_AAA
GroundObjectRole=MOBILE_SAM
GroundObjectRole=STATIC_SAM
GroundObjectRole=EW_RADAR
GroundObjectRole=SAM_RADAR
GroundObjectRole=CARGO_SHIP
GroundObjectRole=PATROL_BOAT
GroundObjectRole=WARSHIP

Only WARSHIP ground objects require a declaration of  WarshipClass= 

The stock SF warship classes, which require a declaration of WarshipClass= are:

WarshipClass=AIRCRAFT_CARRIER
WarshipClass=CRUISER
WarshipClass=DESTROYER
WarshipClass=FRIGATE
WarshipClass=TRANSPORT

There is also WarshipClass=BATTLESHIP declaration available in the SF2 GroundObject.DLL, although no stock SF warships use it.

CARGO_SHIP and PATROL_BOAT ground objects do not require a WarshipClass= declaration. If there is one in patrol boat object you have it probably won't do any harm, but the line is not needed.

Edited by Gatling20
  • Like 2
  • Thanks 1

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