Change to Custom Explosion Generator: Teamcolour

Change to Custom Explosion Generator: Teamcolour

Requests for features in the spring code.

Moderator: Moderators

Post Reply
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Change to Custom Explosion Generator: Teamcolour

Post 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?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

+1.

teamcolour for weapons could be handy too.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

AF, your picture seems to be broken.

Flozi, is this beyond your coding ability to accomplish?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post 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.
Post Reply

Return to “Feature Requests”