Page 1 of 1
Lua: CreateCEGEvent
Posted: 08 Jul 2008, 07:55
by Argh
I would like a way to start a CEG, by name and location xyz, via a synced event in Lua.
Re: Lua: CreateCEGEvent
Posted: 08 Jul 2008, 12:29
by [Krogoth86]
While talking about CEG spawning I'd like to have a possibility to spawn CEGs (most favorable via COB) that point towards an empty object. That would be very handy to add lots of FX to a unit/building which are about impossible to do now...
With that you could do all that stuff like some things spinning around a reactor spawning dynamic lightnings towards the middle or mutliple laser beams shooting into a prism or something and then the unit fires a bigger beam as a weapon...
This of course could be combined with what Argh asks for here so that you do a LUA call from the COB which passes the emission point and direction of the effect to the LUA function...
Re: Lua: CreateCEGEvent
Posted: 08 Jul 2008, 17:48
by KDR_11k
I'd prefer the ability to spawn a weapon projectile first...
Krogoth: Play SimBase.
Re: Lua: CreateCEGEvent
Posted: 08 Jul 2008, 19:18
by Argh
Weapon projectiles wouldn't be a bad thing, either, but I specifically want CEGs, for certain FX jobs, to avoid some yucky workarounds.
And yeah, it's perfectly possible to use CEGs with COB, and do the things described.
Re: Lua: CreateCEGEvent
Posted: 08 Jul 2008, 22:37
by [Krogoth86]
KDR_11k wrote:Krogoth: Play SimBase.
I saw nothing special in there when I checked it the last time...
Argh wrote:And yeah, it's perfectly possible to use CEGs with COB, and do the things described.
Then please tell me how to emit a FX from point A that will emit towards point B and I'm talking of something dynamic - not something like a muzzleflash that is "dynamic" as it always emits in front of the barrel and directed away from it but something dynamic where the object(s) move and the respective direction changes too...
You COULD fake some of those with rotating the emiting object but that only works in simple cases and is a lot of work. Just having something that principally works like an "emit from" and "emit towards" would be just nice...
Re: Lua: CreateCEGEvent
Posted: 12 Jul 2008, 14:49
by [Krogoth86]
Thought so...
