Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong move type in shallow water #80

Closed
vvs- opened this issue Jun 20, 2015 · 6 comments
Closed

Wrong move type in shallow water #80

vvs- opened this issue Jun 20, 2015 · 6 comments
Assignees
Milestone

Comments

@vvs-
Copy link
Contributor

vvs- commented Jun 20, 2015

Try setgamef(1.5,1) setEntityPos(player,36278,13468,3304,348,0,0). Happens after free fall or jump up in certain orientation.

@Joey79100
Copy link

Also, she's able to jump in every direction while she should be able only to jump up. At least, for TR2+...
Also, whenever she lands in shallow water (in TR2+), she must play animation 192 (swim to shallow water). This is not the case, she lands normally.

@Gh0stBlade Gh0stBlade self-assigned this Jun 20, 2015
@vvs-
Copy link
Contributor Author

vvs- commented Jun 20, 2015

I suspect that it might be related to #40, it's very similar.

@Gh0stBlade
Copy link
Member

Woops sorry for the close, there is some button on the keyboard which closes issues and I don't know what combination keeps doing it when i press it... Anyway...

  1. It looks like there was a bug with using Lara's position to calculate whether she's in the water or not so I've made it utilise the direct floor value instead.
  2. Lara's predefined height was actually incorrect and it has been changed.
  3. Directional jumping whilst in wade depth is not possible.

See latest commits and let me know if it solves anything. Hopefully it shouldn't break anything, it also fixes swim issues in TR2 i encountered ages ago.

@vvs-
Copy link
Contributor Author

vvs- commented Jun 21, 2015

It's not a button - it's a GitHub feature, e.g. cochrane used it all the way 😄

It's working but incomplete. Try setEntityPos(player,39327,16765,2959,175,0,0) and run forward.

@Gh0stBlade
Copy link
Member

Should be fine now, i forgot Lara can't wade in TR1 so she must always be forced into swimming when she touches any form of water.

@vvs-
Copy link
Contributor Author

vvs- commented Jun 22, 2015

Just what the doctor ordered. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants