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

Members Online

»
0 Active | 13 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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: bad synapx error
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: CoD Mapping
Posted: Saturday, Aug. 28, 2004 12:04 am
Quote:
main()
{
level_effect["fire"] = loadfx ("fx/fire/tinybon.efx");
mapsmp_fx::loopfx("fire", (32. -16. 8). 0.5):
level_effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
mapsmp_fx::loopfx("smoke", (32. 0. 56). 0.7):

setCullFog (0. 6000. .32. .33. .40. 0>.
anbientPlay(*ambient_xp_brecourt"):

mapsxp_load::main();



i will break down the errors

Code:
level_effect["fire"] = loadfx ("fx/fire/tinybon.efx");  


is missing the subset key...basically the period
it should read
Code:
level._effect["fire"] = loadfx ("fx/fire/tinybon.efx");  



Code:
mapsmp_fx::loopfx("fire", (32. -16. 8). 0.5):  


has 2 different errors...first you are using periods where there should be commas, and secondly you are using a colon to end the line instead of a semi-colon
it should read
Code:
mapsmp_fx::loopfx("fire", (32, -16,. 8),. 0.5);  



Code:
level_effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
mapsmp_fx::loopfx("smoke", (32. 0. 56). 0.7):


repair these 2 lines the same way as the above 2 - as the errors are the same

Code:
setCullFog (0. 6000. .32. .33. .40. 0>.  


again - you are using periods between values....and your closing argument is invalid
it should read
Code:
setCullFog (0,. 6000, 0.32, 0.33, 0.40, 0);  



Code:
anbientPlay(*ambient_xp_brecourt"):


you have typos in this line and as such are not calling a valid function - nor providing a valid argument
also your closing argument is incorrect (using colon instead of semi-colon)
it should read
Code:
ambientPlay("ambient_mp_brecourt");



Code:
mapsxp_load::main();  


again...typos
it should read
Code:
mapsmp_load::main();  



and dont forget to close your main section with
Code:
}  


[angryalien]
Share |
Klucker
General Member
Since: Jul 21, 2004
Posts: 72
Last: Sep 5, 2004
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Saturday, Aug. 28, 2004 01:07 pm
ummm, thats wut i had, mayb u got the old version, my bad, cuz they r all fixed n the 1 i thot i wuz use'n, lol, my bad
Share |
Klucker
General Member
Since: Jul 21, 2004
Posts: 72
Last: Sep 5, 2004
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Saturday, Aug. 28, 2004 01:09 pm
main()
{
level._effect["fire"] = loadfx ("fx/fire/tinybon.efx");
maps\mp\_fx::loopfx("fire", (32, -16, 8), 0.5):
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (32, 0, 56), 0.7):

setCullFog (0, 6000, .32, .33, .40, 0>.
ambientPlay("ambient_xp_brecourt");

maps\mp\_load::main();
}
that is the new version, wuts wrong w/ it
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»