Jump to content
Sign in to follow this  
Walkero0

Driveraction

Recommended Posts

Hy i want to ask how i can use the driverproxies.

I know that i must write "driver_low01" in driveraction when i set this proxy in my car.

This works also with "driver_mid01", "driver_high01", "driver_offroad" ect.

But which driveraction do i need when i want to use the proxy in the folder offroad or van ("P:\a3\data_f\proxies\Offroad", "P:\a3\data_f\proxies\Van")?

When i write offroad or van into the driveraction i don't get into the car. :huh:

Where can i find these animationcommands?

 

Share this post


Link to post
Share on other sites

Vehicle actions are not directly connected to proxies. What i mean, is that you can specify (via config) that a car's driver should use a helicopter gunner's actions (for example), and you don't have to change the proxy. It's not the proxy that dictates what animations (actions) should the driver/gunner/etc.. use.

 

Proxies are those special triangles you place in your model in O2, and they control where the drivers/gunners/etc are sitting when getting into a vehicle, but that's all.

 

Vehicle actions are the ones that define what animation the vehicle's occupants should use: the basic sitting animations and their variants, and death animations when they die in their seat (shot through the glass, vehicles blow up,..).  These actions are set up in class CfgMovesBasic. And the GetIn/-Out actions are again separate, you can mix and match those as well. Look in CfgMoves for a list of available vehicle related actions.

class CfgMovesBasic
{
    class DefaultDie;
    class ManActions
    {
        pilot_Su22="pilot_Su22_state";
    };
};


class CfgMovesMaleSdr: CfgMovesBasic
{
    class States
    {
        class Crew;
        class KIA_pilot_Su22_state: DefaultDie
        {
            actions="DeadActions";
            file="tcp_su22\anim\su22_pilot_KIA.rtm";
            speed=1.4;
            looped="false";
            terminal=1;
            soundEnabled=0;
            connectTo[] = {"Unconscious", 0.1};
        };
        class pilot_Su22_state: Crew
        {
            file="tcp_su22\anim\su22_pilot.rtm";
            speed=0.066519;
            interpolateTo[] = {"KIA_pilot_Su22_state", 1};
        };
    };
};
class CfgVehicles
{
    class Air;
    class Plane: Air
    {
        class HitPoints;
    };
    class Plane_Base_F: Plane
    {
        class AnimationSources;
        class HitPoints: HitPoints
        {
            class HitHull;
        };
        class ViewOptics;
    };

    class Plane_CAS_02_base_F: Plane_Base_F {};
    class O_Plane_CAS_02_F: Plane_CAS_02_base_F {};

    class TCP_Su22: O_Plane_CAS_02_F
    {
        driverAction = pilot_Su22;

        getInAction = "GetInHigh";
        getOutAction = "GetOutHigh";
  • Like 1

Share this post


Link to post
Share on other sites

Thank you for your reply!

I think I understand after reading this ten times. :D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×