Talk:Func respawnroom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
- Can anyone describe the purpose of this entity? Does it negate the need for spawnpoints or the func_changeclass? -Hovis
Can anyone describe the purpose of this entity? Does it negate the need for spawnpoints or the func_changeclass?
        - Ok, at a minimum it seems to be needed to use the func_respawnvisualizer.  Anyone know if it does more than this? -Hovis
Ok, at a minimum it seems to be needed to use the func_respawnvisualizer.  Anyone know if it does more than this? -Hovis
:It is used to designate the area of a respawn room. It does not negate the need for spawnpoints. A func_respawnroom also works as a func_changeclass. The respawn room visualizer is that red no entry texture you can see when you try to enter the other team's respawn room. Also see: [[Creating a Spawnroom]] --[[User:Baliame|Baliame]] 09:40, 29 Nov 2007 (PST)
 
== info_player_teamspawn are working for both teams ==
The entity [[info_player_teamspawn]] has '''round_redspawn round_bluspawn''' and '''controlpoint''' keyvalues.
* Set the round_TEAMspawn to the appropriate [[func_respawnroom]].
* Add [[team_control_point_round]] to use for '''controlpoint'''.
 
This can be tested by adding bots to the game. If both teams spawn together and open fire, this is the issue.
--[[User:Ninjaofsauce|Ninjaofsauce]] ([[User talk:Ninjaofsauce|talk]]) 23:52, 24 January 2021 (PST)
 
 
== TF2 BOT NAVIGATION ==
The [[func_respawnroom]] is used in navigation process for TF2 bots ( '''tf_bot_add # ''' (# of bots)). It is used in determining distance and waypointing, particularly relating to spawnrooms. They also presume [[info_player_teamspawn]] points are within the func_respawnroom volume.
 
When playtesting a custom map with bots, I noticed the following error in the console:
::<small>|Can't compute incursion distances from the Blue spawn room(s). Bots will perform poorly. This is caused by either a missing '''func_respawnroom''', or missing '''info_player_teamspawn''' entities within the '''func_respawnroom'''."</small>
--[[User:Ninjaofsauce|Ninjaofsauce]] ([[User talk:Ninjaofsauce|talk]]) 23:52, 24 January 2021 (PST)

Latest revision as of 00:52, 25 January 2021

Can anyone describe the purpose of this entity? Does it negate the need for spawnpoints or the func_changeclass? Ok, at a minimum it seems to be needed to use the func_respawnvisualizer. Anyone know if it does more than this? -Hovis

It is used to designate the area of a respawn room. It does not negate the need for spawnpoints. A func_respawnroom also works as a func_changeclass. The respawn room visualizer is that red no entry texture you can see when you try to enter the other team's respawn room. Also see: Creating a Spawnroom --Baliame 09:40, 29 Nov 2007 (PST)

info_player_teamspawn are working for both teams

The entity info_player_teamspawn has round_redspawn round_bluspawn and controlpoint keyvalues.

This can be tested by adding bots to the game. If both teams spawn together and open fire, this is the issue. --Ninjaofsauce (talk) 23:52, 24 January 2021 (PST)


TF2 BOT NAVIGATION

The func_respawnroom is used in navigation process for TF2 bots ( tf_bot_add # (# of bots)). It is used in determining distance and waypointing, particularly relating to spawnrooms. They also presume info_player_teamspawn points are within the func_respawnroom volume.

When playtesting a custom map with bots, I noticed the following error in the console:

|Can't compute incursion distances from the Blue spawn room(s). Bots will perform poorly. This is caused by either a missing func_respawnroom, or missing info_player_teamspawn entities within the func_respawnroom."

--Ninjaofsauce (talk) 23:52, 24 January 2021 (PST)