Page 2 of 2

Re: How to replace sides?

Posted: Sun Oct 28, 2012 5:15 pm
by Cleb
Did you rename the odf and req files and their contents to fit their new name? If you did, do a manual clean and remunge. Its in the BF2 Error log errors explained sticky.

Re: How to replace sides?

Posted: Sun Oct 28, 2012 5:51 pm
by BobTheHunted
Cleb wrote:Did you rename the odf and req files and their contents to fit their new name? If you did, do a manual clean and remunge. Its in the BF2 Error log errors explained sticky.
I'm on it

EDIT
I changed the name inside the req files and such but it still gives me the errors. I renamed the odfs and reqs, but the textures have different names. Do I need to edit those too? Should I just leave the inside of the odf the way it is?
Hidden/Spoiler:
ClassParent = "rep_inf_default_rifleman"

[Properties]
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"

Re: How to replace sides?

Posted: Sun Oct 28, 2012 6:25 pm
by Nedarb7
You renamed: rep_inf_default_rifleman
correct?
If you did you need to edit this line to the new name of
rep_inf_default_rifleman:

ClassParent = "rep_inf_default_rifleman"

Re: How to replace sides?

Posted: Sun Oct 28, 2012 6:52 pm
by Cleb
Did you rename: rep_inf_default_rifleman? You can either change your odf that you posted to this:
BobTheHunted wrote:
Hidden/Spoiler:
ClassParent = "<insert new name of rep_inf_default_rifleman here"

[Properties]
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
Or keep it how you posted it and keep rep_inf_default_rifleman how it is. If that doesn't work, manual clean.

Re: How to replace sides?

Posted: Sun Oct 28, 2012 8:34 pm
by BobTheHunted
Nedarb7 wrote:You renamed: rep_inf_default_rifleman
correct?
If you did you need to edit this line to the new name of
rep_inf_default_rifleman:

ClassParent = "rep_inf_default_rifleman"
I didn't rename those originally, but now I did and changed in the files and it worked. But now, both of the teams names are screwed up and they both have the textures for the second team... wtf? lol thanks ill see if I can fix it


EDIT
Cleb wrote:Did you rename: rep_inf_default_rifleman? You can either change your odf that you posted to this:
BobTheHunted wrote:
Hidden/Spoiler:
ClassParent = "<insert new name of rep_inf_default_rifleman here"

[Properties]
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
Or keep it how you posted it and keep rep_inf_default_rifleman how it is. If that doesn't work, manual clean.
I just saw this post... I already changed it, so it doesn't really matter... The problem I'm having now that it's working is how the textures are now from the second team, it kinda switched places lol

EDIT2
The team that i changed the names on is reading the textures of the other team now. I just figured this out

EDIT3
*facepalm
|
|
\/
Double posting is against the RULES; please EDIT your post instead -Staff

Re: How to replace sides?

Posted: Sun Oct 28, 2012 11:15 pm
by Tears2Roses
hm....regarding textures, try THIS tutorial.

Re: How to replace sides?

Posted: Mon Oct 29, 2012 6:40 pm
by BobTheHunted
I honestly want to abandon this idea, ill just do clones vs empire instead. Nothing seems to work, and honestly, it's not worth the hastle. Thanks anyways

Re: How to replace sides?

Posted: Mon Oct 29, 2012 11:22 pm
by Tears2Roses
wait! the mustafar campaign has cis vs empire! Here is that LUA:
Hidden/Spoiler:
ReadDataFile("sound\\mus.lvl;mus1cross")

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

ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_droideka",
"CIS_inf_officer")
--"cis_bldg_defensegridturret")

SetAttackingTeam(ATT)
SetupTeams{
imp = {
team = IMP,
units = 13,
reinforcements = 40,
soldier = { "imp_inf_rifleman"},
assault = { "imp_inf_rocketeer"},
engineer = { "imp_inf_engineer"},
sniper = { "imp_inf_sniper"},
officer = { "imp_inf_officer"},
special = { "imp_inf_dark_trooper"},

},
cis = {
team = CIS,
units = 10,
reinforcements = -1,
soldier = { "CIS_inf_rifleman",1,50},
assault = { "CIS_inf_rocketeer",1},
engineer = { "CIS_inf_engineer",1},
sniper = { "CIS_inf_sniper",1},
officer = { "CIS_inf_officer",1},
--special = { "cis_inf_droideka",0},

},

}


The mus1cross sound.lvl should have imperial and cis sounds too! Try it, and see if it works. I cant test it at the moment. I would just replace the setup teams section in your current LUA with the above. :thumbs:

Re: How to replace sides?

Posted: Wed Oct 31, 2012 11:27 pm
by BobTheHunted
Tears2Roses wrote:wait! the mustafar campaign has cis vs empire! Here is that LUA:
Hidden/Spoiler:
ReadDataFile("sound\\mus.lvl;mus1cross")

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

ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_droideka",
"CIS_inf_officer")
--"cis_bldg_defensegridturret")

SetAttackingTeam(ATT)
SetupTeams{
imp = {
team = IMP,
units = 13,
reinforcements = 40,
soldier = { "imp_inf_rifleman"},
assault = { "imp_inf_rocketeer"},
engineer = { "imp_inf_engineer"},
sniper = { "imp_inf_sniper"},
officer = { "imp_inf_officer"},
special = { "imp_inf_dark_trooper"},

},
cis = {
team = CIS,
units = 10,
reinforcements = -1,
soldier = { "CIS_inf_rifleman",1,50},
assault = { "CIS_inf_rocketeer",1},
engineer = { "CIS_inf_engineer",1},
sniper = { "CIS_inf_sniper",1},
officer = { "CIS_inf_officer",1},
--special = { "cis_inf_droideka",0},

},

}


The mus1cross sound.lvl should have imperial and cis sounds too! Try it, and see if it works. I cant test it at the moment. I would just replace the setup teams section in your current LUA with the above. :thumbs:
I already knew that I could do CIS vs Empire, but thanks anyways, i'm still doing clones vs empire

EDIT
Ok, I'm not sure if this applies to custom sides(it kinda does), But I just tryed to edit a stock map for the second time(first time was successful) And for no apparent reason, It says it can't open the data file
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:RB2\kam1.lvl
I followed all of the steps on the topic, yet it did this. Does it have something to do with the fact that I edited the sides and such? I'm wondering if I can have edited sides on a stock map... Help?

EDIT
I guess that I can't post error logs or anything, because I just got another warning. This is not a double post. I thought that was obvious...
If anyone has a solution to my problem, please post here, if not, suggestions are appreciated. As for the error, I followed all of the steps exactly and got that error, so idk what to do.