Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to do this  (Read 1481 times)

0 Members and 1 Guest are viewing this topic.

KevinHoggard

  • Missioneer
  • member
  • Offline Offline
  • Posts: 605
How to do this
« on: December 22, 2015, 08:43:01 AM »

Question for some of the more experienced mission makers.

I would like to use the GCI in C&C but I want them to start broadcasting when the enemy planes are 10 miles away for a mission I am working on.

I read that the GCIVarAlt=1 will not detect aircraft under 150m, I can work with that. But where do I find CGIVarAlt at? Or how do I add it to the .mis files?
Logged
4th Generation Intel

SAS~Skylla

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1958
  • Flying Ass Clown N°24
Re: How to do this
« Reply #1 on: December 22, 2015, 10:11:28 AM »

I think the param you are looking for is "GCIRange".

Regarding GCIVarAlt, the C&C Readme tells us the following:
Quote
GCI minimum detection height will increase with range, to a maximum of 8000m. Aircraft below 150m will never be detected. This will lead to generally shorter detection radii for a given maximum range

You have to add the params in your .mis file's [Mods] Section. If your mission does't have a [Mods] section, simply add a [Mods] section at the end of the file. You may have to add this every time you make a change to the mission file, as the game may delete it each time you re-save. None of the objects require these variables to be present in a mission to work, they will simply use default values.
In your case the lines you may want to add are:
Code: [Select]
[Mods]
  GCIRange 16  // Range in km
  GCIVarAlt 1

Best Regards,
skylla
Logged
When all else fails: read the instructions!

KevinHoggard

  • Missioneer
  • member
  • Offline Offline
  • Posts: 605
Re: How to do this
« Reply #2 on: December 22, 2015, 10:26:17 AM »

I think the param you are looking for is "GCIRange".

Regarding GCIVarAlt, the C&C Readme tells us the following:
Quote
GCI minimum detection height will increase with range, to a maximum of 8000m. Aircraft below 150m will never be detected. This will lead to generally shorter detection radii for a given maximum range

You have to add the params in your .mis file's [Mods] Section. If your mission does't have a [Mods] section, simply add a [Mods] section at the end of the file. You may have to add this every time you make a change to the mission file, as the game may delete it each time you re-save. None of the objects require these variables to be present in a mission to work, they will simply use default values.
In your case the lines you may want to add are:
Code: [Select]
[Mods]
  GCIRange 16  // Range in km
  GCIVarAlt 1

Best Regards,
skylla

I did read the manual for C&C. So let me try and get this straight, if the mission listed is;
BS2_10.mis then I just add;
BS2_10.mis[mods]
                 CGIRange=16
                 CGIVarAlt=1

Is that how it should look?
Logged
4th Generation Intel

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9590
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: How to do this
« Reply #3 on: December 22, 2015, 10:39:22 AM »

I did read the manual for C&C.
BS2_10.mis then I just add;

[mods]
CGIRange=16
CGIVarAlt=1
You really read the documentation?
Why do you put the "=" sign?
Do you see a sign "=" in the example?
So why do you put a "=" sign?

The "=" sign goes only for options to put in the conf.ini!
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

KevinHoggard

  • Missioneer
  • member
  • Offline Offline
  • Posts: 605
Re: How to do this
« Reply #4 on: December 22, 2015, 10:49:29 AM »

I did read the manual for C&C.
BS2_10.mis then I just add;

[mods]
CGIRange=16
CGIVarAlt=1
You really read the documentation?
Why do you put the "=" sign?
Do you see a sign "=" in the example?
So why do you put a "=" sign?

The "=" sign goes only for options to put in the conf.ini!

I will note the appropriate commands for each object in blue.
Commands marked in red can also be applied in the conf.ini, allowing you to change the default values. Just use "=" instead of a space, ie RefuelAll=1.

Sorry just misunderstood the above from the readme file.

Trying to learn

So it should just look like;

BS2_10.mis[Mods]
                     CGIRange 16
                     CGIVarAlt 1

This is all I have to do in the mission file?

Logged
4th Generation Intel
Pages: [1]   Go Up
 

Page created in 0.094 seconds with 24 queries.