lua or side causing crash

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
McDaniel
Recruit Womprat Killer
Posts: 9
Joined: Mon Feb 08, 2010 10:22 am

lua or side causing crash

Post 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? :?
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: lua or side causing crash

Post 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:
McDaniel
Recruit Womprat Killer
Posts: 9
Joined: Mon Feb 08, 2010 10:22 am

Re: lua or side causing crash

Post 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?
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: lua or side causing crash

Post 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
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: lua or side causing crash

Post by Darth_Spiderpig »

Code: Select all

PointsToUnlock = 10
From my Darth Bane. :thumbs:

EDIT: Coley beats me. :lol:
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: lua or side causing crash

Post by genaral_mitch »

Darth_Spiderpig wrote:

Code: Select all

PointsToUnlock = 10...
...Copy\paste that into your unit's odf.
McDaniel
Recruit Womprat Killer
Posts: 9
Joined: Mon Feb 08, 2010 10:22 am

Re: lua or side causing crash

Post 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
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: lua or side causing crash

Post 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.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: lua or side causing crash

Post by genaral_mitch »

But it still uses the disk.
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: lua or side causing crash

Post 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
Last edited by Coley on Thu Feb 18, 2010 2:35 pm, edited 1 time in total.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: lua or side causing crash

Post by sampip »

It was [RDH]Zerted actually :lol: I suspect it may have been a misinterpretation.
Post Reply