opentomb / OpenTomb

An open-source Tomb Raider 1-5 engine remake
http://opentomb.github.io/
GNU Lesser General Public License v3.0
1.4k stars 146 forks source link

Development questions #598

Open RICCIARDI-Adrien opened 5 years ago

RICCIARDI-Adrien commented 5 years ago

Hello all,

Below are some questions I'm asking to the OpenTomb developers :

vvs- commented 5 years ago

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.

TeslaRus commented 5 years ago
RICCIARDI-Adrien commented 5 years ago

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.

vvs- commented 5 years ago

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.

RICCIARDI-Adrien commented 5 years ago

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

RICCIARDI-Adrien commented 5 years ago

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

TeslaRus commented 5 years ago

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

RICCIARDI-Adrien commented 5 years ago

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 ?

TeslaRus commented 5 years ago

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

RICCIARDI-Adrien commented 5 years ago

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.

RICCIARDI-Adrien commented 4 years ago

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