Raised This Month: $ Target: $400
 0% 

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: NeoTheDev
Forum: Scripting 03-19-2022, 07:59
Replies: 4
Views: 746
Posted By NeoTheDev
Re: Disable collision on func_brush in map

https://forums.alliedmods.net/showpost.php?p=2638658&postcount=65

Maybe this is what you need? This method can be used to create "fake walls" using a prop and not rendering its model.
Forum: Scripting 03-19-2022, 07:54
Replies: 4
Views: 746
Posted By NeoTheDev
Re: Disable collision on func_brush in map

In my case the clip brush was part of the map itself and not generated with code. So in hammer the brush was added with clip texture and then my plugin would enable/disable it depending on the needs.
Forum: Scripting 03-19-2022, 05:27
Replies: 4
Views: 746
Posted By NeoTheDev
Re: Disable collision on func_brush in map

Solved it myself using AcceptEntityInput(index,"Disable"), working example:


char brush_name[32];
int index = -1;
while ((index = FindEntityByClassname(index, "func_brush")) != -1) {...
Forum: Scripting 03-19-2022, 04:44
Replies: 4
Views: 746
Posted By NeoTheDev
Disable collision on func_brush in map

I have a map with a func_brush with clip texture that blocks player movement but I want to be able to disable it on demand using code in my sourcemod plugin.

I have tried changing render/solid...
Forum: Scripting 03-01-2022, 11:53
Replies: 4
Views: 855
Posted By NeoTheDev
Re: [CSGO] Problems spawning a knife with skin in world

I will check it out and study the sourcecode but all plugins I have seen so far gives the skin directly to a player and never creates it as an entity that can be spawn on the ground and be picked-up...
Forum: Scripting 03-01-2022, 01:20
Replies: 4
Views: 855
Posted By NeoTheDev
Re: [CSGO] Problems spawning a knife with skin in world

Same results after setting props after a small delay. I was doubting this would work since the code works fine with other entities like weapon_awp but at this point I'm willing to try anything :P
Forum: Scripting 02-28-2022, 01:21
Replies: 4
Views: 855
Posted By NeoTheDev
[CSGO] Problems spawning a knife with skin in world

I'm trying to use CreateEntityByName to create a butterfly knife (or any knife really) but I can't seem to get it working properly. It works fine for any other weapon except knives. I'm trying to...
Showing results 1 to 7 of 7

 
Forum Jump

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


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