Data Realms Fan Forums
http://45.55.195.193/

Scripting without LUA?
http://45.55.195.193/viewtopic.php?f=1&t=19290
Page 1 of 1

Author:  f4nt4sy [ Mon Jul 19, 2010 6:52 pm ]
Post subject:  Scripting without LUA?

Hey guys! I read about scripting simple Missions without LUA days ago. Is that true? If so, does somebody have a tut for that? Iam new in .ini coding and wanna do that nice n good before learning another Language and coding a mission with ini would be a great help.

Thankfull for every usefull post.

(if this is not possible, just close the topic)

Author:  Duh102 [ Mon Jul 19, 2010 7:02 pm ]
Post subject:  Re: Scripting without LUA?

Here's how ini and Lua work.

ini is the descriptive scripting of Cortex Command. It's how you describe new objects, terrains, actors, and so forth, based on set parameters.
Lua is the active scripting of Cortex Command. Using it you can give extra programming to objects and thin air, such as adding a timer to an explosive or spawn objects by absolute rather than relative coordinates.

Thus, if you want to make a mission, you have to know both. If you want to make a terrain fit for skirmish, you need only know ini.

Author:  f4nt4sy [ Mon Jul 19, 2010 7:10 pm ]
Post subject:  Re: Scripting without LUA?

Ah okay. Thanks for the quick reply. already assumed that but was uncertain because of that topic. All the LUA tuts are so confusing to me. Iam barely getting comfortable with ini. So i really have to learn this to, huh? Damn it. Doesnt even look like fun like ini did. Man i hate this world...

Thanks for Answer anyways =)

Author:  Geti [ Mon Jul 19, 2010 9:33 pm ]
Post subject:  Re: Scripting without LUA?

Lua is way more fun than .ini, you actually get (limited) control over what you're doing rather than just reshuffling dan's preconstructed classes.
You can learn lua from here, or by fiddling around with scripts in game (much the same way I learned .ini). You'll get a more complete view of the language if you hit up the documentation though.

However, if you're barely comfortable with .ini, it would serve you better to make some weapons and then actors before diving into a mission, which is the most complicated area for scripting.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/