Absurd Minds

More than 100 years without a motto.
It is currently 28 Mar 2024 14:49

All times are UTC-04:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 30 Sep 2011 19:21 
Offline
User avatar

Joined: 31 Jan 2011 22:59
Posts: 462
How to Make a CS:CZ Mission Pack

Users can make their own custom mission packs for Counter-Strike Condition Zero. These Mission
Packs may contain their own custom maps, customized challenges, new bot personalities, and new
bot skins, ect...

The layout of a Mission Pack can be found in the czero/MissionPacks folder. Each Mission pack
will have it's own unique name, but the layout - the files within those folders - will all be the
same, however, they'll contain different data.

Below is the layout of a custom mission pack that we'll call "Example Mission"

czero/MissionPacks/ExampleMission/Overview.vdf
czero/MissionPacks/ExampleMission/Thumbnail.tga
czero/MissionPacks/ExampleMission/Easy.vdf
czero/MissionPacks/ExampleMission/Normal.vdf
czero/MissionPacks/ExampleMission/Hard.vdf
czero/MissionPacks/ExampleMission/Expert.vdf
czero/MissionPacks/ExampleMission/BotProfile.db

The caps do not matter..... but eveything else does.

"Overview.vdf" : This will define the the mission pack descripition, the author, and what team
the player will be on, ect...

"Thumbnail.tga" : A 24- bit image that will be displayed when your Mission Pack is selcted on
the selection screen. It cannot be any bigger than 256 X 256 and is scaled into an area that is
320 x 68 at a screen resolution of 640 X 480 .


"Easy.vdf" ; "Normal.vdf" ; "Hard.vdf" ; "Expert.vdf" : These files are the core of the mission
pack. This is where youll set rules and tasks, as well as enimies and the progression of maps.

"BotProfile.db" : Sets bot personalities for use within the mission pack. Use this file to
edit what team the bots are on and how good/bad they are.


An example "Overview.vdf"



"CEVO Training"
{
"Author" "-Tyler- / Cherry Coke/ DorkTaco/ Diet Lime/ among others....."
"Title" "CEVO Training"
"Description" "A mission pack filled with CEVO maps. Terrorist side."
"URL" ""
"SoloPlay" "1"
"CoopPlay" "0"
"Team" "T"
"BGColor1" "47 62 90"
"BGColor2" "0 0 0"
"TextColor" "255 255 255"

"BotProfile" "MissionPacks\Terrorist\BotProfile.db"

}


NOTE: The quotes you see in this example must be there. No quotes = no functioning mission pack.




I assume that by reading this you can figure out "Author" "Title" and "Description" are, however,
others may not be as obvious, and even misleading.

"URL" - Simple space for advertising. Usually the homepage / download link to the current mission
pack, but why add a link to download a mission pack someone already has?

"SoloPlay" and "CoopPlay" - Misleading. Both are irrelevant as if the settings arnt the same ones
as in the example, then your mission pack wont work.

"Team" - What team is the HUMAN player on? Counter Terrorist or Terrorist?

"BGColor1" - RGB (Red Green Blue) value colors used to customize the backround color.

"BGColor2" - Unused. You can set it to anything and nothing will change

"Text Color" - RGB value colors used to define the mission pack font color.






Alright, now before we get into detail about the Easy/Normal/Hard/Expert.vdf files, we'll first
look at just the beggining part of one of them.



{
"InitialPoints" "8"
"MatchWins" "3"
"MatchWinBy" "2"
"Characters" "-Tyler- Floyd Kenny Morris Stanley Vern Quincy Gus Ben Eddit Kent Oscar Phil Leon Pete Roger Maverick Cole Igor Larry Ray Sam Travis Kirk Alex Brent Jake Tex Lou Ace Rooster Eagle Sandman Barney Steel Duke Bear"


"CostAvailability"
{
"1" "1"
"2" "1"
"3" "1"
"4" "1"
"5" "18"
}

}



"InitialPoints" : The number of "cost" you start the game with to spend on teammates.

"MatchWins" : The minimum amount of rounds that must be won in order to complete the map/ clear an area.

