Rain... anyone know enough LUA to do it?

Rain... anyone know enough LUA to do it?

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

Moderator: Moderators

User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Rain... anyone know enough LUA to do it?

Post by aGorm »

To save resing an old thread and to make this more prominent...

Can anybody create a rain shader in LUA? Please?

trepan has allready created a grovy snow shader thing in LUA, however, nothing I can do with it would be able to generate passable rain. It could easily be adjusted however by someone that understands how to program LUA... its just I'm not that person.

Does anyone feel up to using it? It will definatly be used if you do, and would let use do other cool stuff liek acid rain on acid worlds...

Anyway heres a link to the snow one:
http://spring.clan-sy.com/phpbb/viewtop ... 4&start=40

If no one wants to do it then I'll just have to leave it out...

aGorm
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

It requires as much knowledge of GL and GLSL
shaders as it does of lua and the Spring lua interface.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Does that mean your the only one that can pull it off?? :( I didn't want to be stuck badgering you cause you have more important stuff to do!

aGorm
Archangel of Death
Posts: 854
Joined: 28 Jan 2005, 18:15

Post by Archangel of Death »

Maybe if you offer up a bribe of your super sekrit tree map to test it on (cause we all know thats what you want it for) another capable person, or at least close to capable and thus able to quickly learn, will wiggle out of the woodwork.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

aGorm:
No, I don't mean that I'm the only one that can pull it off.
I was clarifying the requirements for anyone who wanted
to take a crack at it. The GL and GLSL specs are free to
download at opengl.org ;-)
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

:-) Well if there is anyone then yes they can of course have a sneek peek at the map befor i release it.

aGorm
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Post by Satirik »

no rain ! who the hell want to see rain in game ? rain is pissing us enough in the real world !
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

I'd suggest looking at the snow thing if it was released. Rain isn't much different.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Take it you didn't read my most or click the link... :P

aGorm
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

read my most, heh...

Yeah, rain ingame would be pretty sweet...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

imo your tree map wouldnt benefit from rain and it could be argued that the rain would be a gimmick. Great for screenshots, bad for gameplay.

I think trees that blow in the wind and other movement effects in the forest trees would be much much better.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

yeah wind would be good! Maybe rain as an area effect.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

aGorm wrote:Take it you didn't read my most or click the link... :P

aGorm
lol no, only the bits in the beginning while rapidly scrolling down... :P
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

I'll take a look at it in a few days if nobody else pops up for the task, but I make no promises.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Post by Satirik »

i didn't :) acid rain could be cool =)
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Post by Pendrokar »

Satirik wrote:i didn't :) acid rain could be cool =)
Like a mobile cloud? HMM
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

I dunno AF; the weather effects in the Total War series really set the mood in the game. THey were also able to affect the gameplay, which could be an interesting element in itself (tank units get bogged down in the rain while walking units don't, units become more inaccurate, etc.

That being said, I'd much rather aGorm spent his time texturing, so no, no rain! ;)
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

I was thinking about this the other day, and I think it's not such a good idea if this is hooked to a bit of LUA on a single mappers map.

I think it would be far better if there were a generalised weather system using LUA in Spring, so that any mapper can utilise (or not) the weather system as they want, tweaking weather values to get the effect they are after.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Either way, it's still pretty far down my list.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Any mapper could put the rain in tehre map, its just in a folder called LUAGaia
(or somthing I have no PC right now, my laptop is bust, my pc is bust... and i have no time to reinstall things cause my mates getting marrid next weekend... crazy times)

And you can twek valuse to your hearts content to make it spcific to your map. Only reason I wanted it is because the tree map is SUCH a good glam shot map, it would be nice if it showcased the most advanced effects. I was contempolating releasing a version without rain as well.

aGorm
Post Reply

Return to “Lua Scripts”