A couple questions.

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

A couple questions.

Post by SilvaDalek »

Would having the set up like this do anything? I don't know if the stick figure is replacing the hero thing . . .

Code: Select all

ReadDataFile("sound\\yav.lvl;yav1cw")
    ReadDataFile("dc:SIDE\\rep.lvl",
                             "rep_inf_ep3_rocketeer",
                             "rep_inf_ep3_engineer",
                             "rep_inf_ep3_sniper",
                             "rep_inf_ep3_officer",
                             "rep_inf_ep3_jettrooper",
                             "rep_hover_fightertank",
                             "rep_hero_anakin",
                             "rep_hover_barcspeeder")
    
    ReadDataFile("dc:SIDE\\dwc.lvl",
                             "dwc_inf_dalek")
    
    ReadDataFile("dc:SIDE\\jed.lvl",
                             "jed_knight_02")
    
    ReadDataFile("dc: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")

and

    SetHeroClass(REP, "rep_inf_ep3_rifleman")

    AddUnitClass(CIS, "dwc_inf_dalek",1,4)
    AddUnitClass(REP, "jed_knight_02",1,4)
And would it work if I made all of the 1,4 to 9,25?

Code: Select all

	SetupTeams{
		rep = {
			team = REP,
			units = 50,
			reinforcements = 150,
			soldier  = { "rep_inf_ep3_rifleman",1, 4},
			assault  = { "rep_inf_ep3_rocketeer",1, 4},
			engineer = { "rep_inf_ep3_engineer",9, 25},
			sniper   = { "rep_inf_ep3_sniper",1, 4},
			officer = {"rep_inf_ep3_officer",1, 4},
			special = { "rep_inf_ep3_jettrooper",1, 4},
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: A couple questions.

Post by Caleb1117 »

for 2

Only if you add up all the max unit numbers, in your case 25, and change the "units" number to that.
SetupTeams{
rep = {
team = REP,
units = 50, <----- this here
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",1, 4},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",9, 25},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
And 6 times 25 is 150

If you go over 100 I think it is, you'll have to enable uber mode.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: A couple questions.

Post by Teancum »

You don't have a hero for the CIS, so it looks like it's taking the last unit and making it the hero.
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: A couple questions.

Post by SilvaDalek »

I kinda do have a CIS hero, but it's secret . . . (for now . . .)
Post Reply