Misc_beam entity glitching and has a mass.


(ChimTea) #1

Hi, I got the problem that on a static state the misc_beam entity connected to a script_mover, the beam will glitch when it is actually activated. When you walk on the platform you actually hit the beam. Like a cylinder or patch you can walk through

View the video for the example. Added .map info as well.

//youtu.be/nVOZm6J3R58


// entity 134
{
"classname" "misc_beam"
"origin" "1600 -2240 384"
"message" "lifting_ramp"
"target" "lifting_ramp"
"shader" "textures/mp_china_frag/cable"
"scriptname" "lifting_ramp"


// entity 161
{
"classname" "script_mover"
"scriptname" "lifting_ramp"
"targetname" "lifting_ramp"
"spawnflags" "2"
... some brushes
}

}

I am unsure about if its the shader that’s causing the issue, I used the one from railgun.

textures/mp_china_frag/cable
{
	qer_editorimage textures/props/cable_m01.tga
	surfaceparm metalsteps
	{
		map textures/props/cable_m01.tga
		rgbGen vertex
	}
}

Thanks in advance,


(Mateos) #2

I don’t think both should have the same scriptname, could trigger stuff twice; It looks like resetting itself

Anything scripted?


(ChimTea) #3
lifting_ramp
{
        spawn 
	{
        }
        trigger up
	{
                gotomarker lifting_ramp_uppos 100 wait
        }

	trigger mid
	{
		gotomarker lifting_ramp_midpos 100 wait
	}

        trigger down
	{
                gotomarker lifting_ramp_downpos 100 wait
        }
       
}


(Mateos) #4

On spawn you should make it go at first marker.


(ChimTea) #5

What should i trigger exactly? I checked railgun script but it makes me cry.

Also I tried making a misc_beam with an info notnull for testing. But it didn’t show the beam either, and said bad target2 (logical I guess)


(Mateos) #6

This software may ease the understanding:
http://forums.warchest.com/showthread.php/17926-Download-ETScript-4-beta!

If you have both BSP and SCRIPT in maps (here I use subfolders for prefabs and else, and the software derp), it will highlight the targetname/scriptname found in the BSP in a hint when hovering the mouse in this script editor, with the source entity type.


(ChimTea) #7

When i get on the download post of the program, all 3 links are dead, is it only with me?


(Mateos) #8

Mirror: http://www.wolffiles.de/index.php?filebase&fid=1823

You’ll need some .NET Framework too, dunno which (2 or 3 I expect).


(ChimTea) #9

So I downloaded the software, works remarkably good. But I still don’t understand what to do with my issue. You have xfire mateos? I’ll send you my map.


(Mateos) #10

If everything map-side and script-side is set up the same, it should work… mateos1


(ChimTea) #11

Anyone ever made misc_beam -> script mover with path corners, and maybe an example so I see what I did wrong?