"MatchWinBy" : The number of rounds that you must be leading by after hitting the "MatchWins" limit to continue onto the next map.

"Characters" : The TEAMMATES you want included. Their cost and abilities will be defined in the BotProfile.db and youll have to edit that
file to change anything about them. HEY LOOK IM A BOT !

"CostAvailability" Ill try my best to explain this one. Basically, when playing in campaign mode, you need a certain amount of cost points
before you unlock cost 2 teammates. Well, if we take the example provided by the expert.vdf, Cost Level 1-2-3-and 4 are unlocked when I
accumulate 1 cost point, so at the start. To unlock Cost Level 5 bots , however, I must first have 18 Cost Points.

In the easy.vdf CostAvailibility is set at:

{
"1" "1"
"2" "6"
"3" "10"
"4" "15"
"5" "99"
}



SOOOOO, I start with good ol Cost level 1 bots. To unlock level 2 bots, I first need 6 points. 10 for Cost 3 Bots. 15 Cost 4 bots, and
99 points to unlock level 5 bots - ie: they wont be available at all on easy.

Hopefully thats enough to understand "Cost Availability".

Alright, so after we defined those things, we need only to define each map. An example map from the expert.vdf :




"de_czl_arsenal"
{
"bots" "Fanatic Hyena Wolfhound Panther Crow Jackal Hawk Spider Snake"
"minEnemies" "8"
"threshold" "25"
"tasks" "'kill 25' 'killwith 5 awp' 'killall survive' 'killwith 1 knife survive' 'plant <2> [survive]' 'winfast 45'"
"FriendlyFire" "1"
}



"bots" - stands for the enimies you'll be facing. Whatever bots you type in that row must match one bot from the BotProfile.db or you wont
have that bot.

"minEniemies" - the least amount of enimies a player will be facing, and the amount will only go up if the player's team consists of more
"players" than the bot team.

"threshold" - sigh, yet another difficult one. Think of it this way: to unlock this map you need 25 Cost points. If you havnt accumulated
25 or more cost points, then this map will be locked and unplayable.

"tasks" - the goals for the human player during the course of the map. More details next section.

"FriendlyFire" - If ser to "1" your bullets will hurt teammates. If set to "0" then the bullets will just be absorbed by your bot buddies !


And that would be one map. You can have as many maps as you want per say, however, there are "limits"


Is the mission pack too big and cant be saved by the downloader?


"Threshold" stops at 99. So, if you have 200 maps, then as soon as the player gets 99 points then all the maps in the Tour of Duty are
unlocked, and you wont be able to control the order in which they're played.

And thats about it. A misconseption is that the number of maps you have must be divisible by three, and thats false. You can
have 1 or 2 maps on the final day if you like (you cant have 2 maps per day however, as theres no way to get around the mission pack filling
up slots completely day by day meaning all days before the final will always have 3 maps

An example Tour of Duty "day" :

"de_dust_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "5"
"threshold" "10"
"tasks" "'kill 10' 'kill 2 survive' 'winfast 45'"
"FriendlyFire" "1"
}
"cs_office_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "5"
"threshold" "10"
"tasks" "'kill 10' 'killwith 2 mp5 survive' 'rescueall'"
"FriendlyFire" "1"
}
"de_prodigy_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "5"
"threshold" "10"
"tasks" "'kill 10' 'killwith 2 scout survive' 'winfast 45'"
"FriendlyFire" "1"
}

Alright, now we need to figure out how we define certain goals ! FUN FUN FUN.
A list of all the mission pack goal things/commands:


Top
   
PostPosted: 30 Sep 2011 19:23 
Offline
User avatar

Joined: 31 Jan 2011 22:59
Posts: 462
General Tasks
injure <N> [survive | inarow]
The player must injure at least <N> enemies.

injurewith <N> <weapon> [survive | inarow]
The player must injure at least <N> enemies using the weapon or weapon class <weapon>.

kill <N> [survive | inarow]
The player must kill <N> enemies.

killwith <N> <weapon> [survive | inarow]
The player must kill <N> enemies with the weapon or weapon class <weapon>.

