Page 1 of 1

Editing sides... *Solved!*

Posted: Sat Jun 24, 2006 6:44 am
by Rekubot
Okay, I have put a droid marine into my map, as well as the usual ones, but I want to do two things with it:

1) Currently the droid marine is at the bottom of the list when you are choosing what class/profession you want to be. I want it to be at the top. How would I change where its position is on the list?

2) I wish to rename the droid marine to 'battledroid' (for now), as well as change the skin to a plain version of the droid. I know how to change the skin, but how do I rename the marine?

Edit: Don't worry about question two, I've found a thread that can help me.

Thanks in advance!

Posted: Sat Jun 24, 2006 9:32 am
by RC-1290
See wich one is on top and let it swap places by editing the lua.

so would it be like this:

rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
engineer = { "rep_inf_ep3_engineer",1, 4},

},

you should swap the "rep_inf_ep3_engineer",1, 4 and the "rep_inf_ep3_rifleman",9, 25 to let it look like this:

rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_engineer",1, 4},
engineer = { "rep_inf_ep3_rifleman",9, 25},

},



I bet there is a better way tough...

Posted: Sat Jun 24, 2006 10:22 am
by Rekubot
Thanks ~DREADNOUGHT', that worked like a charm! :)

Could you post that link?

Posted: Sat Jun 24, 2006 11:28 am
by busterkinkade
Could you post that link which fixes the name of the units, thanks!

Posted: Sat Jun 24, 2006 12:45 pm
by Rekubot
There are two links, busterkinkade. One here and one here. Hope that helps.

Posted: Sat Jun 24, 2006 3:25 pm
by busterkinkade
Thanks!