Jump to content
Sign in to follow this  
matteo1944

How to make robots move?

Recommended Posts

What do i have to do t make my robot move? I know it have to be something in Config.cpp but i don't know what?

-maybe an example of it?

-And one of my friends will create animations....

Thanks in advance!

Share this post


Link to post
Share on other sites

Hello Matteo,

You need to give a little more information about the model before you can get any

help.Is it based on a unit setup,with named selections for arms,legs,head,etc?

Share this post


Link to post
Share on other sites

Hi there, I'm right now working on robot units, too, so...

-First of all you'll need a 3d model with different selections (legs, arms, head, etc.)

-RTM files for the animations (standing, running, dieing)

-Config.cpp definitions - and I think that's what you're looking for. The animations have to be based on a base class (CfgMovesMC) - and the easiest way is to take a template and just change the names of the animation files. To make it even easier, you can base the robot on standard ofp models, so that it'll work with standard animations, too. In that case you don't have to have animations for everything. Ah, yeah, and don't forget adding moves="NameOfCfgAnimations" in your unit's config section.

Here's the link for the config file templates: http://ofpec.com/addons_depot/index.php?action=details&id=103

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  

×