Generates random equip for the new IntroSceneCharacter, whatever is defined in 'cfgCharacterCreation'.
См. определение в файле IntroSceneCharacter.c строка 299
300 {
304
305 if (!default_char &&
m_CharacterDta.GetLastPlayedCharacter() > -1 )
306 {
308 string characterName =
g_Game.GetPlayerGameName();
310 g_Game.SetPlayerGameName(characterName);
311 }
312
313
318
319
323
324
326 for (int i = 0; i < characters.Count(); i++)
327 {
328 string char_cfg_name = characters.Get(i);
329 if (
g_Game.IsKindOf(char_cfg_name,
"SurvivorMale_Base") )
330 {
332 }
333 else
334 {
336 }
337 }
338
340
342 {
345 else
347 }
348 }
PlayerBase GetCharacterObj()
ref TStringArray m_CharGenderList
void SetCharacterGender(ECharGender gender)
void CreateNewCharacterById(int character_id)
ref TStringArray m_CharShirtList
ref TStringArray m_CharPantsList
ref map< ECharGender, ref array< string > > m_Characters
ref TStringArray m_CharShoesList
array< string > TStringArray
Перекрестные ссылки CreateNewCharacterById(), g_Game, GetCharacterObj(), m_CharacterDta, m_CharacterId, m_CharacterPos, m_CharacterRot, m_Characters, m_CharGenderList, m_CharPantsList, m_CharShirtList, m_CharShoesList и SetCharacterGender().