Help getting skins into a premade map!

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
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Help getting skins into a premade map!

Post by Daniel0605 »

Hey! I'm new to modding SWBF2 and I need some help. I'm making a mod based on ruunning gags of the Force-Cast and really need help! I found one skin I want to use, Droideka88's Blackhole stormtrooper. I'm trying to put it into Mos Esiley GCW conquest, replacing the regular stormtrooper. I have looked trough tutorials, but I still couldn't figure out how to put the skin in. I understand how to make a copy of a premade map, but I can't get the skin in!
Could anyone please make clear step by step instructions of how to do this?

Oh BTW, here is the skin:
http://starwarsbattlefront.filefront.co ... k_2;62688x
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Help getting skins into a premade map!

Post by DarthD.U.C.K. »

its very easy:
1. make a new side (how to do this? look in the sithtroopertut)
2. make a unit called : blackholetrooper or whatever
3. copy the original stormtroopers and his weapons odf mesh and skinn from the assets/sides/imp/ into your side folder
3. make a new odf: blackholetrooper or whatever
4. write inside:

Code: Select all

[GameObjectClass]
ClassParent         = "imp_inf_rifleman"

[Properties]
GeometryName        = "imp_inf_stormtrooper"
GeometryLowRes      = "imp_inf_stormtrooper_low1"
5. replace the old stormtrooperskinn with your new skinn
6. open the Shippedmapg_con.lua or another lua
7. add these lines:

Code: Select all

ReadDataFile("DC:SIDE\\YOURSIDE.lvl",
				"blackholetrooper")
8. change the line:

Code: Select all

soldier	= { "imp_inf_rifleman",10, 25},
to:

Code: Select all

soldier	= { "blackholetrooper",10, 25},
9. munge (including the sides) and enjoy the skinn

EDIT: im not shure if its necessary to copy the weapons files too
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Help getting skins into a premade map!

Post by Taivyx »

No, I think he's trying to get a skin into an already-munged map.

Sorry, but it's not possible
User avatar
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Re: Help getting skins into a premade map!

Post by Daniel0605 »

Taivyx wrote:No, I think he's trying to get a skin into an already-munged map.

Sorry, but it's not possible
No, I already made a copy of a shipped map, and I'm trying to put in the blackhole stormtrooper replacing the stormtrooper.

I thought I did everything right, but when I tried out the map, the Stormtrooper was entirely gone. There was no stormtrooper, or blackhole stormtrooper. How do you make the .option file for the blackhole stormtrooper?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Help getting skins into a premade map!

Post by DarthD.U.C.K. »

sorry the method i described is too complicated
a better way
1. copy the whole imp side ito your sides folder
2. replace the old stormieskinn in the mshfolder
3. goto your luas and and change the line:

Code: Select all

ReadDataFile("SIDE\\imp.lvl",
                    "imp_inf_rifleman",
                    "imp_inf_rocketeer",
                    "imp_inf_engineer",
                    "imp_inf_sniper",
                    "imp_inf_officer",
                    "imp_inf_dark_trooper",                   
                    "imp_hero_darthvader")
to

Code: Select all

ReadDataFile("DC:SIDE\\imp.lvl",
                    "imp_inf_rifleman",
                    "imp_inf_rocketeer",
                    "imp_inf_engineer",
                    "imp_inf_sniper",
                    "imp_inf_officer",
                    "imp_inf_dark_trooper",                   
                    "imp_hero_darthvader")
this method is easyer, but the map will have a huge filesize
User avatar
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Re: Help getting skins into a premade map!

Post by Daniel0605 »

I still can't get that darn Blackhole Stormtrooper in-game! :x Could someone give me specific step by step instructions. Literally walk me through every step...

"Now click the X button in the upper right to exit the folder"
Well, maybe not that specific. :P

Like for example, this is what I don't want:
"2. replace the old stormieskinn in the mshfolder"
I have no idea how to do that!

Please help!
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Help getting skins into a premade map!

Post by DarthD.U.C.K. »

Daniel0605 wrote:I still can't get that darn Blackhole Stormtrooper in-game! :x Could someone give me specific step by step instructions. Literally walk me through every step...

"Now click the X button in the upper right to exit the folder"
Well, maybe not that specific. :P

Like for example, this is what I don't want:
"2. replace the old stormieskinn in the mshfolder"
I have no idea how to do that!

Please help!
replace the skinn means: call the new skinn exactly like the old skinn and replace the old dkinn with the new renamed skinn

EDIT: ok i dont wnat to insult anyone, but i have to sayto all newbies: LOOK INTO THE TUTORIALTHREAD BEFORE YOURE ASKING ANYTHING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :x :runaway:
there you can find nearly everything
User avatar
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Re: Help getting skins into a premade map!

Post by Daniel0605 »

DarthD.U.C.K. wrote:
Daniel0605 wrote:I still can't get that darn Blackhole Stormtrooper in-game! :x Could someone give me specific step by step instructions. Literally walk me through every step...

"Now click the X button in the upper right to exit the folder"
Well, maybe not that specific. :P

Like for example, this is what I don't want:
"2. replace the old stormieskinn in the mshfolder"
I have no idea how to do that!

