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

Members Online

»
1 Active | 112 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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Teams won't switch.
CptCool
General Member
Since: Mar 30, 2007
Posts: 103
Last: Apr 29, 2018
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 10, 2011 04:24 pm
Hey, I'm about to release a map and have been trying to switch the teams over to SAS and Russian, I thought it would be as easy as just throwing a few lines into the script, but that didn't do it. Am I missing something?

Code:

main()
{

	maps\mp\_load::main();
	maps\createfx\mp_harbor_summer_fx::main();
	maps\mp\mp_harbor_summer_fx::main();
	maps\mp\_compass::setupMiniMap("compass_map_mp_harbor_summer");
	thread 1();


	//setExpFog(300, 3500, .5, 0.5, 0.45, 0);
	ambientPlay("ambient_dusk");
	//VisionSetNaked( "mp_vacant" );

	game["allies"] = "sas";
	game["axis"] = "russian";
	game["attackers"] = "allies";
	game["defenders"] = "axis";
	game["allies_soldiertype"] = "woodland";
	game["axis_soldiertype"] = "woodland";

	setdvar("r_specularcolorscale", "1");
	setdvar("compassmaxrange","2000");
}

1() 
{ 
door = getent ("sec","targetname");
trigger = getent ("trig_sec","targetname");
{
trigger waittill ("trigger");
door NotSolid();
wait(4);
door Solid();
}
}


Thanks
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 10, 2011 05:57 pm
are you sure its called Russian? check other files it might be called spetsnaz or something and it might not recognise "Russian" as "axis" or the soldiertype "woodland" just check other gsc's and see what yours is lacking
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 10, 2011 07:04 pm
ukdjaj writes...
Quote:
are you sure its called Russian? check other files it might be called spetsnaz or something and it might not recognise "Russian" as "axis" or the soldiertype "woodland" just check other gsc's and see what yours is lacking

It's called Russian. He has it right.

I think the problem is the mod you are running. There are two things that a map requires to use Woodland player models.

1. A mod that supports the Woodland Models. (IE: Extreme, AWE)

2. Line of code in the zone file that adds/loads the models into the map.
Code:
include,mptypes_woodland


Try testing the map with the Extreme Mod. Add the line of code in the zone file if it doesn't exist.
Share |
CptCool
General Member
Since: Mar 30, 2007
Posts: 103
Last: Apr 29, 2018
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Friday, Nov. 11, 2011 05:15 pm
I just took the code out of Countdown's gsc.

Also, I did everything you guys have said, and it's half-working now, the models still appear as Marine/OF, along with the Choose Team gui, but it appears as SAS/Spetsnaz once I join it. Any ideas?
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Friday, Nov. 11, 2011 07:15 pm
How are you running the map?

What Mod are you running the map through?

Share |
CptCool
General Member
Since: Mar 30, 2007
Posts: 103
Last: Apr 29, 2018
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Friday, Nov. 11, 2011 11:03 pm
TDM, and I'm using awe4
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Saturday, Nov. 12, 2011 05:59 am
Not what gametype, I meant, how are you running the map... are you using the tools to load the map or are you loading up the game and running the map through console.

I've had the exact same issue that you are having when using Awe4 and testing the skins. Same thing shows up. The voices are SAS and Spetz but it shows marines and opfor in the menus. Try downloading and using the Extreme Mod to test the skins just to make sure but I'm almost 100% positive that the skins are working properly now. Try that for the last test, but I think you got it. [cool]
Share |
CptCool
General Member
Since: Mar 30, 2007
Posts: 103
Last: Apr 29, 2018
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Nov. 13, 2011 10:18 pm
Wow, I can't believe it was because of the damn mod. Thanks for your help, Deek!
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 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

»