News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

[SOLVED] no texture on custom mapobject

Started by vladdrak, September 10, 2014, 07:14:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vladdrak

i was following a tutorial on how to export static meshes from 3dsmax to doom3. everything seems to work ok, except that neither in the editor (darkradiant) nor in the game the texture assigned to the mesh won't get applied and i'm not quite sure why, i'm really new to this, must be some really noobish stuff, but hey :> any help would be appreciated, thanks.

custom.mtr

textures/custom/trep1a
{
    qer_editorimage textures/custom/trep1a_ed.tga

    diffusemap textures/custom/trep1a_d.tga
}


thing.ASE

*3DSMAX_ASCIIEXPORT 200
*COMMENT "AsciiExport Version  2,00 - Thu Sep 11 00:19:52 2014"
*SCENE {
*SCENE_FILENAME ""
*SCENE_FIRSTFRAME 0
*SCENE_LASTFRAME 100
*SCENE_FRAMESPEED 30
*SCENE_TICKSPERFRAME 160
*SCENE_BACKGROUND_STATIC 0.0000 0.0000 0.0000
*SCENE_AMBIENT_STATIC 0.0000 0.0000 0.0000
}
*MATERIAL_LIST {
*MATERIAL_COUNT 1
*MATERIAL 0 {
*MATERIAL_NAME "01 - Default"
*MATERIAL_CLASS "Standard"
*MATERIAL_AMBIENT 0.5882 0.5882 0.5882
*MATERIAL_DIFFUSE 0.5882 0.5882 0.5882
*MATERIAL_SPECULAR 0.9000 0.9000 0.9000
*MATERIAL_SHINE 0.1000
*MATERIAL_SHINESTRENGTH 0.0000
*MATERIAL_TRANSPARENCY 0.0000
*MATERIAL_WIRESIZE 1.0000
*MATERIAL_SHADING Blinn
*MATERIAL_XP_FALLOFF 0.0000
*MATERIAL_SELFILLUM 0.0000
*MATERIAL_FALLOFF In
*MATERIAL_XP_TYPE Filter
*MAP_DIFFUSE {
*MAP_NAME "Map #1"
*MAP_CLASS "Bitmap"
*MAP_SUBNO 1
*MAP_AMOUNT 1.0000
*BITMAP "\\Purgatory\Purgatory\Doom\base\textures\custom\trep1a.tga"
*MAP_TYPE Screen
*UVW_U_OFFSET 0.0000
*UVW_V_OFFSET 0.0000
*UVW_U_TILING 1.0000
*UVW_V_TILING 1.0000
*UVW_ANGLE 0.0000
*UVW_BLUR 1.0000
*UVW_BLUR_OFFSET 0.0000
*UVW_NOUSE_AMT 1.0000
*UVW_NOISE_SIZE 1.0000
*UVW_NOISE_LEVEL 1
*UVW_NOISE_PHASE 0.0000
*BITMAP_FILTER Pyramidal
}
}
}
...
...







The Happy Friar

The line labled "bitmap" in the .ase model needs to be the material name not the texture name.

IE instead of "\\Purgatory\Purgatory\Doom\base\textures\custom\trep1a.tga" it should be "\\base\textures\custom\trep1a".

vladdrak

#2
thanks for yr reply! i tried what you said, but it gave me the same effect, alas.

The Happy Friar

In the .ase the bitmap's name is "trepla.tga" & in the material it's "trepla_d.tga".  Sure you didn't forget to add the "_d" to the filename?

Zombie

You don't need to use the pugatory thing btw.

I use this if I am using ASE files "F:\games\Doom\base\textures\dungeon\dungeon_base.tga"

I just make sure my doom folder is called doom and not Doom 3 or what ever, and it works just fine and anyone else who uses it. I did this for my last level.

vladdrak

tried the absolute path, but even that wouldn't resolve the issue.
i attached the pak file. would you pelase take lake a look into it? i don't know if i'm overlooking something. thank you very much!

Zombie

#6
I tested your material in Doom 3, works fine. So I thought OK, I'll make a mesh and export that with your material, that worked fine.

So then I thought maybe your export options aren't correct. http://i.imgur.com/rurFamP.jpg these are the options you need for ASE exporting.

Try that and let us know.

EDIT: Sorry if I come off as blunt/straight forward, I'm at work so I didn't want anyone to see me messing about with DOOM :)

tron

I just compared that ase extract to a section of one of mine that works fine and it matches up, so the material should work fine.

Stupid question, but you do actually have the texture textures/custom/trep1a_d.tga right?

vladdrak

Quote from: Zombie on September 12, 2014, 08:43:26 AM
I tested your material in Doom 3, works fine. So I thought OK, I'll make a mesh and export that with your material, that worked fine.

So then I thought maybe your export options aren't correct. http://i.imgur.com/rurFamP.jpg these are the options you need for ASE exporting.

Try that and let us know.

EDIT: Sorry if I come off as blunt/straight forward, I'm at work so I didn't want anyone to see me messing about with DOOM :)

that was it!! :D
thank you all, guys!!

Zombie

Woooo glad it worked!

Make sure to show off anything you're working on :D