Raised This Month: $ Target: $400
 0% 

Catching worldspawn keyvalues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ts2do
Senior Member
Join Date: Mar 2004
Old 07-25-2007 , 03:31   Catching worldspawn keyvalues
Reply With Quote #1

Does anyone know if it's possible to capture worldspawn keyvalues using FM_KeyValue? Currently I'm using plugin_precache to register the callback, and it seems to be too late.
__________________
ts2do is offline
Send a message via AIM to ts2do
VEN
Veteran Member
Join Date: Jan 2005
Old 07-25-2007 , 12:48   Re: Catching worldspawn keyvalues
Reply With Quote #2

Not possible.

If you want to get worldspawn map default KVDs you can parse bsp entities data: http://forums.alliedmods.net/showthread.php?t=51628

If you want to fire worldspawn KVDs do it in its pre Spawn. Already existing KVDs should be overwritten without any problems.

EDIT:

Note that clients doesn't obey serverside "wad" KVD. They read it from their clientside *.bsp.

Last edited by VEN; 07-25-2007 at 12:54.
VEN is offline
ts2do
Senior Member
Join Date: Mar 2004
Old 07-25-2007 , 18:40   Re: Catching worldspawn keyvalues
Reply With Quote #3

Thanks for your input...
You can see it in action here:
http://forums.alliedmods.net/showthread.php?t=58327
__________________
ts2do is offline
Send a message via AIM to ts2do
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 21:29.


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