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

Members Online

»
0 Active | 67 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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: World at War
Category: CoDWW MP Mapping
CoD: World at War Multiplayer mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: .gsc file
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Sunday, May. 24, 2009 11:13 am
Hi guys!

Am I suppose to have this line in my gsc file............

#include maps\mp\_utility;

Thanx Ian.
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoDWW MP Mapping
Posted: Sunday, May. 24, 2009 11:43 am
I Dont know much about cod5 mapping because i dont have it, however to check if that should be in your .gsc go in to raw/maps/mp and check maps .gsc's there if they have them them its best to have it in yours.

But i have you are ment to have it because _utility is a script file that scripts most of codwawmp =D

Thanks, Ukdjaj[thumbs_up]
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoDWW MP Mapping
Posted: Sunday, May. 24, 2009 01:01 pm
Remove it and see if it works, if not then put it back in
Share |
hansgrubber
General Member
Since: Aug 7, 2004
Posts: 196
Last: Jul 6, 2009
[view latest posts]
Level 4
Category: CoDWW MP Mapping
Posted: Sunday, May. 24, 2009 02:15 pm
as far as i know goes in yourmap_amb.gsc
Share |
playername
Preferred Member
Since: Aug 24, 2006
Posts: 821
Last: Apr 15, 2011
[view latest posts]
Level 7
Forum Moderator
Im a fan of MODSonair
Category: CoDWW MP Mapping
Posted: Monday, May. 25, 2009 12:03 am
Just for future searchers, anything starting with #include will include the functions in that file into the current scripts functions. For example, you have two GSCs: _test and my_map.
maps\mp\_test.gsc
Code:

myFunction()
{
	iprintln("My Function");
}

anotherFunction(str)
{
	iprintln(str);
}


Instead of having to do the my_map this way:

Code:

main()
{
	str = "A string!";
	maps\mp\_test::myFunction(); // Prints My Function
	maps\mp\_test::anotherFunction(str); // Prints A String
}


Doing "maps\mp\_test::[[function]]();" over and over can get annoying. So you can use #include to just simply use the functions that are in _test without having to use that whole line in front of it.

Code:

#include maps\mp\_test;


main()
{
	str = "A string!";
	myFunction(); // Prints My Function
	anotherFunction(str); // Prints A String
}


Hope this clears some things up!
nullFew tips for coding.
1. Keep the script as short as possible.
2. Don't comment every line. Only comment portions where they may be needed to point something out.
3. Don't over complicate the script, keep it organized and easy to read.

These help you find simple errors and makes it easy to make changes.
Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Monday, May. 25, 2009 03:52 am
Thanx guys!

Appreciate the help, certainly cleared up a few things. [thumbs_up]

Thanx Ian.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW 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

»