How do I add objectives to space mission?

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
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

How do I add objectives to space mission?

Post by linksith »

Hi, I'm trying to make an intense space battle where the objective is to destroy all enemy ships with cp's. I'm also trying to figure out how I'm gonna make multiple frigates as a separate objective. Can I get some help with this stuff. Thanks.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 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: Australia

Re: How do I add objectives to space mission?

Post by lucasfart »

Have a look at all the stock space missions, as they will likely have the answers to your problems.
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: How do I add objectives to space mission?

Post by sim-al2 »

spa1g_c.lua in \assets\scripts\SPA has some useful info for the second.
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: How do I add objectives to space mission?

Post by linksith »

Sorry but I still can't figure it out.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: How do I add objectives to space mission?

Post by DarthD.U.C.K. »

so what?
you must tell use with which parts exactly you have problems. nobody will script an "intense battle where you have to destroy many ships with and without cps"
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: How do I add objectives to space mission?

Post by linksith »

I want to add more frigates to the frigate objective; and for the capitol ships I'm gonna make them destroyable but I want the regions and the cp's to be deactivated. But for the frigate mission, I want it to be an optional mission. My biggest problem is I don't know what LUA to put it in, where, and how.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: How do I add objectives to space mission?

Post by DarthD.U.C.K. »

then you should probably read the documentation that comes with the modtools and browse through other threads discussing campaign/lua scripting because you cant learn programming from one day to another.
once youve understood how everything works you will know yourself how to achieve these things yourself.
(and as long as you havent understood how it works you will encounter countless of problems)
Post Reply