Side problem [Solved]

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
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Side problem [Solved]

Post by Slime615 »

Hi, I am trying to to a custom skined side mod....

i have done the skins, and added dc: to the LUA, but nothing has happened. Comprssion was off, I can't see what the problem might be... can you check the lua is OK? and do I have to change the same named file, that is not a Lua aswell?
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc: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")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Side problem

Post by Darth_Spiderpig »

You have copied over the rep folder from the assets/sides to yourmapid/sides and changed the skins there?
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Side problem

Post by Slime615 »

yes
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: Side problem

Post by CressAlbane »

Did you load the units into your sides?
Hidden/Spoiler:
[code]SetupTeams{
all = {
team = ALL,
units = 150,
reinforcements = 250,
soldier = { "all_inf_rifleman",9, 25},
assault = { "all_inf_rocketeer",9,25},
engineer = { "all_inf_engineer",9,25},
sniper = { "all_inf_sniper",9,35},
officer = { "all_inf_officer",9,25},
special = { "all_inf_wookiee",1,4},

},
imp = {
team = IMP,
units = 150,
reinforcements = 250,
soldier = { "imp_inf_rifleman",9, 25},
assault = { "imp_inf_rocketeer",9,25},
engineer = { "imp_inf_engineer",9,25},
sniper = { "imp_inf_sniper",9,35},
officer = { "imp_inf_officer",9,25},
special = { "imp_inf_dark_trooper",1,4},
},
}
AddUnitClass(ALL, "all_inf_militia", 1,10)


SetHeroClass(ALL, "all_hero_hansolo_tat")
SetHeroClass(IMP, "imp_hero_emperor")[/code]
Change the unit names to your names.
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Side problem

Post by Darth_Spiderpig »

Hidden/Spoiler:
[code] ReadDataFile("sound\\yav.lvl;yav1cw")
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")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")



SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}[/code]
Usa thisa. :P

@Slime: Have you clicked on rep when munging? (The drop down field named Sides)
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Side problem

Post by Slime615 »

Don't I have to put dc: somewere? I have not changed the sides, only their skins...
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Side problem

Post by Darth_Spiderpig »

You have to put a dc: there, editing skins is side changing.

(the code I posted was for CressAlbane, he posted a totally different one)

And again, you choose rep as side to munge in the VisualMunge?
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Side problem

Post by Slime615 »

Do I put dc: like this,

("dc:SIDE\\rep.lvl"

or like this

dc:("SIDE\\rep.lvl"

or like this:

(dc:"SIDE\\rep.lvl"
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 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: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Side problem

Post by myers73 »

Hidden/Spoiler:
[code]("dc:SIDE\\rep.lvl",
[/code][/size]
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: Side problem

Post by SW_elite »

I have the same point of view as Darth_Spiderpig...

Did you munge the side that you made the skins changes for in Visual Munge?
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Side problem

Post by Slime615 »

I fixed it!

The problem was were I put quotation marks, when I added "dc:"
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: Side problem

Post by SW_elite »

Good job, BTW, I like your avatar...
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Side problem

Post by Slime615 »

Thanks... your is very nice as well... from one of the games right? Rebublic commando or something?
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: Side problem [Solved]

Post by SW_elite »

Yeah, thats the one... I just cut it out of a pic that I found on the net. Yours reminds me of Bao Dur. He wouldn't be a bad choice of hero to put into swbf2 either!
Post Reply