Login

russian armor

Open hatch animation for T-34/85

6 Apr 2016, 23:04 PM
#1
avatar of Olhausen
Modmaker Badge

Posts: 245

Hi guys:

I am working on a spotter for my T-34/85. I succeded to obtain an animation of the spotter "on the top of my turret". My actual problem with this particular unit is to have the animation of the open hatch.
Here a screenshot:





As it can see, the spotter appear but the hatch is close.
I can not finde the animation for the open hatch in this model. I try the animation for the ISU 152 and SU85 but I failed.

I tried the follow configuration:

Add_crew_action
Crew_name: Spotter

Animator_set_state
Apply_to_leader_only: False
Do_action_state_name: on
Retrigger: False
State_machine_name: turret_spotter_state
undo_action_state_name: off

With those values the spotter appear correctly.
I also modded the abp file of T-34/85 to support the spotter

I tried the animator set state of ISU152 and SU85
This animation open the hatch for these models but not work on T34/85

Animator_set_state
Apply_to_leader_only: False
Do_action_state_name: active
Retrigger: False
State_machine_name: focused_sight
undo_action_state_name: inactive

Btw, I used the tutorial of Eliw00d about animations but I couldnt solve my little problem.
Then I am here :) maybe someone here know how I can open the hatch for the T-34/85

Thank you very much in advance for any clue
Olhausen
7 Apr 2016, 01:46 AM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

It has been forever since I messed with hatches, but try
Code
pintle_dshk38_state: ready


That should work.

9 Apr 2016, 03:26 AM
#3
avatar of Olhausen
Modmaker Badge

Posts: 245

Hi again Eliw00d ;)

First than nothing I want to say thank you for your answer. I can not reply immediately because I had 2 busy days fixing the bugs of my mod after last relic patch.
Now, I am back on T-34 hatch. I moded 4 different configurations using your code.
Sadly none of them work for me. Maybe you could give me a small push ;)
The follow are my different configurations:

Animator_set_state

Configuration 1:

apply_to_leader_only: False
do_action_state_name: ready
retrigger: False
state_machine_name: pintle_dshk38_state
undo_action_state_name:


Configuration 2:

apply_to_leader_only: False
do_action_state_name: pintle_dshk38_state
retrigger: False
state_machine_name: ready
undo_action_state_name:


Configuration 3:

apply_to_leader_only: False
do_action_state_name: ready
retrigger: False
state_machine_name: pintle_dshk38
undo_action_state_name:


Configuration 4:

apply_to_leader_only: False
do_action_state_name: pintle_dshk38
retrigger: False
state_machine_name: ready
undo_action_state_name:

In my point of view the most coherent is the first one but I fail. I really appreciate your help and thank you in advance.

Olhausen

PD: I am also working with the Shermans and I also have the same issue. Sorry for do too many question, I have no one else to comes for help ;)
10 Apr 2016, 10:47 AM
#4
avatar of Olhausen
Modmaker Badge

Posts: 245

Hi again:

Very sorry for the re-post.
I tried a similar animation set state for the AEF tanks and works like a charm.

My working open hatch for AEF tanks:

apply_to_leader_only: False
do_action_state_name: ready
retrigger: False
state_machine_name: pintle_m2hb50cal_state
undo_action_state_name:




Now, I know the correct animator set state for the ruskys should be:

apply_to_leader_only: False
do_action_state_name: ready
retrigger: False
state_machine_name: pintle_dshk38_state
undo_action_state_name:

But sadly (the follow configuration) it is NOT working for me.

I post here my complete animations for the T-34/85

Add_crew_action
Crew_name: Spotter

Animator_set_state
Apply_to_leader_only: False
Do_action_state_name: on
Retrigger: False
State_machine_name: turret_spotter_state
undo_action_state_name: off

apply_to_leader_only: False
do_action_state_name: ready
retrigger: False
state_machine_name: pintle_dshk38_state
undo_action_state_name:


Question is: What I am doing wrong ?

Thank you in advance ;)
Olhausen

Edited Olhausen

Btw here my T-34/85 abp file


model =
{
"t34_85",
"..\\..\\..\\common\\vehicles\\crew\\pintle_dshk38\\pintle_dshk38",
"..\\..\\..\\common\\vehicles\\turret_spotter\\turret_spotter",
"..\\..\\..\\common\\props\\binoculars\\binoculars",
}

simvis_attributes =
{
vehicle_physics = 1,

vehicle_width = 3.5,
vehicle_length = 4.3,
vehicle_nr_wheels = 3,
vehicle_spring_constant = 0.4,
vehicle_damper_constant = 0.2,
vehicle_wheel_travel = 0.44,
vehicle_acceleration_factor = 0.1,
vehicle_gravity = 0.8,
vehicle_render_offset = 0.0,
vehicle_debug_render = 0,
vehicle_smoothness = 3.0,
vehicle_render_offsetX = 0.0,
vehicle_render_offsetY = 0.0,
vehicle_render_offsetZ = 0.0,
}


-- Vehicle Physics Legend:

--vehicle_width
--vehicle_length
--vehicle_nr_wheels
--vehicle_spring_constant ==> 0 to 1 (1 = Rock Solid)
--vehicle_damper_constant ==> 0 to 1 (0 = no resistance)
--vehicle_wheel_travel ==> the distance from flat ground and the wheel anchor
--vehicle_acceleration_factor ==> sensitivity to change in velocity
--vehicle_gravity ==> normal earth gravity = 1
--vehicle_render_offset
--vehicle_debug_render ==> 0 = no, 1 = yes
--vehicle_smoothness ==> the higher the smoother (minimum 1)
--vehicle_render_offsetX == > x offset of rendered model from wheel base center
--vehicle_render_offsetY ==> y offset
--vehicle_render_offsetZ ==> z offset
16 Apr 2016, 15:14 PM
#5
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

They may have removed the state, then. This was a long time ago and, sadly, I did not document the state I used.
16 Apr 2016, 15:53 PM
#6
avatar of Olhausen
Modmaker Badge

Posts: 245

Hey thank you for the answer :), ok now I know I need to move on ;).
Thank you very much for your time eliwood ;)
0 user is browsing this thread:

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

767 users are online: 767 guests
2 posts in the last 24h
8 posts in the last week
40 posts in the last month
Registered members: 49072
Welcome our newest member, Durddcdy23
Most online: 2043 users on 29 Oct 2023, 01:04 AM