Page 1 of 1

Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:05 am
by OGEB1103
Ok, i know that there is probabily a topic about this out there, and i've already used some of the info from others but i just cannot get locals to spawn.
I added this section in the lua:

Code: Select all

-- Local Stats 
    SetTeamName(3, "locals") 
    SetUnitCount(3, 1) 
    AddUnitClass(3, "rep_hero_yoda", 1) 
    SetTeamAsFriend(3, ATT) 
    SetTeamAsFriend(ATT, 3)
    SetTeamAsEnemy(3, DEF) 
    SetTeamAsEnemy(DEF, 3) 
I also added yoda in the ReadDataFile section above this section.
Any help would be great.

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:12 am
by Penguin
you need a command post for that team, also a spawn path so they can spawn

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:15 am
by OGEB1103
Really, i thought they used their friends ones. Ok, i'll try that. Thanks

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:19 am
by Penguin
nope, they dont, lol. sometimes i which they did, just so i wouldn't have wasted 6 CPS for 5 local teams >.<

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:26 am
by OGEB1103
Hmm, is there anyway to make these cps invisble?

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:28 am
by Penguin
yep, use the invis command post, and sink to -5 under the terrain.

basicly, the invis one doesn't show up on the map. and sinking it makes it so you can't see the object and the light affect thing

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:29 am
by OGEB1103
Ok, thanks.

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:39 am
by Penguin
also, in game when you kill yoda 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 "Yoda"

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

then save and exit. :p

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 6:46 am
by OGEB1103
Thannks, but he didn't spawn :(
I'll go through what i did:
I put the invisible cp in, i changed the team to "3" and sunk it -5
Next i created a spawn path, and then added that to the cp's stats.
I went into the lua and added a cp underneath the other 4 but renamed it to 5 (cos that whatv i called in in ZE)
I assume that i don't have to add it to the conquest cps cos it doesn't have a capture region.

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 7:02 am
by Penguin
don't add the CP to the lua

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 7:36 am
by OGEB1103
Ok, will that not make it work, or is that just an optional thing.

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 7:46 am
by Penguin
might, might not.

i forgot, add this to the lua ((in the local side thing))

AddAIGoal(3, "Deathmatch", 100)

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 8:10 am
by OGEB1103
Yes, it works now. Thanks a lot Penguin

RE: Locals (yoda) not spawning?

Posted: Sun Apr 30, 2006 8:11 am
by Penguin
:p