Problems with a Skin only Side

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
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Problems with a Skin only Side

Post by ryukaji »

I followed the guide to make a skin side to reduce file size but I cannot get it to work.
Heres the Tutorial I followed (B.)
http://www.gametoast.com/forums/viewtop ... ns#p239723
In my lua i have:

Code: Select all

ReadDataFile("dc:SIDE\\skn.lvl",
		    "all_inf_rocketeer",
		    "all_inf_sniper")
Here is my .req for one of the skins

Code: Select all

ucft
{
	REQN
	{
		"texture"
		"all_inf_marksperson.tga"
	}
}
I have the skins in the msh folder
but it isnt working.
Last edited by ryukaji on Sat Apr 12, 2008 9:17 pm, edited 3 times in total.
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: custom skin issue

Post by Grev »

An req for a skin? Thats odd. Unless Im missing something. And this is in the wrong topic.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: custom skin issue

Post by woner11 »

You don't need a req for a skin. Just copy the name of the skin you want to replace and rename your custom skin that name. Then overwrite the original (be sure to make a backup) and it should work.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: custom skin issue

Post by ryukaji »

But if you look at the tutorial.....

Im not just replacing a skin in the complete alliance side, its a way to overwrite a skin without having to have all the other data taking up space that I wont use.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: custom skin issue

Post by woner11 »

Try what I said and forget the req. The most this process has ever added on for me was like 30kb, not much at all and it takes like 10 seconds to do.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: custom skin issue

Post by ryukaji »

I followed this tutorial this isnt normal skin editing where you copy the whole side
Hidden/Spoiler:
This is for changing skins using default sides.
[quote]
I notice alot of maps with big huge 200mb sides with not much changed.
This should help you reduce that (if you understand it)
[/quote]
IF YOUR JUST EDITING SKINS (no odfs)

You going to make a 'skin side'. Make a new side and name it. In my example Im makeing 212nd legion skins, so ill call it "212nd". THen make a MSH and REQ folder in your side. In the msh folder, put all the skins you edited.

Next go to the REQ folder and make a new text file for each skin you edited. For example, if i edited the rep_inf_ep3trooper.tga id make a notepad file called "212_inf_ep3trooper" (it doesnt matter what you call it though). No open up the newly made file, and add the below.
[quote]
ucft
{
REQN
{
"texture"
"skin name.tga"
}
}
[/quote]
You might notice a snins req is different from a unit req
Another example is the clone sniper, which needs to parts in his req because he has 2 texures.

[quote]
ucft
{
REQN
{
"texture"
"rep_inf_ep3sniper"
}
REQN
{
"texture"
"rep_inf_ep3sniper_cape"
}
}
[/quote]

Do this for each skin you edited.
Next open up the SIDE req file, in my case its called 212nd.req.
In it, add the names of all your req files. My req would look like this-
[quote]
ucft
{
REQN
{
"lvl"
"212_inf_ep3armoredpilot"
"212_inf_ep3trooper"
"212_inf_ep3_jettrooper"
"212_inf_ep3_officer"
"212_inf_ep3_sniper"
}
}
[/quote]

Basically you've just made a 'skin' side. Lastly, to over-wright the shipped skins just load your skins in your maps LUA, just like you would units. But make sure you load the skins after all the other sides, or nothing is changed.
THis is what is in my LUA.

ReadDataFile("SIDE\\212nd.lvl",
"212_inf_ep3armoredpilot",
"212_inf_ep3_sniper",
"212_inf_ep3_officer",
"212_inf_ep3_jettrooper",
"212_inf_ep3trooper")
Post Reply