Author Topic: FATAL Could not open MISSION\YAPc_con.lvl  (Read 232 times)

mcneb10

  • Member
  • **
  • Posts: 8
    • View Profile
    • Awards
  • Steam ID:
  • Xbox: UppedChain63558
FATAL Could not open MISSION\YAPc_con.lvl
« on: November 30, 2019, 04:31:14 PM »
I am working on a arena map where all of the different sides fight eachother.  Every time i try playing it it give me the error FATAL Could not open MISSION\YAPc_con.lvl. Here is the code that adds all of the extra sides
Spoiler (click to show/hide)
:wall:
Quote
Space cowboys are the best cowboys
George Washington after completing the Kessel run in 11 parsecs

wsa30h

Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #1 on: November 30, 2019, 05:03:27 PM »
am pretty sure you can only have 8 teams including the two playable teams

AnthonyBF2

  • Battlefront 2 Tinkerer
  • Master Modder
  • Frequent Poster
  • ***
  • Posts: 243
  • 3 internet gamer friends met in reality, 10+ to go
  • Awards Recognizes someone who most generously donated funds to the site or the site
    • View Profile
    • The SWBF2 PSP Conversion Pack
    • Awards
Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #2 on: November 30, 2019, 06:44:29 PM »
it is true, you cannot have over 8 teams, but that limitation should not cause mission errors, those are usually caused by corrupt req files or a bad munge, I am not familiar with these issues so you will need to wait for someone else with more skill to reply.

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 7281
  • The 82nd Element
  • Awards For those who play any version of the 2016+ EA games Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #3 on: November 30, 2019, 09:34:21 PM »
post your complete mission lua
Don't believe everything you read on the internet

mcneb10

  • Member
  • **
  • Posts: 8
    • View Profile
    • Awards
  • Steam ID:
  • Xbox: UppedChain63558
Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #4 on: December 01, 2019, 06:38:03 AM »
Spoiler (click to show/hide)
Quote
Space cowboys are the best cowboys
George Washington after completing the Kessel run in 11 parsecs

mcneb10

  • Member
  • **
  • Posts: 8
    • View Profile
    • Awards
  • Steam ID:
  • Xbox: UppedChain63558
Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #5 on: December 01, 2019, 07:09:07 AM »
After editing of the script it gave me an error about a .req file.
Spoiler (click to show/hide)
After fixing it it gave me the same error again. Maybe it has to do with the req file. Here it is:
Spoiler (click to show/hide)
Quote
Space cowboys are the best cowboys
George Washington after completing the Kessel run in 11 parsecs

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 7281
  • The 82nd Element
  • Awards For those who play any version of the 2016+ EA games Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #6 on: December 01, 2019, 07:55:14 AM »
I don't think it has to do with the req file.   Look at your error code, it tells where the issue is:

C:\BF2_ModTools\data_YAP\_BUILD\Common\..\..\..\ToolsFL\Bin\luac.exe: ..\..\common\scripts\YAP\YAPc_con.lua:210: unexpected symbol near `,'

That means look at line 210 of your YAPc_con.lua file.  There is something unusual/unexpected near the comma.

Subsequent errors are likely the result of the first error.
« Last Edit: December 01, 2019, 07:57:35 AM by Led »
Don't believe everything you read on the internet

mcneb10

  • Member
  • **
  • Posts: 8
    • View Profile
    • Awards
  • Steam ID:
  • Xbox: UppedChain63558
Re: FATAL Could not open MISSION\YAPc_con.lvl
« Reply #7 on: December 01, 2019, 11:52:26 AM »
I fixed the typo but the game  still gives me FATAL Could not open MISSION\YAPc_con.lvl. I found something in the log file that might help.
Spoiler (click to show/hide)
« Last Edit: December 04, 2019, 07:08:25 AM by mcneb10 »
Quote
Space cowboys are the best cowboys
George Washington after completing the Kessel run in 11 parsecs