Lua metal spot placer

Spring EngineLua Scripts

3.3
55
948 (0 today)
No votes yet

File Information

Title / Version Lua metal spot placer 3.3
License Freeware / Free
Filename metalplacerv3_3integrated.lua
Filesize 12.33 KB
Date 01/30/2011 - 22:52
Publisher / Author cheesecan (Uploaded by cheesecan)
Keywords

Description

Widget that provides dynamic placement of metal spots based on metal map.

 

--------------------------------------------------------------------------------

--

--  file:    ..

--  brief:   Lua metal spots for *A mods. Credits to Niobium for metal finder. Place a .lmf file in map archive to enable support.

--

--  usage: 

-- Step 1. Create a [mapname].lmf file in [mapname].sd7/maps/. The first line should be a relative path inside the spring directory in which to search for metal textures in. 

-- The last three lines indicate rgb tint in the range of 0.0 to 1.0, and must be present.  

-- Example .lmf file:

--

-- line 1: ./maps/textures/

-- line 2: 1.0

-- line 3: 1.0

-- line 4: 1.0

--

-- Step 2. Create a /textures/ folder in the archive and place metal spot textures there. In the example above they should be named "metal_high.png", "metal_medhigh.png", "metal_med.png", "metal_low.png".

--

--

-- Changelog:

-- v3.3

-- * fixed issues with archive loading

-- v3.2

-- * fixed drawing on sloped terrain

-- * randomness and multiple textures is broken

--

-- v3.1

-- * fixed depth testing issue

--

-- v3

-- * changed to Niobium metal finder with mass metal detection.

--

-- v2

-- * added display lists

-- * added loading metal maps from file

--

--

--  author:  Jahziah Wagner

--

--  Copyright (C) 2010.

--  Licensed under the terms of the LGPL

Post new comment

 
By submitting this form, you accept the Mollom privacy policy.
To prevent automated spam submissions leave this field empty.