| View previous topic :: View next topic |
| Author |
Message |
Jonas Senior Member

Joined: 27 May 2003 Posts: 325 Location: Germany
|
Posted: Thu Aug 28, 2003 9:33 am Post subject: New Listerplugin: mdlviewer (beta) for Half-Life .mdl's |
|
|
Hi,
I played around with the TC and Half-Life SDK and managed it to warp the HL-Modelviewer into a TC-Listerplugin. It's not perfect yet, but it supports the basics like move, rotate, zoom your .mdl and skip Animation forward/backward
It works for all models made for the HL-engine, so also for the lot of mod's such as Counter-Strike, Day of Defeat, etc.
Two main issues that I didn't managed to fix:
-) The animation play only while the 'a'-Key is pressed.
-) When multiple mdlviewers open, you can only interact with the last.
You can look at the source, perhaps you get the clou.
Take a look (.jpg, 133k)
wlx_mdlviewer (.zip, 33k)
source (.zip, 25k)
Last edited by Jonas on Thu Oct 16, 2003 10:21 am; edited 1 time in total |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 17794 Location: Switzerland
|
Posted: Fri Aug 29, 2003 7:09 am Post subject: |
|
|
Wow, nice! Can you give us some links where to get sample mdl files, please? _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Jonas Senior Member

Joined: 27 May 2003 Posts: 325 Location: Germany
|
Posted: Fri Aug 29, 2003 10:31 am Post subject: |
|
|
Here are 2 Models (.zip, 660k)
I've discoverd 2 more bugs:
-) Sometime the window stays blank after loding the .mdl But after the first event that requires a repaint, all is normal again
-) Some .mdl-Files are compiled with external textures (in a file called '<modelname>t.mdl') if these could't be loaded, the plugin quits and takes the TC with it!
Perhaps I can fix it during the next few days... |
|
| Back to top |
|
 |
Strogg Junior Member


Joined: 24 Aug 2003 Posts: 67 Location: Georgia
|
Posted: Sun Aug 31, 2003 11:52 am Post subject: |
|
|
Cool!
It is a great gift to all CS - Half-life fans! Thanks a lot!
It would be great if you add an possibility to save viewed textures as an *.bmp or *.jpg graphical files! |
|
| Back to top |
|
 |
Jonas Senior Member

Joined: 27 May 2003 Posts: 325 Location: Germany
|
Posted: Sun Aug 31, 2003 12:00 pm Post subject: |
|
|
I'll try to add all the features of the HLMV (by Mete, the Milkshape3D-author) which I've extendet a bit.
a Pic
Download
But this will take a while..... |
|
| Back to top |
|
 |
Jonas Senior Member

Joined: 27 May 2003 Posts: 325 Location: Germany
|
Posted: Mon Sep 08, 2003 2:06 pm Post subject: |
|
|
New Version!
Animation is now playing automaticly (it's not nessesary to hold 'a' down any more!).
's' lets the animation freeze and while frozen you can use 'a' to advance 100ms in the currend animation ('A' to rewind).
Also new are different rendermodes. Press 'r' to cyrcle wireframe, flat-, smoothshaded and textured.
Now it's in a quite usable state. But be careful, these bugs are remaining:
-) When multiple mdlviewers open, you can only interact with the last.
-) Some .mdl-Files are compiled with external textures (in a file called '<modelname>t.mdl') if this could't be loaded, the plugin quits and takes the TC with it!
wlx_mdlviewer (.zip, 33k)
source (.zip, 25k) |
|
| Back to top |
|
 |
|