Own custom units.
Moderator: Moderators
-
Ixolus
Own custom units.
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

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
RE: Own custom units.
read the Jedi Creation Tutorial.
-
Ixolus
-
Rekubot
- Jedi

- Posts: 1080
- Joined: Wed Apr 05, 2006 12:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: Rekubot
- Location: UK
In which case have a look at The BF2 Modding FAQ / "Everything you need" thread.
-
Ixolus
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
how about the guide to making new skins?
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
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:"
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.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
