Page 1 of 1

Moving treads on 3d model??

Posted: Mon Jul 01, 2013 9:04 pm
by BotHunter
Hey all! I've got a 3d Tank model here that already has treads on it, So I was wondering if there was a way to make the treads on the 3d model to move without having to make custom treads. Here is the tank Below ---V--- As you can see, it has treads textured on it already.
Image
(https://www.mediafire.com/view/0602dkmb5hc3yix/Tank.bmp)
Here is the Texture image:
Image
(http://www.mediafire.com/download/suobg ... Albedo.bmp)
ThanksAlot!! :)

Re: Moving treads on 3d model??

Posted: Mon Jul 01, 2013 9:33 pm
by Apache Thunder
You'll need to make each group of tracks (left side tracks seperate mesh from right side mesh) seperate meshes and skin them to a skeleton. Then assign wheels to the resulting animated bundles. Look at existing code and tanks as a reference point. If you don't want to go as far as add extra detail like making the track mesh flex and such, then it should only take a real simple setup with an invisible dummy wheel on each side for the tracks. The wheel has to be in the same level as the visible/physics wheels using the EngineRollGrip grip type so that the track textures will animate.

Looks like the texture is oriented correctly so all you have to do is what I mentioned above.

Had it been a BF2 vehicle or a vehicle with the track texture oriented vertically, you would have had to flip the texture and uvmaps since BF1942 only supports scrolling the texture on the horizontal axis. ;)

Re: Moving treads on 3d model??

Posted: Mon Jul 01, 2013 10:10 pm
by BotHunter
I don't really want it to flex, All I'm looking for is to have the texture move. So is there a way of doing this without making any skeletons or stuff like that??
I was thinking more of using this:
http://bfmods.com/mdt/scripting/ObjectT ... Speed.html


BTW. It has x/y on the arguments. does that mean it can do horizontal and vertical?

Re: Moving treads on 3d model??

Posted: Tue Jul 02, 2013 5:08 pm
by BotHunter
So how can I accomplish this?

Re: Moving treads on 3d model??

Posted: Wed Jul 03, 2013 5:22 pm
by BotHunter
So the only way I can do this is to make an skin and ske?

Re: Moving treads on 3d model??

Posted: Tue Aug 06, 2013 4:09 pm
by Vilespring
Bot hunter, I think you can just use what we already have. Just copy the sherman track geometry (because we still need vanilla vehicles) and scale it to fit the individual tracks. Then, you can edit the texture to fit the track you put on the geometry.

Re: Moving treads on 3d model??

Posted: Tue Aug 06, 2013 6:00 pm
by BotHunter
OK I'll try. But I'm having a hard time "Copying" the tracks animations. :|

Re: Moving treads on 3d model??

Posted: Tue Aug 06, 2013 8:32 pm
by Vilespring
No, I mean see if you can use the animations already there :)