AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   biohazard sky texture auto download (https://forums.alliedmods.net/showthread.php?t=120304)

CryWolf 03-03-2010 04:01

biohazard sky texture auto download
 
Hy all, i whanna make biohazard to auto download the sky texture that has been entered in to the bh_skyname "" (for ppl who doesn't have texture) cvar i've tryed to look somehow in plugins like custom_sky to see how the sv_customskyname "" cvar does that but my every try has failure to do that,

I even try to look in to the zombie plague but i didn't understand nothing from these
Code:

// Preache custom sky files
                        formatex(linedata, charsmax(linedata), "gfx/env/%sbk.tga", key)
                        engfunc(EngFunc_PrecacheGeneric, linedata)
                        formatex(linedata, charsmax(linedata), "gfx/env/%sdn.tga", key)
                        engfunc(EngFunc_PrecacheGeneric, linedata)
                        formatex(linedata, charsmax(linedata), "gfx/env/%sft.tga", key)
                        engfunc(EngFunc_PrecacheGeneric, linedata)
                        formatex(linedata, charsmax(linedata), "gfx/env/%slf.tga", key)
                        engfunc(EngFunc_PrecacheGeneric, linedata)
                        formatex(linedata, charsmax(linedata), "gfx/env/%srt.tga", key)
                        engfunc(EngFunc_PrecacheGeneric, linedata)
                        formatex(linedata, charsmax(linedata), "gfx/env/%sup.tga", key)
                        engfunc(EngFunc_PrecacheGeneric, linedata)

If you know any litle help to make me understand would be appreciated

Regards


All times are GMT -4. The time now is 08:41.

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