Adding New Units To Existing Sides/ Creating New Sides

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Adding New Units To Existing Sides/ Creating New Sides

Post 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.
Delta_57_Dash
Jedi
Jedi
Posts: 1187
Joined: Fri Jun 10, 2005 2:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Adding New Units To Existing Sides/ Creating New Sides

Post by Delta_57_Dash »

User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post 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! :D
NegativeSmiley

Post by NegativeSmiley »

If u have any other questions about side modding 'n stuff just ask.
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post 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... :lol:
Delta_57_Dash
Jedi
Jedi
Posts: 1187
Joined: Fri Jun 10, 2005 2:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Delta_57_Dash »

if you wanna add a geonosian, I can help... there are like half a dozen msh's tho
NegativeSmiley

Post 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.
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post 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.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

I'd have written "geo_inf_geonosian" instead of "gen_inf_geonosian"... :|
NegativeSmiley

Post by NegativeSmiley »

Oops srry Levi is right.

Instead of gen_inf_geonosian put geo_inf_geonosian.

That should work better.
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post 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)
Last edited by EraOfDesann on Sun Sep 18, 2005 1:12 pm, edited 1 time in total.
NegativeSmiley

Post by NegativeSmiley »

In side REQ, the REQ folder, and the LUA.
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post 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)
Delta_57_Dash
Jedi
Jedi
Posts: 1187
Joined: Fri Jun 10, 2005 2:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Delta_57_Dash »

uhm... there should be TWO \\'s after side... that will fix both problems. ;)
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post by EraOfDesann »

ReadDataFile("dc:SIDE\\geo1.lvl",
"gen_inf_geonosian");

There are two slashes after SIDE. :cry:
Post Reply