User Tools

Site Tools


arma2:config:pilot_proxy_rtm

This is an old revision of the document!


Pilot Proxy RTM

New animations for aircraft pilot proxy using rtm file.

If you wanted to create a new pilot proxy which has adjusted legs and arms, you can do it by .rtm file which is a slightly edited version of the AH1Z Pilot proxy model.

Proxies are placeholders for other p3d objects. On planes they're usually used for missiles/bombs as well as for units (Driver/Pilot/Gunner/Cargo/Commander) to determine the exact location where they will sit finally.

Unit proxies include a .rtm animation file as this file defines the exact positioning of each body part. So as example the driver has the hands not on the knees but on the steering wheel.

Also true, usually in O2 a proxy is represented by a simple triangle but you can make the proxy shape visible when selecting respective menu option in the view menu of O2 (DX mode has to be off for this). Makes placing a lot easier as you can see the real shape and not only a vague triangle.

To setup the proxy with new rtm file, first create the rtm file, then create config entries for it like shown below:

class CfgMovesBasic
{
	class DefaultDie;
	class ManActions
	{
		F16_Pilot = "F16_Pilot";
	};
};
 
class CfgMovesMaleSdr: CfgMovesBasic
{
	skeletonName = "OFP2_ManSkeleton";
	gestures = "CfgGesturesMale";
	class States
	{
		class Crew;
		class F16_Pilot: Crew
		{
			file = "glt_f16\anims\F16_Pilot.rtm";
			interpolateTo[] = { KIA_AH1Z_Pilot, 1 };
		};
	};
};

And class cfgVehicles

driverAction = "F16_Pilot";

Notes

  • This doesn't create a new proxy in O2/Buldozer, only finally in-game. For proxy to O2, check this.
  • To create your own .rtm, check out the BIS proxies and select the one as base which already comes close to what you need. For example AH1Z Pilot.

Greetings for Myke and GNat discussion for this tutorial!

arma2/config/pilot_proxy_rtm.1281218356.txt.gz · Last modified: 2010-08-07 21:59 by snakeman