Jump to content

Error when editing Mission schedules


woodlandcoyote

Recommended Posts

Ok so im just wanting to alter some mission schedules and im getting red screen errors on startup...

 

Heres what i did..

 

[XComGame.XComTacticalMissionManager]
+ConfigurableEncounters=(EncounterID="Civiliandefense", \\
MaxSpawnCount=1, \\
TeamToSpawnInto=eTeam_Xcom, \\
ForceSpawnTemplateNames[0]="Friendly1")
-MissionSchedules=(ScheduleID="Retaliation_D1_Faceless", \\
MinRequiredAlertLevel=1, MaxRequiredAlertLevel=1, \\
MinRequiredForceLevel=1, MaxRequiredForceLevel=6, \\
XComSquadStartsConcealed=false, \\
IdealXComSpawnDistance=44, \\
MinXComSpawnDistance=40, \\
EncounterZonePatrolDepth=4.0, \\
PrePlacedEncounters[0]=(EncounterID="OPNx2_Standard", EncounterZoneOffsetAlongLOP=17.0, EncounterZoneWidth=36.0), \\
PrePlacedEncounters[1]=(EncounterID="TERx1_Faceless", EncounterZoneOffsetAlongLOP=10.0, EncounterZoneWidth=36.0), \\
PrePlacedEncounters[2]=(EncounterID="OPNx2_Standard", EncounterZoneOffsetAlongLOP=-4.0, EncounterZoneWidth=18.0), \\
PrePlacedEncounters[3]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=33.0, EncounterZoneWidth=14.0), \\
PrePlacedEncounters[4]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=28.0, EncounterZoneWidth=12.0), \\
PrePlacedEncounters[5]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=23.0, EncounterZoneWidth=30.0), \\
PrePlacedEncounters[6]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=18.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[7]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=14.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[8]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=11.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[9]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=8.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[10]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=5.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[11]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=3.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[12]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=1.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[13]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=0.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[14]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=-3.0, EncounterZoneWidth=36.0), \\
PrePlacedEncounters[15]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=-6.0, EncounterZoneWidth=28.0), \\
)

 

+MissionSchedules=(ScheduleID="Retaliation_D1_Faceless", \\
MinRequiredAlertLevel=1, MaxRequiredAlertLevel=1, \\
MinRequiredForceLevel=1, MaxRequiredForceLevel=6, \\
XComSquadStartsConcealed=false, \\
IdealXComSpawnDistance=44, \\
MinXComSpawnDistance=40, \\
EncounterZonePatrolDepth=4.0, \\
PrePlacedEncounters[0]=(EncounterID="OPNx2_Standard", EncounterZoneOffsetAlongLOP=17.0, EncounterZoneWidth=36.0), \\
PrePlacedEncounters[1]=(EncounterID="TERx1_Faceless", EncounterZoneOffsetAlongLOP=10.0, EncounterZoneWidth=36.0), \\
PrePlacedEncounters[2]=(EncounterID="OPNx2_Standard", EncounterZoneOffsetAlongLOP=-4.0, EncounterZoneWidth=18.0), \\
PrePlacedEncounters[3]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=33.0, EncounterZoneWidth=14.0), \\
PrePlacedEncounters[4]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=28.0, EncounterZoneWidth=12.0), \\
PrePlacedEncounters[5]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=23.0, EncounterZoneWidth=30.0), \\
PrePlacedEncounters[6]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=18.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[7]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=14.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[8]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=11.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[9]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=8.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[10]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=5.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[11]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=3.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[12]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=1.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[13]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=0.0, EncounterZoneWidth=44.0), \\
PrePlacedEncounters[14]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=-3.0, EncounterZoneWidth=36.0), \\
PrePlacedEncounters[15]=(EncounterID="TERx1_CivilianGroup", EncounterZoneOffsetAlongLOP=-6.0, EncounterZoneWidth=28.0), \\
PrePlacedEncounters[16]=(EncounterID="Civiliandefense", EncounterZoneOffsetAlongLOP=9.0, EncounterZoneWidth=36.0), \\
)
The error is... importtext (missingschedules) missing value for property "//"
All i did was add my group to the schedule... :l
Link to comment
Share on other sites

I think the problem may be the extra comma at the end of your [16] line. If not, please continue reading.

 

The ini file you pasted uses backslash, and the error you pasted uses frontslash. Are you sure you retyped the error message correctly? Was there any line number associated with the message? If not, try smaller pieces at one time: try only adding the configurable encounter without the other stuff. Does the message go away? Then add the - line. Then add the + line. This can help narrow down the problem.

 

It is very hard to edit the ini file using - correctly. The only way I have found to do this is to work with the combined ini file under My Documents/My Games/XCOM 2/Config. That file is harder to read, because all the backslashes are removed, but it is safer to edit.

 

BTW, there are a couple of mods that also add civilians to your team; you may want to check them out and see how they did it.

Link to comment
Share on other sites

I think the problem may be the extra comma at the end of your [16] line. If not, please continue reading.

 

The ini file you pasted uses backslash, and the error you pasted uses frontslash. Are you sure you retyped the error message correctly? Was there any line number associated with the message? If not, try smaller pieces at one time: try only adding the configurable encounter without the other stuff. Does the message go away? Then add the - line. Then add the + line. This can help narrow down the problem.

 

It is very hard to edit the ini file using - correctly. The only way I have found to do this is to work with the combined ini file under My Documents/My Games/XCOM 2/Config. That file is harder to read, because all the backslashes are removed, but it is safer to edit.

 

BTW, there are a couple of mods that also add civilians to your team; you may want to check them out and see how they did it.

 

Yes my bad those were backslashes in the error message.. And no they didnt leave a number.. It was just that very short error.

One thing i should have also said was it has the error message twice.

 

Which is starting to make me think its doing it once for the - and once for the +... Even though the - is an exact copy of the original code...

 

If i removed the \\'s from the original code will it remove it properly? Or will it just leave a bunch of floating backslashes in the code where they are located if i do not include them?

 

 

I took a look at the additional missions mod and he didnt alter any original schedules.. He just added new ones and it looks like i did it all correctly when they are compared... He includes that extra comma at the end as well. (which i just deleted in my code and still got the error messages)

 

 

Hrmm.. Ill try to start taking it apart bit by bit and try to narrow it down..

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...