asdding 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
Dark_knight

asdding custom units

Post by Dark_knight »

this may be a noobish question but i've searched around and looked in the documentation but I don't understand how to add custom units
Talibanman

RE: asdding custom units

Post by Talibanman »

the search button exists ;)
Murdocr

Post by Murdocr »

SetupTeams{

rep = {
team = REP,
units = 28,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1,4},
engineer = { "rep_inf_ep3_engineer",1,4},
sniper = { "rep_inf_ep3_sniper",1,4},
officer = {"rep_inf_ep3_officer",1,4},
special = { "rep_inf_ep3_jettrooper",1,4},

},
cis = {
team = CIS,
units = 75,
reinforcements = 200,
soldier = { "cis_inf_rifleman",25, 40},
assault = { "cis_inf_rocketeer",10,20},
engineer = { "cis_inf_engineer",10,20},
sniper = { "cis_inf_sniper",10,20},
officer = {"cis_inf_officer",10,20},
special = { "cis_inf_droideka",10,20},
}
}
AddUnitClass(REP,"rep_inf_commando",8,15)

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "gar_inf_naboo_queen")


the highlighted line is the one you need. just replace rep_inf_commando with whatever you want and the REP in front of it determines which team your new unit is placed in. if you want a different team put IMP,CIS or ALL. :D
Dark_knight

Post by Dark_knight »

thx but what about a custom side(with units)
Murdocr

Post by Murdocr »

now that i'm not sure of. the maps i have seen only add units to an existing side.
theguarder

Post by theguarder »

first of all i dont belive that you searched anything at all and secont this is what i found even without using the search function:

A guide for Making New Skins in SWBF II (refined!)

and

Sides help thread...

Next time USE the search function. 8)
Dark_knight

Post by Dark_knight »

thx but i searched! and i've looked in theese topics
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

There is also a document in the mod tool's documentation folder that walks you through creating a custom side. Its the Jedi Creation document. It not just about creating Jedi, read it.
User avatar
minilogoguy18
Master Bounty Hunter
Master Bounty Hunter
Posts: 1512
Joined: Wed Nov 09, 2005 11:12 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 minilogoguy18 »

if you really want to make something new get softimage|XSI and make some new unit models
new models>reskins
Post Reply