[TuT] Capture The Flag For Cod 1

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Locked
creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

[TuT] Capture The Flag For Cod 1

Post by creator » August 22nd, 2006, 2:56 am

well i just figured out how to add ctf to a call of duty 1 map.
this is just a small tut verry easy

Requirements:
cod 1 + radiant (duh :roll: ), and awe mod.

Mapping:
ok here we go:
make 2 or more team-deathmatch spawns
and 1 team-deathmatch intermission

add 2 script_models (script_models, right click on 2d grid) and find: stalingrad_flag
open it to add it to ur map and place it in where u want it.

Select 1 flag and press 'N'
type this in it:

Code: Select all

key: targetname
value: axis_flag_home
press enter
Do the same with the other flag,
only change

Code: Select all

key: axis_flag_home to: 
value: allies_flag_home
put them a little bit in the floors or else u need to jump to get them

then u are done for the mapping

make a script called: urmap.gsc and add this in it:
Scripting:

Code: Select all

			game["allies"] = "american";
			game["axis"] = "german";
			This sets the nationalities of the teams. Allies can be american, british, or russian. Axis can be german.
	
		If using minefields or exploders:
			maps\mp\_load::main();
		
	Optional level script settings
	------------------------------
		Soldier Type and Variation:
			game["american_soldiertype"] = "airborne";
			game["american_soldiervariation"] = "normal";
			game["german_soldiertype"] = "wehrmacht";
			game["german_soldiervariation"] = "normal";
			This sets what models are used for each nationality on a particular map.
			
			Valid settings:
				american_soldiertype		airborne
				american_soldiervariation	normal, winter
				
				british_soldiertype		airborne, commando
				british_soldiervariation	normal, winter
				
				russian_soldiertype		conscript, veteran
				russian_soldiervariation	normal, winter
				
				german_soldiertype		waffen, wehrmacht, fallschirmjagercamo, fallschirmjagergrey, kriegsmarine
				german_soldiervariation		normal, winter
example:

Code: Select all

main()
{

	maps\mp\_load::main();
	maps\mp\mp_carentan_fx::main();

	game["allies"] = "american";
	game["axis"] = "german";

	game["american_soldiertype"] = "airborne";
	game["american_soldiervariation"] = "normal";
	game["german_soldiertype"] = "fallschirmjagergrey";
	game["german_soldiervariation"] = "normal";

	game["attackers"] = "allies";
	game["defenders"] = "axis";
}
compile ur map make a pk3 and test it
warning: u need to have awe mod on and type before u test:

Code: Select all

g_gametype actf
dont type ctf cause that doesnt excist in cod1 unless a other mod
actf: Awe Capture The Flag

if any problems please post here and i try to help :)
Cod 1 Mapper&Modder&Moddeler

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 22nd, 2006, 1:30 pm

Adapted and reposted in the turoail section with credit.
thanks...

viewtopic.php?t=3778
Locked, plese refer to above for comments/suggestions/questions
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Locked

Who is online

Users browsing this forum: No registered users and 1 guest