Jump to content
Sign in to follow this  
scotg

White proxy preview of custom character model is showing up in tank driver

Recommended Posts

Pretty much the title says all. I followed a tut by Abs, but the white figure shows up instead of my driver (or in the usual case of a turned-in tank driver, instead of nothing). Even the rifle, launcher, and facial... nodes(?) are visible hovering around the preview guy. At least the proxy preview guy is in the pose I created, but how do I get it to be a real character model? Bonus points for helping me get a character visible in turned-in mode.

Share this post


Link to post
Share on other sites

Proxy has to be called Driver.p3d, Gunner.p3d, Commander.p3d, Cargo.p3d etc. to function

 

You shouldn't really bother about keeping custom crew proxies in your addon though. They're only used for previewing the crew in buldozer, and the actual crew pose is determined by driverAction, gunnerAction etc. in the config. The proxy is only a position reference ingame and the model it's pathed to has no bearing on its appearance other than the filename thing I mentioned above

 

So I recommend you repath them to one of the BIS proxies in a3\data_f\proxies\ once you're done in ObjectBuilder/Buldozer, and save yourself some file size.

Share this post


Link to post
Share on other sites

except that there are no BIS poses that fit this tank...

Share this post


Link to post
Share on other sites

As I said, the proxy has nothing to do with determining the pose that the crew will use. The crew pose is determined by the .rtm defined under

class CfgMovesBasic
{
	class DefaultDie;
	class ManActions
	{
		my_crew_actions = "my_crew_anim";
	};
};

class CfgMovesMaleSdr: CfgMovesBasic
{
	class States
	{
		class Crew;
		class my_crew_anim: Crew
		{
			file = "\path\to\crew\anims\filename.rtm";
			interpolateTo[] = {"my_crew_death_anim",1};
			//speed = 1e+010;
		};
		class my_crew_death_anim: DefaultDie
		{
			actions = "DeadActions";
			file = "\path\to\crew\death_anims\filename.rtm";
			speed = 1e+010;
			terminal = 1;
			soundEnabled = 0;
			looped = 0;
			connectTo[]=
			{
				"Unconscious",
				0.1
			};
		};
	};
};

and having e.g.

driverAction = "my_crew_action";

In the vehicle or turret to point to the ManActions subclass you made

  • Like 1

Share this post


Link to post
Share on other sites

Ok so I think I misunderstood you. Or maybe there was double-misunderstanding. At any rate, I thank you for your help, da12thMonkey. I'm understanding more and more this process because of good people like you!

 

Here's what I've just gone through: I assigned a driver proxy, which had a file path in the name. Then I slow-clicked it in the selection list and put in the proxy name "driver" as you said. I ran it through addon builder then viewed it in the garage list, and it returned with no error. However, when I "TRIED IT," I saw the driver standing in "low-ready" (US Army term for standing with weapon drawn and lowered, not aimed) on the seat (after turn-out). It had the wrong pose, but the white preview guy was not there. I went back to the model and started over with the proxy. This time I assigned the hiss_driver.p3d file and clicked enter. After that, I right-click renamed the proxy to "driver." Somehow this kept the pose information I needed, but didn't show it in white when I loaded it in the garage - that's GREAT!! I "turned out" the driver (used the same pose as turn-in) to be able to see him in place, and all came out roses. The difference was in HOW the proxy was created and named "driver." I didn't mess with the config file at all, but only because it was already set up like you have demonstrated.

 

Here's a screenshot with driver in turned out pose:

HISS Driver Pose

 

 

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  

×