How do I add locals? -1 reply

Please wait...

Squirrel7Hunter

Attacking Utapau

50 XP

27th September 2005

0 Uploads

295 Posts

0 Threads

#1 12 years ago

I havent seen a post on this subject yet, but there may be an old one, but how do I add locals? like geonosians/gamorians..etc If someone could show me where a tutorial is on this I would appreaciate it. What I'm trying to do is get 2 types of clones on my map, but I want one set to not be playable and have diff. skins ( them being the locals)




Wraith 5

The Fun cannot be Halted!

50 XP

11th October 2005

0 Uploads

3,047 Posts

0 Threads

#2 12 years ago

I think you have to do something in the lua, like add the unit types and such. I think that locals are classed as Team 3?




Squirrel7Hunter

Attacking Utapau

50 XP

27th September 2005

0 Uploads

295 Posts

0 Threads

#3 12 years ago

yes.. I actually got my answer from gametoast.:) thnks anyway though




StarWarsGeek

Melancholic.

50 XP

23rd April 2006

0 Uploads

1,895 Posts

0 Threads

#4 12 years ago

How! Id Really Like To Have Some Tuskens On My Map!!!!!!!!!!!!!!!!!!!




Arcane_Penguin

Ex-Filefront Network Staff

50 XP

27th April 2006

0 Uploads

98 Posts

0 Threads

#5 12 years ago

place this in your LUA -- Tuskens ------------------------ SetTeamName (3, "locals") AddUnitClass (3, "tat_inf_tuskenhunter", 15) AddUnitClass (3, "tat_inf_tuskenraider", 30) SetUnitCount (3, 45) AddAIGoal(3, "Deathmatch", 100) SetTeamAsEnemy(3,ATT) SetTeamAsEnemy(3,DEF) SetTeamAsEnemy(ATT,3) SetTeamAsEnemy(DEF,3) ----------------------------------- also you will need to add this ReadDataFile("SIDE\\des.lvl", "tat_inf_tuskenhunter", "tat_inf_jawa", "tat_inf_tuskenraider") and then in zero editor make a new CP and assign it the the locals team ((EG: 3, 4 etc ect, you can have as many local teams as you want)) also, in game when you kill a tuskan its going to show up as [NULL]

start editlocalize.bat, and go into

"level", create a Scope by right clicking on level and pressing "Add Scope". name the Scope to the 3 letter name of your map. then right click on it and press "Add Key" name the key to "local" then click on it and type in the top left big box "Tusken"

then under that box there will be a drop down menu, select french, type in the box below that "Tusken" then go down to the next one in the drop down menu and type in Tusken, etc etc etc, do that to all of them.

then save and exit. :p




StarWarsGeek

Melancholic.

50 XP

23rd April 2006

0 Uploads

1,895 Posts

0 Threads

#6 12 years ago

place that were in the lua? at the end?




Squirrel7Hunter

Attacking Utapau

50 XP

27th September 2005

0 Uploads

295 Posts

0 Threads

#7 12 years ago

place it right under the cis team set up, only my 3rd side is a clone trooper , and add this

ReadDataFile("SIDE\\des.lvl", "tat_inf_tuskenhunter", "tat_inf_jawa", "tat_inf_tuskenraider") under the ReadDataFile("SIDE\\cis.lvl",

SetupTeams{ rep = { team = REP, units = 130, reinforcements = 800, soldier = { "rep_inf_ep3_rifleman",1, 25}, assault = { "rep_inf_ep3_rocketeer",1, 25}, engineer = { "rep_inf_ep3_engineer",1, 25}, sniper = { "rep_inf_ep3_sniper",1, 25}, officer = {"rep_inf_ep3_officer",1, 20}, special = { "rep_inf_ep3_jettrooper",1, 10}, }, cis = { team = CIS, units = 200, reinforcements = 820, soldier = { "cis_inf_rifleman",1, 30}, assault = { "cis_inf_rocketeer",1, 25}, engineer = { "cis_inf_engineer",1, 40}, sniper = { "cis_inf_sniper",1, 15}, officer = {"cis_inf_officer",1, 12}, special = { "cis_inf_droideka",1, 10}, } } SetHeroClass(CIS, "cis_hero_grievous") SetHeroClass(REP, "rep_hero_obiwan")

SetTeamName(3, "431st") AddUnitClass(3, "rep_inf_ep3_riflemanLU",20) SetUnitCount(3, 20) AddAIGoal(3, "Deathmatch", 100) SetTeamAsFriend(ATT,3) SetTeamAsFriend(3,ATT) SetTeamAsEnemy(DEF,3) SetTeamAsEnemy(3,DEF)