Page 1 of 1

How do I add objectives to space mission?

Posted: Tue Aug 31, 2010 4:34 pm
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.

Re: How do I add objectives to space mission?

Posted: Tue Aug 31, 2010 6:19 pm
by lucasfart
Have a look at all the stock space missions, as they will likely have the answers to your problems.

Re: How do I add objectives to space mission?

Posted: Tue Aug 31, 2010 6:21 pm
by sim-al2
spa1g_c.lua in \assets\scripts\SPA has some useful info for the second.

Re: How do I add objectives to space mission?

Posted: Wed Sep 01, 2010 10:05 am
by linksith
Sorry but I still can't figure it out.

Re: How do I add objectives to space mission?

Posted: Wed Sep 01, 2010 1:34 pm
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"

Re: How do I add objectives to space mission?

Posted: Wed Sep 01, 2010 6:33 pm
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.

Re: How do I add objectives to space mission?

Posted: Thu Sep 02, 2010 8:54 am
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)