Sides Problem
Moderator: Moderators
Sides Problem
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
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
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
Yes you Need the "common" folder found in the Assets/Sides, copy that to your MODID sides folder.
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: Sides Problem
*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?
- [RDH]Zerted
- Gametoast Staff
- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
RE: Sides Problem
You also have to make sure you munge the side data. Its unselected be default.
Re: RE: Sides Problem
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.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?
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 so all I can do now is read forums and answer questions 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
Thank you all very much. Now I can finally finish my Jabiim map.
RE: Re: RE: Sides Problem
10 mb? the rep folder is about 75 megs on my comp...
RE: Re: RE: Sides Problem
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.
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: Re: RE: Sides Problem
@ 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)
@ 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
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
you did change both the reading from file and the team setup, right?
RE: Re: RE: Sides Problem
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.
EDIT: My bad, I just understood what you meant. Thanks. I got it now.