caen glitch


(macbeth) #1

did we can have a script to fix this glitch?
u can mortar in this room


(IndyJones) #2

just make a fake roof somewhere on mortar trail.


(macbeth) #3

how do that ?


(TomTom7777) #4

with a func_fakebrush.

For example adding this create block to the top of the map script file…


game_manager
{       
        spawn
        {
		create
		{
			scriptName "mortarbugfix1"
			classname "func_fakebrush"
			origin "-435 6015 520"
			contents 1  // CONTENTS_SOLID
			mins "-1 -445 -1"
			maxs "560 0 50"
		}

adds an invisible solid clip shown by the red and blue lines in the attached pic. (purposely too big)

So a thinner version should do what I think you want


		create //clip fix so allies don't mortar the room with the blown wall
		{
			scriptName "mortarbugfix1"
			classname "func_fakebrush"
			origin "-435 6015 520"
			contents 1  // CONTENTS_SOLID
			mins "-1 -445 -1"
			maxs "560 0 0" //thin, so you don't walk on it
		}

P.S. you don’t have to use a solid clip you could also use a missle clip too. contents 128 // CONTENTS_MISSILECLIP