killall
The player’s team must win at least one round by eliminating everyone on the enemy team.





killblind <N> [survive | inarow]
The player must kill <N> flashbang-blinded enemies.

headshot <N> [survive | inarow]
The player must kill <N> enemies with headshots.

headshotwith <N> <weapon> [survive | inarow]
The player must kill <N> enemies with headshots using the weapon or weapon class <weapon>

winfast <S> [survive]
The player’s team must win a round in less than <S> seconds.



Bomb Defuse Scenario Tasks
plant <N> [survive | inarow]
The player must plant the bomb <N> times.

defuse <N> [survive | inarow]
The player must defuse the bomb in <N> separate rounds.

preventdefuse <N> [survive | inarow]
The player must prevent any defuse attempts in each of <N> rounds. The task fails if the bomb is not planted or a CT starts to defuse.

killdefuser <N> [survive | inarow]
The player must kill a CT in the act of defusing a planted bomb <N> times.


Hostage Rescue Scenario Tasks
rescue <N> [survive | inarow]
The player must rescue at least <N> hostages.

rescueall
The player must rescue all of the hostages in a single round.

stoprescue <N> [survive | inarow]
The player must kill a CTs who is escorting hostages back to a Rescue Zone <N> times.

defendhostages <N>
No hostage may be rescued during each of <N> rounds. Hostages may die, but they can't be rescued.

hostagessurvive <N>
All hostages must be living at the end of each of <N> rounds. No hostage can die, but they can be rescued.


VIP Scenario Tasks
killvip <N> [survive | inarow]
The player must kill the VIP <N> times.






kk, heres is the gun abbreviations :

pistol = Any pistol
glock = 9x19mm Sidearm
usp = KM .45 Tactical
p228 = 228 Compact
deagle = Night Hawk .50c
fn57 = ES Five-Seven
elites = .40 Dual Elites

shotgun = Any shotgun
m3 = Leone 12 Gauge Super
xm1014 = Leone YG1265 Auto Shotgun

SMG = Any submachine gun
tmp = Schmidt Machine Pistol
mac10 = Ingram Mac-10
mp5 = KM Sub-Machine Gun
ump45 = KM UMP45
p90 = ES C90

rifle = Any non-sniper rifle
galil = IDF Defender
famas = Clarion 5.56
m4a1 = Maverick M4A1 Carbine
ak47 = CV-47
aug = Bullpup
sg552 = Krieg 552

sniper = Any sniper rifle
scout = Schmidt Scout
sg550 = Krieg 550 Commando
g3sg1 = D3/AU-1
awp = Magnum Sniper Rifle

machinegun = Any machine gun
m249 = M249

shield = The Tactical Shield

knife = The Knife

grenade = The HE Grenade






And to customize bots follow this process :

http://absurdminds.net/forums/viewtopic.php?f=18&t=979








Distributing Mission Packs
The simplest way to distribute your Mission Pack is to zip up all of your custom assets (maps, user interface graphics, player models, your mission pack folder, and so on) into a single zip file, retaining the required folder structure. This zip file can then be shared with other CZ players, who can unzip the file in their main game folder, start the game, and select your mission from the dropdown menu.

For example, MyMission.zip could contain the following:

czero\MissionPacks\MyMission\Overview.vdf
czero\MissionPacks\MyMission\Thumbnail.tga
czero\MissionPacks\MyMission\Easy.vdf
czero\MissionPacks\MyMission\Normal.vdf
czero\MissionPacks\MyMission\Hard.vdf
czero\MissionPacks\MyMission\Expert.vdf
czero\MissionPacks\MyMission\BotProfile.db
czero\gfx\thumbnails\maps\cs_newmap_cz1.tga
czero\gfx\thumbnails\maps_wide\ cs_newmap_cz1.tga
czero\gfx\thumbnails\maps\cs_newmap_cz2.tga
czero\gfx\thumbnails\maps_wide\ cs_newmap_cz2.tga
czero\gfx\thumbnails\maps\cs_newmap_cz2.tga
czero\gfx\thumbnails\maps_wide\ cs_newmap_cz2.tga
czero\maps\cs_newmap1_cz.bsp
czero\maps\cs_newmap1_cz.txt
czero\maps\cs_newmap1_cz_detail.txt
czero\maps\cs_newmap2_cz.bsp
czero\maps\cs_newmap2_cz.txt
czero\maps\cs_newmap2_cz_detail.txt
czero\maps\cs_newmap3_cz.bsp
czero\maps\cs_newmap3_cz.txt
czero\maps\cs_newmap3_cz_detail.txt
czero\newmap.wad
czero\sound\kaboom.wav
czero\sound\crunch.wav


