Lua: CreateCEGEvent

Lua: CreateCEGEvent

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Lua: CreateCEGEvent

Post by Argh »

I would like a way to start a CEG, by name and location xyz, via a synced event in Lua.
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Lua: CreateCEGEvent

Post 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...
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Lua: CreateCEGEvent

Post by KDR_11k »

I'd prefer the ability to spawn a weapon projectile first...

Krogoth: Play SimBase.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Lua: CreateCEGEvent

Post 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.
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Lua: CreateCEGEvent

Post 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...
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Lua: CreateCEGEvent

Post by [Krogoth86] »

Thought so... :|
Post Reply

Return to “Feature Requests”