View Issue Details

IDProjectCategoryView StatusLast Update
0000299Spring engineGeneralpublic2007-04-04 22:22
Reporterrattle Assigned Totvo  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000299: [patch] Teamcolours flip randomly around when using s3o projectiles with team colours.
DescriptionSituation 1: two s3o units battling each other
When two units, using weapons with s3o models which have team colour on it, shoot each other the team colour parts on the projectiles switch randomly around to either one team colour or the other.

Situation 2: two 3do units battling each other and no other s3o belonging to a team are in the game
Instead of switching colours none are drawn at all.


The same happens when you are in first person mode to the unit model in the lower left. Team colours switch around regularly.
Additional InformationMod I've used is my own project. To reproduce this run spring with two s3o units and have them shoot s3o projectiles with team colour textures at each other. Happens in .72 and the current svn build. I included a missile model I made with team colour on the texture for testing purposes.
TagsNo tags attached.
Attached Files
deathhand.zip (Attachment missing)
WeaponTeamColourFix.diff (Attachment missing)
FPSTeamColourFix.diff (Attachment missing)
WeaponTeamColourFix2.diff (Attachment missing)
Checked infolog.txt for Errors

Activities

FLOZi

2007-03-21 17:54

reporter   ~0000804

Last edited: 2007-03-22 23:08

They shouldn't switch randomnly at all - they should all use team 0 colour according to the code.

Attached diff should fix situation 1 so that weapons use the teamcolour of their owner. Tested and it works for s3o. Not sure about 3do and situation 2.

Edit: Actually upon further testing it doesn't fix it. I'll take another look.

P3374H

2007-03-22 00:55

reporter   ~0000806

Similar oddities occur in FPS mode with s3os.

FLOZi

2007-03-22 03:54

reporter   ~0000808

Last edited: 2007-03-22 03:58

FPSTeamColourFix.diff is a (single line) patch to fix that too :) - atleast with s3os.
I haven't been able to replicate the issue with 3dos anyway, so hopefully they are not an issue.

FLOZi

2007-03-22 23:55

reporter   ~0000810

New patch WeaponTeamColourFix2.diff *does* fix it. The original patch (WeaponTeamColourFix.diff) can be ignored.

tvo

2007-04-04 22:22

reporter   ~0000863

Committed, r3544. It seems the one liner had already been committed (by ILMTitan?).

Issue History

Date Modified Username Field Change
2006-09-19 22:09 rattle New Issue
2006-09-19 22:09 rattle File Added: deathhand.zip
2007-03-21 17:54 FLOZi Note Added: 0000804
2007-03-21 17:55 FLOZi File Added: WeaponTeamColourFix.diff
2007-03-22 00:55 P3374H Note Added: 0000806
2007-03-22 03:54 FLOZi File Added: FPSTeamColourFix.diff
2007-03-22 03:54 FLOZi Note Added: 0000808
2007-03-22 03:55 FLOZi Note Edited: 0000808
2007-03-22 03:58 FLOZi Note Edited: 0000808
2007-03-22 23:08 FLOZi Note Edited: 0000804
2007-03-22 23:54 FLOZi File Added: WeaponTeamColourFix2.diff
2007-03-22 23:55 FLOZi Note Added: 0000810
2007-03-25 13:24 tvo Summary Teamcolours flip randomly around when using s3o projectiles with team colours. => [patch] Teamcolours flip randomly around when using s3o projectiles with team colours.
2007-04-04 22:21 tvo Status new => assigned
2007-04-04 22:21 tvo Assigned To => tvo
2007-04-04 22:22 tvo Status assigned => resolved
2007-04-04 22:22 tvo Resolution open => fixed
2007-04-04 22:22 tvo Note Added: 0000863