CEG's got me beat - Page 4

CEG's got me beat

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

I have no idea what anyone is talking about.

Give me pictures and/or working images to plug into the game for me to begin considering this. Otherwise, I will continue with what I'm working on.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

Been working on custom exhaust for the missiles of CT. But, of course, I've noticed some of the exhaust flares actually engulf the missile itself.

Where do these CEGs spawn from? The center of the projectile model? Should I specify some point on the model that the engine recognizes? Or is there some script-fu for this?

Or am I just screwed?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

on different weapons it spawns from different places. Fail I know, but whatever

so set the object origin in upspring on the model

On some of mine I had to set origin on the front of the missile, some of them on the rear, and I thinkit was torpedos I had to put it way off of the projectile

also
it is different between guided missiles and unguided missiles, and also different for vtol missiles
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

Hmm, yes, I played with this and got things to a tolerable level, but I noticed if I put the origin in front of the model, this very tiny little dot of light would appear. Weird.

Got things satisfactory though. Made a smoketrail for CT, and pondering what my next CT candy should be :twisted:
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

How in the world do you use the dir tag?

Does it use x, y, z? What unit does it measure in?

Why does it stretch things if I put in larger numbers?

How do I get it to just point straight up for my weapon impacts?
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: CEG's got me beat

Post by Hoi »

If it grows a lot if you put in large numbers and the tag is called dir, the logical conclusion would be that this tag controls the growth of the CEG somehow. Not sure though, there should be a wiki article about CEGs somewhere I think.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

The logical conclusion is that sizeGrowth controls the growth of the CEG, and that dir, which is described, within the wiki, as:

"The CEG will be called with this direction"

should not control the size of it.

I have looked over the CEG parts of the wiki to at least the degree where I'm somewhat familiar with them. It is my opinion that it needs more actual examples with pictures showing what exactly each tag does, but that is for another (doomed) discussion.

I'm just calling out the fact that what I'm seeing, and what the wiki says, aren't exactly lining up or making a ton of sense. Wanting some clarification from those who are way more familiar with the CEGs.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: CEG's got me beat

Post by FLOZi »

CEG's is one area I'm not overly familiar with, but my guess would be that dir is a vector, which is not normalised (i.e. the engine does not resize it to have a length of 1) so if you put in large values, your ceg is stretched along the direction vector to reach it's full length. (Length of course being calculated via basic Pythagorean theorem in 3d)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

Dir does not change ceg size.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: CEG's got me beat

Post by PicassoCT »

Just asking in thread that still is warm...


if i want one single ceg, always facing into the players direction, playing a 5 Seconds long movie... is that possible?

I want for the hedgehog, to shit miniature universes, from bigbang to galaxys in 5 expanding seconds, and it would be cool, if cegs could do that.. just one at the explosion, scaled up, with a 5 sec gif..
Last edited by PicassoCT on 08 May 2011, 17:32, edited 1 time in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: CEG's got me beat

Post by smoth »

Possibly but the way to do it would be sloppy use lua for that sort of thing. CEG is for explosions and particle effects it is ill-suited for that level of animated billboard
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: CEG's got me beat

Post by PicassoCT »

understood
Post Reply

Return to “Art & Modelling”