Page 1 of 1

B1 Battle Droid

Posted: Wed Dec 19, 2007 4:06 pm
by NovaBlast
I want a B1 battledroid in a new map I am making, and I was wondering what I have to put in the LUA to change it. I looked in the campaign LUA and it said cis_battledroid_inv or something like that, so I put that in my levels LUA and when I ran the game, it just got rid of the trooper unit. so what is the right name for the b1 in the LUA?

Re: B1 Battle Droid

Posted: Thu Dec 20, 2007 3:14 am
by Laserblast
The standard B1 droid (from campaign mode) should be cis_inf_battledroid_inf. Note, however, that this is not in the standard req (cis_inf_basic), but in an entirely different req (cis_inf_basic_battledroids). So, if you got the ODF name right, make sure you loaded the req for the soldier.

Re: B1 Battle Droid

Posted: Thu Dec 20, 2007 10:09 am
by SilvaDalek
the name should be cis_inf_battledroid
get all the data for that and take out the data for SBDs

Re: B1 Battle Droid

Posted: Thu Dec 20, 2007 2:04 pm
by Laserblast
There are two ODFs with super battledroids (B2s). One is the cis_inf_battledroid and the other is the cis_inf_super_battledroid ODF. The former is the one loaded on all the default maps and is part of the cis_inf_basic. It should be noted that the standard CIS sides have B1s as the assault, assassin, and pilot. If you want the ones from the historical missions (B1 rifleman), you will need the cis_inf_basic_battledroids REQ.

Unfortunately, these models are not colored the same red color as the ones on Geonosis and such in the movies. I can't recall if the B1s are red in EP3, though. In any case, since there seems to be some confusion as to which ODF is the B1 rifleman and such, I offer this from NABc_h:

Code: Select all

SetTeamName(GUN, "Gungans")
SetTeamName(CIS, "CIS")
    ReadDataFile("sound\\nab.lvl;nab1cw");
    ReadDataFile("SIDE\\cis.lvl",
    "cis_inf_basic_battledroids",
        "cis_fly_fedlander_dome",
        "cis_hover_aat",
        "cis_hover_stap")
    ReadDataFile("SIDE\\gun.lvl",
        "gun_inf_basic",
        "gun_walk_kaadu",
        "nab_bldg_fambaa_shield")
as well the unit class section:

Code: Select all

--  CIS Stats
    SetTeamName (CIS,"CIS")
        SetTeamIcon(CIS, "cis_icon")
    AddUnitClass(CIS, "cis_inf_battledroid_inf",15)
    AddUnitClass(CIS, "cis_inf_battledroid_av",5)
    AddUnitClass(CIS, "cis_inf_battledroid_pilot",6)
    AddUnitClass(CIS, "cis_inf_battledroid_sniper",6)