Page 1 of 1

Own custom units.

Posted: Wed Aug 23, 2006 8:45 am
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?

RE: Own custom units.

Posted: Wed Aug 23, 2006 8:48 am
by Xavious
read the Jedi Creation Tutorial.

Posted: Wed Aug 23, 2006 8:49 am
by Ixolus
i have but didnt understand what he meant...... i am really bad when it comes to understanding long documentet guides :?

Posted: Wed Aug 23, 2006 8:57 am
by Rekubot

Posted: Wed Aug 23, 2006 9:54 am
by Ixolus
i dont find "how to add custom units to your map guide" in that post.... thats why i asked in this thread

Posted: Wed Aug 23, 2006 10:06 am
by Xavious

Posted: Wed Aug 23, 2006 10:13 am
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\*** ?

Posted: Wed Aug 23, 2006 10:25 am
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:"

Posted: Wed Aug 23, 2006 3:43 pm
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.