AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Func_Brush (https://forums.alliedmods.net/showthread.php?t=205659)

delachambre 01-13-2013 06:05

Func_Brush
 
Hello,

The map rp_riverside_b4 have a Func_Brush (Name : night_skybox)
It surrounds a 3d skybox

It's possible to disable it (func_brush) for see the 3D skybox ?

I have try to use

Code:

new maxent = GetMaxEntities(), String:szClass[65], String:Name[200];
       
        for (new i = MaxClients; i <= maxent; i++)
    {
                if(IsValidEdict(i) && IsValidEntity(i))
                {
                    if(StrEqual("func_brush", szClass))
                        {
                                Entity_GetName(i, Name, sizeof(Name));
                               
                                if (StrEqual(Name, "night_skybox"))
                                {
                                        PrintToChatAll("func_brush night_skybox Disable.");
                                        AcceptEntityInput(i, "Disable");
                                       
                                }
                        }
                  }
        }

but nothing happened ....

Thanks in advance !

zoukie 01-13-2013 06:17

Re: Func_Brush
 
I'm in Delachambre team since this morning I shearch with him, and I am on hammer and him he was coding.
in the map rp_riverside_b4 there is a skybox 3d in this skybox, there are no buildings to the scenery, but 4 blocks func_brush with night textures above.
In game we do not the night textures, func_brush is supposed to produce, how to enable this func_brush? thank you in advance.

delachambre 01-13-2013 12:10

Re: Func_Brush
 
Solved.


All times are GMT -4. The time now is 12:53.

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