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

Members Online

»
0 Active | 8 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: error with fx gsc
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, Jun. 12, 2006 05:08 am
Could be some bad mumbo jumbo <-technical term [wink] in those files, create new files and put this in them.
Code:
main()
{
	maps\mp\mp_sabes_du_mot_17_fx::main();
        maps\mp\_load::main();
        
	// set background ambient noise
	ambientPlay("ambient_mp_sabes_du_mot_17");
	
	// set fog. density, red, green, blue, alpha
	setExpFog(0.0001, 0.55, 0.6, 0.55, 0);

	// set nationalities of allies and axis
	game["allies"] = "american";
	game["axis"] = "german";

	// set who does what in SD	
	game["attackers"] = "allies";
	game["defenders"] = "axis";

	/* set the way allies and axis look
	   possible values are:
	   for american: normandy
	   for british: normandy, africa
	   for russian: coats, padded
	   for german: normandy, africa, winterlight, winterdark
	*/		
	game["russian_soldiertype"] = "normandy";
	game["german_soldiertype"] = "normandy";

	// set up bloom and sky bleeding effects
	setCvar("r_glowbloomintensity0", ".25");
	setCvar("r_glowbloomintensity1", ".25");
	setcvar("r_glowskybleedintensity0",".3");
Code:
main()
{
	precacheFX();
	spawnWorldFX();
}

precacheFX()
{
	level._effect["glow_latern"] = loadfx ("fx/misc/glow_latern.efx");
}

spawnWorldFX()
{
	//fire
	maps\mp\_fx::loopfx("glow_latern", (5136.0, -643.0, 204), 1);
}
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, Jun. 12, 2006 11:44 am
it is basically saying that the game cannot find the fx file specified...

double check your naming convention ie...just rename your _fx.gsc to something simple and change it in the main gsc as well...

mymap_fx seems to work well for testing (until you release)

[angryalien]
Share |
MOTLEY
General Member
Since: Mar 4, 2005
Posts: 74
Last: Jul 1, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 12, 2006 01:55 pm
I got it working..to a point....i forgot the ; after main() in the gsc.
I can get into the game now....but at the location on the latern....instead of the latern_glow......its show a red borderd square that is looping saying missing fx

any ideas?
Share |
MOTLEY
General Member
Since: Mar 4, 2005
Posts: 74
Last: Jul 1, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 12, 2006 02:53 pm
sorry guys...really need to figure this out......bump [wink]
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, Jun. 12, 2006 04:43 pm
You are missing the fx because you used to "misc" directory instead of the "props" directory. Here is the corrected line note the part in red.
Quote:
level._effect["glow_latern"] = loadfx ("fx/props/glow_latern.efx");
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, Jun. 12, 2006 11:15 pm
and dont bump your posts

if it is stale by a day or 2 then it isnt minded - to a point...but not even 2 hours cold is rediculous

[angryalien]
Share |
MOTLEY
General Member
Since: Mar 4, 2005
Posts: 74
Last: Jul 1, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Tuesday, Jun. 13, 2006 01:45 am
Thank you very much veef...its working.

as for rediculous....hmmmmm.....i think ill just leave that one alone.

Again....thank you very much veef.
Share |
nuthowz
General Member
Since: Sep 14, 2004
Posts: 117
Last: Feb 10, 2008
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Tuesday, Jun. 13, 2006 02:20 am
precacheFX()
{
level._effect["glow_latern"] = loadfx ("fx/misc/glow_latern.efx");

This should read props not misc.
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 MP Mapping
Posted: Tuesday, Jun. 13, 2006 03:14 am
Quote:
as for rediculous....hmmmmm.....i think ill just leave that one alone.


i have been here a long time, and seen alot of things

everything is ALWAYS an emergency...learn some patience or radiant will drag you down.

spamming the forums and/or bumping your post has and always will be frowned upon. no-one here is on for pay, and we all (except maybe you) have real jobs that occupy a big chunk of our day. and then, in our spare time we try and help this community prosper...so ya...

the 'rediculous' comment is justified

[angryalien]
Share |
MOTLEY
General Member
Since: Mar 4, 2005
Posts: 74
Last: Jul 1, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Tuesday, Jun. 13, 2006 03:50 am
Well yes it was important to me.As for patience well if i seemed impatient i didnt mean to.As for spamming forums.......well i dont think i do that ....what with all 41 of my posts in almost 2 years.As for a job.....yeah i have one....own a business actually......i to work alot of hrs like alot of people(except maybe you) and it does take alot of my day.Maybe that would explain the impatience.


the 'ridiculous' comment is unjustified
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

»