AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Catching worldspawn keyvalues (https://forums.alliedmods.net/showthread.php?t=58394)

ts2do 07-25-2007 03:31

Catching worldspawn keyvalues
 
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.

VEN 07-25-2007 12:48

Re: Catching worldspawn keyvalues
 
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.

ts2do 07-25-2007 18:40

Re: Catching worldspawn keyvalues
 
Thanks for your input...
You can see it in action here:
http://forums.alliedmods.net/showthread.php?t=58327


All times are GMT -4. The time now is 21:29.

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