[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Making a Quake MDL in Blender: for dummies, NOT TOTAL MORONS

Making a Quake MDL in Blender: for dummies, NOT TOTAL MORONS

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

Making a Quake MDL in Blender: for dummies, NOT TOTAL MORONS

Postby leileilol » Sat Oct 25, 2008 7:00 am



Image
OK! Here's a tutorial for those who think that crappy crippled shareware QME program is the only solutionwell I got news for youTHIS ISN'T 1997-2007 ANYMORE the future is now

This is NOT a tutorial on HOW TO MODEL!!! You're on your own for that one.


I recommend at LEAST 2.47. Don't use 2.46, they broke alot of stuff in that one. 2.48 is untested but you can try it there anyway.
http://blender.org is the site for it. Don't go searching for it on p2p services, you'll most likely UM GET A TROJAN LOL
We don't care what your operating system is, this tutorial assumes you are using CRAPOPERATINGSYSTEMTHATSOMEHOWRUNSWHATISNECESSARYINTHISTUTORIAL


First!!
There's that revolutionized the modeling pipeline for years to come!!! AHEM. You want to scroll down and find a download link to 'pak2.zip'. It's no official download but!! it contains this vital file!! the py file you need!!! YES!!! (this part of the tutorial will be updated when I get around committing this script permanently to fsfps svn)

Open your favorite ZIP tool on that zip file. I don't care what *YOU* use to extract with, but I recommend . You can download it for free! It's free!!! Free is good!!!

Extract the 'ajmdl_export_055.py' file to your .blender\scripts subfolder in your Blender folder. I WILL NOT HELP YOU FIND YOUR BLENDER INSTALLATION AND HOLD YOUR HAND. If you can't get past this step, then I don't care. Go fail!

Run Blender, and assure you can actually USE the exporter before you advance.
Image
If you don't see that in that menu, then you are CLEARLY DOING SOMETHING WRONG, STUPID!!!

Now that step is over (I HOPE) we go onto


I'm not going to call the play-by-play on model construction as that's a whole 'nother realm. BUT!!! YOU GET TO . For this tutorial i'm going to make a blocky crappy gun of sorts. Maybe someone will have a use for it!!! I doubt it.


I think I am pretty much done! WOW that was fast!!! When you're happy with it, EXPORT IT! Like in the picture seen in step 1, you can now finally CLICK the "MDL" export in there! Then save! OMG!
Since I made a GUN, I want to replace the shotgun view model. I made a new folder in my Quake folder called 'badass', and another new subfolder in there called 'progs'. I took my MDL file, renamed it to v_shot.mdl, and started the game

Image
NOW IM TOTALY BAD ASS


A SUPER CRITICALLY IMPORTANT NOTE note: your model MUST BE TEXTURED via TEXTURE ASSIGNMENT and NOT by material assignment. To assign a texture, you have to select all vertices/faces/edges in Edit Mode (just press the A key to select all), then select a texture in the UV/Image Editor panel. If you don't have a texture there, open one. Any one. If you've got a cube, you could open your favorite picture in the whole wide world and export a Quake MDL of just that on a cube. Why am I even doing a WEAPON!!! I am so generous.
Also!!! It can only have ONE TEXTURE. Don't do that MORE THAN ONE MAYBE TWO OR THREE textures crap on it!

ALSO NOTE: Only one object can be exported. There is NO support for multiple models! Though if you're lazy, and you don't care about how jumbled the UVs will get, you can Join two objects and then go in the UV/Image Editor and find the "Consolidate into one image" button. There will spare you the EFFORT of HAVING to copy and paste! You paster.

Another note: We are working with Quake coordinates. Front is side, and side is front. From the Front view, the model should be facing towards the RIGHT. From the Side view the model should be facing the FRONT to your CAMERA.

Also another note: Scale may be too small. Scale it up. This is trial and error to you, i'm not gonna tell you how big your model should be. You're on your own for the model scale but you can figure it out. That is, if you've actually made it to this step that is. I HOPE.

once again ANOTHER NOTE: Quake's frame numbers start at 0. Blender's frame numbers start at 1. You'll have to do some MATH in your HEAD to create frames relative to those of Quake! Like Quake frame + 1. This is important if you're a QuakeC coder making new cool things no mod had ever (WE NEED MORE OF THOSE BTW WE'RE IN A CREATIVITY CRISIS)

oh and final and very important note: The exporter exports all frames up to the currently selected frame in the 3d view. Go to Frame 8, and the exporter will export the first 7 frames of the model! Go to 1, and you'll have a one frame model! Go to frame 9003, and you'll have a 9002 frame model! (OR NOT?!)

also an obligatory don't forget note: DON'T FORGET TO SAVE YOUR TEXTURE IN UV/IMAGE EDIT PANEL! File>Save does NOT save the texture, unless it is an image PACKED into the file. (cmiim) I made the mistake in this tutorial by not saving the painted texture in the video. That's why the gun looks funny in the GIF file. Oh well :(

oh and final note for real: The exporter saves the UVmaps and texture upside down as well as not saving the normals properly. This will be fixed. You can fix the normals in QME and set model flags there as well, but I don't want to recommend QME anymore. It's just a minor 'missing feature' yet to be fixed and added.
Last edited by leileilol on Sun Jan 20, 2013 2:43 am, edited 3 times in total.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Baker » Sat Oct 25, 2008 9:06 am

Very nice tutorial, sir.
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby ceriux » Sat Oct 25, 2008 3:27 pm

nice, seems easyier than anything i have to do atm lol :D
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby CocoT » Sat Oct 25, 2008 6:24 pm

That's an interesting tutorial. It would be nice to have it posted somewhere in the I3D tut sections (minus the annoying caps and the noob-bashing, of course).

Now, just to clarify one thing for those who cannot find their "scripts" subfolder: don't look into the folders where you actually chose to install blender, go to your "c:/documents and settings/yourname/applications and data/blender foundation/blender/.blender/scripts" folder.
- New location: Update your bookmarks!
User avatar
CocoT
 
Posts: 695
Joined: Tue Dec 14, 2004 5:39 pm
Location: Belly-Gum

Postby leileilol » Sat Oct 25, 2008 7:32 pm

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby CocoT » Sat Oct 25, 2008 10:02 pm

- New location: Update your bookmarks!
User avatar
CocoT
 
Posts: 695
Joined: Tue Dec 14, 2004 5:39 pm
Location: Belly-Gum

Postby Lardarse » Sun Oct 26, 2008 4:04 am

User avatar
Lardarse
 
Posts: 266
Joined: Sat Nov 05, 2005 1:58 pm
Location: Bristol, UK

Postby r00k » Sun Oct 26, 2008 4:55 am

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Postby ceriux » Sun Oct 26, 2008 8:42 pm

User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby leileilol » Mon Oct 27, 2008 5:15 am

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby DireBetaFiend » Mon Oct 27, 2008 5:24 am

Last edited by DireBetaFiend on Mon Oct 27, 2008 8:09 am, edited 1 time in total.
DireBetaFiend
 
Posts: 10
Joined: Mon Aug 18, 2008 3:46 am

Postby ceriux » Mon Oct 27, 2008 6:55 am

User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Spike » Mon Oct 27, 2008 11:51 am

.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby DireBetaFiend » Mon Oct 27, 2008 3:59 pm

DireBetaFiend
 
Posts: 10
Joined: Mon Aug 18, 2008 3:46 am

Postby Dr. Shadowborg » Mon Oct 27, 2008 6:50 pm

User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1120
Joined: Sat Oct 16, 2004 3:34 pm

Next

Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest