Re: Spring on fire
Posted: 04 Jan 2010, 16:56
Does
not
need
engine
feature.
The
lua
already
exists
not
need
engine
feature.
The
lua
already
exists
Open Source Realtime Strategy Game Engine
https://springrts.com/phpbb/
Yeah that seems reasonable but all the other stuff this guy is asking for isn't.FLOZi wrote:But having the 'flammable' tag work across all features would be nice.
smoth wrote:Flozi posted the code long ago for this. It does not need to be an engine feature
smoth wrote:Does
not
need
engine
feature.
The
lua
already
exists
FLOZi wrote:FWIW, S44 has burning wrecks.
The code required is pretty minimal. At any rate - this is a mod side issue. Not something that needs to be added to the engine really, though support for features burning in the way that default trees do would be nice.
FLOZi wrote:The point is that tags should be generalised.
auto-ignited then?FLOZi wrote:But having the 'flammable' tag work across all features would be nice.
i ll try.Argh wrote:Just write some Lua:
If Feature destroyed and Weapon == flame-type then do flame behavior. I could probably write that in about an hour, with P.O.P.S. to perform the actual fire, tbh. I just don't use Features, so I'm not all that interested atm.
what am i asking for?i mean,that would solve my problem.smoth wrote:Yeah that seems reasonable but all the other stuff this guy is asking for isn't.FLOZi wrote:But having the 'flammable' tag work across all features would be nice.
they added ship propulsiond_b wrote:yeah srapop i agree with u 100% except that wz2100 gfx are superior to springs and its actually a finished game. Its under "developement" but thats because the source was released and a bunch of noobs are hacking at it a bit (well thats not fair but not much has happened and projects seems to be dwindling).
d_b wrote:ZOMG THEY ADD SHIP PROPULSION?
THIS IS THE BEST DAY OF MY LIFE. THANK YOU GOD THANK YOU SRAPOP THANK YOU JEBUS!!!
sorry just got back from 72 hours of straight playing wz2100srapop wrote:d_b wrote:ZOMG THEY ADD SHIP PROPULSION?
THIS IS THE BEST DAY OF MY LIFE. THANK YOU GOD THANK YOU SRAPOP THANK YOU JEBUS!!!![]()
did you try it out?
d_b wrote:sorry just got back from 72 hours of straight playing wz2100srapop wrote:d_b wrote:ZOMG THEY ADD SHIP PROPULSION?
THIS IS THE BEST DAY OF MY LIFE. THANK YOU GOD THANK YOU SRAPOP THANK YOU JEBUS!!!![]()
did you try it out?
<yeah>PicassoCT wrote:oh, home sweet home
WRONGsrapop wrote:generalising the "flammable" tag instead of writing lua feels somehow like the "better" way to handle fire.
please tell me if i m wrong.
http://www.youtube.com/watch?v=pSZh8PTeMPsbobthedinosaur wrote:you dont even need a lua you can do it via cob and emit-sfx
if it is flamable make it detect the flame weapons via weapon id, and then emit some fire/smoke.