Override Texture Problem :?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Override Texture Problem :?

Post by SW_elite »

Ive made a new skins side for my mod/map and in the odf for the model im reskining is the line

Code: Select all

OverrideTexture= "cis_bdroid_green"
I think the problem is that this line is stoping my new texture from being used, instead the override texture is what gets used, which is the same texture thats used by the droid marine for the cis.

What I want to do is change this somehow so that my new texture is used instead of the override one. Thanks in advance!
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: Override Texture Problem :?

Post by RED51 »

Just delete the line.
User avatar
impspy
Captain
Captain
Posts: 493
Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP

Re: Override Texture Problem :?

Post by impspy »

or put:

Code: Select all

OverrideTexture= "nameofyourtexture"
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: Override Texture Problem :?

Post by RED51 »

Actually, that's better. By doing that, you save your self some time if you use multiple skins for that one model. BUT remember, if you're using msh viewer, it will not look up the override texture since that value is controlled through the odf. The viewer only reads the mesh.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Override Texture Problem :?

Post by SW_elite »

Yeah but Im doing a skins only side and it only involves tga files. I tried copying the odf file to my side, into an odf folder, and then changing it, but that didnt work, so I came here...

So in short what you just suggested didnt work...

I could just hex edit the msh to change the texture coulnd't I?
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: Override Texture Problem :?

Post by RED51 »

GTers, correct me if I'm wrong, but the Override Texture line does not affect MP... I think...
User avatar
impspy
Captain
Captain
Posts: 493
Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP

Re: Override Texture Problem :?

Post by impspy »

RED51 wrote:GTers, correct me if I'm wrong, but the Override Texture line does not affect MP... I think...

It does affect it, but online if set up in the unit odf; if you use the "SetClassProperty" in the lua, however, it only shows up for the host.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Override Texture Problem :?

Post by SW_elite »

SO what do I do now, and will hex editing a different texture to the model work?
User avatar
impspy
Captain
Captain
Posts: 493
Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP

Re: Override Texture Problem :?

Post by impspy »

Name your skin "cis_bdroid_green" and load it after the cis side. Like AQT said:
AQT wrote:Ok then. So why is there no change for you? The tutorial you mentioned HERE was pretty clear I'd say. I followed it myself and the skin I desired to show up, showed up. Here's my work:

In my side folder called shock I have a file called shock.req and two folders, msh and req.

shock.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"lvl"
"imp_inf_clonetrooper"
}
}[/code]
In the req folder is imp_inf_clonetrooper.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"texture"
"imp_inf_clonetrooper"
}
}[/code]
In the msh folder I have the files imp_inf_clonetrooper.tga and imp_inf_clonetrooper.tga.option. The last side I am loading in my LUA looks like this:
Hidden/Spoiler:
[code] ReadDataFile("dc:SIDE\\shock.lvl",
"imp_inf_clonetrooper")[/code]
And all this worked. Where does your problem lie?
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Override Texture Problem :?

Post by SW_elite »

Do you mean change the name of the texture in the odf or in the side?
User avatar
impspy
Captain
Captain
Posts: 493
Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP

Re: Override Texture Problem :?

Post by impspy »

If you are doing a skin only side, change the name of the skin. If you are doing a new side with msh and odf's, edit the odf.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Override Texture Problem :?

Post by SW_elite »

Okay, ill give ya a yell if it works :)

Nah, didnt work :(
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: Override Texture Problem :?

Post by RogueKnight »

SW_elite wrote:Okay, ill give ya a yell if it works :)

Nah, didnt work :(
Then you did it wrong.

What exactly did you do?
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Override Texture Problem :?

Post by SW_elite »

Dont worry I figured out the problem, I forgot to add the dc: bit to the ReadDateFile line!!!
Post Reply