Modifying brush geometry

Locked
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Modifying brush geometry

Post 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 :)
themuffinman
Posts: 384
Joined: Fri Mar 05, 2010 5:29 pm

Re: Modifying brush geometry

Post 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.
bludshot
Posts: 65
Joined: Thu Nov 26, 2009 6:14 am

Re: Modifying brush geometry

Post 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.
gooball :D
Posts: 71
Joined: Wed Oct 27, 2010 10:27 am

Re: Modifying brush geometry

Post by gooball :D »

This was my idea! :P
My Website:
[url=http://goostudios.weebly.com/][img]http://img839.imageshack.us/img839/2671/bg3t.png[/img][/url]
Locked