Difference between revisions of "LVZ Scripting"

From ASSS Wiki
Jump to: navigation, search
(initial page. i'll finish it later cos someone wants my attention.)
 
(Files: completed this subsection)
Line 20: Line 20:
 
== Files ==
 
== Files ==
 
You can add files such as graphics or sounds using mutliple File keys.
 
You can add files such as graphics or sounds using mutliple File keys.
 +
 +
Sound files must be wave files, acceptable extensions are .wa2 and .wav. It is a good idea to reduce the quality of the sound to reduce file size. However 4bit wave files do not work with Continuum.
 +
 +
Acceptable image formats are bitmap (.bm2 and .bmp), jpeg, gif and png. Note only the first frame of animated .gif's can be seen in game. It is recommended to use .png format together with [http://pmt.sourceforge.net/pngcrush/ Pngcrush] to cut down on file size.
 
<pre>
 
<pre>
File=somefile.ext
+
File=Commands.hlp
 +
File=ships.png
 +
File=victoryl.wav
 
</pre>
 
</pre>
  
 
[[Category: Tutorial]]
 
[[Category: Tutorial]]

Revision as of 10:48, 12 January 2005

LVZ scripts are used to generate .lvz files.

Layout

The general layout of a LVZ script is as follows:

;"arena name" date

OutFile=some.lvz

; files

[objectimages]

[mapobjects]

[screenobjects]


Files

You can add files such as graphics or sounds using mutliple File keys.

Sound files must be wave files, acceptable extensions are .wa2 and .wav. It is a good idea to reduce the quality of the sound to reduce file size. However 4bit wave files do not work with Continuum.

Acceptable image formats are bitmap (.bm2 and .bmp), jpeg, gif and png. Note only the first frame of animated .gif's can be seen in game. It is recommended to use .png format together with Pngcrush to cut down on file size.

File=Commands.hlp
File=ships.png
File=victoryl.wav