Inconsistent localization for ambush/local teams [solved]
Posted: Wed Jan 07, 2009 3:20 pm
The mission I'm working with calls for one local team and a number of ambushes. When the player kills some of the units, the message shows up as "Player killed [NULL]," a pretty common problem. I've tried following the methods to localizing local teams as described in these topics, with no luck:
http://www.gametoast.com/forums/viewtop ... illed+null
http://www.gametoast.com/forums/viewtop ... =27&t=6088
I imagine that I'm missing a step somewhere, but what baffles me is that the problem is inconsistent - that is, not all units from the local/ambush teams show up as [NULL], only some of them. I thought the problem might come from the properly localized units using shipped names (example, cis_inf_sniper appears as "Player killed Assassin Droid") while [NULL] units used new names (cis_inf_b2 appears as "Player killed [NULL]." However, I later noticed that some new units did have localization; for example, "rep_inf_sergeant" appeared as "Player killed Clone Sergeant." Further confusing me is the fact that the units such as that one appeared with localization even though I had not yet done any localization work for local sides. I had only given them names in their scope under "entity."
So, I'd like help figuring out why some units appear localized while others do not, and from there localizing the [NULL] units.
Parts of script dealing with team setup:
In the localization tool, I have things set up as level -> AL3 -> cis and level -> AL3 -> rep. I *think* the problem lies somewhere in either how I have "SetTeamName" set up or how I have the localization set up.
http://www.gametoast.com/forums/viewtop ... illed+null
http://www.gametoast.com/forums/viewtop ... =27&t=6088
I imagine that I'm missing a step somewhere, but what baffles me is that the problem is inconsistent - that is, not all units from the local/ambush teams show up as [NULL], only some of them. I thought the problem might come from the properly localized units using shipped names (example, cis_inf_sniper appears as "Player killed Assassin Droid") while [NULL] units used new names (cis_inf_b2 appears as "Player killed [NULL]." However, I later noticed that some new units did have localization; for example, "rep_inf_sergeant" appeared as "Player killed Clone Sergeant." Further confusing me is the fact that the units such as that one appeared with localization even though I had not yet done any localization work for local sides. I had only given them names in their scope under "entity."
So, I'd like help figuring out why some units appear localized while others do not, and from there localizing the [NULL] units.
Parts of script dealing with team setup:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler: