Page 1 of 1

Complications...

Posted: Wed Jul 27, 2005 3:47 am
by Kyross
I'm making a map where both sides(republic and CIS in this case) are replaced by two locals factions. However, trying to replace even one of them has been neighbouring impossible. I've changed the REQs, lua, units. Yet it still crashes. Can anyone give an idea on what I'm doing wrong?

RE: Complications...

Posted: Wed Jul 27, 2005 5:59 am
by Qdin
2 locals?

if I remember ZeroEditor, you can only have 1 local - but I think you can have several units on that team :wink: so try delete the 2nd Local Faction

its my guess

C ya

RE: Complications...

Posted: Wed Jul 27, 2005 6:03 am
by Kyross
I mean, it's was supposed to be two local armies fighting each other nothing else. But for now I'm only trying one of the main sides and a local side. I can't get it to stop crashing, though.

RE: Complications...

Posted: Wed Jul 27, 2005 6:17 am
by Rends
did you follow freds creating new sides instructions?
you can found the informations here: http://www.secretsociety.com/forum/disp ... asp?mid=76

RE: Complications...

Posted: Wed Jul 27, 2005 6:20 am
by Qdin
ahh - good rends :)

hope this works Kyross :D

RE: Complications...

Posted: Wed Jul 27, 2005 6:27 am
by Kyross
Isn't that creating a custom side with regular bfbuilder? I use pro so I'm not sure it would work the same. I've already got most stuff worked out too. I just have to find some point in the process I'm not doing it right

RE: Complications...

Posted: Wed Jul 27, 2005 10:20 pm
by Kyross
I tried a few things there, still couldn't do it.
I have spent about 23 hours trying to get this to work. Good thing it's summer break.

RE: Complications...

Posted: Wed Jul 27, 2005 11:11 pm
by NegativeSmiley
I'm not sure but is localization required?

RE: Complications...

Posted: Wed Jul 27, 2005 11:13 pm
by Kyross
No, I don't think so. Localisation only deals with naming things.

RE: Complications...

Posted: Thu Jul 28, 2005 12:53 am
by Kyross
Well, what I did was imported retail sides, changed the lua so it read
ReadDataFile("dc:SIDE\\ewk.lvl",
"ewk_inf_basic",
"ewk_inf_chaka",
"ewk_inf_rabid_ewok");

And changed the REP loadout to

SetTeamName(REP, "Republic")
SetTeamIcon(REP, "rep_icon")
AddUnitClass(REP, "ewk_inf_trooper",10)
AddUnitClass(REP, "ewk_inf_tinkerer",2)
AddUnitClass(REP, "ewk_inf_sneak",2)
AddUnitClass(REP, "ewk_inf_rabid_ewok",1)
SetHeroClass(REP, "ewk_inf_chaka")

I may just not be thinking straight but it sounds close to what you are describing.

RE: Complications...

Posted: Thu Jul 28, 2005 8:28 am
by Leviathan
You could give a look at "nab2c_h.lua" in "BFBuilder\Assets\Mission LUA Samples\NAB". This is the *.LUA file of the map where Naboo Guards fight against C.I.S Droids. Thus, you'll know what you need to add / change to get locals as enemies... Next, apply same things to get other locals as allies...

RE: Complications...

Posted: Thu Jul 28, 2005 8:38 am
by Kyross
A pretty good idea, that's been sitting under my nose this whole time. :d

I excel at making lots of little stupid mistakes as you can see.

RE: Complications...

Posted: Thu Jul 28, 2005 8:44 am
by Leviathan
You're not alone to make mistakes... :D

RE: Complications...

Posted: Thu Jul 28, 2005 8:48 am
by Kyross
Didn't help at all.
Eh. Feck. I give up.