Page 1 of 1

Modifying brush geometry

Posted: Wed Sep 28, 2011 2:00 pm
by Eraser
Is it possible to change the size (scale) a brush from the game code (so without making engine modifications)? I doubt it's actually possible, but if anyone can tell me otherwise, let me know :)

Re: Modifying brush geometry

Posted: Wed Sep 28, 2011 7:31 pm
by themuffinman
I'd assume you'd need to do some changes in cm_load.c and/or tr_bsp.c, which obviously is compiled into the engine. But I'm relatively new to C programming so I might be wrong.

Re: Modifying brush geometry

Posted: Thu Sep 29, 2011 10:34 pm
by bludshot
I imagine not with structural brushes, but if you created func_walls like in urban terror then I would think maybe you could manipulate those, or if not, build various sizes of the same brush as func_walls and then in code you could select which one to display or something.

Re: Modifying brush geometry

Posted: Fri Sep 30, 2011 9:02 pm
by gooball :D
This was my idea! :P