Please help!
replace the skinn means: call the new skinn exactly like the old skinn and replace the old dkinn with the new renamed skinn

EDIT: ok i dont wnat to insult anyone, but i have to sayto all newbies: LOOK INTO THE TUTORIALTHREAD BEFORE YOURE ASKING ANYTHING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :x :runaway:
there you can find nearly everything
Yeah I think I understand that part. I don't know what file the stormtrooper is.

Also before shouting at me for not doing something, please read my first post. I said in my post that I have looked through the tutorials. I've looked extensivley through the tutorials actually. Thanks a lot for shouting and me and insulting me.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: Help getting skins into a premade map!

Post by The_Emperor »

Take it easy guys. He wasn't insulting you, but yeah it was rude with dem big letters. No need for that.

The costum jedi creation guide covers about everything you need to know about getting skins in-game, just read that, and if you don't understand something in it you can ask about it here.
But please, be a bit specific with your questions. We can't (meh, won't) walk you through step by stap, the docs that come with the modtools do that.
If you have a question about something specific, something you don't understand, or something that's not dealt with in the docs, people'll be glad to help.

If you've "looked extensivley through the tutorials" (the costum jedi creation docs are relevant to your question) and still don't get it, at least tell us what part of it you don't get.

But there's no need to get mad, take it easy.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Help getting skins into a premade map!

Post by Maveritchell »

Btw, one thing you may notice if you choose to "look extensively" through the BF2 "Everything you need" thread is a unit .odf list. Often (although not always) the .tga names are very similar to the .odf names. Sure, you could ask for what the name is (it's imp_inf_trooper, by the way), but it's better for you and easier for us not to spoonfeed you the information. Why? Because learning the assets (what they do, where they are, what the names are) takes - people hate to hear this - work. Yeah, it's a pain, and yeah, it means you can't just jump into modding. But once you learn them, it makes everything significantly easier.

And here's a tip: If you're trying to find a certain .tga, the best way is to just look through that side's msh folder. (There's a more complicated way to figure exactly out what .tga you need, and I'll explain that if you want, later.) Ninety percent of the time you can just find the right .tga by seeing if it looks like the one you want. Btw, use the program available at this link:
http://greggman.com/pages/thumbplug_tga.htm
That allows you to view .tga thumbnails in Windows, making sure you can just do quick looks at what a .tga file has, rather than opening them up every time.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Help getting skins into a premade map!

Post by DarthD.U.C.K. »

sorry, i were really nerved on this day but in the faq thread is a link: beginners guide to get new skinns ingame
User avatar
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Re: Help getting skins into a premade map!

Post by Daniel0605 »

Thanks for the support everyone. I really should tyr making my first map. I guess I'm just really eager to make the Force-Cast Mod. I followed DarthD.U.C.K.'s second instructions, but I launched the game and when I tried to play the mod, halfway through the loading screen the mod crashed. :? This is exactly what I did:

1. I copied the IMP side into my map's side folder
2. I put the Blackhole stormtrooper skin over the imp_inf_trooper
3. I changed the lua exactly like you said to.


Offtopic: DarthD.U.C.K., I accept your appology. :)
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Help getting skins into a premade map!

Post by MandeRek »

The thing that could be wrong, is that you need to add the Common folder.

Got to BF2_ModTools\assets\Sides and copy the common folder. Paste it in data_###\sides (### is how you called the map) Munge after doing this. Also make sure you overwrite the imp_inf_trooper as a tga, not an jpg or whatever. If you followed this post correctly, you just brought your first skin ingame :P :wink:
User avatar
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Re: Help getting skins into a premade map!

Post by Daniel0605 »

MandeRek wrote:The thing that could be wrong, is that you need to add the Common folder.

Got to BF2_ModTools\assets\Sides and copy the common folder. Paste it in data_###\sides (### is how you called the map) Munge after doing this. Also make sure you overwrite the imp_inf_trooper as a tga, not an jpg or whatever. If you followed this post correctly, you just brought your first skin ingame :P :wink:
Thanks for the help! I'm going to go put the common folder in right now!
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Help getting skins into a premade map!

Post by MandeRek »

Just as little explanation; the Creators worked with parents, which you would learn later. Parents are most of the time located in the side folder, but the highest parents which give standard props for all sides are in the Common folder, that's why you will find a lot of odf's. These parents need to be in the same folder as the side which asks for the parents.



Ignore this all if you want, what i posted before should work ^^
User avatar
Daniel0605
Private Third Class
Posts: 47
Joined: Wed Nov 14, 2007 11:42 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Dominica
Contact:

Re: Help getting skins into a premade map!

Post by Daniel0605 »

MandeRek, I put the common folder in and the skin worked! :D Only problem is that it changes the heavy trooper to the blackhole stormtrooper skin too. :?. I'll deal with that later though. I was just trying to get to know the mod tools better, and to create a sneak preview for my mod. Thanks so much MandeRek!
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Help getting skins into a premade map!

Post by MandeRek »

I'm glad to help you! I know how to fix your problem, but if you want that later that's fine with me as well... I'm glad it's ingame
Post Reply