Page 1 of 1

Side problem [Solved]

Posted: Mon May 31, 2010 5:40 am
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")

Re: Side problem

Posted: Mon May 31, 2010 7:06 am
by Darth_Spiderpig
You have copied over the rep folder from the assets/sides to yourmapid/sides and changed the skins there?

Re: Side problem

Posted: Mon May 31, 2010 7:40 am
by Slime615
yes

Re: Side problem

Posted: Mon May 31, 2010 7:52 am
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.

Re: Side problem

Posted: Mon May 31, 2010 7:56 am
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)

Re: Side problem

Posted: Mon May 31, 2010 8:57 am
by Slime615
Don't I have to put dc: somewere? I have not changed the sides, only their skins...

Re: Side problem

Posted: Mon May 31, 2010 9:12 am
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?

Re: Side problem

Posted: Mon May 31, 2010 11:02 am
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"

Re: Side problem

Posted: Mon May 31, 2010 2:57 pm
by myers73
Hidden/Spoiler:
[code]("dc:SIDE\\rep.lvl",
[/code][/size]

Re: Side problem

Posted: Mon May 31, 2010 11:36 pm
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?

Re: Side problem

Posted: Tue Jun 01, 2010 3:19 am
by Slime615
I fixed it!

The problem was were I put quotation marks, when I added "dc:"

Re: Side problem

Posted: Tue Jun 01, 2010 3:58 am
by SW_elite
Good job, BTW, I like your avatar...

Re: Side problem

Posted: Tue Jun 01, 2010 5:47 am
by Slime615
Thanks... your is very nice as well... from one of the games right? Rebublic commando or something?

Re: Side problem [Solved]

Posted: Wed Jun 02, 2010 2:39 am
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!