Page 1 of 1

Sides Problem

Posted: Fri Mar 24, 2006 1:23 pm
by Alpha
I am seriously fed up with the "help" thread. I get nothing out of that. *sigh* I cannot for the life of me get my sides to work (I always did in SWBF1).

I took the "rep" side folder from BF2_ModTools/assets/sides and put it in my data_MODID/sides and then edited the LUA script MODIDc_con.LUA in the data_MODID/Common/Scipts/MODID folder with the dc: command like this:

ReadDataFile("dc:SIDE\\rep.lvl",

So I munge the game and try to play my map and it crashes.

I am positive it is a problem with the sides that it crashes, because I made a completely new map, now changes whatsoever, and then put in the "rep" folder as said above and edited the MODIDc_con file as said above.

I would appreciate any help that anyone could offer.

-Alpha

RE: Sides Problem

Posted: Fri Mar 24, 2006 1:29 pm
by OGEB1103
I'm guessing the reason is that you also need the "Common" side folder in their as well as all sides call odfs from this.

RE: Sides Problem

Posted: Fri Mar 24, 2006 1:43 pm
by Bobafett16
Yes you Need the "common" folder found in the Assets/Sides, copy that to your MODID sides folder.

RE: Sides Problem

Posted: Fri Mar 24, 2006 2:39 pm
by Teancum
*Sigh* Why oh WHY does everyone just do a straight copy/paste of the REP folder. You do know it increases map size by about 10mb, right?

RE: Sides Problem

Posted: Fri Mar 24, 2006 3:10 pm
by [RDH]Zerted
You also have to make sure you munge the side data. Its unselected be default.

Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 3:57 pm
by OOM-9
Teancum wrote:*Sigh* Why oh WHY does everyone just do a straight copy/paste of the REP folder. You do know it increases map size by about 10mb, right?
It's better to do that than suffer countless frustrating crashes because you forgot part of an asset you include in the new side. I personally copy paste the entire side, then trim stuff out I won'tuse, for example my Kamino map will have no vehicles, so I quickly ctrl + shift select all the vehicle assets and delete, while keeping all weapon assets andunit assets in place incase I later decide to use it. Once I getto the final versions it is easy to simply prune out files to lowermap download size. It also makes localization 400x easier than making a whole new side, as all the current sides have the needed localization keys.

Frankly for an admin Teancum, your attitude could use work, he is asking for help, just like ALL of us do. Just because you have contacts via xFire and other messangers so that you don't have to post public questions doesn't mean you are cracking the game coding and mod techniques on your own.

You are right, having the whole folder in your map does add uneeded extra file size, however that simple fact doesn't need the sarcasm ridden high and mighty attitude the rest of your post contains.

@Alpha - Even if my modding comp is out of order I still know most there is to know about basic modding/mapping and side editting. If you need help I am more than happy to answer question while my own project is delayed.

(That goes for anyone, my project is seriously delayed due to hardwarefailure :P so all I can do now is read forums and answer questions :D everyone feel free to ask me stuff, if I don't know it I will pull what strings I have to help you figure it out)



~OOM-9

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 5:05 pm
by Alpha
Thank you all very much. Now I can finally finish my Jabiim map.

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 5:26 pm
by dreadlordnyax
10 mb? the rep folder is about 75 megs on my comp...

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 5:37 pm
by Alpha
Question: How do you get the ep2 troopers on a map? I changed the lines in the LUA from ep3 to ep2 except for the clone commander, but none of them show up. The names in the LUA I put in were correct in conjuction with the rep .req file.

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 6:04 pm
by Teancum
@ Everyone --- I apologize for my behavior. Sometimes I forgot I 'wear a badge' if you will.

@ Alpha --- I'm not sure what might be the problem as far as Episode II troopers not appearing. I will say, however, that the req is screwed up for the Ep II Officer (an ARC Captain) so you'll need to take a look at that and fix the bug. I ended up just making a new side for the ARC Officer. Should you need it (or if anyone does) feel free to PM me and I'll show you how to add it in. (there's one extra step to creating new sides)

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 7:30 pm
by Alpha
I didn't chnage the officer, because i noticed it had problems, but I can't figure out what's wrong with the other solider classes, they just don't appear when I run the map. I'll munge gain after double checking and see what happens.

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 7:39 pm
by dreadlordnyax
you did change both the reading from file and the team setup, right?

RE: Re: RE: Sides Problem

Posted: Fri Mar 24, 2006 9:27 pm
by Alpha
I changed the part of the LUA where you tell it where to read from and the classes to call, yes.

EDIT: My bad, I just understood what you meant. Thanks. I got it now.