Own custom units.

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Ixolus

Own custom units.

Post by Ixolus »

Hello i am quite new to the SWBF2 mod tool and i got a map with 2 sides... but when i try to put the sides (jedi and sith) into my map it just shows the republic/CIS..... How can i make my own sides work in my maps?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

RE: Own custom units.

Post by Xavious »

read the Jedi Creation Tutorial.
Ixolus

Post by Ixolus »

i have but didnt understand what he meant...... i am really bad when it comes to understanding long documentet guides :?
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

Post by Rekubot »

Ixolus

Post by Ixolus »

i dont find "how to add custom units to your map guide" in that post.... thats why i asked in this thread
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Post by Xavious »

Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Post by Hebes24 »

Are the sides in the sides folder in data_*** ? (*** = 3 letter mod ID ) are the sides in the c_con.lua located in data_***\common\scripts\*** ?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

To clarify, make sure your custom sides are complete and in the data_MAPNAME "Sides" folder. Then go to data_MAPNAME\Common\Scripts\MAPNAME folder, open up MAPNAMEc_con.lua or MAPNAMEg_con.lua (Clone wars or Galactic civil war, whichever mode you're editing), and find the area where it says something like this:

ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")

Then, create your own readdatafile for your side, which might look something like this:

ReadDataFile("dc:SIDE\\jed.lvl",
"jed_inf_jedipadawan",
"jed_inf_jediknight",
"jed_inf_jedimaster")

Just make sure you prepend the "SIDE\\xxx.lvl" with a "dc:"
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Post by The_Emperor »

But that's not enough, you'll need some other files too. Just read the guide to making new skins (link is in Maul's post), and it'll all be clear.
Post Reply