AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Brush Entities (https://forums.alliedmods.net/showthread.php?t=99390)

Drak 08-04-2009 17:30

Brush Entities
 
If you have ever used EntMod. You are capable of copying brush-based ents.
I'm assuming this is completely possible in AMXX. But I've had no luck. I return the size/origin/model of a func_wall and make another. But with no luck. Nothing appears. Any ideas?

ConnorMcLeod 08-04-2009 17:35

Re: Brush Entities
 
Use mins/maxs/size/absmin/absmax, origin if non-zero, model if not a map model, aka the first char of model is not '*'.

Alka 08-05-2009 05:39

Re: Brush Entities
 
I just made this a while ago, you must make it with KeyValues, store original ent keyvalues then set them on Copy, also the origin is based on map center so you must make something like Origin[] -= (Min[] + Max[]) / 2


All times are GMT -4. The time now is 18:27.

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