Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/871 Item 871] imported from sourceforge.net tracker on 2013-01-28 18:38:45
Battlescape mission, alien mixed team spawned. Some are purple diamonds instead of proper models. Some debug:
#
Team 1 ended round, team 7's round started!
#
G_ClientMove()... number: 1, teamDesc 0, name Bloodspider Bloodspider, category(nameCat idx): 4, body: bloodspider
#
G_ClientMove()... entity 1 has armour
#
G_ClientMove()... number: 1, teamDesc 0, name Bloodspider Bloodspider, category(nameCat idx): 4, body: bloodspider
#
G_ClientMove()... entity 1 has armour
#
G_ClientMove()... number: 4, teamDesc 0, name Mnookk Sk Trevuk, category(nameCat idx): 1, body: body01
#
G_ClientMove()... entity 4 has armour
#
G_ClientMove()... number: 4, teamDesc 0, name Mnookk Sk Trevuk, category(nameCat idx): 1, body: body01
#
G_ClientMove()... entity 4 has armour
#
G_ClientMove()... number: 6, teamDesc 0, name Rniuk Mt Trekluk, category(nameCat idx): 0, body: body01
#
G_ClientMove()... entity 6 has armour
#
G_ClientMove()... number: 6, teamDesc 0, name Rniuk Mt Trekluk, category(nameCat idx): 0, body: body01
#
G_ClientMove()... entity 6 has armour
#
G_ClientMove()... number: 19, teamDesc 0, name Rniuk Np Zlrok, category(nameCat idx): 2, body: body01
#
G_ClientMove()... entity 19 has armour
#
G_ClientMove()... number: 19, teamDesc 0, name Rniuk Np Zlrok, category(nameCat idx): 2, body: body01
#
G_ClientMove()... entity 19 has armour
#
G_ClientMove()... number: 20, teamDesc 0, name Mnookk Np Zlrok, category(nameCat idx): 1, body: body01
#
G_ClientMove()... entity 20 has armour
#
G_ClientMove()... number: 20, teamDesc 0, name Mnookk Np Zlrok, category(nameCat idx): 1, body: body01
#
G_ClientMove()... entity 20 has armour
#
G_ClientMove()... number: 27, teamDesc 0, name Kronuk T Zruujk, category(nameCat idx): 0, body: body01
#
G_ClientMove()... entity 27 has armour
#
G_ClientMove()... number: 28, teamDesc 0, name Abtrenek Kkr Kraukk, category(nameCat idx): 0, body: body01
#
G_ClientMove()... entity 28 has armour
#
G_ClientMove()... number: 28, teamDesc 0, name Abtrenek Kkr Kraukk, category(nameCat idx): 0, body: body01
#
G_ClientMove()... entity 28 has armour
#
G_ClientMove()... number: 30, teamDesc 0, name Rniuk Uk Kronok, category(nameCat idx): 2, body: body01
#
G_ClientMove()... entity 30 has armour
#
Anim_Change: No md2 model - can't set animation (walk1) (model: (null))
#
Anim_Change: No md2 model - can't set animation (stand1) (model: (null))
#
Anim_Change: No md2 model - can't set animation (stand1) (model: (null))
#
Anim_Change: No md2 model - can't set animation (move_rifle) (model: (null))
#
Anim_Change: No md2 model - can't set animation (shoot_rifle) (model: (null))
#
G_ClientMove()... number: 33, teamDesc 0, name a c, category(nameCat idx): 5, body: body02
#
Anim_Change: No md2 model - can't set animation (move_rifle) (model: (null))
#
G_ClientMove()... number: 34, teamDesc 0, name b c, category(nameCat idx): 5, body: body01
#
Anim_Change: No md2 model - can't set animation (shoot_rifle) (model: (null))
#
Anim_Change: No md2 model - can't set animation (walk1) (model: (null))
#
G_ClientMove()... number: 36, teamDesc 0, name a c, category(nameCat idx): 5, body: body01
#
Anim_Change: No md2 model - can't set animation (stand1) (model: (null))
#
G_ClientMove()... number: 37, teamDesc 0, name b c, category(nameCat idx): 5, body: body01
#
Team 7 ended round, team 0's round started!
#
Team 0 ended round, team 1's round started!
As you see, two Shevaars has armour (category 2 is Shevaar) and indeed there were two purple diamonds. The debug output was produced by G_ClientMove() in g_client.c with following patch:
gi.bprintf(PRINT_HIGH, "G_ClientMove()... number: %i, teamDesc %i, name %s, category(nameCat idx): %i, body: %s\n", ent->number, ent->chr.teamDesc, ent->chr.name, ent->chr.category, ent->chr.body);
if (ent->chr.inv->c[gi.csi->idArmor])
gi.bprintf(PRINT_HIGH, "G_ClientMove()... entity %i has armour\n", ent->number);
===== Comments Ported from Sourceforge =====
====== voovoos (2007-08-08 12:00:09) ======
Logged In: YES
user_id=194458
Originator: YES
Most probably duplicates #1763256
====== voovoos (2007-08-08 15:04:19) ======
Logged In: YES
user_id=194458
Originator: YES
Real reason: teamDesc definitions are NOT assigned to aliens. no le->teamDesc at all
====== voovoos (2007-08-09 10:29:30) ======
Logged In: YES
user_id=194458
Originator: YES
Revision r10654 should fix this.