Jump to content
Sign in to follow this  
demonhunter212

description.ext error

Recommended Posts

My game crashes to my desktop after I load my mission.....but the problem is that i had this in my description.ext (The game was running fine until i put this file into my mission....then i would go into the Nogova level and hit the load button and load the mission then all of a sudden the game stops when it says "Receiving")

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMusic

{

// List of music tracks (.ogg files without the .ogg extension)

tracks[] = {GreenDay, Guns&Roses, ChiliPeppers, MotleyCrew};

// Class definition needed for each music track

class GreenDay

{

// Name to display in mission editor

name = "GreenDay";

// Music path, volume, pitch

sound[] = {\music\GreenDay.ogg, db + 0, 1.0};

};

class Guns&Roses

{

// Name to display in mission editor

name = "Guns&Roses";

// Music path, volume, pitch

sound[] = {\music\Guns&Roses.ogg, db + 0, 1.0};

};

class ChiliPeppers

{

// Name to display in mission editor

name = "ChiliPeppers";

// Music path, volume, pitch

sound[] = {\music\ChiliPeppers.ogg, db + 0, 1.0};

};

class MotleyCrew

{

// Name to display in mission editor

name = "MotleyCrew";

// Music path, volume, pitch

sound[] = {\music\MotleyCrew.ogg, db + 0, 1.0};

};

};

onLoadMission="0peration Nightwolf The Airborne Operation";

class CfgIdentities

{

class Bravo1

{

name = "Wolf";

face = "basfaceDW4";

glasses = "none";

speaker = "Adam";

pitch = 1.00;

};

class Bravo2

{

name = "Shadow";

face = "basfaceDW1";

glasses = "none";

speaker = "Rich";

pitch = 1.00;

};

class Bravo3

{

name = "Zero";

face = "basfaceDW5";

glasses = "none";

speaker = "Jonah";

pitch = 1.00;

};

class Bravo4

{

name = "Raven";

face = "basfaceDW2";

glasses = "none";

speaker = "Dan";

pitch = 1.00;

};

class Bravo5

{

name = "Chaos";

face = "basfaceDW3";

glasses = "none";

speaker = "Adam";

pitch = 1.00;

};

class Bravo6

{

name = "Demon";

face = "basfaceRW2";

glasses = "none";

speaker = "Jonah";

pitch = 1.00;

};

Could someone possibly tell me what is the matter with my description.ext file? confused_o.gif

Share this post


Link to post
Share on other sites

try to remove parts from it to cut down the problem. smile_o.gif

Share this post


Link to post
Share on other sites

I think the problem is this part right here <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgIdentities

{

class Bravo1

{

name = "Wolf";

face = "basfaceDW4";

glasses = "none";

speaker = "Adam";

pitch = 1.00;

};

class Bravo2

{

name = "Shadow";

face = "basfaceDW1";

glasses = "none";

speaker = "Rich";

pitch = 1.00;

};

class Bravo3

{

name = "Zero";

face = "basfaceDW5";

glasses = "none";

speaker = "Jonah";

pitch = 1.00;

};

class Bravo4

{

name = "Raven";

face = "basfaceDW2";

glasses = "none";

speaker = "Dan";

pitch = 1.00;

};

class Bravo5

{

name = "Chaos";

face = "basfaceDW3";

glasses = "none";

speaker = "Adam";

pitch = 1.00;

};

class Bravo6

{

name = "Demon";

face = "basfaceRW2";

glasses = "none";

speaker = "Jonah";

pitch = 1.00;

};

Share this post


Link to post
Share on other sites

I might see it wrong but dont you need an extra }; at the end? huh.gif

Share this post


Link to post
Share on other sites

I've taken that one part out and I have this right now <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">onLoadMission="0peration Nightwolf The Airborne Operation";

class CfgMusic

{

// List of music tracks (.ogg files without the .ogg extension)

tracks[] = {GreenDay, Guns&Roses, ChiliPeppers, MotleyCrew};

// Class definition needed for each music track

class GreenDay

{

// Name to display in mission editor

name = "GreenDay";

// Music path, volume, pitch

sound[] = {\music\GreenDay.ogg, db + 0, 1.0};

};

class Guns&Roses

{

// Name to display in mission editor

name = "Guns&Roses";

// Music path, volume, pitch

sound[] = {\music\Guns&Roses.ogg, db + 0, 1.0};

};

class ChiliPeppers

{

// Name to display in mission editor

name = "ChiliPeppers";

// Music path, volume, pitch

sound[] = {\music\ChiliPeppers.ogg, db + 0, 1.0};

};

class MotleyCrew

{

// Name to display in mission editor

name = "MotleyCrew";

// Music path, volume, pitch

sound[] = {\music\MotleyCrew.ogg, db + 0, 1.0};

};

};

It has the extra }; like you said ofpforum but it still crashes. sad_o.gif

