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

Create shared tentacle model. #78

Closed
2 tasks done
malortie opened this issue May 7, 2022 · 2 comments
Closed
2 tasks done

Create shared tentacle model. #78

malortie opened this issue May 7, 2022 · 2 comments
Assignees
Labels

Comments

@malortie
Copy link
Collaborator

malortie commented May 7, 2022

Tentacle has no HD variant.

LD HL1 tentacle2.mdl <-> LD Op4 tentacle2.mdl

  • same skeleton
  • same hitboxes
  • same attachments
  • same sequences and fps, but level 1,2,3 sequences altitude is different in Op4
  • same mesh
  • same textures

LD HL1 tentacle2.mdl <-> LD Op4 tentacle3.mdl

  • same hitboxes
  • same attachments
  • same sequences and fps, but level 1,2,3 sequences altitude is different in Op4
  • same mesh
  • same textures

LD HL1 tentacle2.mdl <-> LD Blue Shift tentacle2.mdl

  • Identical

  • Create default tentacle2.mdl
  • Create tentacle2_lower.mdl with Op4 sequences that have different altitude

Additional information

1 - Op4 includes a custom tentacle model 'tentacle3.mdl', which is a slight variation of tentacle2.mdl but with different altitude for level 1,2,3 sequences.

2 - The Op4 tentacle2.mdl Level 1,2,3 root bone is positioned at a different altitude, making the sequences incompatible with the HL1.

3 - The Op4 tentacle has an additional spawnflag 64 'tentacle3' set and the original game DLL contains a string 'tentacle3.mdl', which leads me to believe that a specific model is picked whether or not this spawnflag is set.

4 - HL1 identical sequences have been reused when possible. I tested in game with the custom tentacle2_lower.mdl as tentacle2.mdl and haven't found issues with the sequences.

Op4 sequences with different altitude
Lev1_Idle
Lev1_Fidget_Claw
Lev1_Fidget_Shake
Lev1_Fidget_Snap
Lev1_Strike
Lev1_Tap
Lev1_Rotate
Lev1_Rear
Lev1_Rear_Idle
Lev1_to_Lev2
Lev2_Idle
Lev2_Fidget_Shake
Lev2_Fidget_Swing
Lev2_Fidget_Tut
Lev2_Strike
Lev2_Tap
Lev2_Rotate
Lev2_Rear
Lev2_Rear_Idle
Lev2_to_Lev3
Lev3_Idle
Lev3_Fidget_Shake
Lev3_Fidget_Side
Lev3_Fidget_Swipe
Lev3_Strike
Lev3_Tap
Lev3_Rotate
Lev3_Rear
Lev3_Rear_Idle

Map changes

See #27 in maps:

  • of4a3.bsp (Tentacle 1 and 2)
@malortie malortie self-assigned this May 7, 2022
@malortie
Copy link
Collaborator Author

malortie commented May 8, 2022

@SamVanheer

Please, can you review the following models in Release v0.4.0-rc.1 and confirm if the issue can be closed ?

  • models/tentacle2.mdl
  • models/tentacle2_lower.mdl

Important - Make sure to read section Map changes in the first post.

SamVanheer referenced this issue in twhl-community/HalfLife.UnifiedSdk-CSharp May 19, 2022
…t to use a different model

malortie/custom-hl-viewmodels#45
@SamVanheer
Copy link
Collaborator

The models look good, and i've added an upgrade action to modify tentacles that have the spawnflag set to use the alternate model.

@malortie malortie added the model label Dec 31, 2022
@SamVanheer SamVanheer transferred this issue from another repository Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants