Lua Generated Corrosion - A Request For Aid

Lua Generated Corrosion - A Request For Aid

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Lua Generated Corrosion - A Request For Aid

Post by Neddie »

My apologies, I intended to make this LUA script myself, but I've been unable to make the time for it and won't be able to both make it and use it in the time frame I have left before I return to campus.

Anyway, I was planning a LUA script that generates smoke, bubbles and froth as well as the sound of rapid chemical burning when a unit makes contact with water on a map that uses this script. I'm working on a map with a sea of corrosive fluid which spun off from a map suggestion by AF, but both he and I felt it would be better if there was some sort of visual and audible warning that your units were suffering damage from the fluid.

Essentially, the LUA would reference the map SMD to get the colour of the surface water as defined therein, then generate a variable array of bursting bubbles and froth with shades varying a few degrees brighter than the water. The smoke would rise in tendrils from the unit with a darker colour than that of the water, accompanied by the sound of scorching material for as long as contact continued. When the unit broke contact the smoke would persist centered on the unit for between one and four second, then cease generation.

Anyway, I don't have the time or the skill to do this - I'm currently beating my head against a number of other things. If somebody could help me out and create it, I would be in his or her debt and willing to write an article or make a map in exchange.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Did I mention that you could use this on a lot of different potential maps?
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Post by TheFatController »

neddiedrow wrote:Did I mention that you could use this on a lot of different potential maps?
http://spring.unknown-files.net/file/24 ... c_Park_v2/

If someone makes an effect (bubbling green, steam etc) i'll write the lua for this map and re-release it.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

would also be good for lava maps
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post by jK »

i am already working on a lua particle system atm.
So when i programmed a nice interface for it (which doesn't crash :cry:), you can use it with luaGaia
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

I would release an Acid Redux Vesion 3 if this came out... made of win.

Twod be realy usfull if it could also just generate teh particles anyway as units ennter the water... and better still if it could afect the dinamic water effects so it gets real ripples.

aGorm
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

foothill basin would also receive love.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

jK wrote:i am already working on a lua particle system atm.
So when i programmed a nice interface for it (which doesn't crash :cry:), you can use it with luaGaia
Thanks, jK. Hopefully this will handle what we seem to need.

By the by, what times are you on to play Balanced Annihilation these days? I need to catch a few games with you sometime, I've forgotten how you, among some others, play.
Post Reply

Return to “Lua Scripts”