Page 1 of 1
Adding New Units To Existing Sides/ Creating New Sides
Posted: Sat Sep 17, 2005 2:25 pm
by EraOfDesann
Are there any tutorials on creating new sides or adding a new unit? For example, if I wanted to replace the CIS pilot with the Geonosian, how would I do that and how would I give it new weapons? Sorry if this is a redundant thread but I looked for something like this and didn't come up with anything.
RE: Adding New Units To Existing Sides/ Creating New Sides
Posted: Sat Sep 17, 2005 4:08 pm
by NegativeSmiley
RE: Adding New Units To Existing Sides/ Creating New Sides
Posted: Sat Sep 17, 2005 4:13 pm
by Delta_57_Dash
Posted: Sat Sep 17, 2005 6:28 pm
by EraOfDesann
Thank you for the links! I already had seen the Editing Sides thread, and it sort of gave me an idea on how things work but it didn't have the information I was looking for. Delta, I didn't notice that new tutorial at Saturn's site, I'll be sure to give it a go. Thanks everyone!

Posted: Sat Sep 17, 2005 7:36 pm
by NegativeSmiley
If u have any other questions about side modding 'n stuff just ask.
Posted: Sat Sep 17, 2005 10:03 pm
by EraOfDesann
*let's out a deep breath*
Wow, this is complicated and a lot of work. I couldn't get it working because in the tutorial they're adding something different when I'm trying to add a Geonosian. Plus it's hard, well, for me at least.
I can see that it's going to take me forever to get this down so I have a proposition...
Could someone who is good at Sides maybe do this for me? Of course you get total credit and your name will be bolded in the ReadMe and I'll put your name in the Party Map somewhere for everyone to see. LOL If you don't mind it, just PM me. I'll give you specifications of what I need and if you're okay that, then I can email you the ModID folder for you to do the sides.
This is just about all I have left to do and then make a movie. After that, Methlyn is finished. (Smiley, your tutorial for making a movie was good but I don't have the right programs to do it. Could I maybe send you the beta after the sides are completed for you to make a movie and then I can try to add it in?)
Thanks in advance and sorry if I come off as totally helpless. I feel like a noob...

Posted: Sat Sep 17, 2005 10:31 pm
by Delta_57_Dash
if you wanna add a geonosian, I can help... there are like half a dozen msh's tho
Posted: Sat Sep 17, 2005 10:39 pm
by NegativeSmiley
Ok Era lets add a geonosian.
First off open up the party map in bfbuilder pro and go to add new sides. Then click on Create New Side name your sides somethin like geo1. It will give u a few pop ups like no folder exsits ok to make folder. Just click on ok for all of them. Now if you go under Modid>Sides>geo1 should be there.
I suggest you open up another window and go to C:\BFBuilder\Assets\Sides\GEO. U may notice that in your sides folder u have the same folders that are under this side file. All you have to do is just copy ODF to ODF, MSH to MSH, Munged to Munged, Req folder to req folder.
Now back in our geo1 folder we'll have something called the geo1 req file. Open this up and put
ucft
{
REQN
{
"lvl"
"gen_inf_geonosian"
}
}
in it.
**IMPORTANT: Make sure that under your req folder u have an REQ file for gen_inf_geonosian. If this isn't there then unit won't work.
Now that that is all done move to your LUA.
Under your ReadDataFiles add this
ReadDataFile("dc:SIDE\\geo1.lvl",
"gen_inf_geonosian");
Now scroll down alittle until you see the AddUnitClass stuff. Its pretty easy to tell what unit is what so lets take the clone trooper for instance.
AddUnitClass(REP, "rep_inf_clone_trooper",10) is what our clone trooper friend is. For a geonosian instead of him put
AddUnitClass(REP, "gen_inf_geonosian",10)
Now if you clean, munge and load the lvl you should have a geonosian avalible for play.
If there is anything else or it doesn't work just tell me.
P.S. Yeah i'll happily do movie for ya.
Posted: Sun Sep 18, 2005 11:22 am
by EraOfDesann
Thanks for the tutorial Smiley, that really helped since it was so simplified. LOL I tried it out in SPTest but the Geonosian wasn't there. This is what I got in the BFLog:
Message Severity: 3
.\source\LuaCallbacks_Mission.cpp(195)
Lua ReadDataFile: Could not open dc:SIDE\geo1.lvl
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "gen_inf_geonosian" (check the side's .req file)
I did everything you said so I'm sort of baffled as to what the problem is.
Posted: Sun Sep 18, 2005 12:15 pm
by Leviathan
I'd have written "
geo_inf_geonosian" instead of "
gen_inf_geonosian"...

Posted: Sun Sep 18, 2005 12:42 pm
by NegativeSmiley
Oops srry Levi is right.
Instead of gen_inf_geonosian put geo_inf_geonosian.
That should work better.
Posted: Sun Sep 18, 2005 12:58 pm
by EraOfDesann
Where? I tried that in the lua and it didn't work either.
BFLog:
Message Severity: 3
.\source\LuaCallbacks_Mission.cpp(195)
Lua ReadDataFile: Could not open dc:SIDE\geo1.lvl
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "geo_inf_geonosian" (check the side's .req file)
Posted: Sun Sep 18, 2005 1:05 pm
by NegativeSmiley
In side REQ, the REQ folder, and the LUA.
Posted: Sun Sep 18, 2005 1:21 pm
by EraOfDesann
Changed it and same problem.
Message Severity: 3
.\source\LuaCallbacks_Mission.cpp(195)
Lua ReadDataFile: Could not open dc:SIDE\geo1.lvl
Message Severity: 2
.\source\Team.cpp(531)
Team missing class "geo_inf_geonosian" (check the side's .req file)
Posted: Sun Sep 18, 2005 2:27 pm
by Delta_57_Dash
uhm... there should be TWO \\'s after side... that will fix both problems.

Posted: Sun Sep 18, 2005 3:20 pm
by EraOfDesann
ReadDataFile("dc:SIDE\\geo1.lvl",
"gen_inf_geonosian");
There are two slashes after SIDE.
