the alliance camos...

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
Talibanman

the alliance camos...

Post by Talibanman »

i'm having problems, cos there are three different camoflages for different enviroments. how do i change them between each other? my goal is to get the rebel rifleman to wear a balaclava, but it aint showing up, cos i don't know what of these three he uses as the default camouflage
all_inf_soldierdesert, all_inf_soldierurban or all_inf_soldierjungle?
help would be greatly appreciated.
Talibanman

RE: the alliance camos...

Post by Talibanman »

help, anyone?
drummerzoid1

RE: the alliance camos...

Post by drummerzoid1 »

"all_inf_rifleman_desert"
"all_inf_rifleman_fleet"
"all_inf_rifleman_jungle"
"all_inf_rifleman_snow"
"all_inf_rifleman_urban"
there's the right way to write them, glad to be of service!
dreadlordnyax

RE: the alliance camos...

Post by dreadlordnyax »

well, you could try try it out yourself, for example, make a backup of all 3 somewhere else, then put green all over one skin, red on another, and blue on the last, then whichever shows up is it ;)
i think the default one is jungle, but i'm not positive.
Talibanman

Post by Talibanman »

there's the right way to write them, glad to be of service!
sooo... should i edit the tga and then rename it?
CarbineImpulse

Post by CarbineImpulse »

Having looked at contents of all_inf_soldier.msh I think you need to edit the all_inf_soldierjungle.tga.

If he's not showing up the make sure you're calling the reskinnrd unit in mission lua i.e. :
ReadDataFile("dc:SIDE\\all.lvl", "all_inf_rifleman")
and that he's called in the SetupTeams section of your mission lua as well.
obviously you'll need to amend it to suit yous specific needs but I think that should work.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

Carbine' don't forget that the .msh files ONLY calls for that certain .tga which it was exported 'with'.

so if you rename a .tga from all_inf_rifleman.tga into all_inf_fisherboy.tga it'll show up without texture.
the .tga is bound to the .msh - so you will have to overwrite all_inf_rifleman.tga with his 'new' texture.

and if you rename the .msh to all_inf_fisherboy.msh, it'll still use all_inf_rifleman.tga
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

sooo... should i edit the tga and then rename it?
To make it clear...yes, you edit the tga. NO! You do not remane it. It'll just be that much easier for you.
CarbineImpulse

Post by CarbineImpulse »

so if you rename a .tga from all_inf_rifleman.tga into all_inf_fisherboy.tga it'll show up without texture.
the .tga is bound to the .msh - so you will have to overwrite all_inf_rifleman.tga with his 'new' texture.
yep, basically I checked the msh to see which which .tga was "bound" or being called by it.

LOL how to overcomplicate a simple reskinning :D

NOTE - You can edit the msh using ultra edit or something to call a different tga, however if you change the name of the tga you want to associate with it then you must keep it the same number of characters otherwise it'll bugger everything up... a little tip I got from SatV :) Still much easier to keep everything the same and just change the appropriate image. :)
Talibanman

Post by Talibanman »

ya, i just noticed that the problem was that i munged the common too, ven tho it was already munged :P the skins work now.. thanks! :)
Talibanman

Post by Talibanman »

DARN! i edited the jungle camo once and it worked. but then i edited it again and deleted the former one. now the former wich i already have erased from my computer still shows up, even tho i munged again :(
drummerzoid1

Post by drummerzoid1 »

oh i thought you were talking about lua con never mind.
Post Reply