Page 1 of 1

Side rep and dc:side rep dont work together?

Posted: Thu Jul 06, 2006 2:27 pm
by Squirrel7Hunter
ok I am having a problem with my riflemans msh. To lower the file size of my map I have to delete some of my vehicles from my modded rep side. so I have my lua reading from
both assets and dc:. before I added the
ReadDataFile("SIDE\\rep.lvl",etc.. .... all my skins worked, but when I added it my rep rifleman skin went to its default, but all the other units still have their custom skins, I have cleaned and remunged it and it still wont work. has this happened to anyone else? thnks!


ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_walk_atte",
"rep_walk_atxt",
"rep_hero_obiwan",
"rep_inf_ep2_marine",
"rep_inf_ep3_jettrooper")

ReadDataFile("SIDE\\rep.lvl",
"uta_fly_ride_gunship",
"uta1_prop_gunship",
"rep_walk_oneman_atst",
"rep_hover_fightertank",
"rep_hover_barcspeeder")

RE: Side rep and dc:side rep dont work together?

Posted: Thu Jul 06, 2006 3:16 pm
by Murdocr
you can't use a dc: side of the same name as a shipped side, you have to change it to something else

RE: Side rep and dc:side rep dont work together?

Posted: Thu Jul 06, 2006 4:09 pm
by Schizo
Yeah, if you're loading the shipped Republic side, it'll overwrite whatever skins or modifications you made to the units/weapons in your custom Republic side. To fix it, as Murdocr said, simply change the name of the side. Don't forget to rename your REQ file too. Simply renaming the folder won't be enough.

Posted: Thu Jul 06, 2006 6:32 pm
by Squirrel7Hunter
well see thats the weird thing. only one of my skins was changed, the rest were untouched and had their custom skins and guns. I have changed my dc:rep side to dc:all side since that was easiest. and the reqs I cleaned , re-munged and no luck, still the same thing, all units with custom skins except one of them.

Posted: Fri Jul 07, 2006 7:13 am
by RC-1290
It won't be the total sollution but I don't think it's wise to name your custom side all, since this name is used for the alliance. And I think you should give the units new names as well so in stead of rep_inf_clonetrooper, new_inf_clone trooper or something.
It's didn't seem logical to me but the munge sometimes seems to toss a coin wether he allows naming or not....(my imp_inf_sandtrooper worked but my imp_inf_sandsniper didn't, or something like it.... going to do the map all over again anyways).

Good luck, you're gonna need it. :P

Posted: Fri Jul 07, 2006 10:10 am
by Schizo
If you've got, say, a custom skin for a rep_inf_ep3_rifleman (the Clonetrooper), and you're still loading the rep_inf_ep3_rifleman from the shipped Rep side, then it'll be overwritten by the shipped unit. If we could see the LUA, we could probably see what you're doing wrong.


Also, sometimes, like in the case of battledroids, the skins must be placed within a folder named PC in the MSH folder. Usually, if my skin doesn't work, and I'm sure it's not the LUA, I'll try putting the skin inside both the MSH folder and the MSH -> PC folder. Try doing that. For some reason it sometimes does work, sometimes doesn't. If it's not the LUA though, then that's the only thing I can think of left to try.