Jump to content
voidP

How to load ".rtm"file to mission?

Recommended Posts

I want to add self made animation to my mission.

So, I wrote this to the file "description.ext". but I couldn't find my animation in list of animation of editor.(The file "description.ext" is in mission folder. The file"doit.rtm" is in "missionfolder\anim1".)

 

class CfgMovesBasic;

class CfgMovesMaleSdr: CfgMovesBasic 
{
	skeletonName="OFP2_ManSkeleton";
	gestures="CfgGesturesMale";
	
	class States
	{
		class AovrPercMstpSnonWnonDf;

		class zerox : AovrPercMstpSnonWnonDf
		{
			file = "\anim1\doit.rtm";
			looped=0;
			speed = 0.32;
		};
	};
};

can I get any help? sorry my poor english.

 

Reference post

https://community.bistudio.com/wiki/Mission_Animations

https://forums.bohemia.net/forums/topic/143871-custom-reload-gestures/

https://forums.bohemia.net/forums/topic/182765-animation-rtm-file-config/

https://forums.bohemia.net/forums/topic/101182-rtm-animation-tutorial-added/?tab=comments#comment-1690221

 

Reference video:

https://www.youtube.com/watch?time_continue=132&v=nyDjbnm94n0

https://www.youtube.com/watch?v=kMt3xKUXAuI

Share this post


Link to post
Share on other sites
On 18.8.2018 at 7:11 PM, voidP said:

I want to add self made animation to my mission.

Can't. You have to do it in a mod.

 

On 18.8.2018 at 7:11 PM, voidP said:

So, I wrote this to the file "description.ext".

Well it belongs into a mod's config.cpp. Not into a missions, description.ext. These are entirely different configs.

  • Thanks 1

Share this post


Link to post
Share on other sites

@Dedmen Thank you for your help!!

 

4 hours ago, Dedmen said:

Can't. You have to do it in a mod.

I will try to make a mod.:grinning:

 

4 hours ago, Dedmen said:

Well it belongs into a mod's config.cpp. Not into a missions, description.ext. These are entirely different configs.

OK... I understand. By the way, I found any missions that have a "config.hpp". what is that?

Share this post


Link to post
Share on other sites
1 hour ago, voidP said:

By the way, I found any missions that have a "config.hpp". what is that?

Some file with the name "config.hpp"

From the Extension I would assume it to be a textfile, but it doesn't have to be. From the name I would assume it to contain some config of some sorts, but it might aswell be a cat picture.

Share this post


Link to post
Share on other sites
16 minutes ago, Dedmen said:

Some file with the name "config.hpp"

From the Extension I would assume it to be a textfile, but it doesn't have to be. From the name I would assume it to contain some config of some sorts, but it might aswell be a cat picture.

ok I could understand by your teach and reference. thank you!!

 

the code contents of mission's "config.hpp"  is copied and pasted to " description.ext".

https://community.bistudio.com/wiki/PreProcessor_Commands#.23include

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

×