Problem with sides
Moderator: Moderators
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Problem with sides
ok i finally got the sides to work but the problem is only gungans appear (which i wanted). but all of the troopers are gone help!!
Please do not post in ALL CAPS, as per the site rules. Make sure to make your post as legible and clear as possible if you want help. -Staff
Please do not post in ALL CAPS, as per the site rules. Make sure to make your post as legible and clear as possible if you want help. -Staff
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: PROBLEM WITH SIDES
umm could you explain your problem(s) in more detail and please post your luarywar40 wrote:ok i finally got the sides to work but the problem is only gungans appear (which i wanted). but all of the troopers are gone help!!
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: PROBLEM WITH SIDES
Ok my problem is that i wanted to add a gungan to rep side. the problem is all the clone troopers are gone it is just gungans
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: PROBLEM WITH SIDES
are you sure you didn't changed the side in the lua from rep to gungan side? this could be the problem...
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: PROBLEM WITH SIDES
okay so you wanted to add a gungan to the republicrywar40 wrote:Ok my problem is that i wanted to add a gungan to rep side. the problem is all the clone troopers are gone it is just gungans
but all the troopers got replaced instead of just one?
would be best to post your lua
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: PROBLEM WITH SIDES
Hidden/Spoiler:
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: PROBLEM WITH SIDES
use instead of AddUnitClass (whatever) this:
so I mean delete addunitclass and write the pilot={"whatever"} at the right place hth
Code: Select all
SetupTeams{
rep = {
team = REP,
units = 20,
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},
pilot ={"gun_inf_soldier",1,4"},
},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: PROBLEM WITH SIDES
I have a question can I make a new side with gungans and clones? Another thing what did you mean in the post you just put?
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: PROBLEM WITH SIDES
replace the SetupTeam-Part of yours with that of mine and delete the function:
AddUnitClass(REP, "gun_inf_soldier",1,4) out of your code
AddUnitClass(REP, "gun_inf_soldier",1,4) out of your code
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: PROBLEM WITH SIDES
Thanx It worked
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: PROBLEM WITH SIDES
no problem
just for fun try to add the rep troopers with AddUnitClass() so maybe they're there then ,too...
just for fun try to add the rep troopers with AddUnitClass() so maybe they're there then ,too...
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: PROBLEM WITH SIDES
thats exactly what i did :clone:
-
baumerindustries
- Lance Corporal
- Posts: 96
- Joined: Mon Apr 11, 2011 8:24 am
- xbox live or psn: No gamertag set
- Location: In front of my english vocab and translating my confused thinkings into English....
Re: PROBLEM WITH SIDES
I mean like:
AddUnitClass with rep_soldier as parameter;
AddUnitClass with rep_heavy_trooper as parameter;
[...]
AddUnitClass with gun_inf_soldier as parameter;
(don't know if it works...)
AddUnitClass with rep_soldier as parameter;
AddUnitClass with rep_heavy_trooper as parameter;
[...]
AddUnitClass with gun_inf_soldier as parameter;
(don't know if it works...)
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: PROBLEM WITH SIDES
thats not necessary you can use the normal setupteams and add two extraunits as "pilot" and "marine" aswell as add extraunits with addunitclass like its done in the hero assault luas.
