Custom Mission System

The Custom Mission System allows users to create their own Missions for use with Counter-Strike: Condition Zero. These Mission Packs may include new maps, new challenges, new bot personalities, new bot skins, and so on.
Оцените эту статью, выбрав соответствующую медальку:
  • Текущая оценка 3.61 из 5
  • 1
  • 2
  • 3
  • 4
  • 5

Defining a Location (Map)

Maps are organized as «triplets», or sets of three maps. The first, second, and third maps form the first Tour of Duty, the fourth, fifth, and sixth are the second Tour of Duty, and so on. All three maps in a Tour of Duty must be won in order to unlock the next Tour of Duty.
«map name»
{
«bots» «<list of enemy bot names>»
«minEnemies» «<count>»
«threshold» «<value>»
«tasks» «<list of tasks>»
«FriendlyFire» «0» or «1»
«commands» «<console command string>»
}

«map name»

The filename of the bsp to load for this location without the .bsp extension. For example, «de_dust_cz».

"bots"

This field is followed by a string containing a list of enemy bot names for this map. Bots are added from left to right, in order. For example, the list «Joe Fred Alex Barney» would look up «Joe» in the missions bot database and add a bot with those parameters first, followed by «Fred», «Alex», and «Barney» up to the desired number of enemies for that location.

"minEnemies"

This value defines the minimum number of enemies the player will face on this map.

"threshold"

This number defines the Reputation Point value above which one enemy is added for every additional Reputation Point until we run out of bots on the «bots» line.

"tasks"

This field defines a list of tasks/challenges the player must complete to win this map. Each task, and that task’s parameters, must be enclosed within single quotes within the overall string. For example:
«tasks» «'kill 7' 'kill 2 survive' 'winfast 60'»
For a full list of tasks, see the Task Reference section.

"FriendlyFire"

If this is set to zero, friends cannot be hurt by each others weapons. If «FriendlyFire» is «1», friends can hurt each other.

"commands"

The «<console command string>» is sent to the console when the map is loaded. This can be used to change system parameters just as if the user had entered the string in the console. Note that certain commands (ie: mp_startmoney) don’t function, as they are reset by the system after these commands have been given.
Страницы: 1 — 2 — [3] — 4 — 5 — 6 — 7 — 8
Купи CS:CZ