Edit: Just to add some info i'm using the

"Chris' OFP Script Editor" so could that be adding a problem or something? and it has this written at the top of the script

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">//////////////////////////////////////////////////////////////////////////

// Operation Flashpoint Description File

// Generated by Chris' OFP Script Editor

// Version 3.1.0000

//////////////////////////////////////////////////////////////////////////

Share this post


Link to post
Share on other sites

When you crash to desktop you should get a (windows)warning box with the error in it. What does it say?

Try this one:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

onLoadMission="0peration Nightwolf The Airborne Operation";

class CfgMusic

{

tracks[]=

{

GreenDay, Guns&Roses, ChiliPeppers, MotleyCrew

};

class GreenDay

{

name = "GreenDay";

sound[] = {\music\GreenDay.ogg, db+0, 1.0};

};

class Guns&Roses

{

name = "Guns&Roses";

sound[] = {\music\Guns&Roses.ogg, db+0, 1.0};

};

class ChiliPeppers

{

name = "ChiliPeppers";

sound[] = {\music\ChiliPeppers.ogg, db+0, 1.0};

};

class MotleyCrew

{

name = "MotleyCrew";

sound[] = {\music\MotleyCrew.ogg, db+0, 1.0};

};

};

Share this post


Link to post
Share on other sites

Found ur problem...

Same as in briefing.html, flashpoint seems to have a problem handling names with an & in it confused_o.gif

Change ur description.ext file to this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgMusic

{

// List of music tracks (.ogg files without the .ogg extension)

tracks[] = {GreenDay, GunsnRoses, ChiliPeppers, MotleyCrew};

// Class definition needed for each music track

class GreenDay

{

// Name to display in mission editor

name = "GreenDay";

// Music path, volume, pitch

sound[] = {\music\GreenDay.ogg, db + 0, 1.0};

};

class GunsnRoses

{

// Name to display in mission editor

name = "GunsnRoses";

// Music path, volume, pitch

sound[] = {\music\Guns&Roses.ogg, db + 0, 1.0};

};

class ChiliPeppers

{

// Name to display in mission editor

name = "ChiliPeppers";

// Music path, volume, pitch

sound[] = {\music\ChiliPeppers.ogg, db + 0, 1.0};

};

class MotleyCrew

{

// Name to display in mission editor

name = "MotleyCrew";

// Music path, volume, pitch

sound[] = {\music\MotleyCrew.ogg, db + 0, 1.0};

};

};

onLoadMission="0peration Nightwolf The Airborne Operation";

class CfgIdentities

{

class Bravo1

{

name = "Wolf";

face = "basfaceDW4";

glasses = "none";

speaker = "Adam";

pitch = 1.00;

};

class Bravo2

{

name = "Shadow";

face = "basfaceDW1";

glasses = "none";

speaker = "Rich";

pitch = 1.00;

};

class Bravo3

{

name = "Zero";

face = "basfaceDW5";

glasses = "none";

speaker = "Jonah";

pitch = 1.00;

};

class Bravo4

{

name = "Raven";

face = "basfaceDW2";

glasses = "none";

speaker = "Dan";

pitch = 1.00;

};

class Bravo5

{

name = "Chaos";

face = "basfaceDW3";

glasses = "none";

speaker = "Adam";

pitch = 1.00;

};

class Bravo6

{

name = "Demon";

face = "basfaceRW2";

glasses = "none";

speaker = "Jonah";

pitch = 1.00;

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×