I 'm new one here I love Duke Nukem 3D also like HRP version but I just wondering. Some time I collect nice models of weapons from 80's action movies like Predator 1987 or Terminator 1 1984 to HL1 and for addons. On my YT channel You can see:
Half Life 80's action movies weapons pack
Opposing Force 80's action movies weapons pack
So my question is is it possible to use these models to Duke Nukem 3D HRP and use these 3D nice models like Desert Eagle, M16A2 with M203, M60, M134 also I have M202 and Minigun.
Greetings Nfsfan83
This post has been edited by Nfsfan83: 14 November 2020 - 12:45 PM
Hello, welcome to the forum.
It is technically possible to use those weapons in the HRP. You would have to convert the weapons and any game-specific animations to an MD3 model to work with the HRP. Textures would have to be converted to PNG or TIFF.
Take a look at the definition files in the HRP and see how it's set up.
There was a mod for Half Life I called 'Cataclysm'. It's long gone and cancelled, but I don't know if you would want to have a play with the assets if you are into HL modding.
Also Neosis can convert mdl to md3 file but... where are models are? In duke3d_hrp pack? and how to replace and set nice position in game? and where textures I must copy?
This post has been edited by Nfsfan83: 15 November 2020 - 05:38 AM
You probably downloaded the HRP as a zip file. If you unpack the zip file, one of the folders you will get is 'highres'. Go into the 'highres' folder and go to 'sprites'. From there, go to 'firstperson' The files for the HUD items like the hands and weapons are in here.
If you come out of the 'firstperson' folder, you'll find a 'firstperson.def'. This is a text file that tells the engine how to load the model and texture files.
Tea Monster thanks for advice but problem is how to set good model in game. I mean I can convert HL1 model to md3. In new model md3 I have all animation like idle, shoot and reload but how to set it in Duke Engine I mean: position, good frames and animation.
I need some small help for someone who can programing this?
About textures - HL1 model has example 5 textures: body, grip, barrel, hand and shell? Can I add this all 5 to HRP textures or must join to one?
This post has been edited by Nfsfan83: 18 November 2020 - 05:34 AM
EDuke models can have multiple shells/hulls/objects, each with it's own material and UV maps. So you don't have to unify your HL models to get them into Eduke.
A good way to start is to open the MD3 in your 3D app of choice (Noesis will work fine) and check the position and scale of the model to an existing Duke model. You can adjust the position of the model completely through the def file, but for starters, I'd try that. That is how I got the position of my pistol to match up with the earlier version. If you match the scale and position to an existing asset, you hopefully won't need to tweak your def file too much.
Unless you partner up with someone on the site, nobody is going to do it for you. We all had to learn how to do this stuff. You can ask around if someone wants to help with this aspect, but it depends if someone has the time to spare and the interest. I am currently busy with other projects myself, but have an ask around.
Alternatively, and this is what we all did, learn how to get models into the game. If you have problems, post here or in the HRP thread and people will do their best to attempt to answer specific questions you have.
Ok , So I comparsion in NPhernos MD3 compiler original shotgun md3 file and my new shotgun form HL and two most important things:
1. orginal shotgun is only 4 frames? my is 183 all animation, what frame limit is?
Source has skeletal animation, so maybe it literally exported every frame, rather than keyframes? I've messed around with the HL2 map editor, but never really got into model modding, so I couldn't tell you. EDuke can interpolate between animation frames. Eduke has a system where if you have 4 original animation 'frames' for a sprite animation, you can give your model more frames and it will fill in that particular sprite action with more animation frames. So the death animation is 3 frames on the sprites, but the model of the Cycloid can reach out to the player for mercy before expiring.
Nfsfan83, on 18 November 2020 - 09:58 AM, said:
2. weird position of original shotgun in NPhernos MD3 compiler i must move him few times to center to see anything, my works fine on center.
Don't know without seeing what you are talking about. Again, you can tweak the def file to precisely position your model. I suggested matching the positions and orientations to make it easier for you.
Nfsfan83, on 18 November 2020 - 09:58 AM, said:
3. is it any polygons limit of the model?
I've made boss models with 13K + polys, so anything that will work in HL 2 should work fine in EDuke. There are problems with polymer, but they are more engine and renderer limitations, rather than model polycounts.
Nfsfan83, on 18 November 2020 - 09:58 AM, said:
Also I need some tutorial about this: "frame" "anim" and "hud" need description with some help screens
You'll have to see if anyone else prepared something. I learned by doing back in the day. I know there are some things up on the wiki.
frame with the two numbers is the animation of the sprites that the model is replacing. Each tile in Duke3D has a tile number. The frame with the brackets after it indicates what animation block it is replacing, like firing, or recoil.
skin is the name of the diffuse skin. You can specify diffuse, normal and specular. There is supposedly a gloss skin for polymer but we could never get it working reliable. There is a gloss component that can be specified per model hull in the def file. Again, see the docs.
The 'hud' instruction tells the engine to place the model in the heads-up-display. the "_add" commands tell the game where to place, rotate or tilt the model within the HUD space.
Tea Monster I know nobody want help, because we live in weird times but I want make Duke Nukem 3D more great
Due to a number of issues, the focus of the Duke community here has shifted to sprite-based modding. I can't really help because I have a lot of real-life on hand and I need to concentrate on that at the moment.
Nfsfan83, on 18 November 2020 - 09:58 AM, said:
By myself I can't handled weapons animations, I'm good in level design, this is my sftuff:
Quick fake for funny - my dream list weapons models:
So if 3D model is too hard to make to Duke, If I make screen caps from 3D program, 3D viewer animation, is it any one who can make nice sprites from this?
Honestly I love old sprites style more than 3D models, and what I see, what talented people make for example: Brutal Doom I'm impressed.
For quick preview, to see if this it works I do this:
1. Open HL1 mdl model in Neosis and converted it to md3 file
2. rename to 2613_shotgun and add to HRP pack file
3. When game start, I have in Eduke32 launcher: something like - warrning model can't be load
4. In game when I take models 3d - I have spirte model
I think problem is frames number of animations:
1. oryginal shotgun from HRP - only 5 frames like spirtes
2. my new shotgun in md3 file - all animations is 184 frames
and start postion of model
This post has been edited by Nfsfan83: 19 November 2020 - 04:55 AM
You have to do more than only rename your model. There are lines of code you need to add or modify in the .def file that Teamonster posted earlier. You need to know the internal "frame name" for each animation you want to use. In Teamonster's example that name is the same as the tile number you are replacing. But those names can be amost anything depending on the program that was used to create the model. I use a program called Npherno to load the model and find what the frame names are. There are a lot of small things you have to do to get a new model in the game, but after you do it once it becomes way easier. Like other modders, I learned by looking at the HRP examples.
This post has been edited by Mark: 19 November 2020 - 05:52 AM
When the original model was being saved, the creator's program should have given the model it's default frame name. It should be showing in the blank white box on the lower right side of Npherno. For some reason that name got deleted during conversion to another format. You will have to load the model into some 3d model program and resave it so it can get frame name again. For instance, Blender automatically saves frame names as FRAME1, FRAME2... Misfit Model 3D names them none00 if static and AnimFrames00, AnimFrames01...if animated.
One thing you could try is to open the MD3 model in Misfit Model 3d or Maverick Model 3D. Then save them out again from MM3D. When it saves the model out from MM3D, it should give each frame number a name.
I've not tried this myself, but it's one idea I came up with.
For future reference, what soft are you using? Blender has a working MD3 exporter and I know that Valve issued some source engine tools.
If you can get it into Blender, this might work better generally.
This post has been edited by Tea Monster: 24 November 2020 - 10:46 AM
I have Windows XP SP 3 and have 3DS Max 2009, Milkshape and for Duke Models I find: NPhernos MD3 compiler also use Neosis for conversion HL to Q3 model.
But I can't make any animation.
Ok, so with Your help Guys, I make a little progres!!!
Now I can see name of frames in NPhernos MD3 compiler:
I wonder if viewing the model in a hex editing program would allow you to add your own name. I never tried it so I would know where to add it. Possibly by loading a model with a known name you could find out where to add it in.
EDIT: I loaded an md3 model with a valid frame name into HxD hex editor program. The model's frame name showed on the 10th line from the top. So it looks like you can add your own name in there.
This post has been edited by Mark: 24 November 2020 - 11:38 AM