Reskinning Existing Troopers

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

JoeMomma

Post by JoeMomma »

Hm... Not sure what to do there DFYX. I'm not like some sort of master modder.. I barely have any clue what I'm doing. One main thing that causes the skins to not appear is that dc: has to be added to \\side in the lua. It has to be the right lua too, _con, and then you have to play a conquest map.

Good luck, there are a lot better people to help you than me out there.
Bobafett16

Post by Bobafett16 »

DFYX wrote:I tried to use my selfmade skins, but the map still uses the old skins. I copied the common and shell folders, but I can't find out what JoeMomma meant with adding dc:\\SIDE to a lua file. I guess, that's the reason.

EDIT:
OK, I found the lua file, but now the game crashes while loading the map.
Did u copy the "common" folder to your sides file? it is found in your Mod Tools folder in Assets/sides - copy that to your sides folder, and see what happens.
DFYX

Post by DFYX »

I already did that. Doesn't work. The map starts to load and after a few seconds the game crashes.
edge

Post by edge »

:o those are tight
yodaminch

Post by yodaminch »

Image

I haven't been able to try this yet, but I took Ruku's fantastic gree helmet skin from NeoMarz's Clone Ultima and did my best to carefully convert it onto the 501st. If anyone wants to finish the skin, be my guest.
Kaos66

Post by Kaos66 »

k i did evrything u said joemomma and it wrks but the only problem is the game just shuts down after the map is up 4 a couple of seconds :(

wat shood i do??
Bobafett16

Post by Bobafett16 »

Im making a Tutorial on that so it you guys are patient i get it to u ASAP, I'll post link when it done.
Alex533

Post by Alex533 »

I MUST HAVE IT :twisted: LOL
Kaos66

Post by Kaos66 »

has any1 made a tutorial yet???? cos im still havin the stupid problem and its really startin 2 piss me off!!!
M.O.D.

Post by M.O.D. »

I have a neyo skin made... Image
M.O.D.

Post by M.O.D. »

I also have a decent gree one if I can find it...
M.O.D.

Post by M.O.D. »

here it is...Image

(I didn't make these btw, I just found them :p)
Kaos66

Post by Kaos66 »

M.O.D, i want 2 know how 2 put skins in game so if u can help wiff that i will greatly appreciate it
M.O.D.

Post by M.O.D. »

Well, I'm no expert, but is a tutorial on how, in the documentation, I believe...
Alex533

Post by Alex533 »

M.O.D, we tested that Neyo skin in game and it didnt look too good, mainly becuase of the mirroring and the fact that its a ep2 skin put onto an ep3 model.
Rik_Jinn

Post by Rik_Jinn »

hi all. i have been reading this an dkeeping up i have really failed with making maps so i am excited about making skins. i have copied the shell folder in the mod maps shell folder and the common side is in sides, but the game is still loading default skins. i believe you have to change somethinbg inside a lua file to dc//SIDE but what part of which lua file. at the moment i am just testing it out and changing the clone trooper into the jet troopers skin. also, can i edit the heroes in the rep side folder the same as the troops, if so hwo do i cange the maps hero, all help will be greatly appriciated, thanks
M.O.D.

Post by M.O.D. »

Alex533 wrote:M.O.D, we tested that Neyo skin in game and it didnt look too good, mainly becuase of the mirroring and the fact that its a ep2 skin put onto an ep3 model.
Yeah? Lol i wouldn't know....
Rik_Jinn

Post by Rik_Jinn »

M.O.D ur online! do u no how to get the skins in the game. all i need to know is about the dc//SIDE renaming i think please help!
LordofEntropy

Post by LordofEntropy »

@ Rik: You can find the lines where you need to add "dc:" in C:\BF2_ModTools\data_ModID\Common\scripts\ModID. The two (or more) files you are looking for are the .lua files. They should be named something like "ModIDc_con.lua," where "c" denotes clone wars (g would be Galactic Civil War) and "_con" denotes the map type, conquest (can also be _1flag, and _ctf). If you want the game to load different skins for, say, the Republic, you would scroll down until you see these lines:

Code: Select all

    ReadDataFile("SIDE\\rep.lvl",
                             "rep_inf_ep3_rifleman",
                             "rep_inf_ep3_rocketeer",
                             "rep_inf_ep3_engineer",
                             "rep_inf_ep3_sniper",
                             "rep_inf_ep3_officer",
                             "rep_inf_ep3_jettrooper",
                             "rep_hover_fightertank",
                             "rep_hero_anakin",
                             "rep_hover_barcspeeder")
And change that first line to say:

Code: Select all

ReadDataFile("dc:SIDE\\rep.lvl"
That tells the game to load the rep.lvl file in your mods folder (ie, the one you have edited) rather than the ones the game shipped with. To do this with any other factions, the same rules apply.
Post Reply