ENDERZOMBI102 / Radelite-Package

The old addon return!
Other
7 stars 0 forks source link

Make Paint Guns work in CO-OP #8

Closed Flash4433 closed 4 years ago

Flash4433 commented 4 years ago

From #7.

Guns currently don't work. It seems the game_ui entity recognizes the two players, but the paint's origin always gets attached to player one, AtLAS.

Perhaps all that needs to be done is to change the parent of the paint module. Right now it's !player, so it gets attached to the first player. It might be possible to make it parent the second player. We would add a checkmark property that when unchecked works for SP and AtLAS. When checked it works for P-Body.

Flash4433 commented 4 years ago

Also gotta check if Gravity Guns work, since they don't use paint modules. But they also !player, so...

Flash4433 commented 4 years ago

It is definitely possible! It appears it was using !player, which always goes for the first player. However, there's also a !player_orange, which goes for the second player!

I still don't know how I can do it, but perhaps if I can get AddOverlay to work with a checkmark property...

Flash4433 commented 4 years ago

Also, that checkmark property is invisible in Single Player. It becomes visible in Co-Op

Flash4433 commented 4 years ago

Done https://github.com/ENDERZOMBI102/Radelite_BEE2_package/compare/b35a3b7a6bda...26630d57bcd8