Call of Duty 4 Singleplayer Tutorial #2: Player weapons and Introscreen

Channel:
Subscribers:
20,600
Published on ● Video Link: https://www.youtube.com/watch?v=R8u6K5caFjM



Call of Duty 4: Modern Warfare (Original / Remastered)
Category:
Tutorial
Duration: 9:26
5,850 views
121


Welcome to the second Call of Duty 4 basic map tutorial. This time I am going to show you how to give player the weapons you wish for the mission and how to make an mission briefing introscreen to display mission info like the original missions.

Please excuse my awkward and odd accent and presentation and any grammar mistakes, I am not skilled on speaking english and explaining stuff at the same time.
I also apologize for any quality flaws.

Here is the code I used:
##########################
##########################

#include maps\_anim;
#include maps\_utility;
#include common_scripts\utility;
#include maps\_utility_code;

player_setup()
{
level.player takeallweapons();
level.player freezecontrols( true );
level.player setviewmodel( "" );
level.player giveWeapon( "" );
level.player givemaxammo( "" );
level.player switchtoweapon( "" );
level.player disableweapons();
}

Introscreen()
{
lines = [];
lines[ lines.size ] = &"LINE1";
lines[ lines.size ] = &"LINE2";
lines[ lines.size ] = &"LINE3";
lines[ lines.size ] = &"LINE4";
lines[ lines.size ] = &"LINE5";
fade_time = ( 1 );
time = ( 1.5 );
maps\_introscreen::introscreen_feed_lines( lines );
maps\_introscreen::introscreen_generic_fade_in( "black", time, fade_time );

level notify("introscreen_complete");

level.player freezecontrols( false );
level.player enableweapons();
}

VERSION "1"
CONFIG "F:\projects\mk\bin\StringEd\StringEd.cfg"
FILENOTES ""

REFERENCE INTROLINE1
LANG_ENGLISH ""Test Map Video""

REFERENCE INTROLINE2
LANG_ENGLISH "Player"

REFERENCE INTROLINE3
LANG_ENGLISH "Day 1337"

REFERENCE INTROLINE4
LANG_ENGLISH "Random Tutorial Room"

REFERENCE INTROLINE5
LANG_ENGLISH "Task Force 99"

ENDMARKER

##########################
##########################







Tags:
cod4
call of duty 4
call of duty 4 modern warfare
call of duty 4: modern warfare
cod4 sp maps
cod4 custom maps
cod4 tutorial
cod4 mapping tutorial
cod4 sp map tutorial
how to make a cod4 singleplayer map
how to make a cod4 sp map
how to make a cod4 campaign
cod4 mapping
cod4 scripting
cod4 tutorials
cod4 tutorial spi
cod4 rooftops
cod4 rooftops campaign
cod4 rooftops singleplayer



Other Statistics

Call of Duty 4: Modern Warfare Statistics For SPi

SPi presently has 1,949,122 views for Call of Duty 4: Modern Warfare across 412 videos, with His channel uploaded over 9 days worth of Call of Duty 4: Modern Warfare videos. This is 71.59% of the total watchable video on SPi's YouTube channel.