Adding More Cds To The Game

In order to add more Cd's (and therefore more rewards) to the game you
have to mod three files.

1. cds_sr2_city.Cts
2. items_3d.Xtbl
3. unlockables.Xtbl

First we need to add the Cd locations and the "trigger code" to the
'cds_sr2_city.Cts' file.

This first part of the code should be added to the #Navpoints section

Code:
$Navpoint:    "cds_sr2_city_51"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_52"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_53
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_54"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_55"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_56"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_57"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_58"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_59"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

$Navpoint:    "cds_sr2_city_60"
$Type:        "ground"
$Pos:            <426.3448 23.98-2027.1966>
$Orient:        [I]

You can place it after the last entry of that section.

The next entries should be placed at the end of the #Items section

Code:
$Item:        "cds_sr2_city_51"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_51"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_52"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_52"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_53"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_53"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_54"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_54"
$Group:            "cds_sr2_city_collection"


$Item:        "cds_sr2_city_55"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_55"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_56"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_56"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_57"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_57"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_58"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_58"
$Group:            "cds_sr2_city_collection"

$Item:        "cds_sr2_city_59"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_59"
$Group:            "cds_sr2_city_collection"

That's all you need to do with this file. Save your work and open up 
'Items_3d.Xtbl'.

$Item:        "cds_sr2_city_60"
$Item type:    "CD_collect"
$Start nav:    "cds_sr2_city_60"
$Group:            "cds_sr2_city_collection"

That's all you need to do with this file. Save your work and open up
'Items_3d.Xtbl'.

Here is the CDs section: (This is from the Vanilla version of the file)
Code:
<Item>
        <Name>CD_collect</Name>
        <Mesh>
            <Filename>saintsrowcd.smeshx</Filename>
            <Preload>true</Preload>
            </Mesh>
        <Touch_Script>give_collectible_item</Touch_Script>
        <Collectible>
            <Threshold_reward_grid>
                <Threshold_reward>
                    <Threshold>10</Threshold>
                    <Unlockable>Diversion_CD1</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>20</Threshold>
                    <Unlockable>Diversion_CD2</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>30</Threshold>
                    <Unlockable>Diversion_CD3</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>40</Threshold>
                    <Unlockable>Diversion_CD4</Unlockable>
                    </Threshold_reward>
                </Threshold_reward_grid>
            <Complete_collection_unlockable>Diversion_CD5</Complete_collection_unlockable>
            </Collectible>
        <_Editor>
            <Category>Collectible Items</Category>
            </_Editor>
        <Scale_Ambient>false</Scale_Ambient>
        <Item_Flags>
            <Flag>spin</Flag>
            <Flag>dont_stick_to_ground</Flag>
            </Item_Flags>
        <Render_Scale>1.5</Render_Scale>
        <Glow_Type>None</Glow_Type>
        <FoleyTouch>PICKUP_CD</FoleyTouch>
        <LargeProp>False</LargeProp>
        <Color_Variants></Color_Variants>
        </Item>

In the original file there are instructions for how to deal with 50 Cds. All we are going to
do is instruct the file that there are now 60 (or however many you choose to add).

(Modded)
Code:
<Item>
        <Name>CD_collect</Name>
        <Mesh>
            <Filename>saintsrowcd.smeshx</Filename>
            <Preload>true</Preload>
            </Mesh>
        <Touch_Script>give_collectible_item</Touch_Script>
        <Collectible>
            <Threshold_reward_grid>
                <Threshold_reward>
                    <Threshold>10</Threshold>
                    <Unlockable>Diversion_CD1</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>20</Threshold>
                    <Unlockable>Diversion_CD2</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>30</Threshold>
                    <Unlockable>Diversion_CD3</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>40</Threshold>
                    <Unlockable>Diversion_CD4</Unlockable>
                    </Threshold_reward>
                <Threshold_reward>
                    <Threshold>50</Threshold>
                    <Unlockable>Diversion_CD5</Unlockable>
                    </Threshold_reward>
                </Threshold_reward_grid>
            <Complete_collection_unlockable>Diversion_CD6</Complete_collection_unlockable>
            </Collectible>
        <_Editor>
            <Category>Collectible Items</Category>
            </_Editor>
        <Scale_Ambient>false</Scale_Ambient>
        <Item_Flags>
            <Flag>spin</Flag>
            <Flag>dont_stick_to_ground</Flag>
            </Item_Flags>
        <Render_Scale>1.5</Render_Scale>
        <Glow_Type>None</Glow_Type>
        <FoleyTouch>PICKUP_CD</FoleyTouch>
        <LargeProp>False</LargeProp>
        <Color_Variants></Color_Variants>
        </Item>

All we have done is added a new section that adds a threshold for 50 Cds, and then changed the
'<Complete_collection_unlockable>Diversion_CD5</Complete_collection_unlockable>' lines to
'<Complete_collection_unlockable>Diversion_CD6</Complete_collection_unlockable>'

This way the game knows that 50 is no longer the full amount of Cds. If this line isn't
changed, the game will still count the new Cds but it will not give you the reward(s) for
them.

