How can i change the 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
Noobi-Wan
Private Recruit
Posts: 16
Joined: Thu Jul 15, 2010 2:14 am
Projects :: [DM-S] Nova-Squad-Map
Games I'm Playing :: swbf2 medieval 2
Location: germany

How can i change the units

Post by Noobi-Wan »

My problem is: i wanted to create a mod for the standard Geonosis
-i have all classes i want, but now i want there are no bots on one side
-how can i make this in a standardmap...??
please help me...and a happy new year
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: How can i change the units

Post by Anakin »

i don't understand your problem.

you made a new map

made this like the standard Geonosis map

and now you want your own Units??
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: How can i change the units

Post by acryptozoo »

i think he means that the bots wont spawn ?
Noobi-Wan
Private Recruit
Posts: 16
Joined: Thu Jul 15, 2010 2:14 am
Projects :: [DM-S] Nova-Squad-Map
Games I'm Playing :: swbf2 medieval 2
Location: germany

Re: How can i change the units

Post by Noobi-Wan »

sorry for my bad expression...

i mean...that i dont create a new map...
and i want that the bots for the republic dont spawn, so that i can fight alone vs all droids
i need this for a mod...
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: How can i change the units

Post by Anakin »

Ah ok

So you want fight alone against all.

what about you die? have you a second change and you can spawn again or did you loose after dieing??
Noobi-Wan
Private Recruit
Posts: 16
Joined: Thu Jul 15, 2010 2:14 am
Projects :: [DM-S] Nova-Squad-Map
Games I'm Playing :: swbf2 medieval 2
Location: germany

Re: How can i change the units

Post by Noobi-Wan »

i want to spawn again
User avatar
commander501stappo
Jedi
Jedi
Posts: 1016
Joined: Tue Sep 28, 2010 8:13 am
Games I'm Playing :: Skyrim BF4 KSP CIV V
xbox live or psn: DarthAppo
Location: In a galaxy very, very close by...

Re: How can i change the units

Post by commander501stappo »

what he tryes to say is that he's making a mod and want the stock geonosis to have bots on the CIS side, but not at the rep side. so you fight alone(or with other players on mp) against bots.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: How can i change the units

Post by CressAlbane »

OK, in your LUA for the mod, make a change to these values:

Code: Select all

rep = {
            team = REP,
            units = 28,
            reinforcements = 150,
            soldier  = { "rep_inf_ep2_rifleman",10, 25},
            assault  = { "rep_inf_ep2_rocketeer",1, 4},
            engineer = { "rep_inf_ep2_engineer",1, 4},
            sniper   = { "rep_inf_ep2_sniper",1, 4},
            officer = {"rep_inf_ep3_officer",1, 4},
            special = { "rep_inf_ep2_jettrooper",1, 4},
            
        },
to something smilar to this:

Code: Select all

rep = {
            team = REP,
            units = 1,
            reinforcements = 150,
            soldier  = { "rep_inf_ep2_rifleman",10, 25},
            assault  = { "rep_inf_ep2_rocketeer",1, 4},
            engineer = { "rep_inf_ep2_engineer",1, 4},
            sniper   = { "rep_inf_ep2_sniper",1, 4},
            officer = {"rep_inf_ep3_officer",1, 4},
            special = { "rep_inf_ep2_jettrooper",1, 4},
            
        },
This should work.
Kane

Re: How can i change the units

Post by Kane »

No, it doesn't work. He already did that, but nothing changed. We haven't any ideas yet...
Post Reply