Giter VIP home page Giter VIP logo

Comments (11)

vvs- avatar vvs- commented on June 10, 2024

I'm also trying to create TR2 tiger state control (using TR1 lion as model). Where could I find tiger animations values (like TR_ANIMATION_LION_XXX from state_control_lion.h) ?

The numbers are actually defined in level files themselves.

Is the repository bin directory really useful ? Can we remove it ?

I always do it locally. I think it's a mistake to use git for binary blobs unless it's a separate repository. Otherwise it puts a burden on developers to waste their disk space without purpose.

Project roadmap seems a bit out of date, is there a lot of stuff remaining before issuing a fully playable TR1 alpha ?

See #91 and #417. But this is just my POV.

Other questions are in @TeslaRus competence.

from opentomb.

TeslaRus avatar TeslaRus commented on June 10, 2024
  • muzzle flashes, blood splats: calculate positions of effects, add sprites; sprites are partially implemented (bushes, grass in TR1); to find models, sprites use model view regime (y key);
  • roadmap is old - I have no time and wishes to update it now;
  • bin may be deleted;
  • ricochets and blood splats - use ray test to find effect position, play sound, show sprite.

from opentomb.

RICCIARDI-Adrien avatar RICCIARDI-Adrien commented on June 10, 2024

Thank you both for your quick replies.
How to make a secret pickable like a medipack or ammo ?
I will search in TRosettaStone for documentation about enemies animations format and location in level files.

from opentomb.

vvs- avatar vvs- commented on June 10, 2024

I will search in TRosettaStone for documentation about enemies animations format and location in level files.

It's not necessary. You can use OT model debug view as TeslaRus suggested.

from opentomb.

RICCIARDI-Adrien avatar RICCIARDI-Adrien commented on June 10, 2024

Thank you, I didn't understand.
Model debug view is a great tool.

from opentomb.

RICCIARDI-Adrien avatar RICCIARDI-Adrien commented on June 10, 2024

Is there a way to teleport Lara to a specific map location ?

from opentomb.

TeslaRus avatar TeslaRus commented on June 10, 2024

entitySetPos(id, x, y, z, ax, ay, az)
see src/script folder and functions

from opentomb.

RICCIARDI-Adrien avatar RICCIARDI-Adrien commented on June 10, 2024

Thank you.
I added a more or less working Tomb Raider 2 tiger.
When it dies, its body slips on the floor and goes out of the map. Have you an idea about the cause ?

from opentomb.

TeslaRus avatar TeslaRus commented on June 10, 2024

dead state, may be physics disabling and make dynamic is wrong... try to see wolf / tiger dead state in script

from opentomb.

RICCIARDI-Adrien avatar RICCIARDI-Adrien commented on June 10, 2024

Ok, thanks.

I'm thinking about "dynamic" sprites architecture (a better name can be found), which would be muzzle flashes, blood splats, explosions flashes and all sprites that are not static in a room like grass.

  • What do you think about using a list in Render.cpp that would contain all the dynamic sprites to display, their world coordinates and how many frames remains before their are removed from the list ? Later sprites animation could be added.
  • Does someone know if there are sprites that must be "attached" to a moving object, which means that sprite world coordinates must be updated ?

from opentomb.

RICCIARDI-Adrien avatar RICCIARDI-Adrien commented on June 10, 2024

Happy new year !
Do you think that pull request #597 can be merged or some work is needed ?

from opentomb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.