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

Members Online

»
1 Active | 10 Guests
Online:

LATEST FORUM THREADS

»
water
CoD4 MP Mapping
Rainbow HELP....
CoD4 MP 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
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: map load error
tbcredman
General Member
Since: Feb 14, 2006
Posts: 83
Last: Jul 22, 2007
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Mar. 18, 2007 11:22 am
right im makin a map with fire and smoke it it i got it to work once with 1 fire and 1 smoke efx but now that i have more it jsut doesnt work.

when i try to load map it says script compiler error see console for details and console only says error bad syntax

if i take the efx out all the way the map loads so i know it has to be the efx some where

here is the gsc
Quote:
main()
{

setCullFog (1200, 90000, 0.8, 0.8, 0.8, 0);
ambientPlay("ambient_mp_harbor");

level._effect["fire"] = loadfx ("fx/fire/tank_med_long_high.efx");
maps\mp\_fx::loopfx("fire", (-560 6600 -240), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/smoke_grenade.efx");
maps\mp\_fx::loopfx("smoke", (-560 6600 -100), 0.7);
level._effect["fire"] = loadfx ("fx/fire/fire_engine_stuka.efx");
maps\mp\_fx::loopfx("fire", (968 7032 -240), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/smoke_plume_debree_lrg.efx");
maps\mp\_fx::loopfx("smoke", 968 7032 -100), 0.7);
level._effect["fire"] = loadfx ("fx/fire/fire_engine_stuka.efx");
maps\mp\_fx::loopfx("fire", (776 0 -240), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/smoke_plume_debree_med.efx");
maps\mp\_fx::loopfx("smoke", (776 0 -100), 0.7);
maps\mp\_load::main();

///
level thread maps\mp\_tankdrive_gmi::main();//for tanks
level thread maps\mp\_jeepdrive_gmi::main();//for jeeps
level thread maps\mp\_flak_gmi::main();//for flak88s
///

game["allies"] = "british";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";



game["british_soldiertype"] = "airborne";
game["british_soldiervariation"] = "normal";
game["german_soldiertype"] = "fallschirmjagercamo";
game["german_soldiervariation"] = "normal";





}


edited on Mar. 18, 2007 02:24 pm by tbcredman
Share |
tbcredman
General Member
Since: Feb 14, 2006
Posts: 83
Last: Jul 22, 2007
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Mar. 18, 2007 01:51 pm
bump
Share |
codmp
General Member
Since: Feb 6, 2006
Posts: 905
Last: Jul 31, 2011
[view latest posts]
Level 7
Category: CoDUO Mapping
Posted: Sunday, Mar. 18, 2007 01:54 pm
Run it in developer mode so it give more info on the bad sytax error. Then post the error on in here.
Share |
tbcredman
General Member
Since: Feb 14, 2006
Posts: 83
Last: Jul 22, 2007
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Mar. 18, 2007 02:05 pm
ok it says

"bad syntax: (file 'maps\mp\testtest.gsc', line 8)
maps\mp\fx::loopfx("fire:, (-560 6600 -240), 0.6);


edited on Mar. 18, 2007 05:12 pm by tbcredman
Share |
tbcredman
General Member
Since: Feb 14, 2006
Posts: 83
Last: Jul 22, 2007
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Mar. 18, 2007 03:04 pm
i fixed it.

lol i forgot commas between the XYZ coordinates
Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

Latest Syndicated News

»
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Loadout
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...

Partners & Friends

»