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

Members Online

»
0 Active | 14 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: setting up ctf
Capt.Com
General Member
Since: Nov 14, 2004
Posts: 879
Last: Oct 6, 2007
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Monday, Dec. 4, 2006 10:42 pm
You already have this line in your gsc and in the right format:

Wrong -> Maps\mp\_load::main();
Good -> maps\mp\_load::main();

And the other lines go in _fx.gsc file in your maps\mp folder
Share |
fullaholes
General Member
Since: Oct 20, 2004
Posts: 118
Last: Nov 21, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Monday, Dec. 4, 2006 10:47 pm
FX generally go in a seperate .gsc file called your_map_name_fx.gsc and an added line in your .gsc file before/after "maps\mp\_load::main();" which reads "maps\mp\your_map_name_fx::main();" so yours would look something like :

Code:
main()
{
level thread precacheFX();
level thread spawnWorldFX();


}

precacheFX()
{
level._effect["smoke"] = loadfx ("fx/smoke/thin_light_smoke_M.efx");
level._effect["smoke"] = loadfx ("fx/smoke/thin_light_smoke_M.efx");


 
}

spawnWorldFX()
{
//fire



//smoke
maps\mp\_fx::loopfx("smoke", (1960, -74, -112), 0.9);
maps\mp\_fx::loopfx("smoke", (-1320, 1384, -40), 0.9);



}


/fullaholes...

edited on Dec. 4, 2006 05:48 pm by fullaholes
Share |
Carcass26
General Member
Since: Mar 9, 2006
Posts: 205
Last: Dec 9, 2009
[view latest posts]
Level 4
MODSCON
Category: CoD2 MP Mapping
Posted: Tuesday, Dec. 5, 2006 08:18 pm
Ok. Thanks guys. I am currently re compiling my map, (have made some changes, added gametypes) but i will use what you have told me in my new .gsc files.
Share |
Spikenaylor
General Member
Since: Oct 12, 2004
Posts: 163
Last: Feb 22, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Tuesday, Dec. 5, 2006 09:08 pm
Dunno whether this will help, bu I thought that for CTF and SD gametypes, you need two computers playing the same map, If you try playing a CTF or SD map on your own as a server the team balance is not active, therefore no SD or CTF.

Setup two computers run one as a server and join the game.
the second computer will connect via your network or crossover etc and join the network game, then SD or CTF game will start when two sepearte players are connected to the game.

Share |
Carcass26
General Member
Since: Mar 9, 2006
Posts: 205
Last: Dec 9, 2009
[view latest posts]
Level 4
MODSCON
Category: CoD2 MP Mapping
Posted: Tuesday, Dec. 5, 2006 09:18 pm
I managed to create a small SD and CTF test map and run them by myself, without linking via a network. It would appear that my CTF issue was down to my .gsc file as I am no longer having problems, so thanks guys. Just one of those things I guess??? lol
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

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

»