Page 1 of 1

lua or side causing crash

Posted: Wed Feb 17, 2010 3:36 pm
by McDaniel
ok i must be missing something whenever i read a side tutorial. because whenever i edit the ***c_con.lua in the [data_***\common\scripts\***] directory to load the side i have [a.k.a. changing ReadDataFile("SIDE\\rep.lvl to ReadDataFile("dc:SIDE\\rep.lvl] with editpad lite and munge the side, the the bfII window closes before the whole level loads.

what exactly am i doing wrong? :?

Re: lua or side causing crash

Posted: Wed Feb 17, 2010 3:41 pm
by Darth_Spiderpig
I can't really say.

First guess: You haven't put Common from the assets/sides in you data_***/Sides folder.
Second guess: You have not the right units in your side.

Suggestion:
Post your error log, that will help us to figure out what is wrong. :thumbs:

Re: lua or side causing crash

Posted: Wed Feb 17, 2010 3:51 pm
by McDaniel
thanks it was the first [still getting used making sides]


this may be off topic but do you know where i could find a thread that will tell me how to edit how many points it takes to unlock a character?

Re: lua or side causing crash

Posted: Wed Feb 17, 2010 3:54 pm
by Coley
And if you don´t know where to get the errorlog (just an idea, because you didn´t post it yourself), you must copy the "BF2_modtools" from your BF2_ModTools and paste it into C:/.../LucasArts/Star Wars Battlefront II/GameData. Run it and copy the text from the BFront2 and paste here.

EDIT
I won´t delete my first text, you have to know where to get the errorlog.
Second: In your units odf. Look at rep_inf_default_officer. There is it:
PointsToUnlock... Look yourself

Re: lua or side causing crash

Posted: Wed Feb 17, 2010 3:57 pm
by Darth_Spiderpig

Code: Select all

PointsToUnlock = 10
From my Darth Bane. :thumbs:

EDIT: Coley beats me. :lol:

Re: lua or side causing crash

Posted: Wed Feb 17, 2010 4:21 pm
by genaral_mitch
Darth_Spiderpig wrote:

Code: Select all

PointsToUnlock = 10...
...Copy\paste that into your unit's odf.

Re: lua or side causing crash

Posted: Wed Feb 17, 2010 11:22 pm
by McDaniel
thanks guys i got my sides up and running and they are awesome :eek: thought i couldn't get that special bf2modtool application since i no longer have my CD

Re: lua or side causing crash

Posted: Thu Feb 18, 2010 8:35 am
by [RDH]Zerted
McDaniel wrote:...couldn't get that special bf2modtool application since i no longer have my CD
It comes with the mod tools.

Re: lua or side causing crash

Posted: Thu Feb 18, 2010 1:47 pm
by genaral_mitch
But it still uses the disk.

Re: lua or side causing crash

Posted: Thu Feb 18, 2010 2:09 pm
by Coley
That´s right. And Maveritchell, he already knew that it came with the modtools. You can see it at the "thought" in front of his sentence.

EDIT
Dang! Sorry, Maveritchell, I meant Zerted :oops:
Thanks sampip xD

Re: lua or side causing crash

Posted: Thu Feb 18, 2010 2:24 pm
by sampip
It was [RDH]Zerted actually :lol: I suspect it may have been a misinterpretation.