Adding New Units To Existing Sides/ Creating New Sides
Moderator: Moderators
- EraOfDesann
- 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
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.
-
NegativeSmiley
-
Delta_57_Dash
- Jedi

- Posts: 1187
- Joined: Fri Jun 10, 2005 2:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- EraOfDesann
- Jedi Admin

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

- Posts: 2170
- Joined: Mon May 30, 2005 5:22 pm
- Location: North Texas
- Contact:
*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...
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...
-
Delta_57_Dash
- Jedi

- Posts: 1187
- Joined: Fri Jun 10, 2005 2:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
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.
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.
- EraOfDesann
- Jedi Admin

- Posts: 2170
- Joined: Mon May 30, 2005 5:22 pm
- Location: North Texas
- Contact:
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.
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.
- xbox live or psn: No gamertag set
-
NegativeSmiley
- EraOfDesann
- Jedi Admin

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

- Posts: 2170
- Joined: Mon May 30, 2005 5:22 pm
- Location: North Texas
- Contact:
-
Delta_57_Dash
- Jedi

- Posts: 1187
- Joined: Fri Jun 10, 2005 2:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- EraOfDesann
- Jedi Admin

- Posts: 2170
- Joined: Mon May 30, 2005 5:22 pm
- Location: North Texas
- Contact:
