CoD4x_Server icon indicating copy to clipboard operation
CoD4x_Server copied to clipboard

brush

Open k4r3l01 opened this issue 7 years ago • 3 comments

Its will be possible to make brush or something solid blockade for fixing bugs on custom maps via gsc scripting

k4r3l01 avatar Mar 03 '18 20:03 k4r3l01

Brush must exist on both server and client to prevent desync (small flickering when you stand on top of it - client thinks there's nothing here when server blocks movement). So it requires massive client patch including server-to-client brush position update (like using configstrings).

Right now you can use cloneBrushmodelToScriptmodel script function with bombsite entity - the most known script_brushmodel which exist on most of custom maps.

https://www.youtube.com/watch?v=efp6wbwbdPo

T-Maxxx avatar Mar 03 '18 20:03 T-Maxxx

i know about spawn trigger_radius that works to be solid by setcontents(1) but its circle :( i need block with custom dimensions :(

k4r3l01 avatar Mar 03 '18 21:03 k4r3l01

Sorry, but adding a collideable brush will require massive hooks to internal map storage (where lumps are located) from both server and client. I guess, only guys from aIWNet team knows how to achieve that.

T-Maxxx avatar Mar 30 '18 22:03 T-Maxxx