Raised This Month: $51 Target: $400
 12% 

Func_Brush


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
delachambre
AlliedModders Donor
Join Date: Jan 2011
Location: France
Old 01-13-2013 , 06:05   Func_Brush
Reply With Quote #1

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 !
__________________
♥ 𝕊ℙ𝕒𝕨𝕟 𝔻𝕖𝕧𝕖𝕝𝕠𝕡𝕖𝕣 [ℂ𝕊:𝕊] ♥

Clan-Nemesis
delachambre is offline
zoukie
Junior Member
Join Date: Jul 2012
Old 01-13-2013 , 06:17   Re: Func_Brush
Reply With Quote #2

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.

Last edited by zoukie; 01-13-2013 at 06:27.
zoukie is offline
delachambre
AlliedModders Donor
Join Date: Jan 2011
Location: France
Old 01-13-2013 , 12:10   Re: Func_Brush
Reply With Quote #3

Solved.
delachambre is offline
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 02:17.


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