Top
   
PostPosted: 01 Oct 2011 15:41 
Offline
User avatar

Joined: 31 Jan 2011 22:59
Posts: 462
So, a complete "".vdf files might look like:


CareerGame"
{
"InitialPoints" "6"
"MatchWins" "3"
"MatchWinBy" "2"
"Characters" "Cooper Floyd Kenny Morris Stanley Vern Quincy Gus Ben Eddie Kent Oscar Phil Leon Pete Roger Maverick Cole Igor Larry Ray Sam Travis Kirk Alex Brent Jake Tex Lou Ace Rooster Eagle Sandman Barney Steel Duke Bear"

// CostAvailability: for each bot point cost, specify the number of reputation points needed to hire him.
// If a value is not present or 0, that cost and higher are assumed to be always available.
"CostAvailability"
{
"1" "1"
"2" "6"
"3" "6"
"4" "12"
"5" "18"
}

"Maps"
{
// Maps are in triplets
// 'minEnemies' defines the minimum number of enemies of the map (from the 'bots' entry, left to right)
// 'threshold' defines the Reputation Point value above which one enemy is added for every additional RP until we run out of bots on the 'bots' line

// A note on tasks:
//
// tasks are one of the following:
// kill <N> [survive | inarow]
// killwith <N> <weapon> [survive | inarow]
// killblind <N> [survive | inarow]
// winfast <S> [survive | inarow]
// headshot <N> [survive | inarow]
// headshotwith <N> <weapon> [survive | inarow]
// killall
// rescue <N> [survive | inarow]
// rescueall
// injure <N> [survive | inarow]
// injurewith <N> <weapon> [survive | inarow]
//
// tasks can contain a numeric value (# of kills, # of seconds, etc)
// tasks can contain a weapon name or weapon classname (for the killwith and headshotwith tasks)
// you can add "survive" so the player must survive to the end of the round to complete the task
// you can add "inarow" so the player must complete the task N times without dying (across round boundaries)
// group words of a task with '. I.e. 'kill 3'
//
// Weapon names/classes are:
// scout
// xm1014
// mac10
// aug
// ump45
// sg550
// galil
// famas
// awp
// mp5
// m249
// m3
// m4a1
// tmp
// sg552
// ak47
// p90
// shield
// weapon
// knife
// grenade (text is singular)
// hegren (text is plural, but the behavior is the same)
// pistol
// SMG
// machinegun
// shotgun
// rifle
// sniper
// fn57
// elites

// - start ------------------------------------------
"de_dust_cz"
{
"bots" "Freak Maniac Psycho Rebel Fiend Vandal"
"minEnemies" "5"
"threshold" "8"
"tasks" "'kill 7' 'kill 2 survive' 'winfast 60'"
"FriendlyFire" "1"
}
"cs_office_cz"
{
"bots" "Freak Maniac Psycho Rebel Fiend Vandal"
"minEnemies" "5"
"threshold" "8"
"tasks" "'kill 7' 'killwith 2 mp5 survive' 'rescueall'"
"FriendlyFire" "1"
}
"de_prodigy_cz"
{
"bots" "Freak Maniac Psycho Rebel Fiend Vandal"
"minEnemies" "5"
"threshold" "8"
"tasks" "'kill 7' 'killwith 2 scout survive' 'winfast 60'"
"FriendlyFire" "1"
}

// - early -------------------------------------------
"de_tides_cz"
{
"bots" "Freak Rebel Fiend Vandal Razor Bandit Raider Nails"
"minEnemies" "6"
"threshold" "11"
"tasks" "'kill 8' 'killwith 5 xm1014' 'winfast 60'"
"FriendlyFire" "1"
}
"cs_italy_cz"
{
"bots" "Maniac Rebel Fiend Vandal Razor Bandit Raider Nails"
"minEnemies" "6"
"threshold" "11"
"tasks" "'killwith 4 deagle' 'killwith 4 awp' 'rescueall'"
"FriendlyFire" "1"
}
"de_inferno_cz"
{
"bots" "Freak Rebel Fiend Vandal Razor Bandit Raider Fanatic"
"minEnemies" "6"
"threshold" "11"
"tasks" "'kill 8' 'killwith 3 aug inarow' 'killblind 1'"
"FriendlyFire" "1"
}

// - halfway ----------------------------------------
"de_dust2_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "7"
"threshold" "14"
"tasks" "'kill 9' 'killwith 3 sg550 inarow' 'winfast 60 survive'"
"FriendlyFire" "1"
}
"cs_militia_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Nails"
"minEnemies" "7"
"threshold" "14"
"tasks" "'kill 9' 'killblind 1 survive' 'rescueall'"
"FriendlyFire" "1"
}
"de_stadium_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "7"
"threshold" "14"
"tasks" "'kill 9' 'killwith 3 aug inarow' 'winfast 60 survive'"
"FriendlyFire" "1"
}

