Page 1 of 1

Change to Custom Explosion Generator: Teamcolour

Posted: 03 Jul 2007, 11:51
by Warlord Zsinj
I'd really like to see what I think (read: hope) would be a very quick change to the custom explosion generator code.

Essentially, for my dubious purposes in SWS, I need to have the explosion generator be teamcoloured. In particular, those which use atlastextures.

This could be via a teamcolour tag or some other method of defining the color to be the teamcolour.

I could see other potential mods having use for this, such as Kernel Panic teamcolouring explosions, as well as teamcolouring custom nano beams (I'm aware you can teamcolour the standard ones), etc.

My particular use for this is to do something like this:

http://wormhole.tauniverse.com/spring/impflag.avi

That has been generated with the custom explosion generator, and has just been coloured blue, but would need to be coloured to the team colour to be of any use to us.

Can anyone be of assistance here?

Posted: 03 Jul 2007, 12:59
by AF
Image

I attempted a patch that added |tcr |tcg and |tcb constants to the colormap class. The problem was that if I was blue, my projectiles etc would be blue but so would my enemies. sfx lack a team colour value with which to pick out a colour. I abandoned my patch after this problem because I could envisage a small and asy patch turning into a huge complex piece of code that delved into many things I didnt know mcuh about, and systems of which I had no diea how they worked.

Posted: 03 Jul 2007, 16:30
by FLOZi
+1.

teamcolour for weapons could be handy too.

Posted: 04 Jul 2007, 09:46
by Warlord Zsinj
AF, your picture seems to be broken.

Flozi, is this beyond your coding ability to accomplish?

Posted: 04 Jul 2007, 11:32
by AF
I've had to move my severs. When the backups are fully restored so will the image.

If we could at least have the team value of the sfx or projectile this would go a long way. Its not very clear how it would be put there or how the entire system works because tis all locked up in CREG with zero documentation. Its nto even clear who to ask about for help.

Posted: 04 Jul 2007, 21:09
by FLOZi
Warlord Zsinj wrote:AF, your picture seems to be broken.

Flozi, is this beyond your coding ability to accomplish?
Probably not but it's a fair lump of work and sadly for the next month or so I won't have very much free time.