Page 1 of 1
adding dc: to sides cause crash...
Posted: Sat Mar 29, 2008 10:26 pm
by cloneknight
this is causeing my game to ctd, all i did was add the rep side to dc: and this keeps happening.
Re: Weapon base class??
Posted: Sat Mar 29, 2008 10:42 pm
by Fingerfood
So you followed Caleb's tut to get both the Common and rep sides in your Sides foder? It looks like you didn't copy over com_weap_veh_beam to the Common folder.
Re: Weapon base class??
Posted: Sun Mar 30, 2008 3:41 pm
by cloneknight
Fingerfood wrote:So you followed Caleb's tut
theres a tut? can i get a link to it to check what i did?
Re: Weapon base class??
Posted: Sun Mar 30, 2008 4:02 pm
by Fingerfood
It was in the Everything you Need thread.......
Mini tut time!
Editing a Shipped Side
Go into sides, make a Common and rep (for example). Now go into your BF2_Modtools/assets/sides/Common and copy all the files and folders over.
Now do the same for rep.
Now you can edit any odfs, mshs, or anything.
When you're done editing, go into your data_***/Common/scripts/*** and edit your lua here:
So it says:
Notice the
dc:?
When you munge, check Common and either on drop down select EVERYTHING, or munge Common then munge rep.
That should work for now, but when the Everything you Need thread is fixed, look in there under SIDEs, Creating a New Side
Re: adding dc: to sides cause crash...
Posted: Sun Mar 30, 2008 6:40 pm
by cloneknight
ya i did that it worked for a while when suddently i got this
(check near and at bottem)
adding the dc: causes the crash
info: i had geo side as dc: but the geo troops dont show up ingame all of a sudden ... thay work if i remove dc:
Re: adding dc: to sides cause crash...
Posted: Sun Mar 30, 2008 6:53 pm
by woner11
Post your lua and your pcmunge log.
Re: adding dc: to sides cause crash...
Posted: Sun Mar 30, 2008 7:02 pm
by ryukaji
Code: Select all
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_sniper",
"rep_inf_ep2_rocketeer_chaingun",
"rep_inf_ep2_engineer",
"rep_inf_ep2_jettrooper_rifleman",
"rep_inf_ep2_jettrooper")
Code: Select all
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep2_rifleman",9, 25},
assault = { "rep_inf_ep2_rocketeer",1, 4},
engineer = { "rep_inf_ep2_engineer",1, 4},
sniper = { "rep_inf_ep2_sniper",1, 4},
officer = {"rep_inf_ep2_rocketeer_chaingun",1, 4},
special = { "rep_inf_ep2_jettrooper",1, 4},
The SetupTeams needs the same names as what you load above with the dc: . Are they the same?
Re: adding dc: to sides cause crash...
Posted: Sun Mar 30, 2008 7:16 pm
by cloneknight
thanks i fixed the problem
i was wondering if i could get the rep folder (the one with original stuff)
C:\BF2_ModTools\assets\sides the rep folder, i didnt copy it i just moved it and i dont have originals.