| 10-18-2003, 06:20 AM | #1 |
Can someone tell me what I need to do, to add a portrait to my model ? I got an .mdl edited model from a friend of mine to add my skin to, but it has no portrait :P Now Id like to do it myself. Anyone able to point me to a tut for this, or answer it even ? |
| 10-18-2003, 09:58 AM | #2 |
You only need to add a target camera. |
| 10-18-2003, 02:29 PM | #3 |
Camera looks like this: Code:
Camera "Camera01" {
Position { 50.746, -50.39, 50.0367 },
FieldOfView 0.605186,
FarClip 1000,
NearClip 8,
Target {
Position { 0.0000, 0.0000, 0.0000 },
}
}If this model has a separate portrait file, name it UnitName_Portrait and put it in the same folder as the main model. It will then show as the portrait. |
| 10-19-2003, 05:30 AM | #4 |
What I have is this: Camera "Camera02" { Position { 62.0244, -190.951, 117.34 }, Translation 20 { Bezier, 0: { 0, 0, 0 }, InTan { 0, 0, 0 }, OutTan { -19.9813, -7.06914, -8.99564 }, 54533: { -29.9812, -10.6069, -13.4976 }, InTan { -29.975, -10.6048, -13.4948 }, OutTan { -29.9812, -10.6069, -13.4976 }, 54567: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 56267: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 56300: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 57633: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 60933: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -33.8124, -17.0876, -12.8022 }, 62933: { -29.9812, -10.6069, -13.4976 }, InTan { -33.8124, -17.0876, -12.8022 }, OutTan { -28.8956, -8.77076, -13.6946 }, 63500: { -25.8019, -3.53761, -14.2562 }, InTan { -26.5432, -4.56255, -14.2515 }, OutTan { -24.3193, -1.48775, -14.2654 }, 64633: { -29.1756, -13.3662, -11.3054 }, InTan { -29.5436, -13.0909, -10.7573 }, OutTan { -29.0242, -13.4795, -11.5311 }, 65100: { -27.962, -12.1797, -12.7615 }, InTan { -26.8284, -13.257, -13.8221 }, OutTan { -28.6908, -11.4872, -12.0798 }, 65400: { -32.0552, -9.25691, -8.79958 }, InTan { -31.358, -9.76458, -9.27263 }, OutTan { -33.2172, -8.4108, -8.01115 }, 65900: { -29.9812, -10.6069, -13.4976 }, InTan { -30.2216, -10.4504, -12.9529 }, OutTan { -29.8529, -10.6904, -13.7881 }, 66167: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 68300: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 68733: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 71400: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 72733: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 75567: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { -29.9812, -10.6069, -13.4976 }, 78567: { -29.9812, -10.6069, -13.4976 }, InTan { -29.9812, -10.6069, -13.4976 }, OutTan { 0, 0, 0 }, Doesn't look like what you posted Oinker, can you help me out? It's the blademasters portrait I need done... |
| 10-19-2003, 03:25 PM | #5 |
If you want the old Blademaster portrait to show up, just put it in the Blademaster's old folder (Units\Orc\HeroBlademaster\HeroBladeMaster.mdx), replacing the old Blademaster MDX. That way it will look to HeroBladeMaster_Portrait.mdx in the same folder for the portrait, and you won't have to edit the MDL at all in that regard. It would help me figure out exactly what you need if you post what your goal is and what folder you are going to have everythign in. The idea with the Blademaster is just to have the portrait file in the same directory as the main model. If you need, I can edit the portrait to point to your new skin path. |
| 10-19-2003, 03:31 PM | #6 |
Oink, ur a savior! :) Yes please ! :) The model path is textures\skinnedd.mdx The skin path is textures\skinnedd.blp I want the blademasters portrait, with my skin and model on it :) If that isn't enough, let me know :) |
| 10-19-2003, 07:51 PM | #7 |
Here it is. Put it as Textures\skinnedd_portrait.mdx . |
| 10-19-2003, 07:55 PM | #8 |
YAY, I lub you Oink!!! :) *hugs* !!! This is awesome :) Hey, Oink, u good at model editing in general ? Or only mdl ? Need some stuff done with some models.... |
| 10-19-2003, 07:58 PM | #9 |
It depends on what the stuff is. If you're more specific, I can say something more definative. |
| 10-19-2003, 08:03 PM | #10 |
Well, my Skinned Demon, based off Blademaster of course, has the attack stripes that he normaly has when he attacks. But in my map, the weapons he carry can varry, so sometimes the stripe don't look right (specialy from the start where he has no weapon at all) I need that attack stripe in the animation removed..can this be done ? Also, I have some weapons that are acting wierd, moving up and down like they are still a person. I need them to be static and follow the movement of the hero, like all my other weapons does. Might need more, but that is the most important right now :) |
| 10-19-2003, 08:14 PM | #11 |
Here it is without the ribbon. I also changed the texture to point to Textures\skinnedd.blp . Is there anything else that needs changing MDL-wise? |
| 10-19-2003, 08:44 PM | #12 |
Only one more thing :) I need the teamcolors removed and hero glow as well :) Then he is simply perfect! You did all this tru .mdl editing?! Wow....I really need to learn this.. Can you remove the team color and spinning blade animation from the spellbreaker as well? Someone else asked for this and I have a skin using such a model as well :) Can't belive how cool you are Oink :) |
| 10-21-2003, 11:28 PM | #13 |
Here he is without the glow. For no team color, you can just edit the alpha channel in the team colored areas or set the color to black via triggers; it ends up being the same thing. |
| 10-22-2003, 05:02 AM | #14 |
Thanks a bunch Oinker :) This will work perfectly :) |
| 10-24-2003, 01:00 AM | #15 |
In response to private messages, here is an example of what I could do with vertex shifting. |
