Page 2 of 2
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 04:01
by FLOZi
The problem is that it can be hard to follow the thread from a unit to a particular CEG texture (or vice versa) especially if by way of a weapon.
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 04:04
by smoth
but units may share weapon defs. Why should the unit have to do with the weapon ceg? Inbefore unit has weapon cegs in them, you and I both know that isn't really a requirement anymore.
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 04:06
by FLOZi
Again missing the point...
You edit a poorly named texture you know is used in a CEG. How do you know what other CEG / Weapons / Units this single change will affect without looking through everything, even using grep its a multi-step process.
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 04:50
by smoth
1: why are you editing an existing texture?
2: how is it so hard to do a quick find in files?
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 05:40
by FLOZi
1. To change a particular effect that uses it
2. As I said it will require multiple steps e.g. find the texture name, then find the ceg name, then find the weapon name
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 06:20
by smoth
FLOZi wrote:1. To change a particular effect that uses it
Do like I did, make new sprite, then change the reference in your desired ceg
FLOZi wrote:2. As I said it will require multiple steps e.g. find the texture name, then find the ceg name, then find the weapon name
If you are trying to find out what ceg uses the sprite? No, it takes a find in files, I do it all the time
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 06:37
by FLOZi
No, if you are trying to find which UNIT uses the Sprite...
Argument is going in circles, reread knorkes posts. Tbh not even sure if I am following the same argument as knorke now
My last post on the matter.
^ still true if I edit this in here:
knorke wants individual sprites per ceg, I think that is silly bloat.
I really don't read it like that; rather simply a lament that people choose terrible names without schema (because most just copy paste from others when they see something they like

)
Re: How to make your own CEG effects, the EASY way! :-)
Posted: 01 Jan 2014, 06:40
by smoth
knorke wrote:Super annoying if you wanted to change the look of one effect but suddenly another effect also looks different because you have no more idea where that "fire2.png" texture is used. Or do not even remember what other weapon might use the same effect.
That is why it sucks to have a "sparkle.png" used by effect "highexplosiveMed" in file "heimpact.lua" used by weapon "gun" of unit "heavytank".
knorke wants individual sprites per ceg, I think that is silly bloat.
knorke wrote:Or if you have the same explosion in 5 color variants and want to change their size and you have edit 5 different places then that is bad too.
He argues for more of a sort of generated ceg for different sized explosions, I think that isn't always the best and I think that just changing colors in the ceg settings is not good enough for different colored cegs because of the advantage of using a colored sprite as a base.
We all have different ways of doing effects and I don't feel his is the only way or the right way of doing things.
if you want my opinion, and you likely don't, because what the hell would I know about anything right Knorke? Here are my thoughts!
1: do an intermediary parser to allow people to build a proper color table instead of the long retarded string we have now.
2: build into your parser support for table insertion so you can do stuff like different colored dirt based on the map.
3: the ceg format is terrible for varients, to do so would require further data massaging and custom building into the prior mentioned parser.
4: the people needed a thread like this would have too hard a time understanding CEGS to even bother writing something to generate the variant code knorke has suggested. If they were that advance, the wiki is all they need.
I dunno, we all have opinions and I am REALLY stuggling not to come off like an appeal to authority here but I used to spend tons of time doing those things and I think the whole discussion is a bunch of OH BUT YOU SHOULD ALWAYS USE 2 SPACE NOT 4 FOR YOUR TABS level of silly structure dictating nonsense