URAKOLOUY5 / gp2

Compatibility addon for Garry's Mod to play Portal 2 based maps and mods (WIP)
GNU General Public License v3.0
10 stars 0 forks source link

Multiple Cube Droppers don't want to drop cubes #2

Open URAKOLOUY5 opened 1 month ago

Tannermanner2008 commented 2 weeks ago

Something to note: this only happens in specific chambers, especially ones near the beginning of the game. Here's some examples of maps i've had this occur in: sp_a1_intro5 sp_a2_laser_stairs sp_a2_bridge_intro sp_a2_bridge_the_gap

However, some near the beginning of the game also have working ones. Here's some examples of maps i've NOT had this occur in: sp_a1_intro6 sp_a2_bts1 sp_a2_fizzler_intro sp_a2_pit_flings

The issue most likely is from an entity covering it but it's an entity which can not be grabbed by the physics gun. if you use the physics gun to pull a cube out, it'll come out easily.

What i'd reccomend doing to find the problem is check in hammer, or even in gmod using ent_text *, if there are any extra entities in the droppers in maps where the cube doesn't drop and compare it to the ones where the cube does drop.

Tannermanner2008 commented 2 weeks ago

alright i've found the problem.

the droppers have a func_brush with names like cube_dropper_1-cube_dropper_box_drop_clip and, for some reason, the boxes get stuck on it. if you delete the entity, they will actually fall as intended. however, they most likely have an actual purpose so i think they just need fixed up

URAKOLOUY5 commented 2 weeks ago

It's still interesting that you can push cube out of clip brush using physgun, but I can't find any traces why it's don't work

Tannermanner2008 commented 2 weeks ago

I think it's due to the size of the brush. From what i can tell, it's incredibly thin physics wise, so it just lets stuff clip through if it's forced against the brush. I actually don't even think the brush is needed at all, as it behaves like any other dropper when removed.