3rd Party Models/Media Chat / Can Several Models Use Same Resources Except _D file?

Author
Message
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 8th Mar 2016 12:16
Hi all, after a some searching and reading various posts, I am not sure if this is possible or even good practice.

So I have one Model that's uses several different _D files that make them different from each other, but they all use the same .X, _S, _N, and _I files.

Should they all just be completely separate models, or is there a FPE command that I can use to tell them to use the same _S, _N, and _I files.

Is this doable, good\bad practice?

Thanks for any input

Reliquia....
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 8th Mar 2016 12:32 Edited at: 8th Mar 2016 12:58
There's nothing wrong with that for your own use as long as they work, for the store though, I think you can use the same texture for multiple models, but each entity needs its own model, thumbnail, and fpe.

As far as I know you can specify your _D _S _N and _I files in the FPE, bay adding

textured =
textures =
texturen =
texturei =

If any but textured are missing or empty in the fpe it will look for an _S _N and _I file of the same name as the _D file.

To have one model using different resource multiple times is fairly easy. It's done via FPE's.

Say for example you had 1 model, we'll call it cube, but 3 textures, we'll call them red green and blue (see where i'm goin here? ), your folder would look like (i'll give the example using just the D texture so I don't get confused)...

cube.x
cube_red.bmp
cube_green.bmp
cube_blue.bmp
cube_red.FPE

cube_green.FPE

cube_blue.FPE

cube_red_D.dds
cube_green_D.dds
cube_blue_D.dds


and so on

i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid, Win10.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII, Win7.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII, Win8.1.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII, WinXP.
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 8th Mar 2016 23:06 Edited at: 8th Mar 2016 23:11
Hi, thanks for the input Belidos, much appreciated

Yeah, I though that would be the way to do it but for me it doesn't work.

Here is example of the set up I have tried:

version1 FPE:


version2 FPE:


version3 FPE:


The models display fine but the _S and _I files are ignored, and they get a weird wrinkly effect from the _N which is just a 32x32 pixel image with no detail at all.

I also tried changing the order in the FPE, like putting the _D reference after the _S, _I, and _N, but no difference.

Reliquia....
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 9th Mar 2016 07:59
Not sure if you just left it off for the code here, or you didn't do it in your FPE, but you're missing the .dds tag on the end of your textures there.



Other than that I have no idea. I haven't tried it myself, I'm only going by something I saw Lee talking about in one of his early twitch broadcasts, it could be that it no longer works.

i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid, Win10.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII, Win7.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII, Win8.1.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII, WinXP.
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 10th Mar 2016 09:22
Hi, thanks for the input Belidos.

Yeah, I omitted the dds extension in the above code snippet but it is included in the FPE, but it doesn't seam to be working.

Thanks for helping though

Reliquia....
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM

Login to post a reply

Server time is: 2024-09-28 23:53:41
Your offset time is: 2024-09-28 23:53:41