SR2 Adding more NPC's

So I thourght, "I want a Masako homie team." But I want to do it without changing the original character file's Team Flag.

So, there is only one file for the Masako character npc_ultor_Masako_pre.

In there is a line to indicate what faction that character is in, so I want to add another NPC with the Masako look but change the Team from Ultor to Playas(Saints).

I changed npc_Ultor_Masako_pre to npc_s_Ultor_Masako_pre and changed Team to Playas.

Here is what I changed within the xtbl.

Code:
<root>
<Table>
    <Preset>
        <Name>npc_s_ultor_masako</Name>
        <Character>npc_swat</Character>
        <Spawn_Info_Rank>SWAT</Spawn_Info_Rank>
        <Team>Playas</Team>
        <AI_Personality>police swat</AI_Personality>
        <Flags>
            <Flag>use_gang_color_scheme</Flag>
            </Flags>
        <_Editor>
            <Category>Entries</Category>
            </_Editor>
        <Filters>
            <CharacterType>masako</CharacterType>
            </Filters>
        </Preset>
    </Table>

<TableTemplates>
    </TableTemplates>

<TableDescription source="character_presets_desc.xml">
    </TableDescription>

<EntryCategories>
    <Category>
        <Name>Entries</Name>
        </Category>
    </EntryCategories>
</root>

Saved and ran the game.

When I called the Homie, the game doesn't crash, nothing happens.

In SRTT when you add a Morning Star to a Homie they automatacaly become a Saint, but in SR2 when called they appear on the radar as red dots, when you enter a vehicle they enter and exit constantly, the same with Julius which I don't understand why his Team line is Neutral Gang.

So how can I add another character without changing the original?
 
So I thourght, "I want a Masako homie team." But I want to do it without changing the original character file's Team Flag.

So, there is only one file for the Masako character npc_ultor_Masako_pre.

In there is a line to indicate what faction that character is in, so I want to add another NPC with the Masako look but change the Team from Ultor to Playas(Saints).

I changed npc_Ultor_Masako_pre to npc_s_Ultor_Masako_pre and changed Team to Playas.

Here is what I changed within the xtbl.

Code:
<root>
<Table>
    <Preset>
        <Name>npc_s_ultor_masako</Name>
        <Character>npc_swat</Character>
        <Spawn_Info_Rank>SWAT</Spawn_Info_Rank>
        <Team>Playas</Team>
        <AI_Personality>police swat</AI_Personality>
        <Flags>
            <Flag>use_gang_color_scheme</Flag>
            </Flags>
        <_Editor>
            <Category>Entries</Category>
            </_Editor>
        <Filters>
            <CharacterType>masako</CharacterType>
            </Filters>
        </Preset>
    </Table>

<TableTemplates>
    </TableTemplates>

<TableDescription source="character_presets_desc.xml">
    </TableDescription>

<EntryCategories>
    <Category>
        <Name>Entries</Name>
        </Category>
    </EntryCategories>
</root>

Saved and ran the game.

When I called the Homie, the game doesn't crash, nothing happens.

In SRTT when you add a Morning Star to a Homie they automatacaly become a Saint, but in SR2 when called they appear on the radar as red dots, when you enter a vehicle they enter and exit constantly, the same with Julius which I don't understand why his Team line is Neutral Gang.

So how can I add another character without changing the original?
You have to change their AI Personality.
<AI_Personality>police swat</AI_Personality>
 
Back
Top