![]() |
![]() |
HeavyDelta |
![]()
Post
#1
|
Member ![]() ![]() Group: Members Posts: 12 Joined: 23-October 06 Member No.: 909 ![]() |
Although the bots spawn fine in HL2DM. There's a small problem with CSS. They join the game, join teams, yet remain dead on the scoreboard and don't physically spawn in the game.
I think this is probably due to changes over time in CSS's spawning code. Is there anything I need to add here? perhaps code to select model/skin as well as team?: CODE void CCSSBot :: startGame () { // do whatever is necessary here to join the game... IPlayerInfo* pInfo = playerinfomanager->GetPlayerInfo(m_pEdict); pInfo->ChangeTeam(RandomInt(2,3)); } Also, why is the code "RandomInt(2,3)"? (I'm assuming this randomly picks either 2 or 3) I thought teams were 1=T, 2=CT, 5=autoselect. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 22nd August 2025 - 03:09 PM |