B1 Battle Droid

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
NovaBlast

B1 Battle Droid

Post 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?
User avatar
Laserblast
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Sat Sep 17, 2005 12:25 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: B1 Battle Droid

Post 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.
SilvaDalek
Sith
Sith
Posts: 1329
Joined: Sun Dec 02, 2007 12:52 pm
Games I'm Playing :: Destiny and FIFA
xbox live or psn: TH3 R0LL3R

Re: B1 Battle Droid

Post by SilvaDalek »

the name should be cis_inf_battledroid
get all the data for that and take out the data for SBDs
User avatar
Laserblast
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Sat Sep 17, 2005 12:25 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: B1 Battle Droid

Post 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)
Post Reply