/-/S'pht-Translator-Active/-/


Re: Marathon Script Writing
Posted By: PerseusSpartacusDate: 12/31/13 5:31 p.m.

In Response To: Marathon Script Writing (MrM12LRV)

: I'm interested in writing lua scripts for Marathon. I'm just not sure of all
: the functions I have available, or how things are connected. I was looking
: at scripts made by others, but are there any tutorials available or
: helpful hints?

With any Aleph One download there should be a folder called 'Documentation'. Inside are three files: one is called "Lua_HUD.html", the next is "Lua.html", and the last is "MML.html". These document the language and parameters of, respectively Lua HUD scripts, regular Lua scripts, and MML scripts. These should all be quite valuable.

MML is probably the simplest one of the three to grasp, and it still allows you to do lots of things; in particular, it allows you to temporarily alter the coding of the game. Regular Lua scripts are harder to understand, but they are likewise very dynamic, as they allow you to do lots of in-game actions, such as spawning monsters, playing sounds, and I believe even changing polygon heights, all of which are generally combined to create level-unique scripting (just split open the Phoenix map file and you'll see what I mean) or unique game types (such as Survival.lua).

Vale,
Perseus

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

Replies:

Marathon Script WritingMrM12LRV 12/31/13 3:17 p.m.
     Re: Marathon Script WritingPerseusSpartacus 12/31/13 5:31 p.m.
           Re: Marathon Script WritingMrM12LRV 1/1/14 8:24 p.m.
                 You're Welcome! ;) *NM*PerseusSpartacus 1/1/14 8:31 p.m.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

 

 

Your Name:
Your E-Mail Address:
Subject:
Message:

If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:
Optional Link Title:

If necessary, enter your password below:

Password:

 

 

Problems? Suggestions? Comments? Email maintainer@bungie.org

Marathon's Story Forum is maintained with WebBBS 5.12.