Campaign
Moderator: Moderators
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: Campaign
I thought making a campaign required a mission scripting program not lua editing.
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Campaign
They're the same thing.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Campaign
Lua is just the programming language. I think "scripting" is just a game oriented way of saying "code", but is labeled this way because it's telling the game how things are going to happen in a map just like a movie's script tells everyone what's supposed to be happening in a particular scene. /unnecessary speculation
Just to add to the topic a bit, having even a very basic knowledge of other programming languages (HTML, C++, etc) and how they function will help you understand scripting with LUA. That's not to say they all work the same way, but at least you'll recognize the structure and some of what you can do, if you already understand these things.
The reason there are little to none in the way of scripting tuts is because the possibilities are too numerous or complex to fully document. The script you make is totally based on what you specifically want to happen. It's up to the one doing the scripting to decide what to do with the commands.
Just to add to the topic a bit, having even a very basic knowledge of other programming languages (HTML, C++, etc) and how they function will help you understand scripting with LUA. That's not to say they all work the same way, but at least you'll recognize the structure and some of what you can do, if you already understand these things.
The reason there are little to none in the way of scripting tuts is because the possibilities are too numerous or complex to fully document. The script you make is totally based on what you specifically want to happen. It's up to the one doing the scripting to decide what to do with the commands.
Last edited by MercuryNoodles on Sun Apr 13, 2008 12:29 pm, edited 1 time in total.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Campaign
Exactly, there are always more than one way to do exactly the same thing when programming. The standard game modes gives you an example of a 'campaign' map with one objective. Turning the map into a campaign, just meanings stringing a few modes together and changing the settings to only capture the flag once or only adding one CP to the conquest objective, etc.... The retail campaign maps will show you how to do this. I'm too busy to write up a better one.MercuryNoodles wrote:The reason there are little to none in the way of scripting tuts is because the possibilities are too numerous or complex to fully document. The script you make is totally based on what you specifically want to happen. It's up to the one doing the scripting to decide what to do with the commands.
"Scripts: A simple program in a utility language or an application's proprietary language."
Lua is a scripting programming language, meaning it is more meant to enhance another program or do short, simple tasks rather that writing full applications. Example: you wouldn't write Excel in Lua, but you might an Excel plug-in in Lua (of course, I don't think Excel supports Lua plug-ins, it would be more like VB scripts or macros). "Scripting" is just sort for saying programming in/with a scripting language. Its not tied to gaming, just used more in gaming then other areas.
