Game Development Community

RTS Portraits in Selection Display

by Syntactical Engineering · in RTS Starter Kit · 05/29/2006 (1:22 pm) · 3 replies

Hi all!! I am just starting to get my feet wet with the RTS starter kit, and I noticed something wrong when playing a multiplayer game. On the machine that is hosting the game, the selected units display the correct portrait for the unit in the selection GUI window, no matter how many units selected. However, on the connected client machine, no matter what unit is selected, it shows the bot portrait in the selection GUI window. It does not show the correct health either. If there are multiple units selected. It shows the bot portrait for all of them with the count as 1 and the health as 1. Does anyone have any ideas about this. I have looked at the scripts. But I am a little baffled at the moment. It doesnt make sense why it would work on the hosting machine and not on the connected client machine. the code is the same in the playGUI.cs file. Any help would be greatly appreciated.

Thanks,

xdevdogx

#1
05/30/2006 (5:48 pm)
I think that if a unit doesnt have a portrait it displays the bot portrait, not totally sure though.
#2
06/01/2006 (8:03 am)
Its in the C++ I beleive...

Im working on fixing these kinda bugs... ;)
#3
06/04/2006 (10:57 am)
I have found this resource that fixes the problem.....seems to work good so far. I will let you all know if I find anything else.

http://www.garagegames.com/mg/forums/result.thread.php?qt=23223