Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 165 Guests
Online:

LATEST FORUM THREADS

»
Mohaa maps on Cod2?
CoD2 MP Mapping
is this place alive?
CoDBO3 Mapping
Call of DutyŽ: WWII
CoD WW2 General

Tutorials

»
CoD Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Assigning Player Weapons
Versions: You must be logged in to view history.
magnum76 explains the way to give your sp players weapons
in the maps folder where your .bsp file goes, you need a .gsc file. The .gsc file will contain some script which will add weapons to your player when he spawns. To do this, make a new text doc in the /call of duty/main/maps folder. Add this to the body:

// This script was made by Seeded[USAF] on December 26th, 2003.
main()
{
//Loads all the global scripts... Just use it!
maps_load::main();

// This little bit equips you with some weaponry. You need specifiy which items to equip your character.
level.player takeallweapons();
level.player giveWeapon("m1carbine");
level.player giveWeapon("thompson");
level.player giveWeapon("colt");
level.player giveWeapon("fraggrenade");
level.player switchToWeapon("thompson");

}

Now use the Save As option and, using the quotes, so that text doc will save it as a different file name, Save As "mapname.gsc". This will add mapname.gsc to your maps folder. Now just copy and rename this file for any new map you make. The .gsc file must be the same name as your map. Example I am making a map for my 8 year old brett...I have a brett.bsp (after compile) and a brett.gsc so he will spawn with weapons. This .gsc file is where other effects and script code goes.

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»