I removed this code, and its work, but i dont understand why need this, or how its work
You don't need or want that in the final mod. I don't know why it would make the game crash, but it's supposed to cause your base to get attacked early in the game so you can check if your facilities look good on the inside.
- When i start new game (and running) i see all upgraded buildings info in UFOpeadia. But i think its not good, because need research first. How can i fix this?
Thank you!
You have to add the tech requirements to the UFOPedia entries for the facilities. For an example, check the original alien containment UFOPedia entry.
There are up to four places to add tech requirements to any thing you add:
1.) research, requirement before it appears on the research list
2.) UFOPedia, requirement before you can read about it
3.) manufacture, requirement before it can be built (for facilities, this is instead done in the facilities entry)
4.) item -- only for items, you can set a tech requirement in order to be able to use the item
For research projects, use the format:
dependencies:
- STR_
For everything else, use the format:
requires:
- STR_