First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing! | Flash Jobs
Search tutorials
Author: Goretex | Website: http://www.extreme-cs.co.uk

For this tutorial you will need the following things:
1) A Counter-Strike model file (.MDL)
2) Milkshape 3D program installed
3) Swift3D version 2 installed

Decompiling you MDL file

The reason we need to decompile the model is because Swift3D v2 requires a file of type 3DS and will not recognise MDL files and I have found this to be the best conversion method. Also, this way you can edit the model in Milkshape 3D before importing it into Swift3D.


Ok first of all copy your MDL file into its own folder. We do this because decompiling it will create several files, so this avoids confusion.
Now launch Milkshape 3D and goto the menus at the top of the screen and select "Tools>Half-Life>Decompile Normal HL MDL File...". Now select your model file in it's folder. A box should pop up with 4 tickboxes. Untick sequences and click OK.
Voila you have sucessfully decompiled your MDL file.

Converting your decompiled model into a 3DS file

With Milkshape 3D still open, goto the menus at the top again and this time select "File>Import>Half-Life SMD..." Browse to your models folder if it isn't already there and select the SMD file that should be residing there. A box will appear with two tick boxes. Untick the skeleton box and click OK. Your model should now appear in the four viewports. Now goto the menus at the top once again and this time select "File>Export>Autodesk 3DS..." Leave the two tick boxes ticked on the window that appears and choose a location to export your 3DS file to. Click OK and you're done. Now close Milkshape 3D.

Importing your converted model into Swift3D v2

Launch Swift3D v2 and select "File>New from 3DS..." Select the 3DS file that you created with Milkshape 3D and click OK. Your model should now appear on the stage and you can do with it as you please! Drop some colour onto it and play with your lighting and create an animation. You can then export the animation as an SWF using the Ravix 2 renderer.

You can do some pretty neat effects with this as you can see below in my example. You aren't restricted to just Counter-Strike models either! anything that Milkshape 3D supports can be exported as a 3DS model so there are many options.

Please let me know if you come up with anything good. I'd love to see somebody use this tutorial and I hope it was usefull to you.

Happy flashing :)

This is the desert eagle model from CS with my own colours and light effects added:

» Level Basic

Added: 2002-05-27
Rating: 8 Votes: 189
(10 being the highest)
» Author
20 M Somerset, UK
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.