A5 movement template in Lite-C

Posted By: 3run

A5 movement template in Lite-C - 12/18/17 22:44

Hey!

Partly converted A5 movement template into Lite-C. Yet lot of things to tweak, but it already works.

Currently working:
Quote:
-walking/running
-gravity (with jumping)
-crawling
-swimming
-rotations on slopes


Edit: if you'll create an elevator and move it via it's 'speed_x' skills intead of vector + set it's obj_type to TYPE_ELEVATOR, it will also work.

You can get it from my webpage:
Download link

Best regards!
Posted By: Loremaster

Re: A5 movement template in Lite-C - 01/03/18 02:57

Thank you very much. In how far is it better than the movement code in AUMs Shooter workshop?
Posted By: 3run

Re: A5 movement template in Lite-C - 01/03/18 11:29

Hey Loremaster! Happy new year!

For me this was a good start to create my own movement code. About AUMs shooter workshop, to be honest, I don't like it at all... I can't imagine one creating a solid game out of it. my guess is that it was created only for learning/playing around purpose. And it doesn't have things that this A5 template can offer, but as I've already said, there are things to be tweaked, adjusted etc.

My advice would be - learn from this template (the way it works and handles stuff), combine it with the gravity code from Superku's tip of the week series (actually gravity from A5 template isn't bad, but I personally prefer Superku's solution) and you'll get your own pretty solid movement template. That's what I've done.

My best regards!
© 2024 lite-C Forums