// - halfway ----------------------------------------
"de_chateau_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "7"
"threshold" "17"
"tasks" "'kill 10' 'killblind 1 survive' 'killwith 3 m249 inarow'"
"FriendlyFire" "1"
}
"cs_havana_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "7"
"threshold" "17"
"tasks" "'kill 10' 'killwith 1 knife' 'rescueall'"
"FriendlyFire" "1"
}
"de_cbble_cz"
{
"bots" "Rebel Fiend Vandal Razor Bandit Raider Blade"
"minEnemies" "7"
"threshold" "17"
"tasks" "'kill 10' 'killwith 3 shield inarow' 'winfast 60 survive'"
"FriendlyFire" "1"
}

// - late -------------------------------------------
"de_aztec_cz"
{
"bots" "Razor Bandit Raider Nails Crank Cutter Crow Fanatic"
"minEnemies" "8"
"threshold" "20"
"tasks" "'kill 12' 'killwith 5 scout' 'winfast 60 survive'"
"FriendlyFire" "1"
}
"cs_downed_cz"
{
"bots" "Razor Bandit Raider Nails Crank Cutter Fanatic Panther"
"minEnemies" "7"
"threshold" "20"
"tasks" "'kill 12' 'killwith 5 famas' 'rescueall'"
"FriendlyFire" "1"
}
"de_airstrip_cz"
{
"bots" "Razor Bandit Raider Nails Crank Cutter Fanatic Panther"
"minEnemies" "7"
"threshold" "20"
"tasks" "'kill 12' 'killwith 5 shield' 'killwith 2 sg550 survive'"
"FriendlyFire" "1"
}

// - end --------------------------------------------
"de_piranesi_cz"
{
"bots" "Razor Bandit Raider Nails Crank Cutter Fanatic Panther Wolfhound"
"minEnemies" "8"
"threshold" "23"
"tasks" "'kill 15' 'killwith 5 aug' 'killwith 2 pistol inarow'"
"FriendlyFire" "1"
}
"de_fastline_cz"
{
"bots" "Razor Bandit Raider Nails Crank Cutter Fanatic Panther Hyena"
"minEnemies" "8"
"threshold" "23"
"tasks" "'kill 17' 'killwith 5 p90' 'killblind 1 survive'"
"FriendlyFire" "1"
}
"de_torn_cz"
{
"bots" "Bandit Raider Nails Crank Cutter Crow Fanatic Wolfhound"
"minEnemies" "8"
"threshold" "23"
"tasks" "'kill 20' 'killwith 5 awp' 'killwith 2 deagle inarow'"
"FriendlyFire" "1"
}
}
}




YAY ! Now to do that three more times >.<


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC-04:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited