malibu43 Posted July 17, 2008 Posted July 17, 2008 (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 July 17, 2008 by malibu43
+Wrench Posted July 18, 2008 Posted July 18, 2008 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
malibu43 Posted July 18, 2008 Author Posted July 18, 2008 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now