Once this file is changed save it and open up 'Unlockables.xtbl)

Here is the Cd's section:
Code:
<Unlockable>
        <Name>Diversion_CD1</Name>
        <Type>
            <Outfit>
                <Outfit>Tommy</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Vercetti</DisplayName>
        <Description>You're A Saint. Of Course It Had To Be Purple.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 10 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>Tommy Vercetti Outfit</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD2</Name>
        <Type>
            <Outfit>
                <Outfit>Lupin</Outfit>
                </Outfit>
            </Type>
        <DisplayName>Lupin The Purple</DisplayName>
        <Description>Now To Get Johnny Gat To Dress Up Like Jigen.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 20 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>Lupin The Purple</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD3</Name>
        <Type>
            <Outfit>
                <Outfit>Dandy</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Dandy</DisplayName>
        <Description>When You Got It, Flaunt It!</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 30 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Dandy</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD4</Name>
        <Type>
            <Outfit>
                <Outfit>Outlaw</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Outlaw</DisplayName>
        <Description>A Badass In Black Leather.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 40 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Outlaw</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD5</Name>
        <Type>
            <Outfit>
                <Outfit>Sheriff</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Sheriff</DisplayName>
        <Description>This May Not Be Nottingham, But I AM The Sheriff.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 50 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Sheriff</Pause_Menu_Label>
        </Unlockable>

All you needed to do is add a section similar to this one.
But using another outfit. (This one is not in the vanilla or
GOTR versions.)

<Unlockable>
<Name>Diversion_CD6</Name>
<Type>
<Outfit>
<Outfit>Genki</Outfit>
</Outfit>
</Type>
<DisplayName>The Pink Fink</DisplayName>
<Description>Genki! Genki! Genki!.</Description>
<Image_Source>ui_ct_div_hoing</Image_Source>
<_Editor>
<Category>Entries:Diversions</Category>
</_Editor>
<Event_Text>Collect 60 CDs</Event_Text>
<Category>Customization</Category>
<Pause_Menu_Label>The Pink Fink</Pause_Menu_Label>
</Unlockable>

(modded):
Code:
<Unlockable>
        <Name>Diversion_CD1</Name>
        <Type>
            <Outfit>
                <Outfit>Tommy</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Vercetti</DisplayName>
        <Description>You're A Saint. Of Course It Had To Be Purple.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 10 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>Tommy Vercetti Outfit</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD2</Name>
        <Type>
            <Outfit>
                <Outfit>Lupin</Outfit>
                </Outfit>
            </Type>
        <DisplayName>Lupin The Purple</DisplayName>
        <Description>Now To Get Johnny Gat To Dress Up Like Jigen.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 20 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>Lupin The Purple</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD3</Name>
        <Type>
            <Outfit>
                <Outfit>Dandy</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The The Dandy</DisplayName>
        <Description>When You Got It, Flaunt It!</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 30 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Dandy</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD4</Name>
        <Type>
            <Outfit>
                <Outfit>Outlaw</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Outlaw</DisplayName>
        <Description>A Badass In Black Leather.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 40 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Outlaw</Pause_Menu_Label>
        </Unlockable>
    <Unlockable>
        <Name>Diversion_CD5</Name>
        <Type>
            <Outfit>
                <Outfit>Sheriff</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Sheriff</DisplayName>
        <Description>This May Not Be Nottingham, But I AM The Sheriff.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 50 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Sheriff</Pause_Menu_Label>
        </Unlockable>
<Unlockable>
        <Name>Diversion_CD6</Name>
        <Type>
            <Outfit>
                <Outfit>Genki</Outfit>
                </Outfit>
            </Type>
        <DisplayName>The Pink Fink</DisplayName>
        <Description>Genki! Genki! Genki!.</Description>
        <Image_Source>ui_ct_div_hoing</Image_Source>
        <_Editor>
            <Category>Entries:Diversions</Category>
            </_Editor>
        <Event_Text>Collect 60 CDs</Event_Text>
        <Category>Customization</Category>
        <Pause_Menu_Label>The Pink Fink</Pause_Menu_Label>
        </Unlockable>

Now save this file as well. You can now drop all these files into your mods folder and recompile.

Note 1: Back Up Your Files. It is too easy to make a mistake or several of then.

Note 2: My unlockables entries will look different to yours as I have previously modded it.

Note 3: All of my Cds are in one place. If you are working with vanilla files you will need to get a
coordinates program and find where you want to place your new Cds.

Note 3: Remember there is a limit to how many outfits that you can add to your wardrobe

Note 4: I have only added 10 Cds to make the total 60. I have not attempted to add any more to the game
so there may be a limit to the number that can be added. If you play around with this, then keep that
fact in mind.

Note 5: If you decide to remove Cds from the game, or to reduce the amount of them, then you will lose
the outfit unlocks for those that are removed, unless you attach them to some other activity using the
'Unlockables.Xtbl."

For the 'Cds All In One Place Mod'
 
Back
Top