Modscenter • Centrum modyfikacji do gier
Konwert animacji z GTS do ETS 2 - Wersja do druku

+- Modscenter • Centrum modyfikacji do gier (https://modscenter.pl)
+-- Dział: Tworzenie modyfikacji (https://modscenter.pl/forum_tworzenie-modyfikacji_268)
+--- Dział: Modelowanie (https://modscenter.pl/forum_modelowanie_269)
+---- Dział: Pomoc (https://modscenter.pl/forum_pomoc_274)
+---- Wątek: Konwert animacji z GTS do ETS 2 (/thread_konwert-animacji-z-gts-do-ets-2_15926)



Konwert animacji z GTS do ETS 2 - kru129pl - 02-05-2013

Część! Mam problem z konwertem animacji z GTS. Oczywiście w definicji interiora ustawiłem animy. Proszę o pomoc.

Definicja interiora z GTS:
Kod:
interior_data: interior.390
{
    model: "/vehicle/truck/390/model.pmd"
    animated_model: "/vehicle/truck/animae/anim.pmd"

    active_mirrors_part: a_mirrors
    passive_mirrors_part: p_mirrors

    look: look1
    variant: default
    
    
    wiper_anim: "/vehicle/truck/animae/wipers.pma"
    wheel_anim: "/vehicle/truck/animae/wheel.pma"
    
    blinker_delay: 0.345
    blinker_anim: "/vehicle/truck/animae/turn_stick.pma"
    lights_anim: "/vehicle/truck/animae/cllight_st.pma"
    high_beam_anim: "/vehicle/truck/animae/far_light_st.pma"
     parking_stick_anim: "/vehicle/truck/animae/parking_st.pma"

    wiper_stick_anim: "/vehicle/truck/animae/wipers_st.pma"

    oil_psi_anim: "/vehicle/truck/animae/oil.pma"
    oil_psi_anim_max: 120

    water_temp_anim: "/vehicle/truck/animae/water.pma"
    water_temp_anim_min: 30
    water_temp_anim_max: 110

     generic_anim: "/vehicle/truck/animae/generic.pma"

    
    
    tachometer_anim: "/vehicle/truck/animae/rpm.pma"
    tachometer_anim_max: 3000

    
    
    speedometer_anim: "/vehicle/truck/animae/speed.pma"
    speedometer_anim_max: 139

    

    air_psi_anim: "/vehicle/truck/animae/brakes.pma"
    air_psi_anim_max: 240
    
    fuel_anim: "/vehicle/truck/animae/fuel.pma"
        fuel_anim_max: 1.0
    
    button_left_blinker: "/vehicle/truck/animae/left_sign.pma"
    button_right_blinker: "/vehicle/truck/animae/right_sign.pma"
    
    button_lights: "/vehicle/truck/animae/cllight.pma"
    button_high_beam_lights:"/vehicle/truck/animae/farlight.pma"
    
    button_low_fuel: "/vehicle/truck/ae/interior/fuel_sign.pma"
    button_parking_brake: "/vehicle/truck/animae/parking.pma"
    button_4way: "/vehicle/truck/animae/fourway.pma"
    

    wiper_bone[]: joint3
    wiper_bone[]: joint4
    pane_data[]:    (0.75, 0.68, 0.3)
    pane_data[]: (1.0, 0.68, 0.39)
    wiper_length[]: 0.65
    wiper_length[]: 0.65
    wiper_angle_limits: (18, 105)
    glass_angle:2


    dashboard_path:"/ui/dashboard/daf_xf.sii"


}

Definicja interiora z ETS 2:
Kod:
SiiNunit
{
accessory_interior_data: standard.renault.magnum.ae.interior
{
    name: "Normal"
    price: 12660
    unlock: 0
    icon: "interior_premium_std"
    model: "/vehicle/truck/renault_magnum_ae/interior/model.pmd"
    animated_model: "/vehicle/truck/renault_magnum_ae/interior/anim.pmd"
    look: look1
    variant: standard
    wiper_anim: "/vehicle/truck/animae/wipers.pma"
    wheel_anim: "/vehicle/truck/animae/wheel.pma"
    blinker_delay: 0.345
    blinker_anim: "/vehicle/truck/renault_premium/interior/turn_stick.pma"
    lights_anim: "/vehicle/truck/renault_premium/interior/cllight_st.pma"
    high_beam_anim: "/vehicle/truck/renault_premium/interior/far_light_st.pma"
    wiper_stick_anim: "/vehicle/truck/renault_premium/interior/wipers_st.pma"
    retarder_stick_anim: "/vehicle/truck/renault_premium/interior/retarder_st.pma"
    water_temp_anim: "/vehicle/truck/renault_premium/interior/water.pma"
    water_temp_anim_min: 30
    water_temp_anim_max: 110
    generic_anim: "/vehicle/truck/renault_premium/interior/generic.pma"
    generic_anim_max: 1.0
    tachometer_anim: "/vehicle/truck/renault_premium/interior/rpm.pma"
    tachometer_anim_max: 3000
    air_psi_anim: "/vehicle/truck/renault_premium/interior/brakes.pma"
    air_psi_anim_max: 240
    fuel_anim: "/vehicle/truck/renault_premium/interior/fuel.pma"
    fuel_anim_max: 1.0
    button_left_blinker: "/vehicle/truck/renault_premium/interior/left_sign.pma"
    button_right_blinker: "/vehicle/truck/renault_premium/interior/right_sign.pma"
    button_lights: "/vehicle/truck/renault_premium/interior/cllight.pma"
    button_high_beam_lights: "/vehicle/truck/renault_premium/interior/farlight.pma"
    button_low_fuel: "/vehicle/truck/renault_premium/interior/fuel_sign.pma"
    button_parking_brake: "/vehicle/truck/renault_premium/interior/parking.pma"
    button_4way: "/vehicle/truck/renault_premium/interior/fourway.pma"
    dashboard_path:"/ui/dashboard/renault_magnum_2009.sii"
    glass_panes[]: .renault.premium.pane.front
    glass_panes[]: .renault.premium.pane.close
    glass_panes[]: .renault.premium.pane.far
    glass_panes[]: .renault.premium.pane.top
}
@include "glass.dat"
}

Co robię źle? (GG)


RE: Konwert animacji z GTS do ETS 2 - mwl4 - 02-05-2013

Nie przepisałeś plików pma....


RE: Konwert animacji z GTS do ETS 2 - kru129pl - 02-05-2013

Teraz definicja interiora w ETS 2 wygląda tak i dalej nie działają mi animacje:
Kod:
SiiNunit
{
accessory_interior_data: standard.renault.magnum.ae.interior
{
    name: "Privilege"
    price: 12660
    unlock: 0
    icon: "interior_premium_std"
    model: "/vehicle/truck/renault_magnum_ae/interior/model.pmd"
    animated_model: "/vehicle/truck/renault_magnum_ae/interior/anim.pmd"
    look: look1
    variant: standard
    wiper_anim: "/vehicle/truck/animae/wipers.pma"
    wheel_anim: "/vehicle/truck/animae/wheel.pma"
    blinker_delay: 0.345
    blinker_anim: "/vehicle/truck/animae/turn_stick.pma"
    lights_anim: "/vehicle/truck/animae/cllight_st.pma"
    high_beam_anim: "/vehicle/truck/animae/far_light_st.pma"
     parking_stick_anim: "/vehicle/truck/animae/parking_st.pma"
    wiper_stick_anim: "/vehicle/truck/animae/wipers_st.pma"
    oil_psi_anim: "/vehicle/truck/animae/oil.pma"
    oil_psi_anim_max: 120
    water_temp_anim: "/vehicle/truck/animae/water.pma"
    water_temp_anim_min: 30
    water_temp_anim_max: 110
     generic_anim: "/vehicle/truck/animae/generic.pma"
    tachometer_anim: "/vehicle/truck/animae/rpm.pma"
    tachometer_anim_max: 3000
    speedometer_anim: "/vehicle/truck/animae/speed.pma"
    speedometer_anim_max: 139
    air_psi_anim: "/vehicle/truck/animae/brakes.pma"
    air_psi_anim_max: 240
    fuel_anim: "/vehicle/truck/animae/fuel.pma"
        fuel_anim_max: 1.0
    button_left_blinker: "/vehicle/truck/animae/left_sign.pma"
    button_right_blinker: "/vehicle/truck/animae/right_sign.pma"
    button_lights: "/vehicle/truck/animae/cllight.pma"
    button_high_beam_lights:"/vehicle/truck/animae/farlight.pma"
    button_low_fuel: "/vehicle/truck/ae/interior/fuel_sign.pma"
    button_parking_brake: "/vehicle/truck/animae/parking.pma"
    button_4way: "/vehicle/truck/animae/fourway.pma"
    dashboard_path:"/ui/dashboard/renault_magnum_2009.sii"
    glass_panes[]: .renault.premium.pane.front
    glass_panes[]: .renault.premium.pane.close
    glass_panes[]: .renault.premium.pane.far
    glass_panes[]: .renault.premium.pane.top
}
@include "glass.dat"
}

Oczywiście skopiowałem do moda wszystkie pliki pma z GTS. Mam coś źle z plikiem anim.pmg? (GG)


RE: Konwert animacji z GTS do ETS 2 - mwl4 - 02-05-2013

No i teraz pytanie :] (GG) Czy w folderze truck masz folder "animae", a w nim te wszystkie pliki pma?


RE: Konwert animacji z GTS do ETS 2 - kru129pl - 02-05-2013

Tak mam wszystkie.
[Obrazek: beztytuu5cua7.png]

Może źle skonwertowałem plik anim.pmd(pmg)? (GG)


RE: Konwert animacji z GTS do ETS 2 - mwl4 - 02-05-2013

Oczywiście nie przerabiałeś go zmodem, co? Smile (IPB)


RE: Konwert animacji z GTS do ETS 2 - kru129pl - 02-05-2013

Tak przerabiałem plik anim.pmg w zmodzie. Usunąłem z drzewka parę elementów. Nie wolno przerabiać pliku anim.pmd(pmg) w zmodzie? (GG)


RE: Konwert animacji z GTS do ETS 2 - mwl4 - 02-05-2013

Oczywiście że pmg nie wolno..