Page 1 of 1

Texture error with DC-15 Carbine *SOLVED*

Posted: Sat Feb 03, 2007 9:50 pm
by phazon_elite
...sigh :( . I've been trying not to post this for a while, thinking I'd eventually fix it myself, but I've pretty much had it with this.

You might have heard me before elsewhere saying this, but the DC-15 Carbine's texture still does not work for me after hex-editing, then renaming the .tga, then the .msh name, changing the odf, and other things (not in that particular order. It's close though).

I had the model resent to me, but it still didn't work at all, so it was back to square one.

I'm very confused at why it never works for me. I've tried every method I know. Is there another solution? If I hear "hex-editing" again I'll explode after how many times I've done that (about 45-55 times!).

I swear undead pirates had something to do with this, if only a very small part...

- EP-000782

RE: Texture error

Posted: Sat Feb 03, 2007 9:55 pm
by wierd165
wow thats alot of times i feel bad for u someone needs to help u and i sware i heard a report on CNN on a couple of undead
pirates using our mod tools and taking the DC-15 Carbine texture files away....weird u say that.

RE: Texture error

Posted: Sun Feb 04, 2007 12:11 am
by Droideka88
Pirartes? It better not be fanboys from other so-called "popular" games or else....I've never heard anything like this. And Elite, I've received the same unfortunate when I tried to create many textures for one model. If I were, check with Schizo because he has frankly agreed to see if I did something wrong or if is weird with the Mod tools....

DC-15 Carbine

Posted: Sun Feb 04, 2007 6:43 am
by AceMastermind
If this is the same DC-15 Carbine that references a "noIcon.tga" in the ".msh" file, then you should right click on each of files(.msh, .tga's, and .option files) and click on "properties", and if you see "Unblock" near the bottom, then the file is blocked, click on "unblock" then click "ok".
The one I have would not appear at all until i unblocked the .msh, .tga's, and .option files.

If "unblocking" the files doesn't work for you, then we'll try something else.

I put the DC-15 Carbine on my "test" map as a prop and it does indeed work.

Posted: Sun Feb 04, 2007 12:12 pm
by phazon_elite
They were never blocked at all, so it's something else. I also don't have the "noIcon.tga" because it was never made, right? If it was, I'll probably need it.

- EP-000782

What have you done? questionaire

Posted: Sun Feb 04, 2007 6:21 pm
by AceMastermind
What files came with your DC-15 originally?

What is the geometryname referenced in the ODF?

What is the name of your ".msh" file?

When you opened the ".msh" with a HexEditor the first time(pressing ctrl+f and typing tga), what ".tga" names were referenced in there?

Are you putting this weapon in a custom side?

Is the custom side setup correctly?

Is your LUA referencing your custom side?

Are you munging your custom side?

Did you copy the "Common" folder from:
BF2_ModTools\assets\sides
to:
BF2_ModTools\data_ABC\Sides ?


I'm asking all these questions because i don't know what you have or have not done other than Hex Edit the ".msh", and getting a weapon to work is very simple, unless of course you have "broken" the ".msh" through Hex Editing it the wrong way.

Posted: Mon Feb 05, 2007 5:46 pm
by phazon_elite
1. The DC-15 model, it's option, and the rep_1st_weap_inf_pistol_real_bump.tga, which isn't even part of it. I got that from Syth's asset pack.
BUT, afterward, I got the correct model, textures, and option files sent to me by MasterSkywalker, who had the DC-15 in his "Attack of The Star Destoyers" space map. He set up the msh folder and the odf folder correctly with all the things in the right places. So right now, I'm using the one given to me by MasterSkywalker.

2. The current geometryname is "rep_weap_inf_dc15carbine". Sometimes it's been a different name due to me renaming the model, textures, and all that other stuff (options). Those times worked, but still no texture.

3. The current model name is rep_weap_inf_dc15carbine.msh"

4. "rep_1st_weap_inf_pistol_real.tga"; "rep_1st_weap_inf_pistol_bump.tga" and "noIcon.tga"

5. Yes and no. I'm currently testing it with my custom side in a map I'm working on right now to see if it works, but I get an odd error.

6. Yes. It's set up correctly since all of the other weapons have been hex edited and use different textures. Heck, the rep pistol looks like that DC-19 "stealth" carbine now!

7. Yes.

8. Lol, yes. I clean and munge everytime.

9. Always.

So everything is set up correctly, I've tried to hex edit a ton of times (and I meant it when I said 45-55 times), rename the things, change the odf, and clean and munge.

There's one thing about the custom side, though. The error for it is this:

ERROR[PC_modelmunge msh\rep_weap_inf_dc15carbine.msh]:computing tangent vectors: determinant is zero!

I've gotten that before on rep, but I always fixed it. When it happened, though, the carbine didn't work at all. I just re-copied the files and there it was, with no texture...

So when I refresh the files I'll come back to you on the custom side and the carbine.

- EP-000782

You have the same DC-15, so it should work

Posted: Mon Feb 05, 2007 6:10 pm
by AceMastermind
The DC-15 that you have is indeed the same one that i posted in the pic, if you want, i'll send you the one I have because it definitely works, without errors.

Posted: Wed Feb 07, 2007 7:22 pm
by phazon_elite
Unfortunately, it didn't work with my custom side either.


So yes, I would like the files, again...

But before that, I have a few questions:

1. Where did you place the files to get them to work? PC or msh?
2. Is the noIcon.tga nessecary?
3. I tweaked the odf slightly (only a couple changes like the firesound and the award glitch), so maybe that aftects the problem
4. If I didn't tweak it slightly, would there be the award glitch?

I have bad luck when it comes to anything with a "DC-15" before it.

- EP-000782

Response to answers from questionaire

Posted: Wed Feb 07, 2007 10:10 pm
by AceMastermind
phazon_elite wrote:1. Where did you place the files to get them to work? PC or msh?
I'm guessing that you copied the side folder from the assets being that you have a "PC" folder inside the "msh" folder.
I always place all ".msh", ".tga", and ".option" files inside the "msh" folder.
phazon_elite wrote:2. Is the noIcon.tga nessecary?
It is called for in the ".msh", but whether you need it or not remains to be seen as there is another file with a different name but the exact same texture.
phazon_elite wrote:4. If I didn't tweak it slightly, would there be the award glitch?
Not sure, i would need to see your ODF.

Posted: Thu Feb 08, 2007 7:44 pm
by phazon_elite
Well, I'll just show the stuff I typed in:
ScoreForMedalsType = -1
MedalsTypeToLock = -1

ShotDelay = "0.14"

HUDTag = "hud"
So that's all. I'll try out you files to see if they work. I think the noIcon.tga is the answer, which you had in the files.

EDIT!!!: And it was! YEAH!!! Finally!!! Oh my [raw danger!] god thank you! Now my quest for the DC-15 Carbine is complete.

- EP-000782