Jump to content

Recommended Posts

Posted (edited)

Hey all,

 

I know the target types listed for AirOffensive[001].Primary=, AirOffensive[001].Secondary=, etc... need to correspond to a target type called out in the _types.ini for a terrain, but I was wondering if it's possible to define new target types in the _types.ini or if these are coded into the game somewhere.

 

For example, if I added this to the _types.ini for a terrain:

 

[TargetType100]

Name=VC_Inf

FullName=VC Infantry

TargetType=TARGET_OF_OPPORTUNITY

ActiveYear=0

TargetValue=1

UseGroundObject=TRUE

GroundObjectType=VC_Squad

RepairRate=0.555

StartDetectChance=50

StartIdentifiedChance=10

IncreaseDetectChanceKey=10

MaxVisibleDist=4000.0

DestroyedEffect=VehicleFireEffect

SecondaryChance=0

 

...then added VC_Inf in certain locations in the _targets.ini, and then in a campaign_data.ini added TARGET_OF_OPPORTUNITY to the targets for air offensives, would that work?

 

I know I could just add an existing target type for VC_Inf (WAREHOUSE, for example), but I'd like to try something different here, if possible.

 

Thanks!

Edited by malibu43
Posted

I always classed the infantry units as "MISC", even though their data ini says "TANK"

 

It "Target_of_Opportunity" listed somewhere in a dll??? If not, it may crash.

 

Wrench

kevin stein

Posted
I always classed the infantry units as "MISC", even though their data ini says "TANK"

 

It "Target_of_Opportunity" listed somewhere in a dll??? If not, it may crash.

 

Wrench

kevin stein

 

Awesome. Targets_of_opportunity didn't work, but MISC did.

 

Thanks!

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