Are campaign missions possible?

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

genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Are campaign missions possible?

Post by genaral_mitch »

So make it LPRc_c.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Re: Are campaign missions possible?

Post by Eggman »

Yes.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Are campaign missions possible?

Post by genaral_mitch »

But of course, change everything with "campaign" in it to c.
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: Are campaign missions possible?

Post by wishihadaname »

I did that, now the campaign option shows up but if i click it I get a fatal error

Could not open MISSION\LPRc_c.lvl

IDK what the problem is... I did absolutely nothing to the .lua, its the exact same thing i use for conquest. I did this so that I could eliminate that as a possible source of problems. Any ideas? should i just write out a few objectives and then try it again?

*RETARDATION ALERT!!!*
sorry about that, I forgot to rename my .lua from LPRc_campaign to LPRc_c woooops.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Are campaign missions possible?

Post by genaral_mitch »

But that's not all of your problem.

Scroll down to where it says something like this: ReadDataFile"LPRc_con" change the con to c so it looks like this: ReadDataFile"LPRc_con" .
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Are campaign missions possible?

Post by Fiodis »

Meaning it ought to be LRPc_c.lua, to further explain that.
genaral_mitch wrote:But that's not all of your problem.

Scroll down to where it says something like this: ReadDataFile"LPRc_con" change the con to c so it looks like this: ReadDataFile"LPRc_con" .
:?

@ OP: it works now?
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: Are campaign missions possible?

Post by wishihadaname »

IDK it works now so i'm not gonna try to fix whats not broken. Hopefully I can get all the code examples I need from teh scripting tool and pre-existing .lua's but odds are i'm gonna come here again asking some obvious question along the lines of "how do I script this?"
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Are campaign missions possible?

Post by genaral_mitch »

ReadDataFile"LPRc_c" . FIXED
Post Reply