Question for Kyth
I was wondering if you could start helping me to understand the main cs mission block more. I read the manual but its not very clear. I undersatnd this to be the main mission
logic. Can you discuss how to make entries and what is the potential for logic and entries. Most missions have quite a few entries. And those waypoints you talk about?
Hi,
The cs_main() block is where everything else (triggers, scripting, map display, messages) comes together to give some meaning and structure to the mission -
from the player's point of view. The 2km x 2km map may appear small in the overhead view, but unless you know it like the back of your hand at ground level, some added navigation, with some explanation of the objectives, is useful.
The sequence of a mission goes something like this:
a) Initial Briefing before you start the mission. This is displayed in the main box in the Briefing screen.
b) First objective assigned, which involves some combination of destroying the enemy, reaching a location or capturing it. It's location is marked out by a square, light blue icon in the Game screen, which is useful if you don't want to constantly refer to the map. This icon has a label, and the briefing screen and message box are updated with a detailed description of the current objective.
c) Assuming you survive and achieve the first objective, the square icon goes away, to be replaced by another one, which is the next objective. Also labelled and accompanied with an update to the briefing screen and message box.
d) Assuming you survive and achieve the second objective, the second square icon goes away and the next objective is assigned, the same way.
e) And so on, until ultimate victory or defeat.
f) In addition to the actual mission objectives, you're also allowed to mark out some useful navigation points to be displayed in the Game screen, which appear as little square, green icons with labels. Also useful, if you want to navigate around in the Game screen without referring constantly to the map.
All the things described above are set up in the cs_main() section. It's possible to leave the cs_main blank, but that's not very friendly to the player who'll be reviewing the mission
Hope this helps!