long-war-2 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion
345 stars 91 forks source link

Rocket Launcher Targeting & Controllers #150

Open MrNiceUK opened 5 years ago

MrNiceUK commented 5 years ago

While I know worrying about controller support in general is a whiles off, one particular issue is X2TargetingMethod_LWRocketLauncher, which also shows up in other mods where LW2 style "scatter" is used. It unnecessarily calls SetTargetLocation(NewTargetLocation), which causes controller inputs issues as soon as NewTargetLocation and the result of GetCursorFeetLocation() differ in more than just the Z axis. Also, it positions the scatter UI tooltip with the assumption that the mouse pointer actually exists.

pledbrook commented 2 years ago

@kdm2k6 Do you know if this is (still) an issue?

kdm2k6 commented 2 years ago

I know that projectile targeting has always been a bit finicky as it often gets stuck on pieces of cover and assorted items. I think, however, that this is normal XCom 2 behaviour and I didn't notice anything especially odd back when I played at the start of the year. Despite saying that, this could solve an issue I am unaware of or simply didn't notice while playing.