Raised This Month: $ Target: $400
 0% 

Solved How to recache spawn points?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-07-2024 , 22:36   Re: How to recache spawn points?
Reply With Quote #1

Ah, so I guess I was thinking of caching in the context of files. When I save pointers or other references in a variable, I don't think of it, instinctually, as "caching" (even though it can be described that way).

In Day of Defeat, we have properties of our spawn point entities that enable or disable them depending on an assigned control point master. Not sure if Counter-Strike 1.6 has something like that.
__________________

Last edited by fysiks; 02-07-2024 at 22:54.
fysiks is offline
damage220
Member
Join Date: Jul 2022
Location: Ukraine
Old 02-08-2024 , 13:13   Re: How to recache spawn points?
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
Ah, so I guess I was thinking of caching in the context of files. When I save pointers or other references in a variable, I don't think of it, instinctually, as "caching" (even though it can be described that way).

In Day of Defeat, we have properties of our spawn point entities that enable or disable them depending on an assigned control point master. Not sure if Counter-Strike 1.6 has something like that.
If there are more players than spawn points, it is not possible to join a team. So the engine either checks the number of spawn points for a team or set a property for an entity to assign a player to it. If the latter I wish I would have known the offset. That way I can assign a fake client to a spawn point to disable it. It seems I have to get the offset experimentally if there is any.
damage220 is online now
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode